dsh-tool-monitor:后台监听文件、命令与 WebSocket,输出到达时唤醒会话
dsh-tool-monitor(@caizhiyuan/dsh-tool-monitor 0.5.1,MIT)是 DeepSeek Harness 工作流类组合包插件:通过 monitor_start/read/stop/list 在后台监听文件、命令输出或出站 WebSocket,新输出时按 pattern 可选规则唤醒所属会话;Web 会话头部提供监听器列表与按需输出查看。安装命令为 dsh plugin --profile web add @caizhiyuan/dsh-tool-monitor,需重启 dsh。监听器不进 ctx.jobs,以当前进程权限运行,安装前宜核对源码与许可证。
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