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
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 67530
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 1386
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 957
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 579
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 481
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 481
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.