You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: correct false at-rest, pi-parity, and killswitch-default claims
- refresh token is plaintext under 0600, not encrypted at rest by Google
- pi has no account pool/rotation/killswitch; only transport+transforms are shared
- killswitch.accounts is unset by default (emptyOperatorSettings omits it), not {}
The account pool persists in `antigravity-accounts.json` (storage schema `AccountStorageV4`) with locking via `acquireFencedFileLock` so concurrent writers cannot corrupt the file. Each account carries:
127
127
128
-
-`refreshToken` (encrypted at rest by Google; the file itself sits under `0600`)
128
+
-`refreshToken` (stored in plaintext; the file sits under `0600` with its parent directory at `0700` — filesystem permissions are the only protection at rest)
-`fingerprintHistory` and `verificationRequired` / `verificationUrl` (used by the verification flow)
@@ -214,7 +214,7 @@ pi
214
214
/login google-antigravity # OAuth flow
215
215
```
216
216
217
-
The Pi extension registers the `google-antigravity` provider automatically through the package's `pi.extensions` field; no further wiring is needed. Account storage is Pi-local (it does not share the OpenCode `antigravity-accounts.json`), but the underlying transport is identical because both packages delegate to `@cortexkit/antigravity-auth-core`. Quota, routing, and killswitch semantics are therefore identical to the OpenCode plugin.
217
+
The Pi extension registers the `google-antigravity` provider automatically through the package's `pi.extensions` field; no further wiring is needed. Both packages delegate to `@cortexkit/antigravity-auth-core`, so the request transport and model transforms are shared. The account-pool layer is not: Pi holds a single credential locally (no `antigravity-accounts.json`, no rotation, no killswitch, no operator settings). Multi-account rotation, quota routing, and the killswitch are OpenCode-only.
218
218
219
219
## Configuration reference
220
220
@@ -279,7 +279,7 @@ The Pi extension registers the `google-antigravity` provider automatically throu
279
279
|`operator.routing.quota_style_fallback`| bool |`false`| — | Live override of `quota_style_fallback`. |
|`operator.killswitch.accounts`| record<string, number> |unset| — |Optional per-account override (key = `sha256(refreshToken).slice(0,12)`). Absent by default; falls back to `minimum_remaining_percent`. |
283
283
|`operator.log_level`|`error`\|`warn`\|`info`\|`debug`\|`trace`|`"info"`| — | Runtime log-level filter (mutable from `/antigravity-logging`). |
284
284
285
285
`globalThis.fetch` calls inside the package go through `fetchWithActiveTimeout` (see [State, cache, log, RPC, and dump files](#state-cache-log-rpc-and-dump-files)).
0 commit comments