DfsyJian/dsh-snapshot
DeepSeek Harness plugin: automatic file snapshots with a sidebar timeline and settings card
dsh-snapshot adds automatic snapshots and one-click rollback to DSH Web (modeled after Trae's checkpoint capability): before every write/edit it saves the target file contents, and before a shell deletion (Remove-Item, rm) it saves the doomed file's contents, appending records to the session's snapshots.jsonl. All snapshots triggered by one user message fold into a single group — the sidebar 'Snapshots' timeline shows one row per message (with per-kind summaries like Create ×2 · Modify ×1), clicking a row rolls back the whole message's changes (recording current state first so you can roll back again), and /rollback opens a searchable selection panel. A settings card and 'Check for updates' entry ship in the panel.
Install
dsh plugin --profile web add dsh-snapshotnpm dsh-snapshot 0.2.9 verified 2026-09-01 (README EN edition; repo DfsyJian/dsh-snapshot). Install into a profile with dsh plugin --profile web add dsh-snapshot (or npx @deepseek-ai/dsh plugin --profile web add dsh-snapshot if the dsh CLI is not installed); a global pnpm is required. Restart dsh web after install.
Compatibility
DSH web profile; global pnpm required; npm 0.2.9.
Details
- Repo: DfsyJian/dsh-snapshot
- Category: Web UI Enhancements
- Stars: 3
- Version: npm dsh-snapshot 0.2.9
- Last push: 2026-08-15
- First seen: 2026-08-14
Recent updates
Auto-snapshot before write/edit/delete; /rollback picker; sidebar snapshot timeline; per-message grouped rollback; settings card.
FAQ
- When are snapshots taken?
- Before every write/edit the target file is saved, and before a shell deletion (Remove-Item, rm) the doomed file's contents are saved.
- How do I roll back?
- Type /rollback in the composer for a searchable picker, or click a row in the sidebar Snapshot timeline to roll back that message's changes.
- Can I undo a rollback?
- Yes — the current state is recorded first, so rolling back again is always possible; collapseOnRollback folds away later changes by default.
Alternatives
23swccp/dsh-undo · LingLambda/dsh-undo · Jesse-njx/dsh-skillport