[Bug]: Antigravity Limits missing with authenticated agy CLI; quota probe reads legacy ACP credentials #36630
Before submitting#
- Searched existing issues. Related: #34381 (stale account quota with the
agyCLI). This report documents the missing-token case: the Antigravity section is entirely absent from Limits, even after successful ACP authentication and model discovery. - Included reproduction details and sanitized server output below.
Area#
apps/server
Steps to reproduce#
- On a headless Linux x64 environment, install and sign in to the Antigravity
agyCLI (1.5.9). - In T3 Code v0.1.9, enable the Antigravity provider and set its custom binary path to the installed
agyexecutable. - Complete account/model discovery. In this case, an explicit
server.refreshProvidersrequest withinstanceId: "antigravity",refreshModels: true, andfresh: truesuccessfully established the ACP session. The provider reportsready, Google authentication succeeds, and seven models are available. - Open Usage > Limits with All environments and All providers selected.
Expected behavior#
Limits should display the active agy account's quota if this runtime is supported. If CLI quota retrieval is unsupported, show an explicit Antigravity unavailable state and an accurate explanation, rather than omitting the provider or suggesting the already-authenticated account needs to sign in again.
Actual behavior#
The Limits page shows Codex and Claude but no Antigravity section. The Antigravity provider is authenticated and usable, yet its quota probe returns unsupported with the message Sign in with Google to see Antigravity limits.
Refreshing and completing ACP authentication/model discovery did not populate the quota data. A minimal direct agy --print call also succeeded, so this is distinct from inability to use the account for inference.
Impact#
Minor bug or occasional failure — account quota visibility is missing; inference works.
Version or commit#
T3 Code v0.1.9 (stable), Antigravity CLI 1.5.9.
Environment#
Headless Linux x64, using a connected T3 Code environment. Provider: Antigravity, custom binary path to agy, Google account (oauth-personal).
Logs or stack traces#
Sanitized excerpt from the T3 Code provider refresh response:
{
"instanceId": "antigravity",
"driver": "antigravity",
"enabled": true,
"installed": true,
"version": "1.5.9",
"status": "ready",
"auth": {
"status": "authenticated",
"type": "oauth-personal",
"label": "Google account"
},
"usageLimits": {
"windows": [],
"unavailable": {
"reason": "unsupported",
"message": "Sign in with Google to see Antigravity limits."
}
}
}
The same response contained seven discovered models, including Gemini 4 Argon, Gemini 4 Hydrogen, Claude Opus 5.5, and Claude Sonnet 5.5.
Investigation#
The installed v0.1.9 implementation of makeAntigravityUsageProbe reads only <profileDirectory>/antigravity-acp/acp_token.json. If that file is absent, it returns the unsupported/sign-in message above before querying quota.
On this host, the CLI login exists at ~/.gemini/antigravity-cli/antigravity-oauth-token, in a different JSON structure (token, auth_method, id_token_email). Successful ACP authentication does not imply that the legacy profile token exists. No credential values are included in this report.
This appears to be the same credential-source mismatch described in #34381, with an absent legacy token producing no quota instead of a leftover token producing another account's quota.
Screenshots, recordings, or supporting files#
Observed UI: Usage > Limits, All environments / All providers selected; Codex and Claude quota cards are present, Antigravity is absent. Sanitized server evidence is included above.
Workaround#
No verified workaround for showing the CLI account's quota inside T3 Code. Re-authentication/model discovery succeeded but did not fix Limits. We have not modified or copied OAuth credentials, patched T3 Code, or switched to the managed ACP runtime.
tanstack-source added labelsbug
juliusmarminge closed this
Sign in to join this conversation.
This is the same problem as #34327, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.