dsh-subagent-watchdog

Tells the parent agent when a subagent died from an upstream failure instead of finishing: it listens to agent/error on every agent, waits a short settle delay, and if the child is still not running delivers a followup turn to the parent carrying the child id, the failure and the options the parent has, with a cooldown and a per-child cap so a flapping provider cannot flood the parent.

Overview

Tells the parent agent when a subagent died from an upstream failure instead of finishing: it listens to agent/error on every agent, waits a short settle delay, and if the child is still not running delivers a followup turn to the parent carrying the child id, the failure and the options the parent has, with a cooldown and a per-child cap so a flapping provider cannot flood the parent.

Installation

Install from 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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.