tofe98/dsh-undo1

dsh-undo

Undo button and side ruler for DSH conversations: rewind to any earlier prompt and re-edit it via a fork.

包名
dsh-undo
版本
0.1.0
许可证
MIT
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tofe98/dsh-undo

Usage

  1. Send a couple of prompts in a session.
  2. 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.
  3. Edit and resend, or right-click a ruler tickUndo (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).