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.

包名
dsh-rewind-branch
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shutongcao1-design/dsh-rewind-branch

Usage

  1. Let an agent turn finish — the session must be idle.
  2. Under that turn's reply, click Rewind to before this prompt.
  3. Review the plan: files to restore, files to delete, conflicts, warnings.
  4. 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.