{"library":"opencode-antigravity-auth-updated","title":"opencode-antigravity-auth-updated","description":"Google Antigravity IDE OAuth auth plugin for Opencode, providing access to Gemini 3 Pro and Claude 4.6 using Google credentials. Current stable version is 1.6.2, released with fixes for proper-lockfile interop and Node.js 25 compatibility. The plugin is updated frequently with beta releases introducing new features like TUI v2 and opt-in Claude 1M beta head. Key differentiators: offers access to latest AI models via Google Antigravity IDE, includes account rotation and quota management, and ships TypeScript types.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install opencode-antigravity-auth-updated"],"cli":null},"imports":["import AntigravityAuth from 'opencode-antigravity-auth-updated'","import { AntigravityAuthProvider } from 'opencode-antigravity-auth-updated'","import type { AntigravityAuthConfig } from 'opencode-antigravity-auth-updated'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import AntigravityAuth from 'opencode-antigravity-auth-updated';\n\nconst auth = new AntigravityAuth({\n  clientId: process.env.GOOGLE_CLIENT_ID ?? '',\n  clientSecret: process.env.GOOGLE_CLIENT_SECRET ?? '',\n  redirectUri: 'http://localhost:3000/callback'\n});\n\nasync function main() {\n  try {\n    const token = await auth.authenticate();\n    console.log('Authentication successful, token:', token);\n  } catch (error) {\n    console.error('Authentication failed:', error);\n  }\n}\n\nmain();","lang":"typescript","description":"Shows how to import and instantiate the AntigravityAuth class with OAuth credentials, then trigger authentication.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}