PerryLink/dsh-checkpoint-rewind
Claude Code /rewind for DeepSeek Harness — git-first workspace snapshots before every mutation, turn-boundary
dsh-checkpoint-rewind is the Claude Code Checkpoints equivalent for DeepSeek Harness: it creates unified three-state snapshots covering session content, active workspace state, and DSH configuration, with one-shot rollback to any prior checkpoint. Built as a capability-seam plugin: it captures a checkpoint before every mutation and lets you restore any of the three states with one approved command — no manual backup scripts, no digging through git history. Use it before running a risky command sequence, before a large code refactor, or any time you want a 'save point' you can return to instantly. Features: capture on demand or automatically before configured triggers; named checkpoints with descriptions; list all checkpoints with timestamps and sizes; one-command rollback (requires approval) that restores session + workspace + config atomically; diff view showing what changed between checkpoints. Uses the official dsh-storage capability seam for durable storage (requires the storage stack: dsh-storage + dsh-storage-json + dsh-storage-domain); the plugin mounts without it and each command explains what to configure.
Install
dsh plugin --profile web add dsh-checkpoint-rewindnpm package dsh-checkpoint-rewind 0.5.5 (registry-verified 2026-08-23). Install from npm: dsh plugin --profile web add dsh-checkpoint-rewind. Install from GitHub main (latest): dsh plugin --profile web add 'github:PerryLink/dsh-checkpoint-rewind#main' — pure ESM, no prepare or allowBuilds step needed. Tarball: npm pack in the repo, then dsh plugin --profile web add ./dsh-checkpoint-rewind-<version>.tgz. Optional storage stack for full checkpoint functionality: @deepseek-ai/dsh-storage + @deepseek-ai/dsh-storage-json (config root) + @deepseek-ai/dsh-storage-domain (config backend: json) — install separately and configure via DSH settings. The plugin still mounts without the storage stack and every command explains the fix if storage is missing. Uninstall: dsh plugin --profile web remove dsh-checkpoint-rewind — snapshot files stay until manually deleted.
Compatibility
DeepSeek Harness web profile. Three-state checkpoint: session content + active workspace state + DSH configuration snapshot. One-shot rollback to any prior checkpoint. The Claude Code Checkpoints equivalent, built as a capability-seam plugin: capture before every mutation, restore any of the three states with one approved command. Requires optional dsh-storage stack for durable checkpoint storage; without it the plugin still mounts and explains what to configure. Pure ESM, no build step at install time.
Details
- Repo: PerryLink/dsh-checkpoint-rewind
- Category: Coding & Development
- Stars: 9
- Version: npm package dsh-checkpoint-rewind 0.5.5 (registry-verified 2026-08-23)
- Last push: 2026-09-21
- First seen: 2026-08-13
Recent updates
The current English README (README.md, primary English) documents: three-state snapshot (session + workspace + config), one-shot rollback with approval, capability-seam architecture, optional dsh-storage stack requirements, three install channels (npm / GitHub#main / tarball), uninstall behavior (snapshot files kept), Gitee mirror.
FAQ
- Does it require the dsh-storage stack to work?
- The plugin mounts without the storage stack, but checkpoints are stored in-memory only and lost on restart. For durable checkpoints install the storage stack: @deepseek-ai/dsh-storage + @deepseek-ai/dsh-storage-json + @deepseek-ai/dsh-storage-domain. Each command explains exactly what to configure if storage is missing.
- Does rollback require approval?
- Yes — rollback is an approved command. DSH's approval mechanism is invoked before any state is restored, giving you a chance to review what will change before it happens.
- Is this similar to Claude Code Checkpoints?
- Yes — it is explicitly described as the Claude Code Checkpoints equivalent for DSH. It captures session + workspace + config state before every mutation and allows one-shot rollback, just like Claude Code's checkpoint system.
Alternatives
lire1131/dsh-undo-savepoint · humblebanana/dsh-record-replay · omdsh-dev/dsh-security-audit