zoyluoblue/deepseek-harness-rewind

zoyluoblue★ 0TypeScript最后同步: 2026-08-19

在 GitHub 打开

dsh plugin: snapshot your workspace every turn and restore the files to any earlier point. A rewind/undo for DeepSeek Harness coding sessions — your own git repo is never touched.

README 摘要

@zoytown/dsh-rewind English 中文 Put the files back. A DeepSeek Harness plugin that saves your workspace at the end of every turn, so when the agent takes a wrong turn you can restore the files to any earlier point — from the Settings page or with /rewind . Your own git repository is never touched. Directories that are not git repositories work too. Why The agent has been editing for six turns. Turn 3 was right; turns 4 through 6 made it worse. You want turn 3 back. git cannot help: you have not committed since turn 1, and the agent's intermediate states were never commits in the first place. git checkout . throws away everything, including the parts that were good. The harness does not save workspace files anywhere — its built-in checkpointing ( dsh-session-checkpoint-policy ) governs when the session log becomes durable and has nothing to do with your files. This plugin fills that gap. What it does - Saves every turn. When a turn ends, the workspace is committed into a shadow repository of the plugin's own. Turns that changed nothing cost one tree comparison and produce no entry. - Restores any turn. Files edited since then are reverted, files created since then are deleted — the w…

在 GitHub 查看完整 README →
Agent/智能体ai-agentcheckpointcordisdeepseekdeepseek-harnessdshdsh-plugingit

分类