shutongcao1-design/dsh-rewind-branch ↗★ 2
dsh-rewind-branch
Per-turn fork-and-rewind for DeepSeek Harness: an action under each finished turn restores the files that turn changed through DSH's file tools to their pre-turn state, then opens a new branch session at that message boundary while the original session stays untouched. No git required.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shutongcao1-design/dsh-rewind-branchドキュメント
README 全文を読む ↗Usage
- Let an agent turn finish — the session must be idle.
- Under that turn's reply, click Rewind to before this prompt.
- Review the plan: files to restore, files to delete, conflicts, warnings.
- Click Confirm — the files are restored and a new branch session opens.
Notes:
- The first turn of a session has no earlier checkpoint and cannot be rewound.
- A running turn refuses to rewind (
session-running); wait for it to finish. - Turns that ran before the plugin was installed, or while it was disabled, have no snapshots.