Usage & CLI
Drive DSH Purge from the terminal or from chat. Everything is reversible and scoped to your local Harness.
Command-line
dsh-purge --status dsh-purge --apply dsh-purge --revert dsh-purge --uninstall dsh-purge --edit
Chat commands
/purge status | apply | revert | uninstall | edit | help /rules list | use <id> | create <id> | delete <id> | reset | help /skills list | import <zip-or-folder> | create <id> [desc] | delete <id> | help /rewind
Tool-style calls purge_status, purge_apply and purge_revert are also available.
| Command | What it does |
|---|---|
/purge status | Print DSH_HOME and the patch list. |
/purge apply | Back up, replace matched files, override the shim, inject the prompt; restart once. |
/purge revert | Copy backups back and delete them; keep prompt-inject.md. |
/rules use <id> | Activate a rule set, writing prompt-inject.md. |
/skills import | Import a zip or folder into $DSH_HOME/skills/<id>/SKILL.md. |
/rewind | Fork the session at the current turn, archiving the old line. |
Rewind & undo
The composer's Undo once and Undo last round follow official DSH session.fork({ atSeq }): the withdrawn turn is cut off, a new session keeps the earlier context, the old session is archived, and the line returns to the input so send again re-injects. /rewind does the same.
Response-speed tuning
DSH runs Bash calls one at a time. Patch #21 restores the official 60-second foreground wait default so one slow command cannot hold up later calls. For a shorter wait in dsh web on macOS/Linux, add to $DSH_HOME/profiles/web/cordis.patch.yml:
- id: bash-sandbox config: timeoutMs: 10000
A per-call timeoutMs overrides the default; run_in_background: true returns a job id immediately. For routine tasks you can opt into Low reasoning for new sessions:
- id: agent-default-model config: provider: deepseek-official model: deepseek-flash reasoningEffort: low
Restart dsh web to load the profile. Defaults apply to newly created sessions; keep High when the task needs deeper reasoning.
Local checks
Validate the plugin's modules before Apply:
node --check lib/index.js node --check lib/core.js node --check lib/web.js node --check client.js
Run DSH Purge on your own Harness
Install into your local DeepSeek Harness, Apply on the Clean page, and start measuring the host layer separately from the model.