kingcharleslzy-ai/dsh-purge
About
Community-maintained version of dsh-purge for DeepSeek Harness: host compatibility, status diagnostics, prompt management, updates, and rollback from local backups. Based on dsh-purge by 小杨 / YuJunZhiXue.
Systems & InfrastructureMeasured star growth
- in 24h
- +291
- in 7 days
- +2,078
- in 15 days
- +4,564
- in 1 month
- +10,949
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
docs/README.en.md
Originaldsh-purge Community
Helping your AI assistant stay focused on your learning and hands-on work.
A self-hosted add-on for DeepSeek Harness (known in the community as a 破甲 / "jailbreak" plugin) · 86 host patches · 25 status layers
Current version 1.7.26 · targets DSH Desktop 0.2.2-rc.3 (0.2.2-rc.1 / 0.2.1-rc.1 / rc.2 / rc.3 / rc.5 also pass)
Original project and author: independently maintained from dsh-purge by 小杨 / YuJunZhiXue. The original repository is available again. Original attribution, copyright and the MIT license are retained; this community distribution is not an official upstream release.
Companion plugin · DSH-Spicy
Create NSFW portraits and illustrations of fictional adults with Qwen Image 2.1. Use a portrait as a MiniMax H3 reference for a shot with sound, or have your agent storyboard, review and edit a multi-shot film on your own hardware. Open the DSH-Spicy GitHub repository.
What it is
dsh-purge Community runs entirely on your own machine and gathers the parts of daily use that cost the most attention:
- See the state — whether the install, patches and prompt injection are actually ready;
- Fewer round trips — repeated confirmations and interruptions collapse into one setting;
- Always reversible — apply, roll back and toggles are recorded, snapshotted first;
- Easy to experiment — prompts, rules and presets in one place, all undoable.
The goal is simple: let the assistant support your learning and hands-on experiments coherently, instead of stopping to ask before every step.
People usually call this a 破甲 ("armor-breaking") or unrestrained-mode plugin: it lowers interaction friction so the agent can keep working. It does not change the model itself, and it does not change what you are trying to do.
Principles
| Principle | Meaning |
|---|---|
| Local first | Everything runs locally; no cloud account changes, no uploads of prompts or config |
| Observable | Every action reports status and evidence, never "it should be applied" |
| Reversible | Snapshots with manifests before apply, install and rollback |
| Never decides for you | It only removes friction; you choose what to change and enable |
Scope
Local learning, personal projects, automation experiments and maintenance work. Use it on machines you own or are authorized to work on; get permission before touching anyone else's systems.
Install
Ask your agent by copying this request:
Install the latest stable release of https://github.com/kingcharleslzy-ai/dsh-purge into the DSH instance I use. Read the installation section in AGENTS.md first. If an older Purge is installed, migrate it in place and keep my settings. Report the installed version and profile. Leave the restart to me.
Install by hand in DSH Desktop
- Open Plugins → Discover → Add index source. If Discover is missing, enable Custom plugin market under Plugins → Experimental plugins → More.
- Paste
https://kingcharleslzy-ai.github.io/dsh-purge/index.json, save, and select dsh-purge Community. - Verify the repository is
kingcharleslzy-ai/dsh-purge, click Install, then check the version in the installed plugins list.
Catalog maintainers can synchronize versioned install targets from the community index. Match the package name and repository, and keep the version and commit from the same entry.
Leave the npm registry at its working value. If pnpm requests github.com/…/yaml and gets a 404, open Add plugin, paste the versioned TGZ link from the latest stable release into the package field, select the official npm registry (or your working private registry), and retry.
- Existing legacy Purge or standalone panel installations: use the community installer below for an in-place migration that preserves settings.
- CLI/Web users who already have
dshon PATH and use thewebprofile can use the official command below. Desktop users should not download another npx host to install into their existing desktop profile.
dsh plugin --profile web add "https://github.com/kingcharleslzy-ai/dsh-purge/releases/download/v1.7.26/dsh-purge-community-1.7.26.tgz"
Use the actual instance's profile and DSH_HOME. This project distributes via GitHub; do not substitute bare npm package names. The official command does not run our extra Release SHA256 check, migration snapshot or rollback wrapper.
Copyable macOS, Windows and Linux installer commands start with downloading the script; no source checkout is assumed. macOS defaults to /Applications/DeepSeek Harness.app; Windows requires a uniquely identified exe (otherwise pass -DshExe). Open DSH once first to initialize its profile. Paths, custom home/profile and recovery commands are explained in the installation guide.
Dry-run verifies prerequisites, download and SHA256, not dependency installation or application startup. Scripts/bootstrap come from this repository's master branch; the archive checksum is not an independent signature for those scripts. A real installation snapshots and invokes the selected official CLI. For unpacked desktops it may repair app/runtime; on read-only Linux hosts it may prepare a user-owned host copy and switch a user launcher after success. It never applies host patches or restarts DSH automatically, and does not change the proxy or global npm registry.
Record the exit code, installed version and backup ID. The running app can keep the old version until the user manually reopens it. purge-community is a profile-local command, not necessarily on global PATH; see CLI recovery. Official references: bundle installation and plugin markets.
Panel
A full page in the left sidebar: one line of state at the top, "Apply" as the primary action, everything else collapsed, help behind ?. The maintenance page shows recent actions, backup usage and update preferences. Unused entries can be hidden for display only.
Commands
selfcheck, status, host-status, diagnose, reanchor, probe, audit, boost, preset, retry, usage / prune, backup / rollback. See purge-community --help.
Updates
On the development branch, the Purge composer undo button, setting, and slash command are retired. Legacy HTTP calls, draft restoration and existing conversation history remain supported. Use the undo entry supplied by your host or a separate plugin when available.
1.7.26 stops treating reasoning-only responses as completed turns, and fixes NEXT exclusions, mobile notices and legacy permission migration boundaries. See the release notes.
Two separate preferences (check / install), default check-only every six hours. Installing never restarts the app — you decide when to reopen it.
Compatibility
On DSH 0.2.2-rc.2 the 86 patches apply as 74 applied / 0 drift and selfcheck is ok on macOS; bypass gates and the minified rewind anchors were verified there. Windows coverage for this host build is limited to preset cards and startup diagnostics.
Plugin dsh-purge-community 1.7.26 · verified on DSH Desktop 0.2.2-rc.3 / 0.2.2-rc.2 / 0.2.2-rc.1 / 0.2.1-rc.1 / rc.2 / rc.3 / rc.5 · Node ≥ 18.
Troubleshooting
purge-community selfcheck --json
purge-community diagnose
purge-community audit --limit 20
New releases use patch numbers 0–99 without leading zeros. Existing releases keep their original numbers. See the release numbering policy.
If the panel does not open, confirm both sides run the same version, then follow MAINTENANCE.md; do not overwrite Resources/app directly.
Development
npm test, npm run check:docs, npm run check:client, npm run test:electron, npm run smoke.
Agent-facing instructions live in AGENTS.md; when the two disagree, AGENTS.md wins.
Keywords: 破甲 · unrestricted mode · prompt injection · jailbreak · DSH plugin · status self-check · backup and rollback
1.6.39
Fixes opaque standalone installer download failures with stage-specific diagnostics, bounded retries and system curl fallback. Official HTTPS source, certificate and SHA256 verification remain mandatory. Failed downloads do not modify the existing installation. No proxy changes or automatic restart. See release notes and maintenance details.
Contributors
Thank you to the original author, code contributors, and everyone who provided reproductions, analysis, and verification. Each avatar links to a GitHub profile. See contribution records for individual credit and NOTICE.md for third-party attribution.
The list combines GitHub commit authors with curated acknowledgements, refreshes daily, and retains historical contributors. Order is not a ranking; reporting an issue does not imply authorship of code.
Download troubleshooting (#52)
The standalone installer now reports the failing stage, official host, transport, attempt and error code. Transient failures get one fetch retry followed by system curl, with bounded time and attempts. Both paths retain HTTPS source, TLS, size and SHA256 checks. Re-download the installer and run dry-run first; share only redacted diagnostic lines if it still fails. No proxy configuration or automatic restart is performed. See maintenance details.
Per-preset prompt exclusions (1.6.40)
Merge excludePresets: [roleplay, minimal] into the existing dsh-purge entry's config in the current profile. The default [] preserves existing behavior. Match effective preset IDs exactly, ignoring case and surrounding whitespace. All prompt sections, assembly rewrites and the host fallback use the same per-session decision; subagents use their own effective preset. Configured exclusions with an unknown context suppress injection rather than leaking it. Commands, UI and tools remain registered.
This does not revert global host patches, deployment configuration or past chat messages. Installation does not apply patches or restart DSH; old host fallback calls need a user-scheduled apply and manual restart to pass session context. See configuration, migration and test boundaries.
Explore related projects
Loading…