Jaylor-Wang/dsh-tool-antigravity
Connect Google Antigravity Code Assist OAuth accounts to DeepSeek Harness for Gemini and Claude streaming LLM routing and Nano Banana 2 image generation.
Project Overview项目介绍
dsh-tool-antigravity is a capability bundle plugin built specifically for the DeepSeek Harness (DSH) ecosystem, shipping private Google OAuth 2.0 PKCE authentication, multi-model LLM routing under the google-antigravity namespace, and session-persistent Nano Banana 2 image generation and editing tools (generate_image, list_images). It integrates as a first-class DSH bundle through the official CLI command dsh plugin --profile web add dsh-tool-antigravity, via standard npm install dsh-tool-antigravity / pnpm add dsh-tool-antigravity, and by registering two Cordis plugin entries (antigravity-auth and antigravity-image) inside cordis.patch.yml. Once mounted, the DSH Web client renders an Antigravity Auth settings card, a live Quota Visualizer covering 5-hour and weekly reset windows, and a new Network Proxy card, while slash commands like /antigravity-auth login orchestrate browser-driven Google sign-in from the DSH chat prompt.
The intended workflow begins with /antigravity-auth login, which triggers a PKCE browser handshake and stores refresh tokens in host-side secure storage, after which users invoke antigravity-gemini-3.8-flash, antigravity-gemini-3.7-flash, antigravity-gemini-3.1-pro, claude-sonnet-4-6-thinking, claude-opus-4-6-thinking, or gpt-oss-120b-medium for text, vision, and tool-calling tasks, optionally tuning the per-model thinking budget across low, medium, high, or dynamic effort levels. Image creation and iterative image-to-image editing flow through generate_image and list_images, which write attachments through DSH AttachmentStore and FileSystem with TOCTOU and symlink-escape protection, keeping chat context free of raw base64 payloads. The target audience is researchers and independent developers who want to consolidate Google Gemini, Claude, and GPT-OSS model access together with Nano Banana 2 image generation inside a single DSH Web session.
Dependencies include DSH v0.1.7-rc.1 or newer, the Cordis v4 runtime (with explicit configForms injection to satisfy service property protection), and a strict TypeScript toolchain; the project ships 28 test suites covering 272 passing assertions, and is released under the MIT license as an unofficial, community-maintained capability bundle intended strictly for personal research, educational, and independent development use. Strict loopback binding to 127.0.0.1 is enforced for any account RPC endpoint, credentials are isolated from frontend UI, logs, and command done events, and the network proxy follows an adaptive priority ladder of UI manual binding, then HTTP_PROXY / HTTPS_PROXY environment variables, then direct connection, so users must configure a proxy endpoint such as http://127.0.0.1:7890 if they operate behind a firewall, and they are responsible for complying with the relevant Google and platform Terms of Service.
dsh-tool-antigravity 是面向 DeepSeek Harness(DSH) 的能力包插件,集成 Google OAuth 2.0 PKCE 私有登录、多模型 LLM 路由(google-antigravity)以及 Nano Banana 2 图像生成编辑(generate_image、list_images)。安装方式包括 dsh plugin --profile web add dsh-tool-antigravity、npm 或 pnpm 安装,并需在 cordis.patch.yml 中登记 antigravity-auth 与 antigravity-image 两个插件条目,加载后 DSH Web 客户端侧边栏会显示配额可视化与代理设置卡片,slash 命令如 /antigravity-auth login 可直接发起浏览器授权流程。
典型工作流是用户在 DSH 会话内调用 /antigravity-auth login 完成 Google 账户绑定,再通过 antigravity-gemini-3.8-flash、claude-sonnet-4-6-thinking 或 gpt-oss-120b-medium 等模型处理文本、视觉与工具调用,并使用 generate_image 进行多轮图像编辑。目标用户为希望把 Google Gemini、Claude、GPT-OSS 模型与 Nano Banana 2 图像能力统一接入 DSH Web 工作流的研究者与独立开发者,代理绑定遵循 UI 手动 > 系统环境变量 > 直连的自适应优先级阶梯。
依赖方面要求 DSH v0.1.7-rc.1 及以上、Cordis v4 运行环境,TypeScript 严格类型,仓库自带 28 个测试套件共 272 个用例。授权令牌仅存于宿主端安全存储,严格 loopback 防护需绑定 127.0.0.1,媒体路径含 TOCTOU 与符号链接越权检测,项目以 MIT 协议发布,定位于非官方社区能力包,仅限个人研究与教育用途,使用须遵守相关平台服务条款。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-tool-antigravity(Jaylor-Wang/dsh-tool-antigravity)
仓库:https://github.com/Jaylor-Wang/dsh-tool-antigravity
本站详情页:https://www.yhbd.top/plugins/jaylor-wang-dsh-tool-antigravity/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-10-02 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 dsh-tool-antigravity
把 Jaylor-Wang/dsh-tool-antigravity 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-tool-antigravity
English | 中文
High-performance, streamlined Antigravity capability bundle plugin for DeepSeek Harness (DSH).
Provides private Google OAuth 2.0 PKCE authentication, multi-model LLM routing (google-antigravity), session-persistent Nano Banana 2 image generation and editing (generate_image, list_images), and an interactive Web settings panel with live quota visualization.
Highlights in v0.3.1 (Proxy Persistence & Reconnect Reactivity)
- Proxy Fetch Reactivity: Linked settings proxy retrieval with connection lifecycle
resetTick, guaranteeing prompt re-fetching whenever the connection initializes or recovers from disconnects. - Isolated Test Suite Storage: Isolated proxy RPC integration tests into sandboxed temporary directories, fully protecting local environment persistence configurations from unit test interference.
- Retains v0.3.0 capabilities: Volatile image capability switch, dynamic settings sync, and live tool unwrap.
Features
1. High-Performance Core Architecture
- TLS Connection Pooling & Session Resumption: Built-in HTTP/1.1 Keep-Alive socket pool and TLS session resumption against Google endpoints, eliminating repeated TLS handshake roundtrips and significantly reducing Time-To-First-Token (TTFT).
- Sliding-Window Buffer SSE Parser: High-throughput binary chunking directly locates newline separators on raw Buffers, bypassing heavy string concatenations and drastically reducing V8 heap allocations and GC spikes during long reasoning chains.
- Granular Thinking Budgets: Fine-grained reasoning effort configuration (
low,medium,high) across Gemini and Claude models with graceful fallbacks. - Pre-flight Idempotent Retry: Automatically retries transient network interruptions (e.g. TLS RST / 502 / 503) once prior to first byte emission.
- Windows File Lock Recovery: Active PID probing (
process.kill(pid, 0)) detects stale locks from crashed processes and immediately frees them, preventing 30-second hang timeouts. - Stale-While-Revalidate (SWR) Quota Resilience: Robust quota normalization supporting 5h and weekly windows; retains and displays last-known valid quota with smooth shimmer animations during transient network disruptions.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Alisa0808/vox-director
ysr666/dsh-vision-router
Mars-Sea/dsh-commandcode-provider
volcengine/ark-cli
franksong2702/dsh-codex-connect
WSL043/dsh-codex-subscription
Stormycry-cryp/dsh-AuthInOne
labring/sealos-skills