dsh-subagent-watchdog

子代理被上游断线打死而不是正常跑完时,替它通知父代理:监听每个 agent 的 agent/error, 静置一小段时间后若子代理仍未恢复运行,就向父代理投递一条后续轮,带上子代理 id、失败原因 与父代理可选的处置方式;冷却时间与每子代理上限避免上游抖动时刷屏。

插件介绍

子代理被上游断线打死而不是正常跑完时,替它通知父代理:监听每个 agent 的 agent/error, 静置一小段时间后若子代理仍未恢复运行,就向父代理投递一条后续轮,带上子代理 id、失败原因 与父代理可选的处置方式;冷却时间与每子代理上限避免上游抖动时刷屏。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Lequait/dsh-subagent-watchdog

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。