jiangr100/dsh-rewind
jiangr100★ 0JavaScriptLast synced: 2026-08-16
Replica of the Claude Code /rewind skill
README excerpt
dsh-rewind A /rewind plugin for DeepSeek Harness (dsh): rewind a conversation to any earlier message and continue from a clean forked session — all later context is trimmed away, reducing context pollution. The original session is always preserved; nothing is deleted. What it does - /rewind opens a picker window above the composer (type it, or pick the rewind skill from the / menu). - The window opens at the most recent message — scroll up through the conversation, then click a line to rewind to that message. - Each line shows a preview, its position number, and how many later entries a rewind would drop. Messages in the still-open turn are dimmed and not selectable. - Rewinding forks a new session at that message's completed turn and switches to it automatically. The rewound session appears in the sidebar under the original, titled like a fork (e.g. Session (2) ). - Close the window with Esc , ✕ , or by clicking outside. /rewind is ignored — the window is the only usage. - A rewind skill is registered, so the model recognizes rewind requests and points you to /rewind . Requirements - A DeepSeek Harness deployment (web profile layout, $DSH HOME/profiles/ ). - pnpm on PATH (the dsh …
View full README on GitHub →