dsh-undo
Undo button and side ruler for DSH conversations: rewind to any earlier prompt and re-edit it via a fork.
AI 분석
核心用于 DSH 对话历史的无损回溯与重新编辑。适合需要频繁调整历史 Prompt 且不希望破坏原有会话记录的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tofe98/dsh-undoUsage
- 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).