Registry / auth-security / opencode-antigravity-auth-tweaked

opencode-antigravity-auth-tweaked

JSON →
library1.9.7jsnpmunverified

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-tweaked
INSTALL
IMPORT
SIG · OPENCODE-ANTIGRAVI
O
opencode-antigravity-auth-tweaked
auth-securityjavascriptv1.9.7
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugin
✓ add plugin to opencode.json: { "plugin": ["opencode-antigravity-auth-tweaked@latest"] }
✗ npm install opencode-antigravity-auth-tweaked
This is an Opencode plugin, not a direct npm dependency. Install via Opencode config, not npm install.
default
✓ No programmatic import — configure via opencode.json
Plugin is loaded by Opencode at runtime. There is no JavaScript/TypeScript import API.
types
✓ TypeScript types are shipped but not directly importable by users
Types are for Opencode's internal use; users don't import them.

Shows how to install the plugin, authenticate with Google OAuth, and run a test model call.

// Step 1: Add to ~/.config/opencode/opencode.json { "plugin": ["opencode-antigravity-auth-tweaked@latest"] } // Step 2: Authenticate $ opencode auth login // Step 3: Follow prompts to configure models // Step 4: Test $ opencode run "Hello" --model=google/antigravity-gemini-3-pro --variant=high
Debug
Known issues
gotchaUsing this plugin violates Google's Terms of Service and may result in account suspension or shadow-ban.
fix
Do not use if you rely on your Google account for critical services.
affects: >=0.0.0
gotchaPlugin compatibility with other Opencode plugins (e.g., oh-my-opencode, dcp) is not guaranteed. Third-party modifications may break functionality.
fix
Report issues to the plugin author, but expect limited support.
affects: >=0.0.0
deprecatedClaude model support (opus-4-6, sonnet-4-6) has been removed as of v1.5.0.
fix
Use Gemini models instead (e.g., antigravity-gemini-3-pro).
affects: >=1.5.0
breakingModel IDs changed in v1.0.0: 'claude-opus-4-6' renamed to 'antigravity-claude-opus-4-6-thinking' (later removed).
fix
Update model names to current list (see README).
affects: >=1.0.0 <1.5.0
Errors
Common errors & fixes
opencode: error: unknown model 'google/antigravity-claude-opus-4-6-thinking'
Claude models removed after v1.5.0.
fix
Use Gemini models: antigravity-gemini-3-pro or antigravity-gemini-3-flash.
Error: OAuth token expired
Google OAuth token has expired or was revoked.
fix
Run 'opencode auth login' again to re-authenticate.
Error: 429 Too Many Requests
Rate limit exceeded for current quota pool.
fix
Add additional Google accounts for multi-account auto-rotation, or switch to a different quota pool (Antigravity vs Gemini CLI).
Error: Plugin 'opencode-antigravity-auth-tweaked' not found
Plugin not installed correctly in opencode.json.
fix
Ensure opencode.json contains: { "plugin": ["opencode-antigravity-auth-tweaked@latest"] } and restart Opencode.
Upgrade
Version history
1.9.7latest on npm
Audit
Dependencies
typescriptrequiredPeer dependency, required for type support
Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
opencode-antigravity-auth-tweaked — npm install opencode-antigravity-auth-tweaked · libregistry