LiZhenNet/dsh-antigravity
为 DeepSeek Harness (DSH) 打造的 Google Antigravity 模型提供者插件,具备原生 Web OAuth、实时配额跟踪和动态推理努力路由功能。
Project Overview项目介绍
dsh-antigravity is a DSH-native plugin built exclusively for DeepSeek Harness Web. It adds Google Antigravity (Cloud Code Assist) as a supported LLM provider to DSH, registers a custom LlmAdapter under the route antigravity, and connects directly to Cloud Code Assist's streaming API. It can be installed via the official DSH plugin command directly from GitHub, or packed locally and added manually to the DSH web profile's cordis patch configuration. The plugin automatically mounts to the host DSH installation during the official install process. It also includes a full bilingual settings interface for both English and Simplified Chinese users.
After installation, users can navigate to the Antigravity settings pane within DSH to complete Google OAuth login. Once logged in, the settings page displays account details, quota information split into two pools: one for Gemini models, and one for Claude 3P and GPT-OSS models. Each quota pool shows both the 5-hour short-term limit and the weekly limit tied to the user's subscription, along with a live countdown to quota reset. Users can enable or disable individual models directly from the settings page. This plugin is for DSH users who hold authorized access to Google Cloud Code Assist and want to route requests through its models.
This plugin is released under the open-source MIT license, and is an unofficial integration that is not affiliated with or endorsed by Google. It stores OAuth access and refresh tokens in a private JSON file under the DSH home directory, so users must keep this file secure to avoid unauthorized access. The plugin runs a local loopback OAuth callback server on port 51121, and if DSH cannot open a browser for login, users can run the included terminal helper script to complete authentication. Quota is consumed proportionally to token usage, so larger models drain the quota pool faster than smaller ones.
dsh-antigravity 是专为 DeepSeek Harness (DSH) Web 端开发的原生插件,用于集成 Google Antigravity/Cloud Code Assist 的大模型服务。它在 DSH 中注册了专门的大语言适配器,可直接调用 Cloud Code Assist 的流式 API,还提供中英双语的网页端设置界面,支持官方命令一键从 GitHub 安装,也支持本地打包后手动配置安装到 DSH 配置文件。
安装完成后,用户可以在 DSH 设置页面找到 Antigravity 选项,通过 OAuth 登录授权谷歌账号,登录后就能查看不同模型系列的配额信息,包括 5 小时短期限额和每周订阅限额,还有倒计时重置提示。用户可以在 DSH 的模型选择器中切换到 Antigravity 提供者,按需开启或关闭单个模型,适合需要通过 Cloud Code Assist 使用 Gemini、Claude 和 GPT 模型的 DSH 用户。
该插件遵循 MIT 开源协议,不隶属于谷歌官方,仅支持 DSH Web 端使用,OAuth 凭证存储在 DSH 主目录下,需注意保密不要泄露文件内容。它自带本地环回回调端口 51121 处理 OAuth 授权,如果网页无法打开浏览器,可使用插件自带的终端辅助工具完成登录,配额按 token 消耗比例扣除,大模型消耗更快。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-antigravity(LiZhenNet/dsh-antigravity)
仓库:https://github.com/LiZhenNet/dsh-antigravity
本站详情页:https://www.yhbd.top/plugins/lizhennet-dsh-antigravity/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 24 · 最近提交 2026-08-19 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 24 stars - an early-stage project星标 24,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:LiZhenNet/dsh-antigravity
把 LiZhenNet/dsh-antigravity 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-antigravity
English | 简体中文
Google Antigravity / Cloud Code Assist model provider for DeepSeek Harness.
This is a DSH Web plugin. It registers a DSH LlmAdapter
under provider route antigravity, stores OAuth credentials under DSH home,
talks to the Cloud Code Assist streaming API directly, and provides full bilingual (English & Simplified Chinese) i18n support in the Web settings page.
Unofficial integration. This project is not affiliated with or endorsed by Google. Use it only with accounts and services you are authorized to access.
Install into DSH Web
Option 1: Direct from GitHub
dsh plugin --profile web add github:LiZhenNet/dsh-antigravity
Option 2: From Local Release Tarball
npm run pack:dist
dsh plugin --profile web add ./dist/dsh-antigravity-0.0.4.tgz
The package declares a DSH bundle patch, so installation automatically mounts the host plugin and browser settings page.
If your DSH version does not support dsh plugin add, copy the package into
the Web profile manually:
cp -R dsh-antigravity "$DSH_HOME/profiles/web/node_modules/"
Then add the plugin to the profile cordis.patch.yml:
- insert:
- id: llm-antigravity
name: dsh-antigravity
Restart DSH:
dsh web
Login
Open Settings > Antigravity and click Login. The settings page starts Google OAuth and refreshes quota after login completes.

After login, the settings page displays account information, quota grouped by model family, reset times, and model selector options:
- Gemini Models — Gemini Flash / Pro variants share one quota pool (green bars).
- Claude and GPT models — Claude Opus, Claude Sonnet, and GPT-OSS share a separate 3P quota pool (cyan bars).
Each group shows a 5-hour limit (smooths short-term demand) and a weekly limit (tied to your subscription tier) with a live countdown to reset.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
edison7009/EchoBird
Han-1413141/dsh-cost-meter
Ychris12138/dsh-usage-stats
wink-run/tokenbank
JingbiaoMei/Tokdash
slywalker2006/dsh-passwords
songoao25/dsh-bottom-info-bar
HaoyueQin/dsh-usage-statistics-panel