dsh-early-stop-guard

模型叙述了「接下来要做什么」却什么都没做就结束回合时,保住 DSH 的 agent 回合:插件在 agent/turn-stopping 回放该回合日志,用正则分类末条消息——默认模式下 wait / ask / done / gray 直接结束回合、不调模型,只有承诺了未完成工作的消息才交给裁判——再由四种裁判方言组成的链(System One 三题 noul、OpenAI 兼容、OpenAI Decisions 或当前会话 LLM)判定回合是否真的结束,未结束就用 agent.steer 推进同一回合。

插件介绍

模型叙述了「接下来要做什么」却什么都没做就结束回合时,保住 DSH 的 agent 回合:插件在 agent/turn-stopping 回放该回合日志,用正则分类末条消息——默认模式下 wait / ask / done / gray 直接结束回合、不调模型,只有承诺了未完成工作的消息才交给裁判——再由四种裁判方言组成的链(System One 三题 noul、OpenAI 兼容、OpenAI Decisions 或当前会话 LLM)判定回合是否真的结束,未结束就用 agent.steer 推进同一回合。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:pf-sjtu/dsh-early-stop-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。