DSH Marketplace

dsh-turn-rewind

Anionex/dsh-turn-rewind

Rewind conversation and workspace state, powered by a persistent Change Ledger.

773JavaScriptBSD-3-ClauseSource

Install

Add dsh-turn-rewind to DeepSeek Harness

via npm

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

via GitHub · npm package

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

What happened when we ran it

Installed cleanly when we ran it

Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run yesterday.

Due diligence

Before you install dsh-turn-rewind

  • Source of record: Anionex/dsh-turn-rewind — present in the community registry that DSH's own plugin market installs from.
  • Licensed under BSD-3-Clause.
  • A listing here is not a security review. Plugins run with your agent's permissions.

The AI take

What it is — dsh-turn-rewind adds a rewind icon after each user message in DeepSeek Harness, supporting project file recovery via the Change Ledger with optional restart from the restored request.

Who it is for — When using DeepSeek Harness with the Agent service in a web profile for iterative project development, this plugin captures checkpoints to support message-anchored recovery. If the profile does not provide the DSH Agent service, the plugin is not needed, as checkpoints are not captured there.

Watch out — Sandbox testing passed. The plugin was installed in a fresh profile and registered by Harness. No obvious issues were found.

The verdict — I would install it in workflows requiring message-based file recovery, because the Change Ledger maintains durable restore points with human approval before any change.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

What dsh-turn-rewind does

Layered file states pass through checkpoints into a verified restored workspace, with a rescue copy branching aside.

dsh-turn-rewind is a DeepSeek Harness plugin that restores project files to the state before a selected user message and can restart the conversation from that point. It adds a Rewind action to direct user messages in the Web profile. Before the Agent processes the opening message, it uses the first agent/pre-step waterfall hook to capture a hidden checkpoint. For later messages, the same-origin /turn-rewind endpoint resolves the selected user/message sequence, reads the saved workspace state, and creates a short-lived, session-bound restore plan with a paged file preview.

The underlying ctx.changeLedger service stores content-addressed restore-point manifests. At apply time, it checks the selected paths and Git worktree, HEAD, branch, and in-progress-operation fence again, creates a rescue point, restores files, then verifies their hashes. Restore must follow the final confirmation in the dialog or an explicit service call; it does not commit, stash, reset, switch branches, or edit the Git index.

dsh-turn-rewind is intended for sessions working in ordinary Git worktrees where file recovery and optional conversation restart are useful. It is the wrong choice for sparse checkouts, submodule gitlinks, ignored files, special files, non-Git directories, or restoration of Git metadata and index state. When files already match the earlier state, the README directs users to DSH’s native Branch action for conversation-only branching.

dsh-turn-rewind documentation

How it behaves

In a Web profile, each direct user message receives an icon-only Rewind action. The dialog resolves the selected user/message sequence, previews affected files, and mints an expiring, session-bound plan without changing files. The plan supports restoring files only, or restoring files and creating a new Session ending before the message while returning its text to the composer. A running Agent using the same worktree blocks restoration.

When the DSH Agent service is available, the first agent/pre-step waterfall in a session captures a hidden checkpoint before the opening user message. A capture failure is reported but does not reject the turn. The Web /turn-rewind endpoint delegates child creation to DSH’s official Host create/fork lifecycle.

Change Ledger

The ctx.changeLedger service owns content-addressed restore-point manifests and durable recovery state. Before mutation it creates a rescue point, rechecks the reviewed paths and Git state, restores the selected files, and verifies hashes afterwards. Failed restores can roll back, and interrupted restore journals are reconciled at startup. The format is documented in docs/FORMAT.md; the security and failure model is in SECURITY.md.

Package integration

The package is a DSH Profile Bundle. package.json declares dsh.bundle.patch, while cordis.patch.yml mounts @anionex/dsh-turn-rewind without a DSH core patch. Add the bundle to each profile that should expose the service, then restart a running profile after changing its bundle list.

Supported scope and limits

Version 0.1 supports normal Git worktrees, including tracked files, missing tracked paths, non-ignored untracked files, regular text or binary files, symbolic links, and portable permission bits. It rejects sparse checkouts, submodule gitlinks, ignored files, special files, non-Git directories, and unsupported replacement paths. It does not snapshot the Git index or repository metadata, extended attributes, ACLs, ownership, timestamps, or hard-link topology. Git commits, branches, HEAD, the index, and stashes remain untouched.

Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub

Same category

Alternatives to dsh-turn-rewind

57

Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.

Installed cleanly when we ran it

npm packageJavaScriptyesterday

AI review

dsh-chat-import

What it is — Import full-fidelity chat histories from 14 coding agents into DeepSeek Harness as resumable sessions, with reverse export back to Claude Code.

Who it is for — If you are working in a Claude Code development environment and need to import previous conversation histories into DeepSeek Harness to continue chatting, install this plugin. If you only work in a single coding agent environment without involving import of histories from other agents, you can skip this plugin.

Watch out — One-line npm install passes sandbox test in a new profile and registers into harness. It executes shell commands. No obvious issues found.

The verdict — If you need to import histories from Claude Code and export back for continued work, install it for the full fidelity and matrix interop.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

DSH plugin: Claude-style Chinese risk control & conversation autonomy for DeepSeek Harness web

Installed cleanly when we ran it

GitHub sourceJavaScript3d ago

AI review

dsh-claude-ux

What it is — dsh-claude-ux provides Claude-style regional risk control and conversation autonomy for DeepSeek Harness web profile.

Who it is for — When processing messages from specific regional users in DeepSeek Harness web profile, users requiring autonomous dialogue termination are suitable for this plugin. If your interactions are primarily with English-speaking users without regional concerns, the reverse risk control feature may not align with your needs.

Watch out — Manual approval of the build script is required when installing from source. Sandbox testing passed, with successful registration in a new profile. No obvious issues detected.

The verdict — I would install it if autonomous dialogue control is needed, as it enables local judgment with privacy protection by default.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Export the append-only session log as human-readable Markdown or HTML, grouped by trajectory source.

No one-line install — this plugin lives inside a larger repository and publishes no npm package.

GitHub sourceHTMLyesterday

AI review

plugin-session-export

What it is — Export append-only session logs to readable Markdown or HTML, grouped by trajectory source.

Who it is for — Users who handle append-only session logs in DeepSeek Harness are suitable for installing this plugin. Users who do not use DeepSeek Harness do not need to install it.

Watch out — Sandbox testing has not been performed yet, no obvious issues found. It requires providing an API key or token and will execute shell commands.

The verdict — If I need to convert append-only session logs to readable format, I would install it.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
2Source
30

Cross-instance message and event handoff between DSH instances via an interconnect server.

Installed cleanly when we ran it

npm packageTypeScriptyesterday

AI review

dsh-interconnect

What it is — DSH instances exchange messages and events via an interconnect server.

Who it is for — When cross-instance message and event pushing is needed. If only a single DSH instance is used, this plugin can be skipped.

Watch out — Sandbox test passes with installation in a new profile and registration into the profile. Static check shows it will execute shell commands.

The verdict — I would install it since it allows bidirectional event pushing between DSH instances, although wakeup is disabled by default.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Branch-based message editing, reroll, retry, and a version timeline.

Installed cleanly when we ran it

npm packageTypeScript2d ago

AI review

dsh-message-edit

What it is — dsh-message-edit is a DeepSeek Harness plugin that provides branch-based message editing, reroll, retry, and version timeline management.

Who it is for — It is suitable for users who need to edit committed user messages, assistant reasoning blocks, or replies in DeepSeek Harness conversations and retry specific historical turns. Users who do not require version branching or timeline management in their conversation workflows can skip it.

Watch out — It passed sandbox testing by being registered in a new profile. Static checks indicate it executes shell commands. No obvious runtime issues were found.

The verdict — I would install it because it allows switching session versions without modifying historical events, which is useful for controlling multi-turn conversation flows precisely.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

DeepSeek Harness account monitoring, usage accounting, completion alerts, official recharge, flexible layout, and agent-assisted session controls. / 账户监控、提醒、充值与会话控制中心

Installed cleanly when we ran it

npm packageJavaScript2d ago

AI review

deepseek-harness-control-center

What it is — DeepSeek Harness Control Center is a sidebar tool for account monitoring, usage accounting, completion alerts, and official recharge.

Who it is for — It suits users who need to check official balance and session costs in real time beside the DSH composer. Users who prefer full-page dashboards rather than compact sidebars may skip it.

Watch out — Sandbox test passed with installation in a new profile and successful registration to harness. Installation via npm requires no extra configuration. No obvious compatibility issues found.

The verdict — I would install it because it centralizes monitoring signals in the composer.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
Source