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.

AI 分析

核心用于 DSH 对话历史的无损回溯与重新编辑。适合需要频繁调整历史 Prompt 且不希望破坏原有会话记录的用户。

パッケージ
dsh-undo
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/24

インストール

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

ドキュメント

README 全文を読む ↗

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).