Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 13:04
· 27 commits to main since this release

🚀 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 and SNlM0e CSRF tokens. This allows agy-proxy to seamlessly proxy requests directly to the free gemini.google.com backend 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.Marshal schema expected by the official Go client.
    • Zero-config auto-discovery of all existing local tokens.
  • 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=True now correctly bypasses the AGY_ALLOW_CLI_TOKEN_OVERWRITE env 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 --list output.
  • Stream Parsing: Resolved HTTP 400 errors in StreamGenerate parsing for web connections.
  • Client Protocol Sync: Synced Antigravity 1.2.7 client protocols and updated upstream User-Agent to antigravity/cli/1.2.7 (cl=984112147) to bypass strict backend detection.

🛡️ Security

  • Atomic Writes & Backups: Added automatic .bak backups before modifying any antigravity-oauth-token file.
  • Protected Host Tokens: Hardened UI controls to prevent accidental overwrites of system-level tokens.

📋 Full Changelog

(Includes all commits since v1.3.0)

  • 3781ea5 chore: bump version to 1.4.0 (major feature update)
  • 4dcfda5 chore: bump version to 1.3.1
  • 7e315c3 feat(auth): update upstream User-Agent to antigravity/cli/1.2.7
  • bc126e9 fix(cli): replace misleading Primary status with actual CLI/IDE active status
  • cf425a4 fix(switcher): allow_overwrite=True bypasses AGY_ALLOW_CLI_TOKEN_OVERWRITE
  • 5f30691 feat(gemini_web): synthesize tool calls from web responses
  • eb25955 fix(gemini_web): resolve StreamGenerate HTTP 400 and stream parsing
  • e0b45ae feat(web): anti-sandbox guardrails, live Set-Cookie rotation
  • 7b2bb51 feat(web): reverse-engineer StreamGenerate protocol
  • 5611ddb feat: sectioned accounts view, multi-account web/apikey support
  • b47778c feat(web): add Gemini Web HAR/cookie import
  • 93c2c70 feat(security): add backups, atomic writes, readonly mode
  • 1a4ace5 feat: add Antigravity session switcher CLI, API and UI rotation
  • 65719a4 feat(auth): add GeminiWebSession with CDP auto-cookie extraction
  • 6ab5421 feat(cloudcode): add universal v1internal passthrough router

Full Changelog: v1.3.0...v1.4.0


All tests (198/198) pass successfully.