Show the token usage and cost - #512
Conversation
commit 9cd3838 Merge: ba701e6 84c4d7d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 17:58:32 2026 +0800 Merge branch 'main' into user/DinahK-2SO/acp-price-calc commit ba701e6 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:44:12 2026 +0800 fix: trust reported usage currency commit 7073c09 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:29:09 2026 +0800 fix: track stale usage per metric commit d7558b8 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:14:16 2026 +0800 fix: preserve coalesced usage cost commit eb8c1b1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:10:24 2026 +0800 fix: preserve usage on local clear commit c938975 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:04:33 2026 +0800 fix: isolate optional usage cost commit cbacd42 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 15:57:13 2026 +0800 fix: keep rejected turns connected commit baa47d9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 15:53:34 2026 +0800 fix: trust provider context capacity commit 5c04a9d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 04:05:59 2026 +0000 fix: restrict usage to ACP context and cost commit b819780 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 03:37:39 2026 +0000 fix: show only context and monetary cost commit 4a4639e Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 11:25:53 2026 +0800 update status commit 6ce7957 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 07:17:11 2026 +0800 look into the usage/costs by turns commit 1163e73 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:29:27 2026 +0800 docs: capture same-session provider turns commit 6a9c932 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:18:05 2026 +0800 test: support same-session provider turns commit 949dac1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:05:08 2026 +0800 single test report commit d63b207 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:53:01 2026 +0800 docs: capture per-provider ACP results commit 7fe1102 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:39:19 2026 +0800 test: add self-contained ACP provider capture commit 35d91db Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:27:01 2026 +0800 feat: report standard and Gemini token usage commit 6f8d9b8 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:11:04 2026 +0800 feat: show input and output token usage commit aa5c340 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:03:00 2026 +0800 docs: enforce TDD checkpoint workflow commit a712fb2 Merge: 13c6f38 20188dd Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 14:56:37 2026 +0800 Merge remote-tracking branch 'origin/user/DinahK-2SO/acp-price-calc' into user/DinahK-2SO/acp-price-calc commit 13c6f38 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon Jul 27 17:01:38 2026 +0800 update AGENTS.md commit 20188dd Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon Jul 27 17:01:38 2026 +0800 update AGENTS.md commit fe3550a Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 05:27:02 2026 +0000 Pin E2E tests to PowerShell 7 commit 62202f9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 05:04:20 2026 +0000 Add modular provider usage adapters commit ff98b21 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 12:55:45 2026 +0800 update instructions commit c900ad9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:46:31 2026 +0000 Handle partial usage display states commit ac0238f Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 21:51:30 2026 +0000 Complete ACP usage integration commit 2eb7d55 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 20:49:58 2026 +0000 Contain malformed usage updates commit 98d227e Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 20:30:15 2026 +0000 Render usage in the Bottom Bar commit 23d061d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:38:06 2026 +0000 Cache normalized usage in TerminalApp commit 6aa06cc Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:08:30 2026 +0000 Project usage through agent tab state commit e99c07d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:00:09 2026 +0000 Reset usage across session lifecycle commit e4feb7c Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 18:50:44 2026 +0000 Route ACP usage into per-tab state commit 4014506 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 18:37:34 2026 +0000 Normalize standard ACP usage updates commit 3094132 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:29:41 2026 +0800 Route ACP usage reliably to helpers commit c50396f Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:21:34 2026 +0800 Prepare ACP usage provider baseline
| assert!(!is_redundant_startup_model_error( | ||
| &PromptUsageIdentity { | ||
| family_id: Some("gemini".to_string()), | ||
| reporter_id: Some("lookalike-gemini".to_string()), |
|
|
||
| #[test] | ||
| fn preserves_provider_reported_currency_without_shape_policy() { | ||
| for currency in ["US", "USDD", "usd", "US1", "U$D"] { |
|
|
||
| #[test] | ||
| fn preserves_provider_reported_currency_without_shape_policy() { | ||
| for currency in ["US", "USDD", "usd", "US1", "U$D"] { |
| "{} must not trust a private reporter before wire verification", | ||
| provider.family_id() | ||
| ); | ||
| for reporter_id in [None, Some("lookalike-reporter")] { |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
Adds end-to-end support for surfacing ACP session usage (token context window + cumulative cost) in the Terminal UI, wiring ACP UsageUpdate notifications through WTA state/projection into the bottom bar.
Changes:
- Plumb ACP
UsageUpdatethrough WTA (helper/client → app state → WT protocol projection) and render it in the Terminal bottom bar. - Introduce a provider-usage adapter registry (currently no-op / “standard ACP only”) and normalize standard ACP usage into a stable schema for UI consumption.
- Pin/update agent launch commands (Claude/Codex ACP adapters) and switch Gemini to the official
--acpflag across Rust/C++/docs/tests.
Reviewed changes
Copilot reviewed 32 out of 32 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/wta/src/wsl_acp.rs | Updates WSL ACP command expectations (pinned adapter versions). |
| tools/wta/src/usage/providers/mod.rs | Adds provider usage adapter framework and registry. |
| tools/wta/src/usage/providers/claude.rs | Claude provider adapter (currently standard ACP only). |
| tools/wta/src/usage/providers/codex.rs | Codex provider adapter (currently standard ACP only). |
| tools/wta/src/usage/providers/copilot.rs | Copilot provider adapter (reserved private usage slot). |
| tools/wta/src/usage/providers/gemini.rs | Gemini provider adapter (currently standard ACP only). |
| tools/wta/src/usage/providers/opencode.rs | OpenCode provider adapter + normalization test for standard usage. |
| tools/wta/src/usage.rs | Defines usage snapshot/projection + standard ACP usage normalization + tests. |
| tools/wta/src/session_registry.rs | Updates serialized metadata tests for pinned Claude adapter command. |
| tools/wta/src/protocol/acp/client.rs | Handles ACP UsageUpdate, redacts trace logging, and improves Gemini model-set handling. |
| tools/wta/src/master/tests.rs | Updates agent command expectations; adds coalescing tests for usage updates; extends master state for pending usage. |
| tools/wta/src/master/mod.rs | Coalesces/delays usage notifications via pending_usage + watch to avoid backpressure and preserve cost across updates. |
| tools/wta/src/main.rs | Exposes the new usage module. |
| tools/wta/src/coordinator.rs | Updates adapter command strings and related tests. |
| tools/wta/src/app.rs | Stores per-tab usage snapshot/staleness and clears it on session-boundary operations. |
| tools/wta/src/app_tests.rs | Adds unit tests for usage lifecycle, projection, and staleness behavior. |
| tools/wta/src/app_status_projection.rs | Projects usage into the WT protocol agent_state_changed event payload. |
| tools/wta/src/app_events.rs | Updates app event handling to merge/clear usage and mark stale on transport loss. |
| tools/wta/src/app_contracts/event.rs | Adds UsageReported / UsageCleared events. |
| tools/wta/src/agent_registry.rs | Adds agent ID constants, pins adapter commands, switches Gemini to --acp, and updates identification aliases/tests. |
| src/cascadia/ut_app/TerminalApp.UnitTests.vcxproj | Registers new TerminalApp unit test compilation unit. |
| src/cascadia/ut_app/AgentUsageTests.cpp | Adds unit tests for parsing/validation and UI text formatting for usage. |
| src/cascadia/TerminalSettingsEditor/AIAgentsViewModel.cpp | Updates default launch commands (adapter pins + Gemini --acp). |
| src/cascadia/TerminalApp/TerminalPage.xaml | Adds UsageGroup container to the bottom bar UI. |
| src/cascadia/TerminalApp/TerminalPage.cpp | Parses usage from agent_state_changed and renders usage summary in the bottom bar; updates command defaults. |
| src/cascadia/TerminalApp/TerminalAppLib.vcxproj | Adds AgentUsage implementation to the build. |
| src/cascadia/TerminalApp/Resources/en-US/Resources.resw | Adds new usage-related localized strings (en-US only in this PR). |
| src/cascadia/TerminalApp/AgentUsage.h | Declares parsing/formatting helpers for usage payloads. |
| src/cascadia/TerminalApp/AgentUsage.cpp | Implements usage payload validation + cost formatting for display. |
| src/cascadia/TerminalApp/AgentPaneContent.h | Adds usage cache storage and accessors on the agent pane content. |
| src/cascadia/TerminalApp/AgentPaneContent.cpp | Applies incoming usage payload into the cached usage state. |
| doc/installing-dependencies.md | Updates docs to reflect pinned adapter commands. |
Comments suppressed due to low confidence (1)
src/cascadia/TerminalApp/TerminalPage.cpp:5006
- Applying usage can throw (e.g.
AgentUsage::Parserejects an unexpected schema). Right now the exception would propagate out ofOnAgentStateChangedand potentially terminate the UI thread. Catch and log instead so a bad usage payload doesn’t crash the session UI.
if (usage.has_value())
{
if (const auto agentContent = targetTab->FindAgentPaneContent())
{
winrt::get_self<implementation::AgentPaneContent>(agentContent)->ApplyAgentUsage(*usage);
}
}
| std::optional<Json::Value> usage; | ||
| if (params.isMember("usage")) | ||
| { | ||
| const auto& value = params["usage"]; | ||
| if (!value.isNull() && !value.isObject()) | ||
| { | ||
| throw std::invalid_argument{ "agent_state_changed usage must be null or object" }; | ||
| } | ||
| usage = value; | ||
| logSuffix += value.isNull() ? " usage=null" : " usage=present"; | ||
| } |
| <data name="UsageGroup/[using:Windows.UI.Xaml.Automation]AutomationProperties/Name" xml:space="preserve"> | ||
| <value>Usage</value> | ||
| <comment>Accessibility name for the session usage summary in the bottom bar.</comment> | ||
| </data> | ||
| <data name="Usage_TokensUnit" xml:space="preserve"> | ||
| <value>Tokens</value> | ||
| <comment>Unit label for token counts reported by an AI agent. {Locked="Tokens"}</comment> | ||
| </data> |
This comment has been minimized.
This comment has been minimized.
commit e1201fe Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 23:28:20 2026 +0000 docs: finalize usage and cost toggle behavior commit 94ac417 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 23:19:56 2026 +0000 feat: name usage and cost visibility explicitly commit cea0c05 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Fri Jul 31 07:00:36 2026 +0800 fix: hide usage and cost together commit 4f57608 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 18:14:32 2026 +0800 docs: document token usage visibility controls commit caa8a31 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 18:11:55 2026 +0800 test: validate token usage toggles end to end commit 45041de Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 17:24:59 2026 +0800 fix: scope visibility toggle to token usage commit eaa3cd1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 17:01:32 2026 +0800 feat: add agent usage toggle to first run commit 85287d3 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 16:40:36 2026 +0800 feat: add agent usage toggle to settings commit 74c8911 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 16:24:28 2026 +0800 feat: hide agent usage by default commit 5202b60 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 15:56:02 2026 +0800 update AGENTS.md commit b30df3f Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 15:28:32 2026 +0800 test: make Gemini usage coverage provider-neutral commit b1ef044 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 30 14:59:27 2026 +0800 feat: add one-click local MSIX installer commit dfcd15b Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 22:59:20 2026 +0800 chore: restore portable PowerShell E2E commit 07c47fb Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 22:31:29 2026 +0800 docs: record compact cost validation commit a59f8e1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 22:17:14 2026 +0800 feat: compact reported cost display commit 9cd3838 Merge: ba701e6 84c4d7d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 17:58:32 2026 +0800 Merge branch 'main' into user/DinahK-2SO/acp-price-calc commit ba701e6 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:44:12 2026 +0800 fix: trust reported usage currency commit 7073c09 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:29:09 2026 +0800 fix: track stale usage per metric commit d7558b8 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:14:16 2026 +0800 fix: preserve coalesced usage cost commit eb8c1b1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:10:24 2026 +0800 fix: preserve usage on local clear commit c938975 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 16:04:33 2026 +0800 fix: isolate optional usage cost commit cbacd42 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 15:57:13 2026 +0800 fix: keep rejected turns connected commit baa47d9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 15:53:34 2026 +0800 fix: trust provider context capacity commit 5c04a9d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 04:05:59 2026 +0000 fix: restrict usage to ACP context and cost commit b819780 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 03:37:39 2026 +0000 fix: show only context and monetary cost commit 4a4639e Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 11:25:53 2026 +0800 update status commit 6ce7957 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 29 07:17:11 2026 +0800 look into the usage/costs by turns commit 1163e73 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:29:27 2026 +0800 docs: capture same-session provider turns commit 6a9c932 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:18:05 2026 +0800 test: support same-session provider turns commit 949dac1 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 17:05:08 2026 +0800 single test report commit d63b207 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:53:01 2026 +0800 docs: capture per-provider ACP results commit 7fe1102 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:39:19 2026 +0800 test: add self-contained ACP provider capture commit 35d91db Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:27:01 2026 +0800 feat: report standard and Gemini token usage commit 6f8d9b8 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:11:04 2026 +0800 feat: show input and output token usage commit aa5c340 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 15:03:00 2026 +0800 docs: enforce TDD checkpoint workflow commit a712fb2 Merge: 13c6f38 20188dd Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Tue Jul 28 14:56:37 2026 +0800 Merge remote-tracking branch 'origin/user/DinahK-2SO/acp-price-calc' into user/DinahK-2SO/acp-price-calc commit 13c6f38 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon Jul 27 17:01:38 2026 +0800 update AGENTS.md commit 20188dd Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Mon Jul 27 17:01:38 2026 +0800 update AGENTS.md commit fe3550a Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 05:27:02 2026 +0000 Pin E2E tests to PowerShell 7 commit 62202f9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 05:04:20 2026 +0000 Add modular provider usage adapters commit ff98b21 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 12:55:45 2026 +0800 update instructions commit c900ad9 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:46:31 2026 +0000 Handle partial usage display states commit ac0238f Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 21:51:30 2026 +0000 Complete ACP usage integration commit 2eb7d55 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 20:49:58 2026 +0000 Contain malformed usage updates commit 98d227e Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 20:30:15 2026 +0000 Render usage in the Bottom Bar commit 23d061d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:38:06 2026 +0000 Cache normalized usage in TerminalApp commit 6aa06cc Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:08:30 2026 +0000 Project usage through agent tab state commit e99c07d Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 19:00:09 2026 +0000 Reset usage across session lifecycle commit e4feb7c Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 18:50:44 2026 +0000 Route ACP usage into per-tab state commit 4014506 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Wed Jul 22 18:37:34 2026 +0000 Normalize standard ACP usage updates commit 3094132 Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:29:41 2026 +0800 Route ACP usage reliably to helpers commit c50396f Author: Dinah Xiaoman G <116714259+DinahK-2SO@users.noreply.github.com> Date: Thu Jul 23 02:21:34 2026 +0800 Prepare ACP usage provider baseline
@check-spelling-bot Report
|
| Dictionary | Entries | Covers | Uniquely |
|---|---|---|---|
| cspell:csharp/csharp.txt | 32 | 2 | 2 |
| cspell:aws/aws.txt | 232 | 2 | 2 |
| cspell:fonts/fonts.txt | 536 | 1 | 1 |
Consider adding to the extra_dictionaries array (in the .github/actions/spelling/config.json file):
"cspell:csharp/csharp.txt",
"cspell:aws/aws.txt",
"cspell:fonts/fonts.txt",
To stop checking additional dictionaries, put (in the .github/actions/spelling/config.json file):
"check_extra_dictionaries": []Warnings ⚠️ (1)
See the 📂 files view, the 📜action log, 👼 SARIF report, or 📝 job summary for details.
| Count | |
|---|---|
| 54 |
See
✏️ Contributor please read this
By default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
- ... misspelled, then please correct them instead of using the command.
- ... names, please add them to
.github/actions/spelling/allow/names.txt. - ... APIs, you can add them to a file in
.github/actions/spelling/allow/. - ... just things you're using, please add them to an appropriate file in
.github/actions/spelling/expect/. - ... tokens you only need in one place and shouldn't generally be used, you can add an item in an appropriate file in
.github/actions/spelling/patterns/.
See the README.md in each directory for more information.
🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
Summary of the Pull Request
Show the token usage and cost of the current session.
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Show the
<token usage> / <context window size>and cost:<number> <unit>of the current session.The data displayed are from ACP, not altered.
Validation Steps Performed
PR Checklist