dsh-edit-resend: Edit sent user messages and regenerate response

dsh-edit-resend is a plugin designed for DSH version 0.1.0-rc.6 and later, aiming to solve the problem of users being unable to correct messages after they have been sent. The plugin injects an "Edit and Resend" entry at the tail of completed turns, allowing users to modify the original text and regenerate a response. Its core mechanism involves forking a new branch from the original session, generating a new reply on the new branch based on the edited text, and automatically archiving the original session. Archiving only hides the view and does not delete any logs or data, ensuring that history cannot be rewritten. The plugin exposes multiple Remote endpoints on the Host side, including Edit, Archive, and Restore, addressing the lack of a Restore API in the official version, and provides a list of archived sessions and a one-click restore function on the settings page. During installation, the plugin must be added under a specified profile and the web service restarted. This plugin follows...

Read More
dsh-edit-resend: Edit and Resend Sent Messages in DSH

dsh-edit-resend is an MIT-licensed plugin maintained by mbj733, designed to solve the problem that the DeepSeek Harness (DSH) web interface cannot edit already-sent messages in place. This plugin empowers developers to edit and resend user inputs, assistant thoughts, or replies after a message has been sent, with support for stopping in-progress responses, regenerating the last finalized reply, and retrying any historical turn. In single-conversation mode, old versions are automatically archived, and the sidebar maintains a single conversation title unchanged, ensuring a smooth editing experience. The plugin offers two cascade strategies, `truncate` and `preserve`, and features a failure visibility mechanism to ensure clear operation feedback. Installation only requires executing the `dsh plugin` command and restarting the service, while building from source involves installing dependencies via npm and running the build process.

Read More