Repository navigation
v1.4.0
🚀 Major Release: v1.4.0
This is a massive feature release that brings a brand-new Web proxy engine, an advanced CLI/IDE account switcher, UI dashboard improvements, and strict Antigravity client sync.
🔥 Major New Features
- Gemini Web Provider (
gemini_web): A completely new authentication and routing engine that connects to your local Chrome browser via CDP (port 9222) to automatically extract Google session cookies andSNlM0eCSRF tokens. This allowsagy-proxyto seamlessly proxy requests directly to the freegemini.google.combackend using high-performance HTTP polling without requiring API keys! - Universal Session Switcher: A brand new interactive CLI and Web Dashboard feature to effortlessly switch the active Google Antigravity account.
- Switch accounts directly from the terminal using
agy-proxy switch "email@gmail.com". - Supports separate targets using
--cli(terminal) and--ide(Cursor/VSCode) flags. - Automatically writes the strict 3-key
json.Marshalschema expected by the official Go client. - Zero-config auto-discovery of all existing local tokens.
- Switch accounts directly from the terminal using
- Advanced Dashboard UI:
- Sectioned grouping for OAuth, Gemini Web, and API Keys.
- 1-click collapse/expand for clean management of dozens of accounts.
- Live CLI vs IDE status indicators directly on the account cards.
- Sandbox guardrails and real-time streaming RPC parsing.
🐛 Bug Fixes & Stability
- Exact Schema Generation: Fixed token serialization to perfectly match Antigravity's expected binary layout, preventing CLI crashes.
- PermissionError Fix:
allow_overwrite=Truenow correctly bypasses theAGY_ALLOW_CLI_TOKEN_OVERWRITEenv guard, ensuring the UI and CLI can always switch accounts smoothly. - Misleading Status Fix: Replaced the confusing "Active (Primary)" status with accurate filesystem-level "Active (CLI)" and "Active (IDE)" indicators in the
agy-proxy switch --listoutput. - Stream Parsing: Resolved
HTTP 400errors inStreamGenerateparsing for web connections. - Client Protocol Sync: Synced Antigravity 1.2.7 client protocols and updated upstream
User-Agenttoantigravity/cli/1.2.7 (cl=984112147)to bypass strict backend detection.
🛡️ Security
- Atomic Writes & Backups: Added automatic
.bakbackups before modifying anyantigravity-oauth-tokenfile. - Protected Host Tokens: Hardened UI controls to prevent accidental overwrites of system-level tokens.
📋 Full Changelog
(Includes all commits since v1.3.0)
3781ea5chore: bump version to 1.4.0 (major feature update)4dcfda5chore: bump version to 1.3.17e315c3feat(auth): update upstream User-Agent to antigravity/cli/1.2.7bc126e9fix(cli): replace misleading Primary status with actual CLI/IDE active statuscf425a4fix(switcher): allow_overwrite=True bypasses AGY_ALLOW_CLI_TOKEN_OVERWRITE5f30691feat(gemini_web): synthesize tool calls from web responseseb25955fix(gemini_web): resolve StreamGenerate HTTP 400 and stream parsinge0b45aefeat(web): anti-sandbox guardrails, live Set-Cookie rotation7b2bb51feat(web): reverse-engineer StreamGenerate protocol5611ddbfeat: sectioned accounts view, multi-account web/apikey supportb47778cfeat(web): add Gemini Web HAR/cookie import93c2c70feat(security): add backups, atomic writes, readonly mode1a4ace5feat: add Antigravity session switcher CLI, API and UI rotation65719a4feat(auth): add GeminiWebSession with CDP auto-cookie extraction6ab5421feat(cloudcode): add universal v1internal passthrough router
Full Changelog: v1.3.0...v1.4.0
All tests (198/198) pass successfully.