AI Agent Hub
Back to plugins
🖥️

dsh-msg-edit

Client Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install moton16/dsh-msg-edit

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install moton16/dsh-msg-edit in your DeepSeek Harness terminal; the plugin source lives at https://github.com/moton16/dsh-msg-edit, then manually restart dsh web to activate it.

About this plugin

Once a message is sent in DeepSeek Harness Web, going back is nearly impossible. An unsatisfying assistant reply or a typo in your own message simply sits there, forcing you to plow ahead. dsh-msg-edit fills that gap: a pencil icon and a loop arrow appear beside every assistant message, letting you edit the reply inline (both body and thinking) or regenerate it from the owning real user message.

On the backend side, four HTTP RPC endpoints handle the work: rewriting a single assistant reply, reading current text for editor prefill, editing a user message (which truncates all downstream nodes and regenerates), and reading text for prefill. The client plugin declaratively injects an action bar into the assistant message slot, surfacing an edit button and a regenerate button. Clicking edit opens an inline editor covering both the thinking trace and the visible body; saving triggers the rewrite endpoint. The entire plugin ships as a single patch file with zero build steps and zero source modifications.

It is aimed at people who run long conversations, iterate on prompts, or need to fix phrasing after the fact. Rather than mutating the event-sourcing log, the plugin appends surface-replace copy events alongside the original entries. Once the official components merge replay support for those copy events, every known compatibility limitation lifts automatically with no changes needed on this plugin's side.

Use Cases

  • An assistant reply reads poorly; hover and hit the pencil icon to rewrite body and thinking inline
  • A turn went in the wrong direction; hit the loop arrow to regenerate from the owning user message
  • A typo in your own message changes the whole trajectory; call edit-message to truncate and re-run the tail

Best For

  • Heavy DSW users who iterate prompts and need to fix phrasing on the fly
  • Developers building on DeepSeek Harness Web who want a ready-made edit-and-regenerate UI
  • Plugin users who prefer declarative install with zero build tooling