dsh-antigravity-oauth
Manifest validIsolated Gemini Cloud Code Assist OAuth for DeepSeek Harness. Independent store. Gemini flash only.
dsh-antigravity-oauth
English | 中文
Install
DSH Studio desktop app (recommended)
Open Settings → Plugins → Add plugin and enter this in “Package name or address”:
github:aa2246740/dsh-antigravity-oauth#v0.2.2
The desktop plugin manager owns the Desktop profile and bundled package manager. This release includes lib/; normal use needs no clone, build, or DSHX installation. Follow the app if it asks you to reload or reopen after installation.
Web CLI
dsh plugin --profile web add github:aa2246740/dsh-antigravity-oauth#v0.2.2
This official CLI command writes only the web profile; it cannot modify the Desktop App profile. For an already-running Web Host, reopen that Host once and reload the page.
DeepSeek Harness 0.1.7-rc.2 (client peers >=0.1.7-rc.1 <0.1.8). Node 22.19+.
If dsh is not on PATH:
npx @deepseek-ai/dsh plugin --profile web add github:aa2246740/dsh-antigravity-oauth#v0.2.2
The public CLI manages web only; use the in-app “Add plugin” entry above for the Desktop App.
From a local clone (development/local testing), keep the file: prefix so Host peers resolve:
git clone https://github.com/aa2246740/dsh-antigravity-oauth.git
dsh plugin --profile web add file:./dsh-antigravity-oauth
That path also needs pnpm, then a Host restart and page reload. Open Settings → Antigravity. In a new chat, pick route agy-google-antigravity.
dsh plugin --profile web remove dsh-antigravity-oauth
Isolated, unofficial Gemini Cloud Code Assist login for DeepSeek Harness.
This is a community plugin. It is not Google Antigravity, not the public Gemini API, and not an official DeepSeek product.
Warning — read this before you sign in
Using this plugin can get the Google account banned, limited, or signed out. That risk is real. Nobody here can undo it.
- Unofficial Cloud Code Assist. Sign-in pretends to be the Antigravity desktop client (
ideType: ANTIGRAVITY) and talks todaily-cloudcode-pa.googleapis.com/v1internal:streamGenerateContent. That is not Google AI Studio, not Vertex, and not a supported third-party integration. Google can change, rate-limit, or shut this path without notice. - You accept Google's terms, not ours. Read Google Terms of Service and the Antigravity / Gemini product terms before connecting. If those terms forbid this, do not sign in.
- Do not use an account you cannot afford to lose. Prefer a spare Google account. Saved accounts share one OAuth client, one user agent, and your IP, so every account you add raises the visibility of all of them. Add only accounts you own, and keep switching manual.
- No warranty. Chat working today does not mean the route, models, quota, or account will still work tomorrow.
- Do not paste secrets. Never put
.dsh-antigravity-oauth.json, refresh tokens, callback URLs, or authorization codes in issues, chats, or screenshots. - The OAuth client id/secret in this repo are not your Google password. They are the public Antigravity desktop app client (installed-app style), the same class of credentials the official IDE ships. They are required for this unofficial login. Your account tokens stay in
$DSH_HOME/.dsh-antigravity-oauth.jsonon your machine.
If you want a supported Gemini integration, use Google's official API / AI Studio products. Do not use this plugin.
What it does
| Settings nav | Antigravity |
| Harness route | agy-google-antigravity |
| Public models | gemini-3.8-flash, gemini-3.7-flash, gemini-3.5-flash |
| Auth file | $DSH_HOME/.dsh-antigravity-oauth.json (owner-only) |
| Saved accounts | Multiple; switched manually in Settings |
| Search | search_web → a separate Cloud Code Assist googleSearch turn |
| Image | Removed. This route does not generate images. |
The plugin never reads or writes official CLI auth files (~/.gemini, Antigravity app data, dsh-oauth-login's store, Pi Agent auth.json).
It is not dsh-oauth-login. Do not merge the two.
What it does not do
- Claude, GPT-OSS, Gemini 3.6 / 3.1 Pro, or any model that is not the two Flash ids above
- Google image generation (
generate_imageis dropped) - Automatic account rotation, load balancing, or quota pooling — switching is always manual
- Official Gemini API keys
- DSH's default
web_search/web_fetchon this route (they are hidden so they do not shadow Cloud Code Assist search)
Multiple accounts
- Settings → Antigravity → Add account signs in another Google account without signing the current one out. Every completed login is kept.
- The radio in the account list switches the active account. The next model request uses it; a stream that is already running finishes on the account that started it.
- Remove deletes only that one account. Removing the active one promotes the first remaining account. Nothing is ever wiped in bulk.
- When Google answers
429/ quota exhausted, the error names the account and the list marks it Quota limited. Switch to another saved account yourself — the plugin never switches on its own. - Idle accounts keep their refresh token. When you open this settings page the plugin re-checks at most one token per idle account per day, and never touches the Antigravity endpoints for idle accounts. A dead token shows Re-login required.
- All credentials live in one file:
{ version: 2, activeId, accounts: [...] }. The first migration leaves a one-time.dsh-antigravity-oauth.json.v1.bak(owner-only). Rolling back to an older plugin release requires restoring that backup; removing extra accounts does not rewrite the file back to v1. - Each account keeps its own Antigravity request session. Switching accounts does not carry one account's request identifiers into the other.
Sign in
- Settings → Antigravity → Sign in (or Add account when already signed in).
- Finish Google's consent screen in the browser.
- If the window does not return, paste the redirect URL or authorization code into the form.
OAuth listens on http://127.0.0.1:51121/oauth-callback. Desktop OAuth here does not use PKCE.
Google authorization and Antigravity eligibility are separate states. An authorized grant is preserved if eligibility fails; adjust plugin networking and retry eligibility without repeating consent. Pending login can be cancelled, reopened or restarted. Model routing requires a resolved project. Existing paid tier/project takes precedence over a free-tier rejection; onboarding uses the server's default allowed tier. Actual account/location restrictions remain errors. No Cockpit or official-app credentials are read. Older plugin versions cannot parse a pending grant without a project or a v2 multi-account file; restore the .v1.bak backup before downgrading.
Search, tools, and broken chats
Cloud Code Assist v1internal cannot mix built-in googleSearch with functionDeclarations on the same request. This plugin therefore:
- exposes
search_webto the model - runs that search as its own googleSearch-only round trip
- feeds the grounded result back as a
functionResponse(or a source memo if the model never called the tool) - continues the same chat with the original system prompt, tools, and language — the grounded dump is not the user-facing answer
- if the model only thinks and then stops (no text, no tools), the plugin nudges the same turn to continue — and will search when the user asked to look something up
- keeps ordinary tools (
bash,skill, …) available on that follow-up turn
If a turn 400s, TRANSPORT-storms, or leaves an unfinished tool call: start a new chat. Do not Continue that session. Scarred transcripts keep failing.
Typical scars:
Function call is missing a thought_signatureINVALID_ARGUMENTonfunctionResponse- a 400 that DSH then retries as
TRANSPORT
Gemini 3.7 Flash High requires a thought_signature on later functionCall parts. This plugin stores and replays them. A session that 400'd before that handshake is still dead — new chat.
Image generation
Google image on this catalog was removed on purpose:
gemini-3-pro-imageis not on this Cloud Code Assist list (404)gemini-3.1-flash-imagehas a separate, very small quota — not the Gemini 5-hour bar
Do not expect pictures from agy-google-antigravity.
Proxy
Settings → Antigravity offers Host environment, direct, and explicit HTTP(S) proxy modes, with the effective route displayed. Settings persist in $DSH_HOME/.dsh-antigravity-oauth.json.network.json and apply to subsequent OAuth/CCA requests without restarting. They never change system networking or other plugins. Proxy credentials in URLs are rejected.
CCA fetch honors HTTPS_PROXY / HTTP_PROXY / https_proxy / http_proxy through undici ProxyAgent. Node 22+ often ignores those variables unless the process also sets NODE_USE_ENV_PROXY=1; this plugin does not rely on that flag.
A local HTTP proxy such as http://127.0.0.1:45678 is enough when Google is otherwise unreachable. SOCKS-only ports are not.
Config
Optional overlay on the llm-antigravity-oauth row:
- id: llm-antigravity-oauth
name: dsh-antigravity-oauth
config:
nativeTools: true
nativeSearch: true
| Key | Default | Meaning |
|---|---|---|
nativeSearch | true | Offer search_web and intercept it onto googleSearch |
nativeTools | true | Forward DSH function tools (after schema sanitizing) |
streamIdleTimeoutMs | 300000 | Idle stream timeout |
retryPolicy | Harness default | Official dsh-llm retry policy |
nativeSearch: false turns off Cloud Code Assist search. It does not bring DSH web_search back on this route.
License
Apache-2.0.
No affiliation with Google, DeepSeek, or the Antigravity IDE. You run this at your own risk.
Comments
Loading…
Similar plugins
by Eridani075
Google Antigravity OAuth Gemini provider for DeepSeek Harness
★ 4
MIT
TypeScript
Sep 17, 2026
dsh plugin --profile web add dsh-antigravity-oauthby Jaylor-Wang
Connect Google Antigravity Code Assist OAuth accounts to DeepSeek Harness for Gemini and Claude streaming LLM routing and Imagen 3 generation.
★ 4
↓ 607/wk
MIT
TypeScript
Sep 24, 2026
dsh plugin --profile web add dsh-tool-antigravityby suntianc
DeepSeek Harness plugin for Antigravity OAuth login and native Antigravity Auth capability bundle
★ 16
↓ 717/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-antigravity-authby mn288
DeepSeek Harness plugin: Gemini on Google Cloud Vertex AI through Application Default Credentials
★ 0
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add dsh-vertex-geminiby shaomingbo
Google Antigravity subscription reuse for DeepSeek Harness: browser PKCE sign-in, loopback OpenAI-compatible proxy to Cloud Code Assist, Gemini/Claude/GPT-OSS model routes.
★ 0
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-subscription-antigravityby OpenSaozi
接入 Google Anti Gravity Coding Plan 作为 DeepSeek Harness LLM Provider,直接使用账号下的 Gemini / Claude / GPT-OSS。 | Google Anti Gravity Coding Plan LLM Provider for DeepSeek Harness.
★ 3
MIT
JavaScript
Sep 9, 2026
dsh plugin --profile web add @deepseek-ai/dsh-llm-pi-ai-antigravity