feat(usage): show OpenCode Go, Cursor, and Grok subscription limits (#12115)

Co-authored-by: maria-rcks <[email protected]>
This commit is contained in:
mariaandmaria-rcks authored and GitHub committed 2026-09-16 16:42:00 -03:00
1 parent 052c7ae53e
commit eff44be433
10 files changed
+984 -4

No files matched your search

+12
View File
@@ -69,6 +69,18 @@ current model's limits without leaving the conversation. The result opens above
closes when you dismiss it or send your next message. It uses the same snapshot as **Usage → Limits**, so it does not run the agent or refresh
anything. The command is offered only for providers that appear under **Usage → Limits**.
OpenCode Go reports its session, weekly, and monthly allowance when OpenCode runs locally in
the environment. T3 cannot report limits for external OpenCode servers because their credentials
belong to the remote server. Cursor reports
its monthly allowance, including separate Auto and API usage, using a file-based CLI login or
`CURSOR_AUTH_TOKEN`. Cursor's default macOS keychain login does not currently report limits.
On macOS, use `AGENT_CLI_CREDENTIAL_STORE=file` when signing in and in the provider's environment
to use a file-based login.
Grok reports the remaining subscription allowance and reset time for its current billing period
after signing in with `grok login`. Explicit `XAI_API_KEY` connections and custom authentication
or endpoint configurations do not report subscription limits.
API-key accounts may not report subscription limits. This also applies to Claude connections
using a proxy through `ANTHROPIC_AUTH_TOKEN`.