DeepSeek Harness Plugin

AhYi8/dsh-key-managment

Stars ★ 0 Downloads (30d) 480 Category Models & Providers Added 2026-11-10 npm dsh-key-managment

Per-provider API key pool for DeepSeek Harness with manual switching, background reachability probing and plan-usage adapters for DeepSeek, Kimi, MiniMax, Zhipu, OpenRouter and other providers.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-key-managment

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:AhYi8/dsh-key-managment

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

面向 DeepSeek Harness(DSH)的分提供商 API 密钥池插件:为每个提供商维护多个 API 密钥,支持手动切换当前使用的密钥,并提供后台可达性探测与套餐用量展示。

功能

  • 密钥池:按提供商配置多把 API 密钥,随时手动切换生效密钥
  • 后台探测:按可配置的间隔对密钥做可达性探测,启动即跑一轮
  • 用量展示:内置多家服务商的套餐余量适配器(DeepSeek 余额、Kimi Coding、MiniMax、智谱 / Z.ai、OpenRouter、Command Code、OpenCode Go、Magpie 等)
  • Web 设置界面:在 DSH 浏览器端提供配置与切换入口
  • 密钥脱敏:界面与日志中自动脱敏展示密钥

安装

dsh plugin --profile web add dsh-key-managment

或通过 DSH 设置 → 插件 / 插件市场搜索 dsh-key-managment 安装。

使用

安装后在插件设置中为各提供商添加密钥,选择当前生效密钥即可;探测间隔与开关均在设置页调整。

开发

pnpm install
node --test core.test.mjs

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.