Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Antigravity usage limits not shown on macOS (PR #47750 looks for `antigravity-oauth-token`, only `acp_token.json` exists) #48262

Closedneomikr0n(GitHub profile, opens in a new tab) opened this issue 1 comment

Area: apps/server

Environment

  • T3 Code: 0.1.14-nightly.20261203.5651 (includes #47750)
  • OS: macOS (darwin-arm64)
  • Antigravity managed CLI version: 1.5.23
  • Sign-in method: Google account (oauth-personal, usageAccess: "allowed", threadDetailsUsageEnabled: true)

What happened After updating to 0.1.14-nightly.20261203.5651 and updating the managed Antigravity CLI to 1.5.23, Antigravity subscription limits still do not appear in Usage → Limits or Thread details, even after restarting T3 Code and doing a full Sign out → Sign in in Settings → Providers → Antigravity.

Root cause observed In apps/server/src/provider/antigravityUsageLimits.ts, makeAntigravityUsageProbe checks for:

const tokenPath = path.join(input.profileDirectory, "antigravity-acp", "antigravity-oauth-token");

If tokenPath does not exist, it immediately returns SIGN_IN_MESSAGE without creating usage-home or running agy usage --json.

On macOS with antigravity 1.5.23, even after signing out and signing back in through T3 Code, <profileDirectory>/antigravity-acp/ only contains acp_token.json — antigravity-oauth-token is never created there (likely stored in macOS Keychain / acp_token.json instead).

In server.trace.ndjson, AntigravityProvider.refreshUsage / makeAntigravityUsageProbe finishes in < 0.3ms and usage-home is never created.

Expected behavior Antigravity usage limits should be read via agy usage --json on macOS after signing in via T3 Code (either by supporting acp_token.json / macOS Keychain fallback or ensuring antigravity-oauth-token is written on macOS login).

  1. tanstack-source added labelsbug

  2. This is the same problem as #41973, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

  3. juliusmarminge closed this

Sign in to join this conversation.