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
S

@dsh-external/dsh-subagent-toolkit

Subagent Toolkit

子代理工具箱:在原生「子代理」下拉按使用批次分组(历史/今日/上次/本次)、行内/整组删除子代理会话、并让子代理模型名单实时生效(逐任务选模型)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Kadima-code/dsh-subagent-toolkit#59e2f3a0f1cec72748152b71e45794de83f90d4d
README兼容性版本

兼容性与来源证明

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

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

版本

0.0.6stable
2026/10/22

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundle使用全新代理执行明确请求的重复工作。Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

README

dsh-subagent-toolkit · 子代理工具箱

给 DeepSeek Harness(DSH)的子代理工具箱,三件事一起做:

  1. 分组折叠:把官方「子代理」下拉按使用批次收进 本次 / 上次 / 今日 / 历史 四组;
  2. 删除子代理:行内删单个、组标题删整组,删完计数同步;
  3. 模型同步:委派时可以逐任务指定模型,按你当前的子代理模型白名单实时校验。

不改原版头部、不新增入口——按钮、布局、原版悬停全部保持原样,插件只在原生下拉和委派链路上做增强。

一、分组折叠

按「使用批次」聚合(间隔 ≤ 120 秒算同一批):

分组含义默认
本次最近一次使用子代理产生的那一批始终展开(带「本次 N」标签)
上次上一次使用子代理产生的那一批折叠
今日今天其余批次折叠
历史今天之前折叠
  • 点分组标题即展开/收起;标题只显示「名称 + 条数」。
  • 打开某个子代理会话时,它头部的上级/目录下拉也按同一规则分组。
  • 数据未就绪或行序对不上时一律不折叠(fail-open),绝不误藏运行中的行。

二、删除子代理

  • 行内:每行尾部「⋯」→「删除子智能体」,二次确认(运行中会先停止)。
  • 整组:组标题右侧「⋯」→「删除本组(N 个)」,一次删一组,交互与行内一致。
  • 删除后该行隐藏,顶部「N 个子智能体」计数立即同步(事件驱动,无轮询)。
  • 安全性:只允许删除 origin=subagent 的会话;校验会话目录在 sessions 根内、拒绝符号链接、删后确认目录消失;运行中默认拒绝、确认后才停止。
  • 说明:会话文件是真删、不可恢复;父会话目录记录是官方 append-only 事件日志,无法删除,故被删行只在本机隐藏(换机器/清缓存可能重现)。

三、子代理模型同步

DSH 旧会话的「子代理模型白名单」在会话创建时就冻结了。本插件让每次委派都按当前设置校验:

  • subagent 显式传 provider / model / reasoning_effort → 按当前设置白名单校验后生效,主对话可以每个任务换不同模型;
  • 白名单/模型目录是运行时读取:在设置里增删模型无需重启;
  • 非法路由明确报错(fail-closed),不会静默退回父模型;
  • 实现方式:只包 subagent 的执行体(摘出显式参数经 AsyncLocalStorage 传给启动层)和 subagents.startActivation,不改任何工具注册;
  • 一键关闭:插件目录建空文件 .model-sync-off(或环境变量 DSF_MODEL_SYNC_OFF=1),重启后只禁用模型同步,其余功能照常。

截图

之前之后
beforeafter

安装

方式一:npm(推荐)

npm i dsh-subagent-toolkit

然后把 dsh-subagent-toolkit 写进 profile 的 dependencies 与 dsh.profile.bundles(插件自带 cordis.patch.yml),完全退出 DSH 再打开。

方式二:一键脚本(仓库/发布包内 tools/install.cjs)

node tools/install.cjs --profile desktop

支持 --dry-run 预览、--uninstall 卸载,并会备份 profile 的 package.json。

方式三:Release zip —— 下载 dsh-subagent-toolkit-v0.0.6.zip,解压后按方式二安装。

改的是 host 半,安装/更新后必须完全退出 DSH(托盘退出)再打开,仅 Ctrl+R 不够。

兼容与限制

  • 目标:DSH 0.2.1-rc.x(desktop profile)。
  • 模型同步属对内核委派链路的适配,DSH 升级后需回归一次;卸载即恢复原生行为。
  • 分组/按钮是往 React 托管的原生下拉里注入节点(隐身增强),官方大改版可能需适配。
  • 被删会话的“幽灵行”只在本机隐藏(见上文删除说明)。

dsh-subagent-toolkit (English)

A subagent toolkit for DeepSeek Harness (DSH). Three things in one plugin:

  1. Grouped folding — the native "Subagent" dropdown is grouped by usage batch into Current / Previous / Today / History;
  2. Deletion — delete one subagent from its row, or a whole group from the group header, with the count kept in sync;
  3. Model sync — pick a model per delegation, validated against your current subagent model allowlist.

The original header, layout and native hover behaviour are untouched.

Features

  • Folding: batches are derived from subagent creation time (≤120s = one batch). "Current" is always expanded and labelled; the others collapse on click. Works inside a subagent session's own header dropdown too. If the DOM order cannot be matched, nothing is folded (fail-open) — running rows are never hidden by mistake.
  • Deletion: row-level ⋯ → Delete subagent, and group-level ⋯ → Delete group (N); running sessions are stopped first after confirmation. Only origin=subagent sessions can be deleted; the session directory must live under the sessions root, symlinks are refused, and deletion is verified afterwards. Session files are really removed (irreversible). Because the parent's catalog is an append-only event log, the deleted row is hidden locally only.
  • Model sync: an explicit provider/model/reasoning_effort on subagent is validated against the current allowlist in settings, so the main agent can use a different model for every task. Settings are read at runtime — adding/removing models needs no restart. Invalid routes fail closed with a clear error. Only the subagent executor and subagents.startActivation are wrapped; no tool registration is touched. Kill switch: create an empty .model-sync-off file in the plugin directory (or set DSF_MODEL_SYNC_OFF=1).

Install

npm i dsh-subagent-toolkit

Add dsh-subagent-toolkit to the profile dependencies and dsh.profile.bundles (the package ships its own cordis.patch.yml), then fully quit and reopen DSH.

Or use the bundled installer:

node tools/install.cjs --profile desktop   # supports --dry-run / --uninstall

Or download dsh-subagent-toolkit-v0.0.6.zip from Releases and run the installer above.

The host half changes on install/update, so a full DSH restart is required (Ctrl+R alone is not enough).

Compatibility & limitations

  • Targets DSH 0.2.1-rc.x (desktop profile).
  • Model sync adapts internal delegation plumbing; re-check after a DSH upgrade. Uninstalling restores native behaviour.
  • Folding/buttons inject nodes into React-managed dropdowns; a major upstream UI change may need adaptation.
  • Deleted rows are hidden locally only (see above).

License

BSD-3-Clause