dsh-purge: A Host Patch and State Management Control for DeepSeek Harness
kingcharleslzy-ai/dsh-purge
dsh-purge Community is a self-hosted DSH plugin that applies host patches, runs status self-checks, manages prompts, and offers local backup and rollback to cut interaction friction.
dsh-purge is a self-hosted control for DeepSeek Harness, often called the "armor-break" plugin in the community. It targets everyday friction: repeated confirmation interruptions, unclear readiness of patches and injection, and changes that are hard to undo, gathering install, patch, and injection status into one command or one panel. It ships 80 host patches and 25 layers of state checks, keeps prompts and presets in one place with per-preset injection exclusion, and snapshots automatically before apply or rollback while preserving original files and a checksum manifest. All logic runs locally with no cloud account changes and no upload of prompts or configuration; it is MIT licensed and independently maintained based on the original author's work.
How to Install
dsh plugin --profile <your-profile> add github:kingcharleslzy-ai/dsh-purgeReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Skills & Agents
- Platform
- DSH Plugin
- Author
- kingcharleslzy-ai
- Distribution
- Plugin
dsh-purge Key Features
dsh-purge Repo Summary
What Does It Do?
dsh-purge Community is a DSH plugin for DeepSeek Harness that acts as a self-hosted control panel for host patches, state diagnostics, prompt management, and rollback. It solves the friction of repeated confirmation prompts, unclear readiness state, and changes that are hard to undo, gathering install, patch, and injection status into a single screen or command. It does not modify the model itself; it only reduces interaction friction so the agent can keep executing tasks. The project is independently maintained by kingcharleslzy-ai based on the original work of 小杨 / YuJunZhiXue, is released under the MIT license, and was last updated on 2026-10-25.
Core Features
- Host patches and state self-checks: ships 80 host patches and 25 layers of state checks, so you can confirm whether install, patches, and injection are ready from one command or one panel.
- Prompt and preset management: keeps prompts, rules, and presets in one place, and supports excludePresets to keep presets such as roleplay or minimal out of injection while retaining commands, panels, and tools.
- Automatic snapshots and rollback: takes a snapshot before apply, install, or rollback, preserving original files and a checksum manifest so broken changes can be reverted.
- Local-first design: all logic runs on your machine, with no cloud account changes and no upload of prompts or configuration; every action leaves visible state and evidence.
- Full-page settings in the left sidebar: turns recurring confirmations and interruptions into a one-time configuration.
How to Use This Plugin?
After enabling it in DSH, open the status panel to confirm patches and injection are ready, then adjust prompts and presets as needed; the plugin snapshots automatically before each apply or rollback, so you can return to the previous state. If an older dsh-purge or legacy standalone panel is already present, migrate in place following the README instead of uninstalling first; installing, applying host patches, and restarting manually are three separate actions. If a download fails with fetch failed, fetch the installer script again and run a dry-run first, and submit the redacted diagnostic line if it still fails.
How to Troubleshoot This Plugin?
Download fails with fetch failed: since 1.6.39 the standalone installer shows the failing stage and error code, retries a limited number of times, and can fall back to system curl, with both channels keeping source, certificate, and SHA256 verification; re-download the installer script and run a dry-run, then submit the redacted diagnostic line if it still fails. Status page is slow or falsely reports not installed: 1.6.56 improved status page lag, avoids caching stale host evidence, and no longer reports not installed when a read fails, so upgrade to that version per the official instructions.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: kingcharleslzy-ai/dsh-purge. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
