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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案