Opencode plugin (v1.9.7) enabling OAuth authentication against Google's Antigravity (IDE) and Gemini CLI quotas for access to models like gemini-3.1-pro and gemini-3-flash. Supports multi-account auto-rotation, dual quota systems, Google Search grounding, and extended thinking for Gemini models. Includes automatic session recovery and tool failure handling. Violates Google ToS — accounts may be banned. Requires Node >=20 and TypeScript ^5 as peer dependency. Ships TypeScript types.
npm install opencode-antigravity-auth-tweakedVerified import paths — ran on the pinned version, not inferred.
Shows how to install the plugin, authenticate with Google OAuth, and run a test model call.
Do not use if you rely on your Google account for critical services.
Report issues to the plugin author, but expect limited support.
Use Gemini models instead (e.g., antigravity-gemini-3-pro).
Update model names to current list (see README).
Use Gemini models: antigravity-gemini-3-pro or antigravity-gemini-3-flash.
Run 'opencode auth login' again to re-authenticate.
Add additional Google accounts for multi-account auto-rotation, or switch to a different quota pool (Antigravity vs Gemini CLI).
Ensure opencode.json contains: { "plugin": ["opencode-antigravity-auth-tweaked@latest"] } and restart Opencode.