GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): stop reading Antigravity usage limits from Google's internal APIs by juliusmarminge · Pull Request #43026 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Antigravity supports only ACP for external clients. Google told us that calling its internal APIs can get an account flagged. T3 Code was reading Antigravity quotas from cloudcode-pa.googleapis.com (retrieveUserQuotaSummary / fetchAvailableModels) in two places: the local provider probe and the CLIProxyAPI hub reader. Either one could get users in trouble.

What changed

  • Deleted antigravityUsageLimits.ts and its tests. That file held the quota probe, the OAuth refresh, the keyring/Windows credential reads and the fake antigravity/hub user agent. I also removed its wiring from AntigravityProvider and AntigravityDriver: the usage fiber, the republish deferred and onSignedIn.
  • The hub no longer reads Antigravity accounts. They're skipped like any other unsupported provider, and a regression assertion covers that.
  • Removed the Antigravity-only window handling in @t3tools/shared/usageLimits, the web thread details and server UsageLimitSources, since nothing produces those windows anymore.
  • Dropped @napi-rs/keyring from the server manifest. Only this probe used it; desktop still depends on it for browser cookie import.
  • Updated docs/user/usage.md.

Local Antigravity token history (read from on-disk conversation databases, no network) is unchanged. Limits can come back once Antigravity exposes them over ACP; their team said they'd pass the request along.

Verification
Nothing here is visual: Antigravity now shows no limits, the same as other providers that don't report any. These pass:

  • apps/server: cliproxyApi.test.ts (including the new assertion that hub Antigravity accounts are never called), UsageLimitSources.test.ts, AntigravityProvider.test.ts, AntigravityDriver.test.ts
  • packages/shared: usageLimits.test.ts
  • apps/web: ThreadDetailsUsage.logic.test.ts
  • vp run typecheck (server) and vp run check:changed (format, lint, knip)

v1internal no longer appears anywhere outside .repos. The only remaining cloudcode-pa mention is in AntigravityTurnOutcome.ts, which parses the rate-limit errors that the ACP runtime itself reports; it makes no requests.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

qtqgyt, iolucasluo, ivo22dev, kelchm, IC-Alchemy, cloudchristoph, jberlyn, ryanbarlow97, notraheeel, and jameskraus reacted with confused emoji
All reactions
  • 😕 10 reactions
@juliusmarminge @claude
fix(server): stop reading Antigravity usage limits from Google's inte…
ab78a78
…rnal APIs

Antigravity only supports ACP for external clients, and Google confirmed that
calling its internal APIs can flag a user's account. T3 Code read Antigravity
quotas from cloudcode-pa.googleapis.com (locally and through CLIProxyAPI hubs),
so remove the quota probe, the hub reader, and the Antigravity-only window
handling that interpreted those quotas. Local token history is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB ✅
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB ✅
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Codex long turn running, history page HTTP decoded 92.4 KiB 92.4 KiB 0 B (0.0%) 107.4 KiB ✅
Codex long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, work page HTTP decoded 186.2 KiB 186.2 KiB 0 B (0.0%) 200.2 KiB ✅
Codex long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Codex fleet shell resume check rows 0 0 0 0 ✅
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex stale shell reload rows 27 27 0 (0.0%) 27 ✅
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB ✅
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB ✅
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB ✅
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB ✅
Claude long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, work page HTTP decoded 188.1 KiB 188.1 KiB 0 B (0.0%) 200.2 KiB ✅
Claude long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Claude fleet shell resume check rows 0 0 0 0 ✅
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude stale shell reload rows 27 27 0 (0.0%) 27 ✅
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB ✅
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅

Baseline: dc5ae5c · PR result: ab78a78 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change removes Antigravity usage-limit probing and CLIProxyAPI hub reads. It also removes Antigravity-specific usage-window matching and sorting. The documented hub providers are Codex, Claude, and Grok.

Changes: Antigravity usage-limit removal

