wang-xudong/dsh-plugin-undo

wang-xudong★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

DSH 会话撤回插件:在当前会话内原地撤销最后 n 轮对话,不 fork、不新建会话 | Undo the last n turns in-place in the current DSH session

README 摘要

dsh-plugin-undo Conversation undo for DeepSeek Harness: undo the last n turns within the current session — no new session, no project file changes. Why this plugin Most conversation-rewind plugins use sessions.fork to copy a history prefix into a new session (the original session is kept or archived). This plugin undoes in place on the current session's surface, so: - No fork, no new session — the session id stays the same - No duplicate “original + new” sessions in the sidebar - You keep chatting in the same session, and the model context is exactly the retained history Features - /undo or /undo 1 — undo the last completed turn - /undo 3 — undo the last 3 completed turns - /undo all — undo every turn currently visible to the model After undo: - The model-visible history is replaced by the retained turns; undone turns leave the model context - The raw session log stays append-only and is never rewritten - The Web UI collapses the undone turns into a compact header - The current session continues; no fork, no new session Effect Undone turns collapse in the chat view as: Click the header to expand or collapse that turn in place. The /undo command card itself is hidden; the folded hea…

在 GitHub 查看完整 README →
工具/开发conversation-undocordis-plugindeepseek-harnessdshdsh-pluginpluginundoweb

分类