Plugin directory / Developer / dsh-repeat-stop
dsh-repeat-stop
Verified · install-tested on dsh 173787247
What it does
Hard-stop consecutive identical DeepSeek Harness tool calls after a configurable streak.
Works — verified, early-stage project
Hard-stop consecutive identical DeepSeek Harness tool calls after a configurable streak. It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
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
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
Master switch |
threshold |
6 |
Allowed streak; next call blocked (integer ≥ 2) |
exclude |
job_* | 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
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-repeat-stop for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:173787247/dsh-repeat-stop Headless (CLI) profile:
dsh plugin --profile headless add github:173787247/dsh-repeat-stop Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.