DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Plugin Model Hub — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-plugin-model-hub

Plugin Model Hub

一个 dsh Web 插件:可在不安全 HTTPS(非回环浏览器)上运行的模型/提供商配置页面 — 提供商、模型、上下文窗口、API 密钥、针对每个提供商的 API 错误重试/退避调优(用于 dsh-llm-retry),以及默认 Agent 模型。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:ArthurZhou/dsh-plugin-model-hub#41e888a120a969908c2f2f85506caa8a154b1d40
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/9/26

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/26
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Plugin@opencode2dsh/dsh-plugin供 DeepSeek Harness (DSH) 使用的免费 OpenCode Zen 模型:原生 dsh-llm 适配器插件,无需 API 密钥。Deepseek Web Logindsh-deepseek-web-login非官方 DSH 插件:将 chat.deepseek.com 网页模型用作 DSH LLM 提供商(浏览器登录捕获 + PoW 求解 + SSE 流式传输 + 基于提示的工具调用),提供商路由为 deepseek-webConnect Traedsh-connect-trae把本机登录的 Trae 模型接入 DeepSeek Harness:国内版与国际版双供应商并行,提供用量/积分概览与每日签到领取。Damage Pulsedsh-damage-pulseDeepSeek Harness 余额监控器,配有鲸鱼女孩伙伴,并为每次令牌消耗提供感知缓存的伤害动画。

README

dsh-plugin-model-hub

A DeepSeek Harness web plugin that adds a Model Hub settings page for configuring:

  • every provider's profile fields (displayName, api, baseURL, models) in settings.yaml,
  • per-provider and per-model context windows (defaultContextWindow on the provider, contextWindow on each model — the value the web UI shows as the context budget, so a 1M-token model displays 1M instead of the 256K pi-ai default),
  • per-provider API keys (stored through the credentials service, never written into settings.yaml),
  • per-provider API-error retry/backoff tuning (max retries, initial/max wait, jitter, retryable error codes) — the knobs dsh-llm-retry executes,
  • the default Agent model, and
  • declaring brand-new pi-ai provider routes (an OpenAI-compatible gateway or any protocol dsh-llm-pi-ai supports).

Why this page exists

The built-in Models settings page reads and writes through the loopback-only settings mirror, which is deliberately unavailable when the GUI is served over insecure HTTPS or a non-loopback origin ("settings are unavailable in this browser"). This plugin does not depend on that mirror: every read and write goes straight over the wire through the stock settings, credentials, and llm RPC domains, so the page works on any origin the harness itself can reach.

How it works

The package is a dual-face cordis plugin:

  • host half (lib/index.js) — a stub entry that exists so the package is a real loader entry in the profile. The web app's client-modules scan only discovers client bundles for packages that are active loader entries declaring dsh.client.
  • client half (lib/client.js) — the browser page and its data layer, registered into the settings.section slot. It talks to the harness through the stock RPC domains; no custom transport is needed.

Install

The plugin ships with a bundle patch (cordis.patch.yml) that inserts one loader row, model-config. Two equivalent install paths:

1. Via dsh plugin (recommended)

From a checkout at <checkout>:

dsh plugin --profile web add file:/path/to/dsh-plugin-model-hub

dsh plugin runs pnpm add in the profile directory, then reconciles the profile's dsh.profile.bundles layer list: any dependency whose manifest declares dsh.bundle (this one does) joins the bundle layers automatically.

For local development, prefer a symlinked spec so source edits take effect without reinstalling:

dsh plugin --profile web add link:/path/to/dsh-plugin-model-hub

2. Manually

  • Add dsh-plugin-model-hub to the profile's dsh.profile.bundles in ~/.dsh/profiles/web/package.json and make it resolvable from the profile (e.g. pnpm --dir ~/.dsh/profiles/web add file:/path/to/dsh-plugin-model-hub), or
  • merge the row from cordis.patch.yml into the profile's ~/.dsh/profiles/web/cordis.patch.yml yourself.

Then restart the profile (dsh web) — the client-modules scan runs at activation, so a fresh boot is required to pick up a new bundle.

Using the page

The Model Config section appears in Settings (next to the built-in sections). For each provider row you can:

  • see whether a credential is configured,
  • edit profile fields and models,
  • enter or replace the API key (leaving it blank keeps the stored one),
  • override the retry policy — unset fields keep dsh-llm defaults (normal mode, 5 retries, 500 ms → 10 s exponential backoff, 10% jitter),
  • delete a provider whose profile is user-defined (and its stored key).

Development

npm test          # data-layer tests (node:test, no browser needed)

The test harness loads lib/client.js in a VM with a fake wire api, so the store, write paths, and retry-policy building are covered without a browser.

License

MIT