DeepSeek Harness plugin

dsh-turn-watchdog

Turn watchdog for DSH: detects live sessions whose turn looks stuck (no turn/end within a threshold), injects a quiet warning into the prompt context and exposes a status tool. Zero runtime deps, no

Jump to install

Source facts

Repository
Equinox7379/dsh-turn-watchdog
Latest update
Aug 14, 2026
Category
Tools & Capabilities
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Equinox7379/dsh-turn-watchdog
Plugin: dsh-turn-watchdog
Author: Equinox7379

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-turn-watchdog

DeepSeek Harness 插件:定期扫描 live 会话,报告长时间未产生 turn/end 的疑似卡住会话。

用途

回合生成中途挂起(模型卡住、外部调用超时等)时,用户常处于空等状态。本插件每 60 秒扫描一次,将疑似卡住的会话注入提示词警示(供 AI 与用户参考),并提供查询工具。

用法

  • 工具:turn_watchdog_status(参数 refresh 默认 true,立即重扫)
  • 判定规则:最后事件不是 turn/end / session/end-seed,且空闲超过 thresholdMinutes(默认 10,可在 profile patch 的 config 里配置)
  • 排除 subagent 会话

示例(问「哪些会话卡住了」):

{ "thresholdMinutes": 10,
  "stuck": [ { "sessionId": "…", "cwd": "E:\\surdet", "lastEventType": "step/start", "idleMinutes": 12 } ] }

可靠性

  • 只读:不改写会话事件、不打断回合、不重启服务;
  • 警示文本为同步纯文本拼接(不含模板变量),空结果时不注入;
  • 已知边界:合法长回合可能被列入,需结合 lastEventType 判断;
  • 零依赖、无自定义会话事件、无 HTTP 路由。

安装

dsh plugin --profile web add link:/path/to/dsh-turn-watchdog
# 重启 dsh web

License

MIT