AI Agent Hub
Back to plugins
🖥️

dsh-tui-checkpoints

Client Updated 2026.08.17

Run the following command in DeepSeek Harness:

dsh plugin install FUSU123fusu/dsh-tui-checkpoints

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install FUSU123fusu/dsh-tui-checkpoints in the DeepSeek Harness terminal to install this plugin (source: https://github.com/FUSU123fusu/dsh-tui-checkpoints).

About this plugin

When coding in dsh-TUI, double-Esc rewinds the conversation, but the file changes you made in the working tree stay exactly where they landed. dsh-tui-checkpoints fills in that missing half: it aligns file-level rollback with conversation-level rewind, giving you a true whole-turn undo.

The mechanism is straightforward. At every turn boundary, both turn/start and turn/end, the entire working tree is snapshotted into a dedicated shadow git repo under ~/.dsh/checkpoints. The .git directory of the project itself is never touched, and the plugin works even in non-git workspaces. Type /checkpoints to browse per-turn snapshots; the selected row shows a live diffstat against the current working tree. Double-r restores the file state, and the restore is safety-committed to a branch first, so the restore itself is also rewindable. Snapshots run in the background without blocking the conversation, and unchanged trees reuse HEAD to avoid stacking empty commits.

It is built for developers who iterate rapidly in dsh-TUI and often want to step back to the previous files state. The two-step design is intentional: restore files first, then double-Esc to rewind the conversation to the same turn so both sides line up. The plugin is currently a spike and is planned to ship as a core PR into rewind once it stabilizes.

Use Cases

  • Quickly restoring file state to a previous turn during rapid iteration
  • Needing file-level undo in a non-git workspace
  • Conversation has been rewound but file changes still need to be rolled back

Best For

  • Daily dsh-TUI users
  • Developers who iterate fast and roll back often
  • Users managing non-git workspaces inside dsh-TUI