DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-subagent-models

Subagent Models

设置 DSH 子代理运行时使用的提供商、模型和推理力度:在“设置”中配置整个配置文件的默认值,也可以通过编辑器旁的标签按会话覆盖。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-subagent-models@0.1.3
README兼容性版本
本对话全局默认

兼容性与来源证明

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

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

版本

0.1.3stable
2026/11/3
0.1.2stable
2026/10/28
0.1.1stable
2026/10/27
查看其余 1 个版本收起版本
0.1.0stable
2026/10/21

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Our Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — 在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型,桌面端另有 EAC 协付渠道;2.0 起接入 LobsterAI、Qoder、TRAE、Cline、Loomy、Raccoon、MiniMax、ZCode、Gemini 十个账号渠道(原有匿名免费通道保留)(登录、账号池、积分领取、本地 OpenAI 网关与局域网转发、数据看板与运行日志),六页毛玻璃界面统一呈现。Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Connect Workbuddydsh-connect-workbuddy把本机登录的 WorkBuddy 模型(国内版与国际版)接入 DeepSeek Harness:每次刷新按上游目录自动读取每个模型的积分倍率,支持逐模型图片输入开关、多账号切换与账号池自动换号,并提供每日签到、卡片与输入框里的胶囊积分读数等只读积分概览。Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilities为自定义 pi-ai 提供商声明每个模型的能力(图像输入和推理力度),可直接在 Models 设置卡片中编辑;写入官方 llm-pi-ai 设置命名空间,不更改 DSH 源代码。

README

dsh-subagent-models

Set the provider, model and reasoning effort that DeepSeek Harness subagents run with — from one entry, the chip beside the composer. The card it opens has two scopes over the same two DSH-style pickers: a searchable, provider-grouped model menu and that model's own effort menu.

为 DeepSeek Harness 的子代理统一指定用哪个模型、思考强度多深:只有一个入口——输入框旁的「子代理」 胶囊;点开的卡片里用「本对话 / 全局默认」两个范围切换,两处都是同一组 DSH 风格的「模型 + 思考强度」 浮层菜单(可搜索、按提供方分组、行内勾选)。

  • Host half: route store + agent/request override (index.js)
  • Web half: the composer chip + a frame-wide card (client.js)
  • No build step and no settings page. The Web half uses the host's @deepseek-ai/dsh-client-ui-primitives when present (a frozen platform module — nothing to install), with hand-drawn .dsm-* fallbacks on hosts that do not ship it.

Screenshots / 截图

本对话全局默认
本对话全局默认

Install / 安装

# npm
dsh plugin --profile <profile> add dsh-subagent-models

# or straight from this repository
dsh plugin --profile <profile> add github:Garybot126/dsh-subagent-models

Then restart dsh once if the plugin row was not hot-loaded.

Where to set it / 在哪里设置

WhereWhat
Composer → 「子代理 …」 chipThe only entry. Opens the card
Card → 「本对话」 scopeThis conversation's override; the model menu's first row is 「跟随全局」
Card → 「全局默认」 scopeThe profile-wide default for every conversation without an override

The chip's label is the effective route for the conversation (e.g. 子代理 DeepSeek-V4.1-Flash · high), so the composer always says what a delegation will actually use. The card's footer repeats it with its source: 下一次委派将使用 …(来源:本对话 / 全局默认).

The card's two rows are DSH-style cells — click one to open a menu anchored above it. The model menu matches the built-in composer model picker: a search box for catalogs above four models, provider groups with sticky headings, rounded hover rows and an inline check mark on the current choice. The effort menu lists 「模型默认」 plus only the levels that model advertises.

Both menus are driven by the live LLM catalog (ctx.llm): models are grouped by provider, and the effort list is the one that model advertises (resolveModelInfo().reasoning.efforts), so an unsupported level is never offered.

No settings page is registered by this plugin. The built-in 设置 → 插件 → 子智能体 page belongs to dsh itself (recursion depth, concurrency, model whitelist) and is unrelated; see below.

Precedence / 优先级

本对话 override  →  全局默认  →  no route (child inherits the parent session)

When it takes effect / 什么时候生效

  • Applies to the next delegation — no restart, no new conversation.
  • A child that is already running picks it up on its next model request.
  • With no route configured, children keep inheriting the parent session's route — exactly the behaviour of not installing the plugin.

How the route is applied / 怎么生效

The delegation tool (subagent) is composed in the agent-plane preset, not in the Profile patch, and it carries its own static agentOptions. A plugin cannot rewrite that composition, so the route is applied one level lower:

agent/request  (waterfall: "replace the frozen call configuration")

The listener is registered once and only rewrites an Agent that another live Agent owns — a delegated child. A top-level Session is never touched. Consequences:

  • works with the official subagent tool, without editing the preset and without adding model-selection parameters to the tool schema;
  • subagent, subagent_fork and Agent Teams members all count as delegated agents.

Data / 数据

$DSH_HOME/plugin-data/subagent-models.json (falls back to ~/.dsh/plugin-data/), hot-reloaded on mtime, so editing it by hand also works:

{
  "version": 1,
  "global": {
    "default": { "provider": "deepseek-official", "model": "deepseek-flash", "effort": "high" },
    "presets": {}
  },
  "sessions": {
    "<sessionId>": { "default": { "provider": "...", "model": "...", "effort": null }, "presets": {} }
  }
}

global.default: null means no profile default; an absent sessions[sessionId] means the conversation follows it.

Capability disclosure: reads and writes this one JSON file; binds no network port beyond the loopback HTTP prefix /plugin/subagent-models used by the Web UI; never reads conversation content, credentials, or any other file.

Limits / 限制

  • subagent_fork children are overridden too. A fork shares the parent's prefix, so a different model costs its KV cache; clear the route (or keep the preset's own agentOptions) if that matters to you.
  • An effort the chosen model does not support fails the adapter's validation — the plugin never silently downgrades.
  • The override is per request. Context-window and metering metadata follow the effective route, while the child's creation options keep the preset's values.

Relationship to similar plugins / 与同类插件的关系

Several plugins in the market move subagent routing: dsh-subagent-custom (task-class routing), dsh-subagent-model-picker (a per-session picker), dsh-subagent-default-model (settings.yaml default), dsh-model-settings (a settings panel), dsh-orquestrator (a fixed forced route). This one keeps the surface at one composer chip: two scopes, one pair of DSH-style pickers, and a label that always shows the effective value.

Verified / 已验证

On dsh 0.2.1-rc.2 (desktop profile):

  • global route set to an invalid model → the child failed; deepseek-v4-pro + max → it succeeded;
  • per-conversation override set to an invalid model → the child failed (the session scope is honored), then clearing it restored the global route;
  • GET /plugin/subagent-models/state?sessionId=… → 200 with global, session and the catalog;
  • POST /plugin/subagent-models/route with scope: "session" / "global" → 200 and the JSON file updates on disk;
  • the composer chip and the frame-wide card register as active slot occupants; no settings section is registered by this plugin.

License

MIT © Gary Gai