Something went wrong. Try again.
antigravity oauth for prime-agent ported from omp
Something went wrong. Try again.
TypeScript 100%
README.md
Google Antigravity provider #
Login + streaming provider for Google Cloud Code Assist ("Antigravity"). Ported
from oh-my-pi's google-antigravity implementation, including:
- OAuth flow with tier eligibility check and free-tier provisioning
antigravity/hub/<version>User-Agent spoofing with live version discovery- The per-request Antigravity envelope (
agent/<agentId>/<ts>/<trajectoryId>/<step>, signed-decimal session id,model_enum/used_claudelabels) daily-cloudcode-pa.googleapis.comwith sandbox failover- Live model discovery via
fetchAvailableModels
Usage #
prime-agent -e ./packages/coding-agent/examples/extensions/google-antigravity
# then:
/login google-antigravity
For auto-discovery, copy this directory to ~/.prime/agent/extensions/.
Overrides #
| Env var | Purpose |
|---|---|
PI_AI_ANTIGRAVITY_VERSION |
Pin the spoofed antigravity/hub client version |
PI_AI_ANTIGRAVITY_CL |
Pin the cl changelist component |
PI_AI_ANTIGRAVITY_OS / PI_AI_ANTIGRAVITY_ARCH |
Pin the os_type / arch components |