dsh-doom-loop-guard

检测 Agent 推理输出中的重复循环,命中时记录、提醒或截断,并生成历史报告。默认只是提醒(向下一次请求注入一条提示);截断并自动续跑需手动开启,且不要和 dsh-loop-rescue 之类的截断同时开。需要 DSH 0.2.1+ 与 Node.js 22.15+。

插件介绍

检测 Agent 推理输出中的重复循环,命中时记录、提醒或截断,并生成历史报告。默认只是提醒(向下一次请求注入一条提示);截断并自动续跑需手动开启,且不要和 dsh-loop-rescue 之类的截断同时开。需要 DSH 0.2.1+ 与 Node.js 22.15+。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:dixieWithHeart/dsh-doom-loop-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.

版本兼容情况

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