deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
Conversation rewind commands for DeepSeek Harness web.
/undo — roll the chat back one full turn (drop the last real user message and everything after it)/rewind — pick a past user message from a dialog and cut the conversation back to itBoth the model context and the visible transcript are truncated, and the durable JSONL artifact is rewritten so the cut survives a restart.




Real screenshots from dsh web.
| Capability | Detail |
|---|---|
/undo |
Reverts the previous turn: deletes the last real user message and all events after it |
/rewind (bare) |
Opens a dialog listing every user message (chronological, most recent preselected); pick one to rewind there |
/rewind <seq> |
Directly rewinds to the given message seq |
| Visual rewind | Hover any user bubble → click the undo icon (shown with time + copy) to rewind to that message |
| Durable | Rewrites the session's JSONL+zstd artifact; the cut survives a restart |
| Clean UI | No "command completed" noise cards after a rewind |
^22.19.0 || >=24.0.0dsh plugin --profile web add @flow2dream/dsh-msg-rewind@0.1.2
Then restart the web profile:
dsh web
dsh plugin --profile web add dsh-msg-rewind@github:flow2dream/dsh-msg-rewind
Then restart the web profile:
dsh web
Add the dependency and bundle to your web profile:
// ~/.dsh/profiles/web/package.json
{
"dependencies": {
"@flow2dream/dsh-msg-rewind": "0.1.2"
},
"dsh": {
"profile": {
"bundles": ["@flow2dream/dsh-msg-rewind"]
}
}
}
Then install and restart the web profile:
cd ~/.dsh/profiles/web
pnpm install
dsh web
In any conversation:
/undo — the chat rolls back one turn./rewind — a dialog opens with every user message; the most recent one is preselected. Arrow keys navigate, Enter rewinds.The rewind target is the real user message (system injections such as runtime-context and skill-catalog snapshots are never treated as user turns).
lib/index.js) registers the /undo and /rewind commands. A rewind drains the persistence coordinator, splices the live session log, resets every derived cache, rewrites the JSONL artifact, resets the agent's request-header anchor, and broadcasts session/rewind.lib/client.js) listens for session/rewind, resyncs the target session's window from the host, and injects the hover undo button into user bubbles.session/rewind event is allowlisted in dsh-api-remotes's forwarded events.# from your web profile
npm install /path/to/dsh-msg-rewind
Source lives in lib/:
lib/index.js — host half (commands + truncation)lib/client.js — browser half (resync + visual rewind)MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。