DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-repetition-guard

Repetition Guard

DeepSeek Harness plugin: short-circuits a model stream when it loops on a repeated word ("wait wait wait" / "počkat počkat …") in reasoning or visible text, so the provider stops generating instead of burning tokens.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-repetition-guard@0.1.0
READMECompatibilityVersions

Compatibility and provenance

Repetition Guard is published as dsh-repetition-guard and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
11/5/2026

Versions

0.1.0stable
8/15/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
7.4 kB
Files
6
Surface
any
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
16
Last push
8/15/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Experimental Cot Translation Bundle@deepseek-ai/dsh-experimental-cot-translation-bundleExperimental machine translation of expanded reasoningOur Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — Install this plugin in dsh to use cutting-edge models including DeepSeek V4.1 Flash and Kimi K3, with no login, registration, or API Key required. The desktop version also offers an EAC co-payment channel; starting with 2.0, it supports ten account channels: LobsterAI, Qoder, TRAE, Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowConnect Workbuddydsh-connect-workbuddyConnects locally signed-in WorkBuddy models (domestic and international versions) to DeepSeek Harness, automatically reading each model’s points multiplier from the upstream catalog on every refresh, with per-model image input toggles, multi-account switching, automatic account rotation from an acco

README

dsh-repetition-guard

English | Česky

Stops a model from "looping" during generation — when it starts repeating the same word over and over (wait wait wait …, počkat počkat …), sometimes hundreds or thousands of times, burning tokens for nothing.

How it works

The plugin hooks the llm/stream waterfall (DSH's official extension point around every streaming model call) and watches both reasoning-delta chunks (the thinking text) and text-delta chunks (the visible answer). As soon as the tail of either stream contains 12 identical words in a row (threshold configurable), it stops the stream.

Stopping the stream makes the adapter abort its fetch → the provider stops generating further tokens. The rest behaves like a normal end (the assembler treats finish = stop), so the turn ends cleanly with whatever was generated before the loop.

Why it can't hurt normal output

  • It only triggers on ≥ 12 identical consecutive words — normal reasoning or prose never contains a run like that (one "wait" is fine, twelve aren't).
  • It inspects only the last tailChars characters (160), so it doesn't slow the stream or grow memory.
  • It deletes nothing — it just stops reading the stream; already-emitted blocks are preserved.

Install

dsh plugin --profile web add dsh-repetition-guard

Restart the DSH session; it then guards every model call (including subagents).

Configuration

  • word threshold: config.threshold (default 12)
  • inspected tail length: config.tailChars (default 160)
  • on trigger it logs: repetition-guard: stopped a repeated-word loop…

License

MIT