Repository navigation
Replies: 10 comments 1 reply
Implementation recommendationChecked against Concretely: 1. New reader: Model it on 2. Window ids in Add a export const COPILOT_USAGE_WINDOWS = [
{ id: "premium_interactions", label: "Premium requests" },
{ id: "chat", label: "Chat" },
{ id: "completions", label: "Completions" },
] as const;Ids must be stable because 3. Wire it into the driver snapshot In Effect.map((usageLimits) => ({ ...snapshot, usageLimits }))Guard it so a slow or failing quota request never delays or fails provider status: short timeout (~5s), and on failure return the snapshot without 4. Credential resolution order Match Copilot CLI's documented precedence rather than inventing a new login flow:
Never persist the token. Store only a 5. Endpoint contract
6. Mapping rules For each
7. Failure semantics
8. UI
9. Tests Fixtures for: Individual (chat + completions capped, Upstream note ACP's |
|
Any update on this? I would like for it, at work we use copilot too so I have no way to know the usage from t3 code, I keep another app open to know that |
|
Could a maintainer confirm direction and scope for either proposal below? I won't open either PR without explicit approval. The problem. On Copilot's AI credit billing, T3 shows neither the monthly limit nor what Copilot has spent. This also affects admin-managed accounts with configurable allowances. 1. Limits (this discussion). Add Copilot to Usage → Limits by asking the CLI itself: On the account I tested, 2. Spend history. Would you approve a fresh PR building on @Radu028's #27059, which was closed at triage for missing prior approval? It reads Copilot's local I'd follow the existing usage-reader patterns. Spend history would also require shared usage-contract, provider-registration, web/mobile presentation, test and documentation changes, not just the ACP Registry driver and labels. Are you open to one or both directions and these scopes? — Opus 5.5 with Claude Code, reviewed by GPT 6.1 Sol |
|
To make the decision easier, both proposals are implemented and running on my own T3 setup: a macOS desktop app and Linux servers. I haven't opened PRs and won't until a maintainer says yes. If approved, they'd go up as two separate PRs, one problem each:
Tested on macOS (arm64) and Linux (x64). Windows is untested. — Opus 5.5 with Claude Code, reviewed by GPT 6.1 Sol |
|
+1 from a Copilot Business user (employer-assigned seat). Please don't scope the reader to the ACP Registry driver: I run Copilot through the Pi driver, and the |
|
Tested the same Two notes that apply to either version:
If a smaller change is easier to approve, here is a version with no contract or managed-provider changes, 12 files: diff
Usage → Limits before and after, with the other providers filtered out: Either branch is fine to land; I won't open a PR without maintainer approval. — Claude Opus 5.5 with Claude Code |
|
Related: #27621 proposes Kiro credit history in Usage (prototype #27619, closed pending approval). Both that and the Copilot spend-history proposal here need a credits unit alongside tokens and USD in the usage contract. Copilot's credits convert at $0.01, while Kiro's history records credits with no dollar value. It may be simpler to settle one shared shape for credit-billed providers than two. I'm happy to align the Kiro side with whatever is chosen. |
|
I can confirm this still happens on T3 Code v0.1.11 on Windows with GitHub Copilot Pro+ connected through the ACP Registry. Copilot runs normally, and the bundled CLI’s Could you add GitHub Copilot to that screen with the same layout as Codex? A monthly row showing AI credits used and included, percentage remaining, and the reset date for the account already signed in to that T3 provider would cover the use case. GitHub documents Thanks! |
|
I’ve since verified a local prototype on Windows with T3 Code v0.1.11. The card shows live monthly credits under its own GitHub Copilot heading. The reset countdown matches GitHub’s documented monthly reset schedule. I’m happy to share the Windows verification or help test whichever implementation maintainers prefer. |
|
+1 for Copilot usage support. Alongside Usage → Limits, I’d love a small permanent indicator, similar to the status-bar indicator in [Copilot Premium Request Tracker for VS Code](https://marketplace.visualstudio.com/items?itemName=m-marqx.copilot-premium-tracker). It could show the percentage of the monthly allowance used, with a small progress bar and colour indicating whether usage is on track, ahead of the month’s pacing, or exhausted. Hovering could show used/remaining allowance and the reset date. The main benefit is being able to keep an eye on my budget without leaving the conversation or opening another app. The quota-reader proposals above sound like a useful foundation for this. |


Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server
Steps to reproduce
copilot login) on a Copilot plan, and enable GitHub Copilot under Settings → Providers (ACP registry).Expected behavior
GitHub Copilot is listed with its monthly allowances (premium requests, plus chat/completions on plans that cap them) and the reset date, as Codex, Claude, Cursor, Grok, OpenCode and Antigravity are.
Actual behavior
Copilot is not listed. It runs through the generic
packages/provider-acp-registrydriver (copilotAcp.tshandles only subagent routing), and that driver never setsusageLimits, soprovidersWithLimitsdrops it. Over ACP, Copilot sends only per-session context token counts (usage_update), never plan quota.The quota is available. The Copilot CLI's own
/usageand the VS Code Copilot extension read it fromGET https://api.github.com/copilot_internal/user, using the same GitHub auth that Copilot CLI already holds.Impact
Minor bug or occasional failure
Version or commit
T3 Code (Beta) 0.1.1; checked against main @ 066c8fc
Environment
macOS 26.6.2, desktop app, GitHub Copilot CLI 1.0.101 (ACP mode), Copilot Individual plan
Logs or stack traces
Workaround
Run
/usageinside Copilot CLI, or open GitHub → Settings → Billing → Premium requests. There is nothing in T3 itself.Proposed fix
Add a Copilot usage reader, following
apps/server/src/provider/{codex,claude,antigravity}UsageLimits.ts. On each status check, the ACP-registry driver for the Copilot agent would:/copilot_internal/userwith the token Copilot CLI uses (orgh auth tokenas a fallback);quota_snapshotsentry withunlimited: falseandentitlement > 0to a monthly window that resets atquota_reset_date_utc;premium_interactionson plans without premium requests), and note whenoverage_permittedis true;The endpoint is undocumented (
copilot_internal), so the reader should treat a missing or failed response as "no limits reported" rather than as an error. Mobile also needs a "GitHub Copilot" label (DRIVER_LABELinUsageLimitsPooled.tsx).Related: #18235 (the same gap for Muse Code), #193 (original Copilot CLI support).
Filed with Claude Opus 5.5 in GitHub Copilot CLI.
All reactions