DeepSHPlugins
dsh-repeat-stop 项目预览
GITHUB / COMMUNITY PROJECT

dsh-repeat-stop

安全与运维JavaScriptMIT

在连续相同参数的同一工具调用达到可配置次数后,拒绝下一次调用。

2 Stars173787247 更新时间 2026-08-29
访问 GitHub 仓库
dsh-repeat-stop 项目预览

项目介绍

中文

在连续相同参数的同一工具调用达到可配置次数后,拒绝下一次调用。

English

Denies the next tool call after a configurable streak of consecutive identical calls with the same arguments.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
173787247
仓库
173787247/dsh-repeat-stop
GitHub Stars
2
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-29
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

54/ 100
维护活跃
92
文档与实用信息
78
生态关注度
14
安装便捷信号
75
项目声明信号
100

近 13 天仍在更新;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:173787247/dsh-repeat-stop

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-repeat-stop

DeepSeek Harness plugin: hard-stop consecutive identical tool calls (same tool + same arguments).

Pairs with dsh-tool-budget. Part of dsh-wsl-kit.

中文说明 ↓


English

Why

Official repeat-tool-reminder only advises and never blocks. Agents can still spin on the same failing call. This plugin denies the next call after a streak.

Default: 6 identical calls may run; the 7th is blocked. Changing args/tool or a real user message resets the streak.

Install

dsh plugin --profile web add github:173787247/dsh-repeat-stop

Restart dsh web. No new tool appears. When it fires, Trajectory shows dsh-repeat-stop: blocked.

Config

- id: dsh-repeat-stop
  name: dsh-repeat-stop
  config:
    enabled: true
    threshold: 6
    exclude:
      - job_output
      - job_list
      - job_kill
    # include: []   # if set, only these names (wildcards ok) are tracked
KeyDefaultMeaning
enabledtrueMaster switch
threshold6Allowed streak; next call blocked (integer ≥ 2)
excludejob_*Names that never count
include(empty)If set, only these names are tracked

Test

npm test

License

MIT


中文

为什么需要

官方重复提醒只劝不停。本插件在「同一工具 + 同一参数」连续达到阈值后硬拦截,避免 Agent 原地空转。

默认连续 6 次可执行,第 7 次拒绝。换参数、换工具或用户再发消息会清零。

安装

dsh plugin --profile web add github:173787247/dsh-repeat-stop

触发时 Trajectory 出现 dsh-repeat-stop: blocked。

与 tool-budget 的区别

插件拦截对象
dsh-repeat-stop连续相同调用
dsh-tool-budget整场会话工具总次数

许可

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目