DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Subscription Antigravity — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-subscription-antigravity

Subscription Antigravity

Google Antigravity 订阅复用于 DeepSeek Harness:本地多账户池,支持配额查看与切换、PKCE 登录,以及 Gemini/Claude/GPT-OSS 回环代理。非官方;无遥测。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:shaomingbo/dsh-subscription-antigravity#81e76ad9e4dd22fe601fe4082738831bba38dd1d
README兼容性版本

兼容性与来源证明

Subscription Antigravity 以 dsh-subscription-antigravity 发布,当前版本为 0.3.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/5

版本

0.3.1stable
2026/9/5
0.3.0stable
2026/9/5
0.2.1stable
2026/8/29
查看其余 1 个版本收起版本
0.1.4stable
2026/8/29

相关插件

正在加载相关插件…

最新版
0.3.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/5
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编码计划配额,并提供实时令牌使用记录,同时在侧边栏条目中显示当前会话提供商今日的使用量Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。

README

dsh-subscription-antigravity

Reuse a Google Antigravity subscription (Google AI Pro / Ultra) as model providers in DeepSeek Harness. Authorize one or more Google accounts once; the plugin provisions an antigravity model route with Gemini, Claude, and GPT-OSS models from Cloud Code Assist and serves them through a loopback OpenAI-compatible proxy.

Protocol shape follows the pi-antigravity reference implementation. Unofficial integration — not affiliated with or endorsed by Google. Use only with an account and services you are authorized to access.

Install

npx --yes github:shaomingbo/dsh-subscription-antigravity#v0.2.1

The no-argument installer adds the bundle to the web profile (fixed tag source, pnpm install --ignore-scripts, atomic manifest writes, rollback on dependency-install failure). It never stops or restarts DSH — when it finishes, restart DSH manually and hard-refresh the Web GUI.

Other commands:

npx --yes github:shaomingbo/dsh-subscription-antigravity#v0.2.1 status
npx --yes github:shaomingbo/dsh-subscription-antigravity#v0.2.1 uninstall

Options: --profile <name> (default web), --source <spec>, --help. Environment: DSH_ANTIGRAVITY_SOURCE overrides the package source.

Local development (link:)

npx --yes github:shaomingbo/dsh-subscription-antigravity#v0.2.1 install \
  --source link:/Users/you/open-source/dsh-subscription-antigravity

A link: source is for development only; switch back to the fixed tag for normal use.

Manual fallback

Edit ~/.dsh/profiles/web/package.json by hand: add "dsh-subscription-antigravity": "github:shaomingbo/dsh-subscription-antigravity#v0.2.1" to dependencies and "dsh-subscription-antigravity" to dsh.profile.bundles, then run pnpm install --ignore-scripts in the profile directory. Restart DSH and hard-refresh afterwards.

Accounts, quota, and switching

  1. Open Settings → Antigravity and choose Add Google account. Google is asked to show its account chooser; OAuth uses PKCE and the callback server listens only on localhost:51121.
  2. Repeat to build a local account pool. Each account card shows its email, active state, project, lowest known remaining quota, reset time, and an expandable runtime-model quota list.
  3. Choose Use this account to switch immediately without another OAuth flow. In-flight requests stay on their original account; new requests use the active one.
  4. Optional Automatically switch on exhausted quota is off by default. When enabled it rotates only after an explicit quota-exhausted 429; ordinary rate limits, auth errors, network failures, and 5xx responses never trigger it.

A newly added account becomes active. Removing one deletes only that local credential; removing the active account selects the next saved account. The single antigravity entry in the DSH model picker always uses the active account. Existing v1 single-account files migrate automatically without a new sign-in.

For a remote/headless browser, paste the full callback URL (http://localhost:51121/oauth-callback?…) into the field provided. Requested Google scopes: aicode, cloud-platform, userinfo.email, userinfo.profile, cclog, experimentsandconfigs; review them before approving.

Models

Public model ids mirror the Antigravity CLI catalog; each exposes only the thinking levels the backend advertises (thinking effort maps to the backend's runtime ids — see SPEC.md):

ModelInputThinking
gemini-3.8-flashtext, imagelow / medium / high
gemini-3.7-flashtext, imagelow / medium / high
gemini-3.6-flashtext, imagelow / medium / high
gemini-3.5-flashtext, imagelow / medium / high
gemini-3.1-protext, imagelow / high
claude-sonnet-4-6text, imagehigh
claude-opus-4-6text, imagehigh
gpt-oss-120btextmedium

Model availability, entitlement, and quota are account-dependent. Gemini 3.8 Flash works by presenting the agy CLI request fingerprint (older VS Code extension headers get the legacy catalog instead), with transparent fallback to Gemini 3.7 Flash should a runtime id ever 404. Settings fetches quotaInfo separately for every saved account; these are best-effort runtime-model snapshots, not a promise that different models share one pool.

How it works

flowchart LR
    A["llm-pi-ai Antigravity route"] --> B["Loopback proxy 127.0.0.1:51122"]
    B -->|streamGenerateContent| C["Cloud Code Assist daily endpoint"]
    D["Google OAuth PKCE"] --> E["Local account pool"]
    E --> F["Active account router"]
    F --> B
  • The plugin provisions (and repairs) one route in llm-pi-ai.providers via the settings service — per-provider merge; your own edits to models are preserved, and other providers are never touched.
  • The proxy binds 127.0.0.1 only and translates OpenAI chat completions (streaming SSE and JSON) into Cloud Code Assist envelopes, including tool calls, image inputs, thinking → reasoning_content, and quota-friendly error mapping. Override the port with DSH_ANTIGRAVITY_PROXY_PORT.
  • Each generation request snapshots one account's token and project, so a manual switch cannot mix identities inside an in-flight request. Optional quota failover is serialized to avoid concurrent switch storms.
  • The active access token syncs into the ordinary credentials seam (ANTIGRAVITY_ACCESS_TOKEN); an empty pool removes the seam value.
  • Usage-based billing and non-Google endpoints are out of scope.

Credential safety

  • OAuth tokens live only in the versioned account pool at $DSH_HOME/.antigravity-auth.json (0600, atomic writes). They are never sent to the browser RPC, logged, or exported, and go only to Google's OAuth and Cloud Code Assist endpoints. Upstream error text is redacted and bounded.
  • Uninstall keeps the credential file. Delete $DSH_HOME/.antigravity-auth.json yourself for a full wipe.
  • The installer only edits the profile package.json (dependency + bundle entry); it never reads credentials, never runs lifecycle scripts, and never stops/restarts DSH.

Development

npm install          # test-only tooling; the plugin itself has zero runtime deps
npm run check        # syntax checks + full test suite
npm test

The test suite covers the installer contract (temporary DSH_HOME installs, repeats, status, uninstall, malformed manifests, argument errors, rollback), v1→v2 credential migration, multi-account OAuth and refresh isolation, quota-only failover concurrency, the translation layer, loopback proxy, route provisioning, credential sync, per-account usage, locale parity, and pack contents.

License

MIT — see LICENSE. Protocol references: SPEC.md.