dsh-tool-monitor: Background monitor for files, commands, and WebSockets; wakes the session when output arrives.
dsh-tool-monitor (@caizhiyuan/dsh-tool-monitor 0.5.1, MIT) is a plugin for the DeepSeek Harness workflow package. It monitors files, command output, or outbound WebSockets in the background via monitor_start/read/stop/list, and wakes up the corresponding session when new output matches optional pattern rules. The Web session header provides a list of listeners and on-demand output viewing. To install, run `dsh plugin --profile web add @caizhiyuan/dsh-tool-monitor`; a restart of dsh is required. Listeners do not appear in ctx.jobs and run with the current process permissions. It is advisable to review the source code and license before installation.
Read Moredsh-tool-monitor: Subscribing to Events from Existing DSH Background Jobs
`dsh-tool-monitor` is a DeepSeek Harness plugin designed to address the limitation that background jobs only notify upon completion. It allows users to subscribe to already running streaming background jobs, capture errors in real time through lazy reading and regex matching, and deliver events to the Agent. The plugin does not start new processes; it only reuses the official Job ecosystem, and supports case sensitivity, timeout settings, and multiple output formats. After installation, it can be enabled by specifying a Job ID and a regex pattern, making it suitable for real-time monitoring of backend service status in a DSH environment.
Read More