dsh-rewind
Run the following command in DeepSeek Harness:
dsh plugin install 2501136589/dsh-rewind
Paste the following prompt into your AI chat to install this plugin:
Install by running dsh plugin install 2501136589/dsh-rewind; the source code is available at https://github.com/2501136589/dsh-rewind
About this plugin
DSH session logs are append-only and cannot be truncated in place, and non-git workspaces lack built-in versioning. Rolling back a bad turn previously meant manually restoring files, recreating a session, and re-typing the original prompt.
dsh-rewind adds a one-click rollback button (or /rewind command) under each user message. On confirmation it restores the workspace from a sha256 content-addressed snapshot (covering adds, deletions, edits, permission changes, text and binary files), then forks a new session via the official DSH API so history naturally ends at the chosen turn and the original input is pre-filled into the new composer. The original session is auto-archived with data preserved on disk; forked sessions support continued rollback through lineage, and cross-session file isolation prevents collateral restores.
Ideal for dsh users iterating on agent conversations in directories without version control (or where git is impractical) who want a one-click undo-and-retry for any given turn.
Use Cases
- Undo a diverging turn by restoring files and forking a new session
- Iterate agent conversations in non-git or version-control-free directories
- Script a dry-run file diff then continue in a forked session from a chosen turn
Best For
- DSH users who frequently re-aim agent conversations
- Developers managing workspace state without git
- Teams needing isolated cross-session rollback without collateral restores
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.