DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Agy — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-agy

Agy

用于 DeepSeek Harness 的 Google Antigravity (agy) OAuth 身份验证和模型访问插件:多账户池、429 轮换、设备指纹识别、CLI 和网页登录。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-agy@0.2.7
README兼容性版本

兼容性与来源证明

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

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

版本

0.2.7stable
2026/9/18
0.2.6stable
2026/9/6
0.2.5stable
2026/9/6
查看其余 9 个版本收起版本
0.2.4stable
2026/8/22
0.2.3stable
2026/8/19
0.2.2stable
2026/8/18
0.2.1stable
2026/8/16
0.2.0stable
2026/8/16
0.1.3stable
2026/8/16
0.1.2stable
2026/8/15
0.1.1stable
2026/8/14
0.1.0stable
2026/8/14

相关插件

正在加载相关插件…

最新版
0.2.7
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
672.9 kB
文件数
40
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 41
周下载
464
安全扫描
✓ v0.2.7 扫描通过
最近提交
2026/9/18
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

dsh-agy

Google Antigravity (agy) access for DeepSeek Harness: OAuth authentication, a multi-account pool with automatic 429 rotation, device fingerprinting, and both CLI and web management.

中文文档:docs/README_zh.md

Features

  • OAuth login: one-click sign-in via browser OAuth callback, with headless paste-URL mode and a remote paste-credential blob channel.
  • Two management surfaces: web and CLI, either one works, core features are the same.
  • Multi-account pool: encrypted account store, usage-aware account selection (family-scoped quotas, OMP-aligned ranking), automatic rotation on rate limits, per-account cooldown to the real reset time, per-account device fingerprints.
  • Quota dashboard: only active when DSH Web is running; append /agy to your dsh web address: login, account management, per-model quota bars, model testing, credential export/import, fingerprint management.
  • CLI: dsh-agy login|status|import|verify|logout works standalone, with or without a harness.

Screenshots

The /agy dashboard inside DSH Web — account cards, per-model quota bars, and one-shot model tests:

dsh-agy dashboard

Quickstart

Path A: DSH Web GUI Users (Recommended — 100% Web UI, zero CLI commands)

For users using DeepSeek Harness browser workspace / Web GUI:

# 1. Install plugin into DSH web profile (via dsh CLI, or pnpx/npx if dsh is not in PATH)
dsh plugin --profile web add dsh-agy
# or: npx @deepseek-ai/dsh plugin --profile web add dsh-agy

# 2. Launch DSH Web
dsh web

# 3. Open dashboard at http://127.0.0.1:3080/agy
# Click "Login with Google", complete OAuth authorization, and start using the agy provider

Open Settings → Plugins → Antigravity → Open Antigravity dashboard; the button opens /agy in a new tab.

Path B: Headless / Terminal Only (Standalone CLI)

For Linux VPS, SSH remote servers, or headless CI environments:

# Run directly without global install (npx / pnpx)
npx dsh-agy login
npx dsh-agy status

# Or install globally
npm install -g dsh-agy
dsh-agy login          # interactive OAuth (browser, --headless paste, or --blob)
dsh-agy status         # list accounts + quota summary
dsh-agy verify         # refresh + health check
dsh-agy health         # batch health check (optionally on an interval)
dsh-agy import <file>  # import agy auth.json or credential blob (--blob)
dsh-agy logout         # remove account

CLI reference

CommandOptionsDescription
dsh-agy login--headless — print the auth URL and wait for a pasted redirect URL
--blob — print a paste-credential blob instead of storing the account
--port <n> — loopback callback port (default 51121)
--project <id> — bind the login to a specific project
--timeout <ms> — callback timeout (default 300000)
Interactive Google OAuth
dsh-agy status—List accounts + per-model quota summary
dsh-agy import <files...>--blob — the pasted value is a credential blob
--email <email> — set the account email (skips userinfo verification)
--overwrite — replace an existing account with the same email
Import agy auth.json files or credential blobs (multiple files / multi-line paste = batch import)
dsh-agy export--index <n> — export one account by index (default: all)
--out <dir> — write one dsh-agy-<index>.blob per account (default: print to stdout, one blob per line)
Export account credentials as paste blobs
dsh-agy verify--index <n> — verify one account by index (default: all)Refresh + health check
dsh-agy health--index <n...> — check only these accounts (default: all enabled)
--interval <ms> — repeat on an interval instead of once
Batch health check (refresh + userinfo), re-enables accounts whose credentials are live again
dsh-agy logout--index <n> — account index (default: active)
--email <email> — account email
Remove an account

Per-account proxy

Each account can have its own proxy; credentials are encrypted at rest and displayed masked as protocol//host:port.

dsh-agy login --proxy socks5://user:pass@host:1080
dsh-agy import --proxy <url> file.json
dsh-agy proxy set --index 0 --proxy <url>   # set / update
dsh-agy proxy clear --index 0               # clear (fall back to env)
dsh-agy proxy test --index 0                # TCP 2s fast-fail probe
dsh-agy proxy list                          # masked list
dsh-agy status                              # shows proxy column (masked host:port)

Fallback: with no per-account proxy, requests use EnvHttpProxyAgent (HTTP_PROXY/HTTPS_PROXY with NO_PROXY honored). Per-account proxies ignore NO_PROXY, are fail-closed (unreachable proxy skips the account without cooldown and clears affinity), and loopback targets (localhost/127.0.0.1/::1) are always forced direct.

Web dashboard (/agy): each account card shows an inline Proxy row [input] [Save][Clear][Test] with masked host:port; writes via POST /agy/api/proxy, probes via POST /agy/api/proxy/test.

