HuanLinOTO/dsh-plugin-yet-another-subagent
可配置子代理profile系统,单一subagent工具加profile参数,附带Web UI设置、实时进度和子代理树功能。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), created to deliver a configurable subagent profile system for DSH users. It exposes only one subagent tool that lets users select different pre-configured subagent profiles via the profile parameter, instead of creating a separate tool for each individual profile. It supports web-based UI configuration, real-time progress display of running subagents (including tool calls, token usage, and activity status), a dedicated subagent tree tab, and click-to-jump navigation to child subagent sessions. It follows a single-bundle, two-entry architecture for separate host and client components.
Users can install this plugin quickly from the public npm registry using DSH's built-in CLI tool, and the recommended installation command is dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagent. After installation completes, you only need to restart the DSH web process and hard-refresh your browser page to enable the plugin for use. Users can create, update, and delete custom subagent profiles directly in the web UI's profile editing page, and each profile can be customized with model settings, persona text, tool filtering rules, maximum recursion depth, and background running mode. This plugin is built for DSH users who need to work with multi-layer subagents to complete complex development tasks.
The only runtime dependency required for this plugin is zod, and all development dependencies can be installed with a single pnpm install command ran from the project root. The repository does not declare a specific open-source license, and there are two known public limitations: existing old sessions are not compatible with the new render format, and any changes to the projection schema require a host restart to take full effect. Subagent profile data is persisted by default to $DSH_HOME/settings.yaml, and headless environments without a settings provider will fall back to in-memory only storage.
这是一款专为DeepSeek Harness(DSH)开发的原生子代理插件,提供可配置的子代理profile配置系统,仅对外暴露单一subagent工具,通过profile参数实现不同子代理配置的选择。它支持Web UI可视化设置、子代理运行实时进度(工具调用、token消耗、活动状态)展示、子代理树标签页管理,还支持点击跳转子会话,采用单bundle双入口(host和client)的架构设计。
用户可以通过DSH的命令行工具从npm快速安装该插件,安装后只需重启DSH web进程并硬刷新浏览器页面即可启用。用户可在Web UI的Profile编辑页创建、修改、删除不同的子代理配置,每个配置可自定义模型参数、人设、工具过滤规则、递归深度、后台运行模式等属性。它面向需要在DSH中使用多层级子代理完成复杂开发任务的用户,支持前台运行和后台持续运行两种模式。
该插件的唯一运行时依赖是zod,开发依赖可通过pnpm install一键安装,开源许可证未做声明,目前存在两个已知限制:旧会话不兼容新的渲染格式,projection schema变更后需要重启主机才能生效。Profile数据默认持久化存储在$DSH_HOME/settings.yaml中,无头无settings provider的环境会回退到仅内存存储状态。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-yet-another-subagent(HuanLinOTO/dsh-plugin-yet-another-subagent)
仓库:https://github.com/HuanLinOTO/dsh-plugin-yet-another-subagent
本站详情页:https://www.yhbd.top/plugins/huanlinoto-dsh-plugin-yet-another-subagent/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 18 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 18 stars - an early-stage project星标 18,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagent
把 HuanLinOTO/dsh-plugin-yet-another-subagent 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
yet-another-subagent
可配置的子代理(subagent)profile 系统,提供单一 subagent 工具 + profile 参数选择,支持 Web UI 设置、实时进度展示(工具调用/token/活动)、子代理树标签页、点击跳转子会话。
架构
单 bundle,双入口(host . + client ./client)。
不发布
./invariant:本插件的工具/RPC/projection 注册均无独立可分歧的运行时观察(HMR 安全性由测试证明),无内容可校验——按 DSH 0.1.2-rc.1 收紧后的 invariant 规则(禁止空 installer)省略该入口及其全部接线。
- Host 半(
src/index.ts):- 单一
subagent工具,通过profile枚举参数选择 profile(非每 profile 一个工具) - 复用官方
spawnprovider,支持前台(foreground)和后台(continuable / one-shot)两种模式 - Profile 状态通过 settings seam 持久化到
$DSH_HOME/settings.yaml - RPC CRUD:
ya-subagent.profiles.*/.tools.list/.sessions.repair(/api上的 exact Fetch route,经connection.fetch.register注册) - 两个 session projection:
subagentProfile(父会话 childId→profileId 映射 + callId→childId)+yaSubagentProgress(子会话实时 toolcall/token/活动状态);wire view 已做引用记忆化,适配 dsh 0.1.2-alpha.3 起 change feed 的Object.is下发门控(内容不变即静默)
- 单一
- Client 半(
src/client/index.ts):settings.section— Profile 编辑页tool.call.toolview(keysubagent)—SubagentCard工具调用卡片conversation.view(idsubagent-tree)—SubagentTreeView子代理树标签页
cordis.patch.yml 只禁用官方 tool-subagent(spawn 路径),保留 tool-subagent-fork(无名称冲突)。
配置
# cordis.patch.yml
- id: tool-subagent
disabled: true
- insert:
- id: yet-another-subagent
name: '@huanlin/dsh-plugin-yet-another-subagent'
config:
profiles:
- id: general
label: General
model: { kind: 'auto' }
persona: { kind: 'inherit' }
toolFilter: { kind: 'none' }
maxDepth: 3
backgroundMode: continuable
builtin: true
generalFixed: true
Profile 字段
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
id |
string(小写字母/数字/连字符,1-32 字符) |
— | Profile 唯一标识 |
label |
string |
— | 显示名 |
model.kind |
'auto' | 'manual' |
— | auto 继承父代理模型;manual 指定 |
model.provider |
string |
'' |
Provider(仅 manual 时使用) |
model.model |
string |
'' |
模型 ID(仅 manual 时使用) |
persona.kind |
'inherit' | 'custom' |
'inherit' |
inherit 跟随部署人设;custom 自定义 |
persona.text |
string |
'' |
自定义人设文本(仅 custom 时使用) |
toolFilter.kind |
'none' | 'allow' | 'deny' |
'none' |
工具过滤策略 |
toolFilter.tools |
string[] |
[] |
过滤工具列表 |
maxDepth |
number |
3 |
最大递归深度 |
backgroundMode |
'continuable' | 'one-shot' |
'continuable' |
run_in_background: true 时的后台策略 |
builtin |
boolean |
false |
是否为内置 profile(仅展示用) |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
omdsh-dev/DSH-better-sidebar
LiPu-jpg/Openwrite
cocode-agency/cocode
drewnekota/cetus
cosyncing/cosyncing
UNLINEARITY/dsh-code
Cerbur/clutch-dsh
cofy-x/dsh-console