D
@huanlin/dsh-plugin-yet-another-subagent
v0.1.2 · 4 天前发布
Configurable subagent profiles with web UI settings, real-time toolcall/token display, and click-to-navigate child sessions.
README
yet-another-subagent
可配置的子代理(subagent)profile 系统,提供单一 subagent 工具 + profile 参数选择,支持 Web UI 设置、实时进度展示(工具调用/token/活动)、子代理树标签页、点击跳转子会话。
架构
单 bundle,三入口(host . + invariant ./invariant + client ./client)。
src/index.ts):- 单一
subagent 工具,通过 profile 枚举参数选择 profile(非每 profile 一个工具)- 复用官方
spawn provider,支持前台(foreground)和后台(continuable / one-shot)两种模式- Profile 状态通过 settings seam 持久化到
$DSH_HOME/settings.yaml- RPC CRUD:
profiles.list / .add / .update / .remove(专用 /ya-subagent 通道,不共享 /api)- 两个 session projection:
subagentProfile(父会话 childId→profileId 映射 + callId→childId)+ yaSubagentProgress(子会话实时 toolcall/token/活动状态)src/client/index.ts):-
settings.section — Profile 编辑页-
tool.call.toolview(key subagent)—版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- AGPL-3.0
- npm
- @huanlin/dsh-plugin-yet-another-subagent
- Repo
- —
- Engines
{"node":">=22.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-ui-tool","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-primitives"],"platform":"web"}}