← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-run-guard

Agent runtime rhythm guard for DeepSeek Harness that intercepts reasoning loops and auto-continues premature stops.

UI & ProductivityDeveloper Tools
5GitHub Stars1ForksUpdated2026-10-15

Install

$ dsh plugin --profile web add "github:Dis2017/dsh-run-guard#v0.2.1"

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-run-guard is a runtime management plugin for DeepSeek Harness designed to control agent flow during long-running tasks. It provides a dual-action mechanism: a guard that monitors the LLM stream to detect and abort repetitive reasoning loops within 1-2 seconds with automatic retry, and an auto-continuation feature that detects premature stops (when thinking finishes without generating content or tool calls) or unfinished tasks to resume the execution cycle seamlessly.

Key Capabilities

  • Sliding-window duplicate pattern detection and hard thresholds on llm/stream to intercept infinite reasoning loops within 1-2 seconds
  • Configurable automatic retry per turn for guard interruptions and whitelisted upstream errors (such as PI_AI_ERROR)
  • Automatic turn continuation for premature completions with unfinished todos or empty turns (thought without content or tool calls)
  • Registers a pause_work tool allowing models or users to explicitly halt automatic execution loops
  • Web UI settings integration via plugins.row.config slot supporting hot volatile configuration reloads without process restarts

Useful For

  • Preventing DeepSeek V4 Flash or high-reasoning tasks from consuming massive tokens in infinite reasoning loops
  • Ensuring long autonomous tasks continue to progress when the model stops prematurely after thinking without executing steps
  • Automating retry and recovery from transient upstream LLM streaming failures during complex workflows

Who It Fits

  • DeepSeek Harness users running autonomous multi-step reasoning agents
  • Developers working with deep reasoning models prone to repetitive token generation loops
  • DSH workspace administrators looking for execution stability and token burn protection

Documented Limitations

  • Requires DeepSeek Harness version 0.2.0-rc.2 or strictly matching peerDependencies
  • Does not automatically repair previously corrupted session files generated by historical versions
  • Requires proper peerDependency scoping to avoid dual-instance symbol conflicts on TOOL_RUNTIME_SCHEDULER

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 6 development, 4 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
PrismLean/dsh-run-guard
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
660bc18 · 2026-10-18

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
5GitHub stars
Forks
1
Open issues
3
Last commit
2026-10-15
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app