dsh-turn-watchdog
Manifest validTurn watchdog for DSH: detects stuck turns and injects a quiet warning.
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
Comments
Loading…
Similar plugins
by SipengXie2024
User-attention notifications for DeepSeek Harness (dsh) web: turn end, approval requests, and model questions — in-page toast + OS-level browser notification
★ 0
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-turn-reminderby erdholion
Result-aware stuck-loop guard for DeepSeek Harness: advisory nudges plus a monotonic hard stop. Only repeats with identical results count, so progressing polls and post-edit re-reads never trigger.
★ 0
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-loop-guardby pedesdestiny
Browser desktop notifications for DeepSeek Harness (dsh) — get notified when a turn completes or an approval is needed
★ 3
↓ 207/wk
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-notifyby loeanxi
Source-aware prompt injection guard for DSH: tracks untrusted turn context, detects injection signals, scores sensitive sinks, and blocks high-risk tool calls with explainable audit logs.
★ 2
↓ 97/wk
TypeScript
Aug 21, 2026
dsh plugin --profile web add dsh-injection-guardby POPCORNBOOM
Insight dock for the DSH Web GUI: an agent parks a short, strictly-bounded side observation while it works; you decide later whether to hear it.
★ 0
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-insight-dockby omdsh-dev
Desktop notifications for DeepSeek Harness turn completions, with per-outcome controls and include/exclude keyword rules.
★ 85
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-notification