ExploringBB/dsh-edit-regenerate

ExploringBB★ 1JavaScript最后同步: 2026-08-19

在 GitHub 打开

DSH plugin: edit a user message in conversation history and regenerate from the revised prompt in a forked session.

README 摘要

dsh-plugin-edit-regenerate English · 简体中文 A DSH (DeepSeek Harness) plugin that lets you edit a user message in conversation history: click the "✎ Edit" button under a user bubble, confirm the revision, and the system drops everything after that message and regenerates from the revised prompt. Demo The screenshot below demonstrates the core edit-and-regenerate flow: the ✎ 编辑 button on a user bubble (kept alongside the stock ⧉ 复制 ), and the revised prompt regenerating the reply. Behavior - Non-first message : forks a new child session at the end of the previous turn ( sessions.fork + prompt + open); the original session is left untouched. - First message : creates a fresh blank session in the same workspace and regenerates with the revised text as the opening prompt. - Messages with attachments are resent as plain text after revision (attachments are not kept; the UI warns about this). - The user bubble keeps its original copy action: a ⧉ 复制 button now sits right next to ✎ 编辑 , so both actions coexist on every user message (the plugin's renderer shadows the stock one, so it re-implements copy instead of dropping it). - Session storage is an append-only log and cannot be truncated in …

在 GitHub 查看完整 README →
工具/开发cordisdeepseek-harnessdshdsh-pluginpluginvision

分类