Layer / File(s) Summary
Remove Antigravity usage probing
apps/server/src/provider/antigravityUsageLimits.ts, apps/server/src/provider/AntigravityProvider.ts, apps/server/src/provider/Drivers/AntigravityDriver.ts, related tests, apps/server/package.json, knip.jsonc
The Antigravity usage probe and its provider and driver integration are removed. The keyring dependency, probe tests, and shard-weight entry are also removed.
Stop reading Antigravity hub accounts
apps/server/src/usage/cliproxyApi.ts, apps/server/src/usage/cliproxyApi.test.ts, docs/user/usage.md
The CLIProxyAPI hub no longer registers Antigravity as a supported provider. The tests and documentation reflect that Antigravity accounts are not read.
Remove Antigravity-specific window handling
packages/shared/src/usageLimits.ts, apps/server/src/usage/UsageLimitSources.ts, apps/web/src/components/chat/ThreadDetailsUsage.logic.ts, related tests
Usage-window selection and display no longer use Antigravity-specific model matching or sorting. Reset selection and thread usage routing no longer apply an additional Antigravity window filter.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Possibly related issues

  • [Bug]: Antigravity Limits empty for AICode-routed Google accounts: cloudcode-pa quota endpoints return 403 (no valid license) #40193: The PR removes the quota probe that the issue identifies as returning 403 responses.
  • [Bug]: Antigravity Gemini Enterprise (oauth-business) renders 32 per-model-variant 100% quota rows in the limits panel and Usage → Limits #40101: The PR removes the Antigravity usage-window logic and the module that produced the quota rows described in the issue.
  • [Bug]: Antigravity usage limits show a stale account's quota when the agy CLI is the binary path #34381: The PR removes the probe that reads Antigravity credential files for usage.
  • [Bug]: Antigravity hub accounts show raw auth filenames instead of email initials badges in Usage → Limits #40678: The PR removes the Antigravity hub reader, so Antigravity accounts are no longer read there.

Suggested reviewers: bil0000

Merge Risk: Minimal · up to ab78a · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the server stops reading Antigravity usage limits from Google's internal APIs. The changeset deletes the quota probe, its credential and OAuth code, and the hub reader…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description fills every section of the repository template. Problem: Google told the team that calling Antigravity's internal APIs (cloudcode-pa.googleapis.com) can flag an account, and the local …
Full details: Title check

Explanation

The title names the main change: the server stops reading Antigravity usage limits from Google's internal APIs. The changeset deletes the quota probe, its credential and OAuth code, and the hub reader for those APIs, so the title matches the change. It follows the conventional commit format and is 78 characters long.

Full details: Description check

Explanation

The description fills every section of the repository template. Problem: Google told the team that calling Antigravity's internal APIs (cloudcode-pa.googleapis.com) can flag an account, and the local probe and CLIProxyAPI hub reader both made those calls. Change: the PR deletes antigravityUsageLimits.ts and its tests, removes the related wiring in AntigravityProvider and AntigravityDriver, excludes Antigravity accounts from the hub, removes Antigravity-only window handling in shared, web, and server code, drops @napi-rs/keyring from the server manifest, and updates docs/user/usage.md. Scope: it is a bug-style fix that removes unsafe network calls, and it links no issue. Verification: it lists the focused test files and the typecheck and check commands that pass, and it states the expected visible result (Antigravity shows no limits). Gaps: the Scope section does not link an issue or a maintainer request, and it does not explain why no issue is needed. The title is not part of the description but the commit message is conventional. The template asks for the model and harness that did the work; the author used Claude Code, but the description names no model version. The description also does not say whether this is a draft.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: t3/remove-antigravity-usage-limits
  • File: .coderabbit.config.ts
  • Commit: ab78a78
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 8d2030b3-1044-4a81-b6de-d80ae7e8cb09
Commits