Path C: Local Development & Link

git clone https://github.com/chaos-03x/dsh-agy.git
cd dsh-agy && pnpm install && pnpm run build
dsh plugin --profile web link .

Requires Node >= 22.

Uninstall

# 1. Remove the DSH plugin from a profile
dsh plugin --profile web remove dsh-agy

# 2. Uninstall the CLI
npm uninstall -g dsh-agy

# 3. Optional: delete local account data (accounts + master key + fingerprint override)
dsh-agy logout              # remove accounts first (or skip)
rm -f ~/.dsh/agy-accounts.json
# remove only the AGY_MASTER_KEY line from ~/.dsh/.credentials.yaml — keep other keys!
rm -f ~/.dsh/agy-fingerprint-data.json   # only if you created an override

# 4. Optional: revoke the Google-side authorization
#    Google account security → Third-party access → revoke "Antigravity"

Deleting local files does not revoke Google-side tokens; the refresh token stays valid until it expires or you revoke it in your Google account security settings.

Other things you may care about

Rotation mechanics

Usage-aware selection: when several accounts are available, requests rank them by the requested model's backend counter family (gemini-* → Google, claude-* → Anthropic, gpt-* → OpenAI): accounts whose quota is about to reset with headroom left are used first ("use it or lose it"), near-exhausted families are avoided, and exhausted families block the account until the real reset time.

429 (Too Many Requests) responses:

CategoryBehavior
soft_rate_limit (Retry-After < 3s)immediate retry on the same account, no cooldown
rate_limitedcooldown until the server-reported reset time (capped 30min, 5min fallback) + switch to the next account (same account when single)
quota_exhausted ("quota reached", "individual quota", RESOURCE_EXHAUSTED…)cooldown until the server-reported reset time (capped 24h) — no further calls to that account until then
unknownexponential backoff

401/403 → account revoked (marked for re-authentication). Success resets the failure counter.

Risk controls (environment switches)

EnvEffect
DSH_AGY_DISABLE=1Kill switch: the plugin registers nothing (provider + /agy routes) and the CLI refuses to run.
DSH_AGY_FINGERPRINT_MODE=stableOne fixed client identity per account — no per-request header randomization, no fingerprint regeneration (OMP-style fixed-client posture). Default dynamic keeps per-request randomization.
DSH_AGY_HEALTH_INTERVAL_MS=<ms>Background batch health probe inside the harness (refresh + userinfo on the configured interval); off by default.
AGY_CLIENT_ID / AGY_CLIENT_SECRETBYO OAuth app escape hatch: override the embedded public Antigravity client credentials.

About cache hits: why not 99% like DeepSeek V4?

Bottom line: the cache hit strategy is decided by the model provider's cache mechanics (for us, Antigravity's); agy's mechanics differ from DeepSeek's in two ways, so its hit rate is naturally a notch below DeepSeek's.

First, the entry threshold. DeepSeek's caching is on by default with no threshold — its very first request already hits a previously cached system prompt. agy's Gemini-tiered models only start caching once the request prefix reaches roughly 16k tokens, while DSH's default bare system prompt is only about 13k — below the line. So every new conversation's first 1-2 requests are 0%, until the accumulated messages pass 16k.

Second, how fast the cache updates. DeepSeek refreshes its cache at the end of every request — only the newest message misses each round, giving near-100%. agy's cache updates lag: this round's additions are not hit in the next round — they enter the cache roughly two rounds later, and requests for the same content in between all count as misses. Every round wastes about 1.5-2× its additions; the long-conversation hit rate keeps rising as the context grows, bounded by the model's context window.

Practical tips

  • Don't expect 99% from agy: the gap comes from upstream mechanics, with no room to optimize.
  • If you have a weird number obsession, stuff some custom content into the System Prompt (MCP / tool definitions / roleplay ...).

Storage & secrets

  • Accounts: ~/.dsh/agy-accounts.json — AES-256-GCM encrypted; the master key lives in ~/.dsh/.credentials.yaml (AGY_MASTER_KEY, 0600). $DSH_HOME relocates both.
  • Fingerprint pools (version strings, SDK clients) are user-overridable via ~/.dsh/agy-fingerprint-data.json — no code release needed to keep them current.

⚠️ Disclaimer

This plugin authenticates with Google's consumer OAuth client that ships with the Antigravity desktop product and uses the Antigravity Cloud Code API outside of that product. This may violate Antigravity's terms of service. Use at your own risk — accounts can be rate-limited, throttled, or banned. Multi-account rotation, device fingerprinting, and the signature-bypass sentinel are enabled by default and are designed to work around upstream limits; you are responsible for how you use them and for any account consequences.

Credits

This project references logic and data from the following MIT-licensed sources:

SourceContent
opencode-antigravity-auth (archived)OAuth flow shape, account-store schema & versioned migration, 429/backoff concepts, fingerprint design
antigravity-claude-proxy PR #170Device fingerprint generation (via opencode-antigravity-auth)
OmniRouteWire format (envelope, headers, SSE), endpoint order, agy token-file parsing, paste-credential blob codec, thoughtSignature replay, 429 category engine
DeepSeek HarnessPlugin shell, LlmAdapter seam, DSH conventions

Development

pnpm install
pnpm test                      # vitest, fixture-driven, no network
pnpm run record:fixtures       # re-record real-API fixtures (needs a real account)
pnpm run e2e                   # real-account end-to-end (needs AGY_REFRESH_TOKEN)
pnpm run debug:request         # endpoint/header bisection probe
pnpm run verify:tools          # live two-turn tool-signature check
npm pack --dry-run             # verify the publishable artifact

相关插件

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

Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。