@oh-my-dsh/dsh-better-subagent
v0.5.3
Published
Standalone DSH plugin: Codex/Claude continuable CLI subagents, wait_subagent, child exit guard and model tiers. Pure ESM, no build step.
Downloads
850
Readme
它做什么
- Codex / Claude CLI 适配器
wait_subagent等待续接- 运行中子代理退出守卫
- 模型分档、路由与子代理提示词
安装
# 只安装这个插件
dsh plugin --profile <profile> add @oh-my-dsh/[email protected]
# 或安装 Better DSH(会自动带上所有独立插件)
dsh plugin --profile <profile> add [email protected]安装 / 升级 / 换包后必须重启对应 profile;只刷新网页不够。
它拥有什么
| | |
|---|---|
| 稳定行 id | dsh-better-subagent |
| 入口 / 工具 | wait_subagent · /better-subagent/api/* · 子代理设置页 |
| 设置 | childExitGuard、delegation.prompt、tiers.*、两个 CLI 后端、trustedHosts |
| npm 包 | @oh-my-dsh/[email protected] |
| 仓库 | https://github.com/omdsh-dev/dsh-better-subagent |
设置
可以在 Plugins 页的 dsh-better-subagent 行设置,也可以在 Better DSH 详情页的「集成设置」里打开同名页面。两个入口共用同一份配置和同一个设置组件,不会产生第二份存储。
- 模型 / effort / profile 在子代理创建时固定;权限每轮读取。
- 旧
@menghuan1918/dsh-better-subagent的配置键保留兼容;行 id 仍是dsh-better-subagent。
与 Better DSH 的关系
- 同一个稳定行:独立安装或由
dsh-better-dsh装配,行 id 和设置命名空间都不变。 - 旧入口兼容:早期 Apollo 集成使用的行配置键仍然注册,指向同一份配置。
- 可以单独使用:不安装 Better DSH 也能工作;只是不会得到工程预设、流程技能或后台 job 守卫。
- Apache-2.0:本仓库与 Better DSH 的其他仓库统一使用 Apache License 2.0。
开发
npm test # 单元 / 组件测试
npm run smoke # 如仓库提供运行时冒烟实现与测试说明见 docs/DEVELOPMENT.md。
