去核实了下,还真是
已合并
pingdotgg/t3code
main ←
t3/remove-antigravity-usage-limits
juliusmarminge
07:25PM - 25 Nov 26 UTC
+15
-1842
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](https://claude.com/claude-code)
已打开
pingdotgg/t3code
main ←
t3/antigravity-usage-tracking
gabrielelpidio
09:24PM - 25 Nov 26 UTC
+70
-89
## Problem
On `agy` 1