packages/dsh-task-board
zhu1090093659/dsh-web侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
子代理工具箱:把原生子代理下拉按使用批次折叠为 历史 / 今日 / 上次 / 本次 四组(本次常展开),支持行内/整组删除子代理会话,并让子代理模型名单实时生效(逐任务选模型);不改动原版头部。
给 DeepSeek Harness(DSH)的子代理工具箱,三件事一起做:
不改原版头部、不新增入口——按钮、布局、原版悬停全部保持原样,插件只在原生下拉和委派链路上做增强。
按「使用批次」聚合(间隔 ≤ 120 秒算同一批):
| 分组 | 含义 | 默认 |
|---|---|---|
| 本次 | 最近一次使用子代理产生的那一批 | 始终展开(带「本次 N」标签) |
| 上次 | 上一次使用子代理产生的那一批 | 折叠 |
| 今日 | 今天其余批次 | 折叠 |
| 历史 | 今天之前 | 折叠 |
origin=subagent 的会话;校验会话目录在 sessions 根内、拒绝符号链接、删后确认目录消失;运行中默认拒绝、确认后才停止。DSH 旧会话的「子代理模型白名单」在会话创建时就冻结了。本插件让每次委派都按当前设置校验:
subagent 显式传 provider / model / reasoning_effort → 按当前设置白名单校验后生效,主对话可以每个任务换不同模型;subagent 的执行体(摘出显式参数经 AsyncLocalStorage 传给启动层)和 subagents.startActivation,不改任何工具注册;.model-sync-off(或环境变量 DSF_MODEL_SYNC_OFF=1),重启后只禁用模型同步,其余功能照常。| 之前 | 之后 |
|---|---|
![]() | ![]() |
方式一: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 不够。
A subagent toolkit for DeepSeek Harness (DSH). Three things in one plugin:
The original header, layout and native hover behaviour are untouched.
⋯ → 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.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).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).
BSD-3-Clause