dn4hjtcr9s-del/dsh-wait-guard ↗★ 0

dsh-wait-guard

Keep an Agent's turn open until every descendant subagent settles — a pure Host-plane completion gate for DeepSeek Harness. 适合需要确保所有后台子任务完全结算后再输出最终结论的复杂任务。

Package
dsh-wait-guard
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 28, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dn4hjtcr9s-del/dsh-wait-guard

5. 配置项

字段默认含义
firstWaitMs60000静默多久算"该提醒了"。每次收尾尝试单独计时:到点就注入 1 条提醒并立即退场
nudgetrue是否启用"时间到"这条失效路径。设 false = 纯静默闸门(只等,不说话)
pollMs250轮询间隔(等待时长按墙钟计,不受探测耗时影响)
releaseOn['*']'*' = 任何消息到达都让插件失效(默认)。设为 ['user','agent-message'] 则结算通知不触发失效、会攒到齐
companionReminderfalse默认关闭:到达即完全失效,插件一个字都不加。设为 true 才在 next-step 到达时额外注入一句"别当成最终结论"(与到达者同批被领取,零额外请求)
maxCompanionPerTurn2companion 提醒的每轮上限
policySectiontrue是否往系统提示注入规则段落
onProbeError'open'读不到列表时:open 放行 / closed 继续等
policyText内置英文策略段落文本
nudgeText内置中文超时提醒模板,支持 {n} {s} {list}
companionText内置中文放行伴随提醒,同上

已废除(v5):waitFactor / maxWaitMs(递增间隔)与 maxNudgesPerTurn(每轮上限)、giveUpAfterMs / giveUpText(限时放弃)。它们在"注入即退场"的设计下要么永不生效、要么只会让后续尝试沉默扣住;留着只会误导。配置里写了也会被忽略,不影响加载。 | debug | false | 输出诊断日志 |