dsh-undo
Undo button and side ruler for DSH conversations: rewind to any earlier prompt and re-edit it via a fork.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tofe98/dsh-undo说明文档
阅读完整 README ↗Usage
- Send a couple of prompts in a session.
- Hover ↶ in the session header → pick an earlier prompt → a forked child session opens, rewound to just before that prompt, composer prefilled with the prompt text.
- Edit and resend, or right-click a ruler tick → Undo (after confirmation) for the same flow from the side ruler.
Notes:
- The original session is left untouched — undo is a fork (the paper's withdrawal semantics: recovery without destroying the log).
- The child conversation is rebuilt through DSH's projection machinery (the harness's cached-context path).
- Undoing restores the conversation state, but external side effects of the undone turns (file edits, web calls) are not reverted — they are emissions outside the system boundary (§6.1 of the paper).