DSH Rewind & Redo — by FileSnap:对话和文件一起回退,选错了还能撤销 #6031
S2thend
started this conversation in
Show Your Plugins!
Replies: 2 comments 1 reply
dsh-rewind-zh-walkthrough-1080p-upload.mp4 |
1 reply
English walkthrough |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
agent 跑了三轮,第 2 轮是对的,第 3 轮把文件改坏了。你想回到第 2 轮——对话和磁盘一起回去。
DSH Rewind & Redo — by FileSnap(安装包名
dsh-filesnap)做的就是这件事:/rewind <turn>:文件回到那一轮之前,对话在那里 fork,原对话原样保留、标题带↩/redo:在 fork 里反转这次回退,回到原对话/rewind status:这个工作区哪些文件没有被保护、为什么原对话保留下来,但两个会话共用一个工作区目录;这不是两份独立文件副本。快照引擎是 FileSnap,捕获与覆盖边界见教程。
$ dsh plugin --profile web add dsh-filesnap0.2.2 起自带
dsh.bundle,装完就挂载,不用手改cordis.patch.yml。两个已知限制,先说清楚:
Session.append给非 surface 事件打ignorable——这个我们希望上游能补一个append选项,读取端已经认这个字段。pnpm dsh启动时会出现同样的拒绝,因为 tsx 把 harness 解析到src/、插件解析到lib/,两份dsh-session实例。用构建版 CLI(node apps/cli/lib/bin.js web)或 npm 装的 dsh 就好。教程:https://extracurricular.ai/zh/blog/dsh-rewind-restore-files/
仓库:https://github.com/extracurricular-ai/dsh-filesnap · 欢迎 issue 和 PR,中文英文都行。
English
DSH Rewind & Redo — by FileSnap: rewind conversations and files, then undo the rewind with /redo
DSH Rewind & Redo — by FileSnap (
dsh-filesnap) is a DeepSeek Harness rewind plugin. Restore a conversation and its tracked files together; keep the original conversation and use/redoto reverse the rewind./rewind <turn>: files go back to before that turn; the conversation forks there; the original stays, marked↩/redo: reverses the rewind from inside the fork/rewind status: which files here are not protected, and whyThe original conversation is retained, but both conversations share one workspace directory. They are not independent file copies. FileSnap provides the snapshot engine; the tutorial explains its coverage boundaries.
$ dsh plugin --profile web add dsh-filesnapKnown limits: uninstalling leaves sessions it captured unopenable until reinstall (data intact) — the harness has no event-type registration for out-of-repo plugins and
appendcannot setignorable, which we hope lands upstream; and a source launch (pnpm dsh) hits the same refusal because tsx resolves the harness tosrc/while the plugin resolves tolib/— use the built CLI or an npm dsh.Tutorial: https://extracurricular.ai/en/blog/dsh-rewind-restore-files/
https://github.com/extracurricular-ai/dsh-filesnap — issues and PRs welcome.
All reactions