dsh-env-backup
Run the following command in DeepSeek Harness:
dsh plugin install ikanger/dsh-env-backup
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ikanger/dsh-env-backup in your DeepSeek Harness terminal; the source lives at https://github.com/ikanger/dsh-env-backup .
About this plugin
Installing or updating plugins in DeepSeek Harness mutates the web plugin table, and a single bad operation can leave ~/.dsh/profiles/web in an unusable state with no built-in rollback. dsh-env-backup solves exactly that: it snapshots the web directory the moment the plugin table changes, so you always have a working version one step behind.
Triggering covers four paths—boot-time fingerprint comparison, a 60-second periodic check, plugin-graph change event subscriptions, and a manual button on the settings page—so it catches CLI installs, host hot-reloads, and in-process graph rebuilds alike. Backups use a rotating naming scheme (web.latest_bak plus timestamped web.YYYYMMDDHHMM archives) and are pruned automatically based on your retention days and max-backup count; every setting lives under Settings → Environment Backup and persists in ~/.dsh/web-backup.json.
If you install, update, or debug Harness plugins regularly and want a safety net that never interferes with your workflow, this lightweight guard belongs in your stack. It stays out of the way, quietly watches your web directory, and when things go sideways, restoring is just a copy-and-restart away.
Use Cases
- A plugin install or update corrupts the web config and you need to roll back to the last good snapshot instantly
- You hot-reload or debug plugins often and want to verify the environment has not been silently altered
- A shared dsh host is used by multiple developers and you need auto-rotated backups to survive accidental overwrites
Best For
- Developers and integrators who install, update, or debug Harness plugins frequently
- Ops engineers who need production stability with zero rollback overhead
- Team leads who want an environment safety net without changing any daily workflow
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.