feat: auto-sync Antigravity OAuth auth to ephemeral Sprites
- Add server/antigravity-auth.ts to resolve Antigravity OAuth credentials from OpenBao (ANTIGRAVITY_OAUTH_TOKEN / AGY_OAUTH_TOKEN), env, local OS keyring (secret-tool / macOS security), or local token file and stream them over stdin (umask 077, mode 0600, atomic replace) into ~/.gemini/antigravity-cli/antigravity-oauth-token on Sprites - Cache full OpenBao KV secret map in OpenBaoClient and add getOptionalSecretKey for zero-extra-request lookup - Wire sync into SpritesManager.ensureSprite and restart Sprite Paseo daemon worker in ensureSpriteHost when credentials change - Add syncAntigravityAuth setting (default true) with Settings UI toggle - Add Antigravity to PROVIDER_CHOICES and prioritize it in PREFERRED_PROVIDERS
This commit is contained in:
1 parent
0b923ff019
commit
53f3e1b621
8 files changed
+404
-42
No files matched your search
@@ -43,6 +43,7 @@ type SyncAction =
|
||||
|
||||
const PROVIDER_CHOICES = [
|
||||
{ id: "auto", label: "Auto" },
|
||||
{ id: "antigravity", label: "Antigravity" },
|
||||
{ id: "claude", label: "Claude" },
|
||||
{ id: "codex", label: "Codex" },
|
||||
{ id: "opencode", label: "OpenCode" },
|
||||
|
||||
Reference in new issue
Block a user