AI Agent Hub
Back to plugins
🖥️

dsh-message-rewrite

Client Updated 2026.09.05

Run the following command in DeepSeek Harness:

dsh plugin install zouxiaoyang/dsh-message-rewrite

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

Run dsh plugin install zouxiaoyang/dsh-message-rewrite in the DeepSeek Harness terminal; the source is available at https://github.com/zouxiaoyang/dsh-message-rewrite, then restart the DSH server and refresh the page to activate the plugin.

About this plugin

Editing a past prompt in DeepSeek Harness used to mean starting a new session or awkwardly copy-pasting, severing the conversation thread and losing context. dsh-message-rewrite brings a Codex-style in-place edit to the DSH desktop and web apps: hover any user message to reveal an edit button, click it to open a glass-morphism floating panel pre-filled with the original text, tweak it, and hit Cmd+Enter to send. The edited message and all subsequent replies are truncated from the current conversation surface, and the agent regenerates from that exact point—all without leaving the thread.

Two real-world pain points get extra attention. First, the edit chain: after one revision you can edit again, and only the latest version is displayed while the full audit trail is preserved underneath. Second, middle-message edits: if the message you change is followed by more back-and-forth, the plugin automatically forks a new session to write the rewrite, so later turns are never clobbered. Buttons are bound by uuid, so long conversations and virtual-scroll list recycling stay aligned, and both dark and light themes adapt seamlessly.

Built for DSH desktop/web users who iterate on prompts frequently—comparing phrasings, refining instructions step by step, or experimenting in the same thread. It ships as a Cordis bundle half-package (host + client) within the DSH profile plugin system, relying on kernel 0.1.2-rc.1 surfaceOp and agent.followup APIs rather than a standalone CLI.

Use Cases

  • Revise a past prompt and regenerate replies within the same session
  • Iteratively refine an instruction without breaking the conversation flow
  • Edit a middle message with auto-fork to protect subsequent turns

Best For

  • DSH desktop or web users who iterate on prompts frequently
  • Prompt experimenters comparing phrasing variations
  • Daily conversation users who want to minimize session-switching overhead