dsh-harden: DSH Runtime Watcher Layer

dsh-harden is a DSH workflow plugin maintained by thissensen, providing runtime safeguards at critical nodes such as API failures, swallowed tool calls, "thinking-only" (empty content) responses, context bloat, and sub-agent exceptions. It supports resuming execution after network interruptions, configurable recovery for failed tool prefixes, three-level context compression, a PowerShell (pwsh) background job tool, sub-agent notification aggregation, and session log scanning for repairs. Installation requires one of the following methods: npm, Releases, or source compilation, followed by registration in the profile. Settings are located in the eight cards under "DSH优化" (DSH Optimization); note that the tool retry rules are ineffective if the failure prompt prefix is empty. Released under the MIT License; requires DSH >= 0.1.7-rc.1.

Read More