DeepSeek Harness plugin

dsh-rewind-ljhdot

Claude Code-style /rewind for DSH, with git-aware restore and vault recovery.

Jump to install

Source facts

Repository
LJH-dot/dsh-rewind
Latest update
Aug 16, 2026
Category
Memory
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/LJH-dot/dsh-rewind
Plugin: dsh-rewind-ljhdot
Author: LJH-dot

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-rewind

Claude Code-style /rewind for DSH Web, with git-aware file restore and vault recovery.

Install

dsh plugin --profile web add dsh-rewind --registry https://registry.npmjs.org/

Restart DSH Web afterwards.

Commands

/rewind

  • Bare /rewind + Enter opens a popup listing the latest user messages; pick one to rewind.
  • /rewind <n> rewinds directly. 1 is the latest user message.
  • Rewind means: restore to before that user message was sent. The selected message is removed from the conversation and its original text is put back into the composer.

Scopes:

CommandConversationFiles
/rewind <n>revertedreverted
/rewind <n> --conversationreverteduntouched
/rewind <n> --codeuntouchedreverted

/unrewind

Pure bare command (no arguments). It undoes the latest /rewind and hard-overwrites the conversation from that rewind's vault backup. The recovery anchor is displayed as the original user prompt, not as a special marker.

File restore

  • A git snapshot (HEAD + uncommitted changes via git stash create) is taken before every real user message.
  • /rewind restores files to that snapshot with git reset --hard + git stash apply.
  • If a workspace is not a git repository (or has no commits yet), the plugin automatically runs:

``bash git init git add -A git -c user.name=dsh-rewind -c user.email=dsh-rewind@local commit --allow-empty -m "dsh-rewind baseline" ``

before taking the first snapshot. Existing git repositories are never touched.

Limitations

  • Snapshots are keyed by user message, not by individual tool call.
  • The whole repository working tree is restored, including changes made outside DSH tools.
  • The snapshot does not include untracked files; newly created untracked files may remain after a rewind.
  • The workspace must be a git repository with at least one commit for file restore to work. The automatic baseline setup covers this for normal workspaces.

Model context

Rewind/unrewind cutover nodes are empty-content assistant/message replacement events. DSH's deriveEventMessage skips empty assistant messages, so no /rewind, /unrewind, vault-path, or marker text ever enters the model context.

Development

cd <plugin-source-dir>
dsh plugin --profile web remove dsh-rewind
dsh plugin --profile web add file:<plugin-source-dir>

License

MIT