dsh-antigravity
Analysis and local fix for dsh-antigravity plugin CallId export error in DSH Desktop Beta
- Stars
- 1
- Language
- JavaScript
- Created
- Sep 9, 2026
- Updated
- Oct 20, 2026
Introduction
dsh-antigravity
English | 简体中文
Google Antigravity / Cloud Code Assist model provider plugin crafted for DeepSeek Harness (DSH).
Access Google Cloud Code Assist's robust suite of coding models directly through Google OAuth with no API key required, featuring large context windows and advanced reasoning.
✨ Features
- Day-One Gemini 3.8 Flash Support: Full native support for Google's latest
gemini-3.8-flash-tieredwith 1M context window, direct model targeting, and configurable thinking levels (Low / Medium / High), defaulting to helpful low-level reasoning. - Intelligent Endpoint Auto-Failover & 429 Resilience:
- Three-Tier Endpoint Chain (Daily → Sandbox → PROD):
daily-cloudcode-pa.googleapis.com(the official IDE native primary endpoint) is now the default first choice with zero extra round-trip latency, followed by thedaily-cloudcode-pa.sandbox.googleapis.comsandbox, and the legacycloudcode-pa.googleapis.comas last-resort fallback. Pin a single endpoint withANTIGRAVITY_BASE_URL. - Accurate 429 Classification: Only responses that genuinely indicate exhausted account quota (
RESOURCE_EXHAUSTEDquota wording) surface a live reset countdown. Endpoint-level rate limiting is handled by backoff and endpoint progression instead of being misreported as "quota exhausted". - Upstream Timeout Guard: A 45-second upstream timeout ships by default (tunable via
ANTIGRAVITY_UPSTREAM_TIMEOUT_MS). When Google lacks capacity it may hold the connection open instead of returning an error, which otherwise leaves requests loading forever.
- Three-Tier Endpoint Chain (Daily → Sandbox → PROD):
- Live Model Catalog Filtering: While listing models, availability is probed in parallel across endpoints via
fetchAvailableModels, pruning whole families Google has retired (3.7 series currently returns 404 upstream) so broken models never appear in the picker. If probing itself fails (e.g. rate limited), the full catalog is preserved rather than silently shrinking; results cache for 5 minutes. - Repaired Fallback Chain: Since the 3.7 / 3.6 series has been retired upstream, their fallback target now resolves to the verified
gemini-3-flashinstead of another non-existent model, and non-quota 429s no longer abort the remaining candidates. - Official-Client Wire Fingerprint: Request headers match the official Antigravity client fingerprint format (pinned to the current stable official version, with
os_type/archmapped from the runtime), request envelopes use the upstream key order plus a dynamicrequestId, andrequestTypeis injected only when tools are present. - Robust Multi-Account Credentials & Quota Persistence:
- Resolved OAuth token refresh deserialization sync flaws to prevent token rollback and 401 loops.
- Supports multi-account rotation and real-time quota tracking.
- Modernized DSH-Native UI:
- Seamless dark and light theme adaptability following DSH theme tokens;
- Distinct live quota bars for Gemini (Emerald) and Claude & GPT (Violet/Cyan);
- Filter tabs (All, Gemini, Claude & GPT, Enabled).
- Clean Model Catalog: Pruned legacy and broken variants, focusing on the 5 core flagship models.
- Dual-ID Compatibility: Registers both
dsh-antigravityand@wisexin/dsh-antigravityto ensure 100% activation success across marketplace, GitHub, and local tarball installations.
📦 Installation
Option 1: DSH Marketplace
Search antigravity in the DSH Plugin Marketplace and click Install.
Option 2: From GitHub
dsh plugin --profile web add github:WiseXin/dsh-antigravity
Option 3: From Local Tarball
npm run pack:dist
dsh plugin --profile web add ./dist/wisexin-dsh-antigravity-0.1.12.tgz
Restart DSH:
dsh web
🔐 Authentication
- Open Settings > Antigravity in DSH;
- Click Sign in with Google to complete standard browser OAuth;
- Once signed in, live quota pools and reset countdowns will display automatically:
- Gemini Models Pool: Shared among Gemini 3.8 Flash, 3.7 Flash, etc.
- Claude & GPT Models Pool: Independent pool for Claude Opus 4.6, Claude Sonnet 4.6, and GPT-OSS 120B.
- Select Antigravity in your chat model picker and start coding.
On headless servers where the browser cannot be launched automatically, run the CLI login helper on the same machine:
node "$DSH_HOME/profiles/web/node_modules/dsh-antigravity/bin/antigravity-login.mjs"
📋 Model Catalog
| Model ID | Display Name | Provider | Features | Default |
|---|---|---|---|---|
gemini-3.8-flash | Gemini 3.8 Flash | 🧠 Thinking (Low/Med/High) · 👁️ Vision · 1M Context | Enabled | |
gemini-3.7-flash | Gemini 3.7 Flash | 🧠 Thinking (Low/Med/High) · 👁️ Vision · 1M Context | Enabled | |
claude-sonnet-4-6 | Claude Sonnet 4.6 | Anthropic | 🧠 Thinking · 👁️ Vision · 200k Context | Enabled |
claude-opus-4-6 | Claude Opus 4.6 | Anthropic | 🧠 Flagship Large · 👁️ Vision · 250k Context | Enabled |
gpt-oss-120b | GPT-OSS 120B | OpenAI | Open Weight Model · 131k Context | Enabled |
Note: Google's model supply changes over time. Retired models are hidden from the catalog automatically, and requests targeting them fall back to a verified model in the same family — no manual switching required.
⚖️ Disclaimers & Acknowledgments
- Disclaimer: Unofficial community integration. Not affiliated with or endorsed by Google, Anthropic, or OpenAI.
- Acknowledgment: Derived and enhanced from the open-source community project LiZhenNet/dsh-antigravity.