DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

TyroneXie /

TyroneXie/dsh-retry

Verified

DeepSeek Harness plugin: retry or edit any earlier message in place — rewind and resend with one click, optional workspace file restore

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@e9ccd722

dsh-retry

A DeepSeek Harness plugin: one-click retry or edit-and-resend for any earlier user message.
Rewinds to that message (images restored too); ⟳ resends it as-is automatically, ✏ brings the original text back to the composer for editing — Codex / Claude Code style message-level retry.

English | 中文

npm version npm downloads tests

Features

Every user message row carries two quick actions:

  • ⟳ Retry from here — one click rewinds to that message and resends it as-is: everything after the target is withdrawn (model context and UI), the original text and images return to the composer, and the message is sent again. No dialogs.
  • ✏ Edit and resend — rewinds to that message, puts the original text and images back into the composer, and focuses it; edit and send yourself.

Advanced: the /rewind (alias /undo) command keeps the full rewind flow — optionally restoring workspace files changed by DSH's file-editing tools (Claude Code checkpoint semantics).

At a glance

Capability Description
One-click retry Rewind + image restore + auto-resend in a single click
Edit in place Rewind + composer refill; you edit and send
Images survive Withdrawn images are fully restored to the composer
In-place rewind Same window, no forks, no leftover copies
File restore /rewind can also restore workspace file changes
Safety model Session log is append-only, auditable, never rewritten

Preview

The actions row of every user message: copy · ⟳ retry from here · ✏ edit and resend

The two quick actions on a message row

⟳ and ✏ button close-up

Install

CLI:

dsh plugin --profile <name> add dsh-retry

GUI: Plugins page → Add plugin → enter dsh-retry → Install.

Requires DSH >=0.2.2-rc.1 <0.3.0-0.

Usage

  1. Find the user message to retry.
  2. Click ⟳ to resend as-is; or ✏ to edit it in the composer first.
  3. To rewind files along with the conversation, use /rewind and pick "Rewind conversation and files".

How it works

Conversation rewind follows dsh-rewind's "mask, never delete" design: a standard marker is appended to the session log, withdrawing everything after the target from both context and UI, while the log stays append-only and auditable. File restore is driven by lightweight local checkpoints that track only DSH file-edit changes.

Snapshot management

File checkpoints live under <dsh home>/rewind-snapshots/, keeping the latest 100 checkpoints per session. Turn off "Snapshot backups" in the plugin's settings card if you don't need file restore. See upstream docs: Snapshot auto cleanup.

Credits

Built on SiriLee/dsh-rewind (MIT) — the rewind engine and checkpoint mechanism come from upstream; this repo adds the message-level retry/edit interactions. Upstream continues to be maintained independently; give the original a star.

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit e9ccd7224490

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout