Back to directory

dsh-rewind

Curated pickMaintenance: Active

sirilee/dsh-rewind

Claude Code-style in-place /rewind for DSH web profile: cut conversation back to any earlier user message, optional workspace-file restore from disk-persisted before-backups, per-message button + candidate picker UI

View on GitHub
$ dsh plugin --profile web add dsh-rewind-plugin

36

stars

2

forks

TypeScript

Language

MIT

License

2026-08-17

Created

2026-09-03

Last push

MIT-licensed DeepSeek Harness plugin for in-window conversation rewind with optional workspace-file restore — full Claude Code /rewind semantics, append-only logs, and a safety-first backup model.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-03

License

MIT

01What can it help you accomplish?

  • Undo a conversation to any earlier user message inside the same DSH web window — no new session, no context switch

    The targeted message and everything after it (agent replies, tool calls) are withdrawn from both the model context and the rendered chat; the target message text is refilled into the input box for re-send

    DSH web-profile users who want Claude Code-style /rewind without forking a new session

  • Restore workspace files that were changed by the agent alongside the rewind

    A lightweight workspace backup restores edited files (including externally-changed tracked files) from disk-persisted before-backups kept in the plugin's own snapshot directory

    DSH users who want file-level rollback safety as part of the rewind

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness (dsh) with a web profile, since the install command adds the plugin to `--profile web`

Installation steps

  1. 01

    Run `dsh plugin --profile web add dsh-rewind-plugin`

    $ dsh plugin --profile web add dsh-rewind-plugin

  2. 02

    Use `dsh-rewind-plugin` (not `dsh-rewind`) — the npm name `dsh-rewind` belongs to a different author

Verify the integration

Not specified by the author

03DSH integration and capability boundaries

DSH integrationNative runtime

Native dsh plugin installed via `dsh plugin --profile web add dsh-rewind-plugin`; adds a per-message ↶ rewind button, a `/rewind` command and a hotkey for in-window conversation rewind with optional workspace-file restore (full Claude Code /rewind semantics).

  • In-window conversation rewind (↶ button / /rewind / hotkey)

    Any earlier user message in the current DSH web conversationTarget message and all following content withdrawn from model context and rendered chat; target text refilled to the input box

    Agent replies and tool calls after the target are removed from the conversation (append-only logs are never deleted)
  • Workspace file restore

    Files edited by write-type tools (tracked by the plugin)Disk-persisted before-backups restore edited files, including externally-changed tracked files

    Backups written to the plugin's own snapshot directory before edits (write-before-backup, unchanged-files skipped)
  • Rewind mode picker (conversation only / conversation + code)

    A rewind action triggered from the message row, /rewind, or hotkeyMode popover offering 'rewind conversation only' or 'rewind conversation and code' (the latter shows a file-change list before confirm)

  • Security-first append-only model

    Rewind and restore operationsConversation logs are never deleted (append-only); restore uses only the plugin's own backups

    Never deletes or mutates session logs; backups isolated in a dedicated snapshot directory

04Who is it for? When not to use it?

Good for

  • DSH web-profile users who want Claude Code-style /rewind without forking a new session
  • DSH users who want file-level rollback safety as part of the rewind

Not for

  • On npm the name `dsh-rewind` belongs to a different author; install the plugin with `dsh-rewind-plugin` or you will get the wrong package.

05Compatibility, maintenance and safety notes

  • On npm the name `dsh-rewind` belongs to a different author; install the plugin with `dsh-rewind-plugin` or you will get the wrong package.
  • The plugin only restores from its own disk-persisted before-backups and never deletes or rewrites session logs; rewind removes agent replies/tool calls from the conversation but the append-only log is preserved.
2026-08-172026-09-03v0.7.5

MIT · actively maintained (latest release v0.7.5, 2026-09-03)

06Frequently asked questions

How do I install dsh-rewind?

Run `dsh plugin --profile web add dsh-rewind-plugin`. Note that the npm name `dsh-rewind` belongs to a different author, so use `dsh-rewind-plugin`.

What does /rewind do?

It rewinds the conversation to any earlier user message in the same window — the target message and everything after it (agent replies, tool calls) are withdrawn from both the model context and the rendered chat, without forking a new session. The target message text is refilled into the input box so you can edit and re-send.

Does it restore changed files?

Yes. A lightweight workspace backup tracks files edited by write-type tools and can restore them — including externally-changed tracked files — from disk-persisted before-backups kept in the plugin's own snapshot directory.

Is my conversation history deleted?

No. The plugin is append-only: it never deletes or mutates session logs, and restore uses only its own backups.

08Data and sources

  • Author-claimedgithub.coma2b3c2428dd3…

    DeepSeek Harness 插件:**一键就地回退对话到任意更早的用户消息**——同窗口内完成,不新建分支、不换窗口,可一并还原工作区文件(完整 Claude Code `/rewind` 语义)。

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-03. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.