DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

X Loop Guard — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
X

dshx-loop-guard

X Loop Guard

检测并停止重复的相同工具调用(智能体循环),主要面向小型本地模型。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:callaumyan-design/dshx-loop-guard#a67457fb1234ce14076dbea9950a2361bb2d9b23
README兼容性版本

兼容性与来源证明

X Loop Guard 以 dshx-loop-guard 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/19

版本

1.0.0stable
2026/10/19

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dshx-loop-guard

Detects and stops agent loops — the same tool call returning the same result again and again — mainly for small local models.

防止 agent(主要是本地小模型)陷入「反复调用同一个工具」的死循环。只挂 DSH 公开的 agent/request、tools/pre-execute、tools/post-execute 事件,不改 agent 主循环。

判定规则(按 agent、按轮计数)

  1. 调用指纹 = 工具名 + 参数(键顺序无关);
  2. 同一调用连续得到完全相同的结果:第 warnAt 次在结果后附加提醒,第 stopAt 次直接拒绝;
  3. 同一调用一轮内执行满 hardLimit 次(不论结果)后拒绝;
  4. 一轮工具调用总数超过 maxCallsPerTurn 时拒绝(0 = 不限);
  5. 一轮被拒绝 maxDenials 次后中止本轮。

改完文件再跑同一条测试命令不算循环:结果变了,计数就清零。

配置(cordis.patch.yml)

字段默认说明
providers['local']只对这些 provider 生效;空数组 = 所有模型
warnAt3
stopAt5
hardLimit12
maxCallsPerTurn0
maxDenials3

安装

# Web profile
dsh plugin --profile web add github:callaumyan-design/dshx-loop-guard
# Desktop(用 DSH Desktop 自带的 dsh 命令,先从托盘完全退出 Desktop)
dsh plugin --profile desktop add github:callaumyan-design/dshx-loop-guard

安装后重启 DSH。卸载:dsh plugin --profile <profile> remove dshx-loop-guard。

兼容性

在 DeepSeek Harness 0.2.0-rc.2(desktop / web profile)上开发和使用。纯 JavaScript,无构建步骤,无安装脚本。

License

MIT

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Profile@deepseek-ai/dsh-experimental-agent-team-profile在一个实验性捆绑包中提供 Agent Teams 协作、工具和 Web UIExperimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundle使用全新代理执行明确请求的重复工作。Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序