Agent & Workflowdsh-plugin
Stars
30
Forks
4
Open issues
5
Last push
Oct 24, 2026
Latest release
v0.6.33
24h Growth
+0
7d Growth
+0
Installation
dsh plugin --profile <name> add dsh-checkpoint-rewindOverview
A DeepSeek Harness plugin for checkpoints and rewind. It captures workspace, session, and config snapshots before mutations and restores them with /rewind commands, using git-first snapshots and fork-based session rollback.
- Captures three-state checkpoints covering workspace state, session event cursor, and plugin config, tagged by trigger source.
- Creates checkpoints before mutating tools, on an automatic interval, manually via /checkpoint, and as a guard before rewind.
- Uses git stash create and commit-tree to make unreferenced snapshot objects without changing worktree, index, or history.
- Falls back to an incremental copy provider with hardlink reuse for non-git directories and unborn-HEAD repos.
- Restores workspace, session, config, or all states with /rewind; preview, diff, and clear commands are included.
- Session rollback replays events to the checkpoint boundary through SessionStore.fork into a new child session.
- Supports selective file restore via --files with approval gating; unknown paths fail closed.
- Adds a Plugins → Checkpoints Settings page timeline with pairwise line-level diffs.