flow2dream/dsh-msg-rewind ↗★ 1
@flow2dream/dsh-msg-rewind
Conversation rewind commands for DeepSeek Harness web: /undo rolls the chat back one turn, /rewind <seq> cuts the conversation back to a chosen message (both the model context and the transcript, durably persisted). Host half truncates the live session log and rewrites the JSONL artifact; browser half resyncs the conversation window on a host-pushed session/rewind event.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flow2dream/dsh-msg-rewind说明文档
阅读完整 README ↗Usage
In any conversation:
- Type
/undo— the chat rolls back one turn. - Type
/rewind— a dialog opens with every user message; the most recent one is preselected. Arrow keys navigate, Enter rewinds. - Hover a user message bubble — a small undo icon appears next to the copy button; click it to rewind to that message.
The rewind target is the real user message (system injections such as runtime-context and skill-catalog snapshots are never treated as user turns).
使用方法
在任意对话中:
- 输入
/undo— 对话回退一轮。 - 输入
/rewind— 弹出对话框,列出所有用户消息,默认选中最近一条;方向键导航,回车回退。 - 悬浮用户消息气泡 — 复制按钮旁会出现一个小撤销图标;点击即可回退到该条消息。
回退目标始终是真实用户消息(系统注入内容,如运行时上下文、技能目录快照,绝不会被当作用户轮次)。