Repository navigation
Closed as not planned
Description
What happened
Turns run through ACP Registry agents—such as Qoder CLI running via the China endpoint (configured with instance ID qodercn)—produce no token counts, cost rows, or model breakdown on the Usage page.
Expected behavior
Turns completed using ACP Registry agents should record token counts and contribute to the Usage page breakdown and cost estimates, or documentation and settings should state that ACP agents are excluded from usage tracking.
Actual behavior
The Usage page reports zero tokens and zero cost for ACP Registry agent activity. Neither web nor mobile surfaces display usage data for ACP instances.
Evidence from the codebase
docs/user/usage.mddocuments usage history collection for Codex, Claude Code, Grok Build, OpenCode, Antigravity, Pi, Muse Code, and Cursor only.packages/contracts/src/usage.tsdefinesUsageProviderKindwithout an entry foracpRegistryoracp.apps/server/src/provider/builtInDrivers.tsincludesAcpRegistryDriverinBUILT_IN_DRIVERS, but omits it fromBUILT_IN_USAGE_DRIVERSandBuiltInUsageReadersEnv.packages/provider-acp-registry/src/server/driver.tsimplementsAcpRegistryDriverwithout defining the optionalusageproperty (ProviderUsageReader).apps/server/src/usage/UsageService.tsderivestranscriptReadersandscanReadersstrictly fromBUILT_IN_USAGE_DRIVERS.packages/provider-acp-registry/src/server/adapter.tsrestrictsreportsPerTurnPromptUsagetoglm-acp-agent, leaving other ACP registry agents (such as Qoder CLI) without prompt usage capture.apps/web/src/components/usage/usageProviders.ts(PROVIDER_PRESENTATION,PROVIDER_ORDER) andapps/mobile/src/features/usage/usageProviders.ts(PROVIDER_ORDER,PROVIDER_LABEL) lack presentation mappings for ACP providers.
Steps to reproduce
- Configure an ACP Registry provider instance (e.g., Qoder CLI endpoint
qodercn) in Settings. - Open a thread and run several turns using that provider instance.
- Open the Usage page via the sidebar or
mod+u. - Check token counts, cost summaries, and the model breakdown table.
Impact
Users executing tasks with ACP Registry agents cannot track token usage, estimate provider costs, or audit agent consumption.
Environment
- Repository:
pingdotgg/t3code(mainas of 2026-11-19) - OS: Linux
- Clients: Web, Desktop, Mobile
Labels: bug, usage
Metadata
Metadata
Assignees
Labels
No labels
Activity
juliusmarminge commentedon Nov 19, 2026
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.