子代理配置面板 HuanLinOTO/dsh-plugin-yet-another-subagent
DeepSeek Harnessv0.5.1可配置的子代理 profile 系统。只提供一个 subagent 工具,用 profile 参数选择配置档;支持…
40.6/100
综合分
18
GitHub 星标
94
npm 周下载
—/5
用户评分
数据截至 2026/10/18 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagentnpm 源 · @huanlin/dsh-plugin-yet-another-subagent 的发布者账号已校验与本仓库一致
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:需留意
是什么
dsh 原生插件 · ui
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
活跃:最近一次提交在 17 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
⚠︎ 实装验证未通过(runtime_smoke_failed · 2026/10/31) ——可能是验证环境差异,装前建议到 GitHub 仓库确认最近更新与 issue。
社区实装还没有人打卡 · 装过的第一个就是你
安装兼容性检查✓ 自动检查通过展开查看检查明细 ↓
以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。
✓npm 包@huanlin/dsh-plugin-yet-another-subagent @ 0.5.1
✓Node 引擎要求 >=22.0.0 · 基线 Node 22.19 满足
✓dsh CLI 依赖未声明 dsh 版本约束
✓入口文件main/exports/bin 已声明
验证方式:npm registry 存在性 + package.json 静态校验 · 最后检查 2026/11/1 16:37:40
安全扫描自动 · 静态分析源码v2.7.0🔵 扫描:含敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。
读写/删除本地文件
查看扫描证据(共 7 处,展示前 7 条)
- 读取本地文件lib/index.js:667
entries = await readdir(dir); - 读取本地文件lib/index.js:680
const info = await stat(path); - 写入本地文件lib/index.js:702
await writeFile(path, outcome.bytes); - 读取本地文件lib/index.js:733
const raw = await readFile(path, "utf8"); - 读取本地文件lib/index.js:750
const buffer = await readFile(path); - 读取本地文件lib/index.js:933
await stat(backup); - 写入本地文件lib/index.js:936
await copyFile(path, backup);
扫描于 2026/11/3(1 天前) · 范围 入口闭包 + 全包扫描 · 来源 npm 发布包
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-agent@deepseek-ai/dsh-api-session-controller@deepseek-ai/dsh-client-connection@deepseek-ai/dsh-client-locale@deepseek-ai/dsh-client-ui-conversation@deepseek-ai/dsh-client-ui-plugin-manager@deepseek-ai/dsh-client-ui-primitives@deepseek-ai/dsh-client-ui-renderer@deepseek-ai/dsh-client-ui-session@deepseek-ai/dsh-client-ui-settings@deepseek-ai/dsh-client-ui-slots给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 配置子代理profile
- 单一subagent工具
- WebUI设置
可配置子代理配置档系统:单一 subagent 工具 + profile 参数,带 Web UI 设置、实时进度、子代理树
README
由 DeepSeek 最新模型翻译生成yet-another-subagent
可配置的子代理 profile 系统。只提供一个 subagent 工具,用 profile 参数选择配置档;支持 Web UI 设置、实时进度展示(工具调用 / token / 活动)、子代理树标签页,点一下就能跳到子会话。
架构
单 bundle,双入口(host . + client ./client)。
不发布 ./invariant:本插件的工具 / RPC / projection 注册都没有独立、可能分歧的运行时观察(HMR 安全性已由测试证明),没有内容可校验——按 DSH 0.1.2-rc.1 收紧后的 invariant 规则(禁止空 installer),省略该入口及其全部接线。
展开完整文档(README 剩余 1 节)
yet-another-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 一个工具)
- 复用官方 spawn provider,支持前台(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(key subagent)— SubagentCard 工具调用卡片
- conversation.view(id subagent-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' }
maxDepth: 3
backgroundMode: continuable
builtin: true
generalFixed: true
Profile 字段
dsh 0.2.1-alpha.5 起,子代理启动请求不再携带 persona / toolFilter(人设由 Agent Preset 接管,工具过滤已移除),这两个字段也随之删除;已存配置里的旧值会在读取时丢弃。
| 字段 | 类型 | 默认值 | 说明 |
| id | string(小写字母 / 数字 / 连字符,1-32 字符) | — | Profile 唯一标识 |
| label | string | — | 显示名 |
| model.kind | 'auto' \| 'manual' | — | auto 继承父代理模型;manual 指定 |
| model.provider | string | '' | Provider(仅 manual 时使用) |
| model.model | string | '' | 模型 ID(仅 manual 时使用) |
| maxDepth | number | 3 | 最大递归深度 |
| backgroundMode | 'continuable' \| 'one-shot' | 'continuable' | run_in_background: true 时的后台策略 |
| builtin | boolean | false | 是否为内置 profile(仅展示用) |
开发
pnpm install # 安装开发依赖 + zod(唯一运行时 npm 依赖)
pnpm run typecheck # tsc --noEmit(通过 ../dsh 解析 DSH 源码)
pnpm test # vitest run
pnpm run build # tsc + tsdown → lib/index.js, lib/client.js
类型检查
tsconfig.json 继承 ../dsh/tsconfig.base.client.json,通过 pnpm-workspace.yaml 的 packages//* glob 解析 DSH checkout 的源码。需在 ../dsh 存在 DSH checkout 的同级目录下运行。
运行
从 npm 安装(推荐):
dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagent
本地引用(开发热更新)
dsh plugin --profile web add "link:D:/Projects/deepseek-harness/yet-another-subagent"
安装后重启 dsh web 进程,浏览器硬刷新(Ctrl+Shift+R)。
检查
pnpm run typecheck # 0 errors
pnpm test # 55 tests passing
pnpm run build # lib/index.js + lib/client.js
产物验证
- lib/index.js — Host bundle
- lib/client.js — Client bundle(CSS-modules inline,d 前缀 hash 防 CSS 类名数字开头)
- cordis.patch.yml — Bundle patch layer
持久化
Profile 状态通过 DSH settings seam 持久化到 $DSH_HOME/settings.yaml 的 ya-subagent 命名空间。cordis.yml 的 profiles 字段是组合 base(首次启动种子),运行时变更通过 scope.replace() 写入用户层。外部 yaml 编辑通过 scope.watch 热重载。
无 settings provider 的无头组装回退到内存状态(仅 cordis.yml 种子,不持久化)。
RPC API
Profile CRUD 走 /api 通道上的 exact Fetch route(ctx.connection.fetch.register,与官方 dsh-client-file-upload 同模式)。不占用 /api 的单拦截器槽(该槽归 Typert gateway 所有);信任栅栏与浏览器认证由 /api 载体统一执行。
| endpoint(wire method) | payload | result (ok) |
| ya-subagent.profiles.list | {} | { profiles: SubagentProfile[] } |
| ya-subagent.profiles.add | { profile: SubagentProfile } | { profiles: SubagentProfile[] } |
| ya-subagent.profiles.update | { profile: SubagentProfile } | { profiles: SubagentProfile[] } |
| ya-subagent.profiles.remove | { id: string } | { profiles: SubagentProfile[] } |
| ya-subagent.tools.list | {} | { tools: { name, description }[] } |
| ya-subagent.sessions.repair | {} | RepairStats |
URL 形如 POST /api/ya-subagent.profiles.list(Connection client-request envelope,响应为 server-response envelope)。业务错误返回 { ok: false, error: { code: 'internal', message } }。
历史注:v0.3.x 走 connection.rpc.handle('/ya-subagent', …) 专用通道;dsh 0.1.5 的专用通道注册在 web profile 拓扑下无法挂载(webserver 服务与 connection 是兄弟 loader 行,rpc.handle 内部的 owner.webServer 解析永远失败),浏览器侧表现为 transport failure for /ya-subagent/profiles.list: HTTP 405。v0.4.0 起改用 exact Fetch route。
已知限制
- 旧会话不兼容:completed subagent <id> render 格式变更后,旧会话的结果文本无法被 parseResult 匹配,卡片不可点击。仅新会话(host 重启后)正常。
- yaSubagentProgress stateVersion 2:projection schema 变更(activity 字段 + assistant/chunk fold)需要 host 重启才能生效。
设计参考
- 官方 continuable subagent 设计:.agents/notes/implemented/feature/2026-07-28-continuable-subagent-conversations.md
- 插件开发指南:plugin-development-guide.md预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
HuanLinOTO/dsh-plugin-yet-another-subagent
可配置的子代理 profile 系统。只提供一个 subagent 工具,用 profile 参数选择配置档;支持…
相关插件 · UI / 主题
破甲增强版JeffKeeping/dsh-purge-plus
dsh-purge 的非官方分支fork:适配 DeepSeek Harness 0.2.1-rc.2、破甲内核…
★ 387已汉化DeepSeek 客户端
71.9
无代码业务系统平台nocobase/nocobase
NocoBase 是什么
★ 24,804已汉化DSH
71.8
1Panel 服务器面板1Panel-dev/1Panel
全球 250 万+ 自托管用户共同喜爱。
★ 37,350已汉化DSH
71.5
工作状态行动态ccch1mneyyy/working-activity
作者:chimney@ccch1mneyyy。社区项目,非 DeepSeek 官方项目。
★ 664已汉化DSH
71.2
多模型配置管家farion1231/cc-switch
跨平台桌面一体化助手,支持 Claude Code、Codex、OpenCode、DeepSeek Harness 等工具,唯一官网 ccswitch.io
★ 151,506已汉化DSH
71.1
AI 矢量设计工具ZSeven-W/openpencil
全球首个 AI 原生开源矢量设计工具。
★ 7,027已汉化DSH
71.1
这是你的仓库?认领条目