Reviewing files that changed from the base of the PR and between dc5ae5c and ab78a78.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 17

  • apps/server/package.json
  • apps/server/src/provider/AntigravityProvider.test.ts
  • apps/server/src/provider/AntigravityProvider.ts
  • apps/server/src/provider/Drivers/AntigravityDriver.test.ts
  • apps/server/src/provider/Drivers/AntigravityDriver.ts
  • apps/server/src/provider/antigravityUsageLimits.test.ts
  • apps/server/src/provider/antigravityUsageLimits.ts
  • apps/server/src/testUtils/shardWeights.json
  • apps/server/src/usage/UsageLimitSources.test.ts
  • apps/server/src/usage/UsageLimitSources.ts
  • apps/server/src/usage/cliproxyApi.test.ts
  • apps/server/src/usage/cliproxyApi.ts
  • apps/web/src/components/chat/ThreadDetailsUsage.logic.ts
  • docs/user/usage.md
  • knip.jsonc
  • packages/shared/src/usageLimits.test.ts
  • packages/shared/src/usageLimits.ts
Files with no reviewable changes: 11

  • apps/server/package.json
  • apps/server/src/provider/AntigravityProvider.test.ts
  • apps/server/src/provider/AntigravityProvider.ts
  • apps/server/src/provider/Drivers/AntigravityDriver.test.ts
  • apps/server/src/provider/antigravityUsageLimits.test.ts
  • apps/server/src/provider/antigravityUsageLimits.ts
  • apps/server/src/testUtils/shardWeights.json
  • apps/server/src/usage/UsageLimitSources.test.ts
  • knip.jsonc
  • packages/shared/src/usageLimits.test.ts
  • packages/shared/src/usageLimits.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge merged commit 96423cb into main Nov 25, 2026
