dsh-undo-plugin: Undo & Crash Rescue Plugin for DeepSeek Harness

lire1131/dsh-undo-plugin

Development & OperationsVerified
Listed on 2026-08-16
Page last updated 2026-10-04

DSH plugin crash-rescue system: one-click rollback for config & plugin code, secret-safe snapshots, one-click SAFE MODE, plus offline CLI/GUI when DSH won't boot.

dsh-undo-plugin is an undo and crash rescue system built specifically for DeepSeek Harness. It automatically snapshots configuration, plugin code, and message-level file changes, supporting one-click undo, restore, or rollback to any version, and even when DSH fails to boot, you can use the out-of-band WebUI, GUI, or CLI for rescue. Core capabilities include secret redaction, one-click safe mode, crash attribution, and session file scan repair, covering Windows, macOS, and Linux. With it, small changes no longer cause big disasters.

How to Install

install
npmdsh plugin --profile web add dsh-undo-savepoint
Category
Development & Operations
Platform
DSH Plugin
Author
lire1131
Distribution
Plugin

dsh-undo-plugin Key Features

One-click rollback for config & plugin codeMessage-level undo & conversation recallSecret redaction & local vaultOne-click SAFE MODE & crash attributionOffline CLI/GUI rescue
Listed on dsh-plugin.org

dsh-undo-plugin Repo Summary

What Does It Do?

dsh-undo-savepoint is a DSH plugin for DeepSeek Harness that provides undo/rollback for configuration, plugin code, and message-level file changes. It solves the problem of DSH crashes or small changes causing big disasters, and even when DSH fails to boot, you can use the out-of-band WebUI, GUI, or CLI for rescue. Core capabilities include snapshot timeline, secret redaction, one-click safe mode, crash attribution, and session file scan repair, covering Windows, macOS, and Linux.

Core Features

  • One-click rollback for config and plugin code: snapshots cover config and user plugin code trees, supporting undo/redo/rollback to any version via WebUI, chat, or CLI.
  • Message-level undo: records workspace file changes per AI message or 60-second batch, allowing one-command rollback of what that message changed, without depending on git or touching session storage.
  • Secret redaction and local vault: .env and credentials are automatically redacted in snapshots, exported ZIPs leak nothing, real values are stored in a local vault for full restoration on the same machine.
  • One-click safe mode: when DSH cannot start at all, disables all user plugins except this one to ensure boot, and automatically backs up config, neutralizing entries that cause launcher hard-check failures.
  • Crash attribution and scan repair: on abnormal exit, shows the last-good snapshot ID with one-click rollback; undo_scan fixes session file layout violations and seq overlaps, offline via dsh-undo.ps1 scan.
  • Snapshot timeline and management: snapshots grouped by date as cards, with file-level diff, notes/tags, scheduled snapshots, orphan blob GC, ZIP export/import (optional AES-256-GCM encryption).

How to Use This Plugin?

After enabling it in DSH, snapshots are saved automatically during normal operations, and you can also save manually. To roll back, type undo or restore -Id <id> in chat, or click the undo/restore buttons in the WebUI panel. If DSH crashes and cannot start, use the desktop 'DSH Undo Manager' to enter safe mode, or run safe-mode -Label on via CLI. For session corruption, run undo_scan quarantine=true or offline dsh-undo.ps1 scan --fix. For cross-machine migration, export a snapshot ZIP, import it on the target machine, and pre-check for missing plugins.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: lire1131/dsh-undo-plugin. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