40 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the t3/remove-antigravity-usage-limits branch November 25, 2026 19:25
This was referenced Nov 25, 2026
[Bug]: macOS repeatedly prompts for login keychain password for "gemini" on Antigravity Gemini Enterprise (oauth-business) #41000
Closed
fix(server): read Antigravity macOS Keychain sign-in via /usr/bin/security #41006
Closed
fix(server): Antigravity usage limits ignore leftover acp_token.json #42623
Closed
fix(antigravity): read usage limits via official agy CLI instead of direct v1internal requests #42614
Closed
fix(server): respect the Antigravity metering host for quota limits #42059
Closed
fix(server): fold unwindowed Antigravity Enterprise quota buckets by family #40579
Closed
fix(server): Antigravity limits renew expired 1.5.x CLI tokens without a chat turn #40474
Closed
fix(server): Antigravity limits use the agy CLI's sign-in over a leftover acp_token.json #39544
Closed
fix(server): merge Antigravity Gemini model quotas when summary omits them #38759
Closed
fix(server): Antigravity refreshes usage limits when a session starts #39740
Closed
[Bug]: Antigravity usage limits show a stale account's quota when the agy CLI is the binary path #34381
Closed
[Bug]: Antigravity Usage Limits broken for Google One Pro/Plus Users #40015
Closed
[Bug]: Antigravity Gemini Enterprise (oauth-business) renders 32 per-model-variant 100% quota rows in the limits panel and Usage → Limits #40101
Closed
[Bug]: Antigravity Limits stop updating an hour after the last turn and falsely report an expired sign-in #40178
Closed
[Bug]: Antigravity Limits empty for AICode-routed Google accounts: cloudcode-pa quota endpoints return 403 (no valid license) #40193
Closed
[Bug]: Antigravity hub accounts show raw auth filenames instead of email initials badges in Usage → Limits #40678
Closed
[Bug]: Limits code reuses Claude and Antigravity CLI tokens under official-client User-Agents #42854
Open
[Bug]: Antigravity 1.5.16 breaks isolated file token storage & usage limits (expects AGY_CLI_FORCE_FILE_TOKEN_STORAGE instead of AGY_ACP_FORCE_FILE_STORAGE / SSH_CONNECTION) #41973
Open
[Bug]: Antigravity account suspended for "violation of Terms of Service" during T3 delegation — is the T3 Antigravity driver an allowed client? #40713
Closed
danielphan2003 added a commit to danielphan2003/skid-panel that referenced this pull request Nov 25, 2026
@danielphan2003
fix(quota): stop reading Antigravity's internal quota APIs
5411af9
Google told T3 Code that calling its internal Cloud Code APIs can get an
account flagged, and Antigravity exposes no quota API to external clients
(pingdotgg/t3code#43026). Drop the Antigravity quota tab and the auth-file
quota section, and make its adapter never select a file, so the dashboard
stops calling retrieveUserQuotaSummary and loadCodeAssist. The rendering
code stays for when ACP reports limits.
fcakyon added a commit to fcakyon/t3code that referenced this pull request Nov 25, 2026
@fcakyon
build: merge upstream main through cbe475e
b62560b
Resolve conflicts across AntigravityAdapterV2, AntigravityDriver, agentContextBudget, ProviderSetupSection, and deleted antigravityUsageLimits files (pingdotgg#43026, pingdotgg#42931, pingdotgg#42517, pingdotgg#42671).

verification: 24 focused test suites passed, vp run i18n:check passed, vp run check:changed origin/nightly passed format, lint, knip, graphql, typecheck (43/43), and react compiler, unused patches verified with VP_HOME
@DarthBenro008

DarthBenro008 commented Nov 25, 2026

Copy link
Copy Markdown

Cross-referencing a relevant comment regarding this: #40015 (comment)

can we use agy -p "/usage" --output-format json instead of calling Google's Internal APIs directly? A direct removal of antigravity usage is a bummer giving how popular Neon has become and that T3 code is one of the only harness that allows to use Antigravity models without ban risk.

tsukumijima, Skidamek, mehdikhody, and blizzy78 reacted with thumbs up emoji
All reactions
  • 👍 4 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gabrielelpidio added a commit that referenced this pull request Nov 25, 2026
@gabrielelpidio @claude
fix(server): Antigravity sessions always identify as T3 Code, never Zed
19946c9
On agy 1.5.0, or when T3 cannot read the runtime version, the ACP handshake
sent clientInfo name "zed" so agy would offer models it allowlists for Zed.
Posing as another client breaks the same rule as #43026: use Antigravity only
as itself, over ACP. Always send t3-code.

The Antigravity provider page also still told users to open Usage > Limits for
their Google allowances, which #43026 removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
aaryan-rampal added a commit to aaryan-rampal/t3code that referenced this pull request Nov 27, 2026
@aaryan-rampal @claude
feat(usage): read Antigravity limits from the agy CLI (#1)
c8620c0
* feat(server): restore Antigravity usage reading and sampling

Bring back the provider wiring upstream removed in pingdotgg#43026, with the quota history sampling on top. The reader itself is injected.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* feat(server): read Antigravity limits from the agy CLI

Ask the official CLI for /usage instead of calling Google's internal APIs, which upstream removed in pingdotgg#43026. agy ignores GEMINI_HOME, so every instance reports the CLI's own sign-in.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* feat(shared): match Antigravity limit pools to their models

Restore the pool blocking and window order that upstream removed with the reader. Hub-only handling stays removed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(usage): say where Antigravity limits come from

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* fix(server): run the user's agy for Antigravity limits

T3's managed agy 1.5.14 cannot read the CLI sign-in over a fake SSH session and timed out. Look up agy on PATH, or the configured binary path, and strip other credentials regardless of case.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* feat(server): read Antigravity limits with a bare agy on macOS

Point HOME at a reused folder that only links the keychain, so a periodic read starts none of the user's MCP servers or hooks. One read drops from about 636 MB and 3 CPU-seconds to 193 MB and 0.3.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
@juliusmarminge juliusmarminge mentioned this pull request Nov 27, 2026
[Bug / Regression]: Antigravity (Gemini) usage limits / quota bar disappeared after updating to 0.1.13 #43955
Open
@qiuziz qiuziz mentioned this pull request Nov 27, 2026
feat(antigravity): restore usage limits via the official agy CLI qiuziz/t3code#6
Merged
@juliusmarminge juliusmarminge mentioned this pull request Nov 27, 2026
[Bug]: Antigravity provider usage info missing in v0.1.13 server (regression from v0.1.12) #44002
Closed
2 tasks done
@RichardZhengQuan RichardZhengQuan mentioned this pull request Nov 27, 2026
Require opt-in for Antigravity and Oh My Pi and identify Grok requests as usAIge RichardZhengQuan/usAIge#160
Merged
@iolucasluo

iolucasluo commented Nov 27, 2026

Copy link
Copy Markdown

I can't stand not being able to see my credit limit and hope it can be fixed as soon as possible.

mehdikhody and unthingable reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Dragonk Dragonk mentioned this pull request Nov 27, 2026
[Bug]: Antigravity limits are missing from Usage on server 0.1.13 #44059
Closed
BierDav added a commit to BierDav/t3code that referenced this pull request Nov 27, 2026
@BierDav @claude
Merge placement-profiles into fork-kit/sync (upstream v0.1.14-nightly…
b1071ed
….20261127.5319)

Resolves the conflicts of the upstream merge:

- Antigravity usage limits: upstream removed them (pingdotgg#43026), so the fork's
  sign-in hint fix to antigravityUsageLimits.ts goes with the files, and
  modelUsageWindows drops its Antigravity case.
- UsageLimitRecoveryWorker: keeps the fork's registry invalidation and
  upstream's routine span on the sweep.
- OrchestratorMcpService.delegateTask: upstream's body (non-Git project
  worktrees, agent mode refusal) with the fork's placement profile launch
  and child tagging.
- ChatComposer: upstream's runtime-mode limits context around the
  controls bar, with the fork's placement profile picker display.
- docs/user/usage.md: upstream's condensed page, with account fallback as
  one bullet under Subscription limits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dayuer dayuer mentioned this pull request Nov 27, 2026
feat(antigravity): two agents, one per sign-in; plans only on the API key dayuer/beluga#124
Merged
@dockurt

dockurt commented Nov 27, 2026

Copy link
Copy Markdown

+1 to agy -p /usage checks, but longterm I also suggest scheduled terminal runs for custom checks under 'scheduled tasks' -- currently we have scheduled 'prompts' but not commands, which would be helpful in pre-scheduled technical checks that aren't reliant on LLM token-consuming prompts.

unthingable reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

omar7550 added a commit to omar7550/t3code that referenced this pull request Nov 27, 2026
@omar7550 @claude
feat(server): keep Antigravity usage limits (local patch, reverts ups…
15be3d9
…tream pingdotgg#43026)

Upstream pingdotgg#43026 stopped reading Antigravity quotas from Google's internal
Cloud Code API, for the local Antigravity sign-in and for CLIProxyAPI hub
accounts. On agentbox the same Google account already routes its inference
through that API via the CLIProxyAPI pool, so this local patch keeps the
quota reads and the usage bar. Drop this commit once Antigravity exposes
limits over ACP.

This reverts commit 96423cb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
omar7550 added a commit to omar7550/t3code that referenced this pull request Nov 27, 2026
@omar7550 @claude
feat(server): keep Antigravity usage limits (local patch, reverts ups…
0336d6e
…tream pingdotgg#43026)

Upstream pingdotgg#43026 stopped reading Antigravity quotas from Google's internal
Cloud Code API, for the local Antigravity sign-in and for CLIProxyAPI hub
accounts. On agentbox the same Google account already routes its inference
through that API via the CLIProxyAPI pool, so this local patch keeps the
quota reads and the usage bar. Drop this commit once Antigravity exposes
limits over ACP.

This reverts commit 96423cb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wiiiimm wiiiimm mentioned this pull request Nov 27, 2026
fix(agent-usage): stop calling Antigravity's internal Google APIs stealth-factory/opscope#685
Merged
wiiiimm added a commit to stealth-factory/opscope that referenced this pull request Nov 27, 2026
@wiiiimm @claude
fix(agent-usage): stop calling Antigravity's internal Google APIs (#685)
2a603f1
Antigravity's quota, per-model Gemini allowance and Code Assist tier were
also read from cloudcode-pa.googleapis.com/v1internal (retrieveUserQuotaSummary,
retrieveUserQuota and loadCodeAssist) with the OAuth token Antigravity leaves
on disk, under a User-Agent shaped to get past UNSUPPORTED_CLIENT. The tier
call was not gated by antigravity_remote, so turning that off did not stop it.

Google told T3 Code that calling these endpoints from an outside client can
get an account flagged (pingdotgg/t3code#43026), and the Antigravity terms
treat third-party software using its OAuth sign-in as a breach. Remove the
three calls, the token read, the crafted User-Agent and the
antigravity_remote setting. The quota now comes only from the local language
server and Antigravity's own `agy -p /usage`; activity stays on the local
SQLite stores. The Plan block and the "Gemini, per model" rows go with them,
since nothing local reports either.

A test fails if the endpoint host, the token file or a v1internal call comes
back into antigravity.rs.


Claude-Session: https://claude.ai/code/session_01KVgNwr3Je4Fp6Hzwq2PYPp

Co-authored-by: Claude <[email protected]>
collissimo added a commit to collissimo/t3code that referenced this pull request Nov 27, 2026
@collissimo @claude
fix(web): thread details show usage again, Antigravity from local his…
5b8a72a
…tory

The Usage item in thread details was off by default, so Claude's limits only
showed for people who had turned on the retired Labs toggle. Antigravity lost
its limits entirely when upstream stopped calling Google's internal quota API
(pingdotgg#43026), so agy threads showed nothing.

Usage limits are now on by default. A provider that reports no limits, like
Antigravity, shows its tokens today and over 7 days from its local history
instead, with cost in the tooltip. No network requests to Google.

Verified: dev server in the Browser panel: an Antigravity thread shows Today and 7 days token rows with cost in the tooltip, a Claude thread shows its Session and Weekly limit rows, both with default settings; vp test threadDetailsItems, ThreadDetailsUsage.logic, ThreadDetailsPanel.browser pass; web typecheck, i18n:check, format pass
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@collissimo collissimo mentioned this pull request Nov 27, 2026
fix(web): thread details show usage again, Antigravity from local history collissimo/t3code#82
Merged
@huntharo huntharo mentioned this pull request Nov 27, 2026
fix(agent-core): keep Antigravity requests on ACP pwrdrvr/PwrAgent#4636
Closed
DZamataev added a commit to DZamataev/t3code that referenced this pull request Nov 27, 2026
@DZamataev
feat(usage): read Antigravity quotas of CLIProxyAPI hub accounts again
d99d71c
Upstream stopped reading Antigravity quotas in 96423cb (pingdotgg#43026): Google
warned that calls to its internal APIs can get an account flagged, and T3
called `retrieveUserQuotaSummary` both for the local sign-in and through a
CLIProxyAPI hub. Since the merge the cpapi hub listed "Skipped antigravity"
and the fork's hub-limit work for Antigravity API-key instances
(93555ac, fb2de49) had nothing to show.

Bring back only the hub path. A hub's Antigravity accounts already reach
Google's internal APIs for every request they serve, so one more quota call
per refresh adds little to that; a local sign-in is still never probed and
no keychain read or keyring dependency returns.

- cliproxyApi reads hub Antigravity accounts again (project id, summary,
  Google-ID fingerprint), with the parsing it needs in a new, smaller
  usage/antigravityHubUsage.ts instead of the deleted probe module.
- Shared limits regain the per-family Antigravity rules (exhausted window,
  display order, which quota blocks which model), and so do the thread
  card's hub pool and hubPoolResetAt.
- Tests come back from before pingdotgg#43026 and follow upstream's newer
  `{ accounts, unreadProviders }` result; the skipped-provider test now
  uses providers the hub still cannot read.
EvoIos added a commit to EvoIos/t3code that referenced this pull request Nov 27, 2026
@EvoIos
feat(server): restore Antigravity usage limits via agy CLI
b789dbc
Upstream PR pingdotgg#43026 removed direct calls to Google internal APIs for Antigravity usage limits.

Restore usage limit reporting by invoking the official `agy -p /usage --output-format json` CLI command with the instance profile environment, 5-minute TTL caching, in-flight deduplication, and epoch-0 reset_time filtering.

Implemented with Gemini 4 Neon via Antigravity harness.
EvoIos added a commit to EvoIos/t3code that referenced this pull request Nov 28, 2026
@EvoIos
feat(server): restore Antigravity usage limits via agy CLI
31b2e67
Upstream PR pingdotgg#43026 removed direct calls to Google internal APIs for Antigravity usage limits.

Restore usage limit reporting by invoking the official `agy -p /usage --output-format json` CLI command with the instance profile environment, 5-minute TTL caching, in-flight deduplication, and epoch-0 reset_time filtering.

Implemented with Gemini 4 Neon via Antigravity harness.
EvoIos added a commit to EvoIos/t3code that referenced this pull request Nov 28, 2026
@EvoIos
feat(server): restore Antigravity usage limits via agy CLI
1462186
Upstream PR pingdotgg#43026 removed direct calls to Google internal APIs for Antigravity usage limits.

Restore usage limit reporting by invoking the official `agy -p /usage --output-format json` CLI command with the instance profile environment, 5-minute TTL caching, in-flight deduplication, and epoch-0 reset_time filtering.

Implemented with Gemini 4 Neon via Antigravity harness.
@crvouga crvouga mentioned this pull request Nov 28, 2026
fix(t3): remove unsupported Antigravity limits probes across the fleet crvouga/homelab#423
Merged
github-actions Bot pushed a commit to crvouga/homelab that referenced this pull request Nov 28, 2026
@crvouga
fix(t3): remove unsupported Antigravity limits probes across the fleet (
1bf7c07
#423)

Pin the manager and workers to the T3 release containing
pingdotgg/t3code#43026. Upstream removed the native and hub probes that
requested private quota APIs and produced repeated Google sign-in
prompts. Retire the homelab diagnostic that required quota windows and
document the supported behavior.

Verified release ancestry, the Linux x64 artifact digest and absence of
both reported messages. `bun run check` passes.
tarunravi added a commit to tarunravi/t3code that referenced this pull request Nov 28, 2026
@tarunravi @claude
revert(server): keep Antigravity usage limits from Google's quota API
4710602
This reverts commit 96423cb (pingdotgg#43026). Antigravity and Gemini usage
limits keep showing, both for local instances and for Antigravity
accounts pooled through a CLIProxyAPI hub.

Adapted to later upstream changes: the Antigravity driver keeps the
incompatible-runtime import added since, the hub tests read the
{ accounts, unreadProviders } result, the unread-provider test uses an
unknown provider instead of antigravity, and the hub doc line lists
Antigravity again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Subin-Gurung49 added a commit to Subin-Gurung49/t3code that referenced this pull request Nov 28, 2026
@Subin-Gurung49
chore(sync): merge upstream/main (e3cd83a)
8ccb744
Keeps the fork's Antigravity quota cards by restoring the code upstream removed in 96423cb (pingdotgg#43026), now guarded in scripts/fork-divergences.json.
@gitxm gitxm mentioned this pull request Nov 28, 2026
Warn about account risk and disable automatic quota refresh by default lbjlaq/Antigravity-Manager#4120
Open
10 of 14 tasks
@n0rpan n0rpan mentioned this pull request Nov 28, 2026
Add Antigravity plan handoffs and native sessions oxstack/ox#56
Merged
@BierDav BierDav mentioned this pull request Nov 28, 2026
feat(usage): read Antigravity limits through the CLIProxy hub again BierDav/t3code#26
Merged
@mtunique mtunique mentioned this pull request Nov 28, 2026
[Bug]: Ordinary Antigravity threads may incur custom-agent quota rates after agy 1.5.17 #44967
Closed
2 tasks done
@arthurbm arthurbm mentioned this pull request Nov 28, 2026
docs(user): Antigravity index entry no longer promises quotas #45040
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@juliusmarminge @DarthBenro008 @rosstex @gabrielelpidio @EddieMa11 @iolucasluo @dockurt
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.