caoTbenren0/dsh-edit-resend

caoTbenren0★ 1JavaScript最后同步: 2026-08-17

在 GitHub 打开

DSH plugin: edit a sent user message and resend it (fork a new branch), auto-archive the original session

README 摘要

dsh-edit-resend 编辑已发送的用户消息并重新发送 —— 从该消息所在回合 fork 出一个新分支,用编辑后的文本重新生成回复。原会话自动归档,可在设置页一键恢复。 Edit a sent user message and resend it: fork a new branch from that message's turn and regenerate the reply with the edited text. The original session is archived automatically and can be restored from the Settings page. A DeepSeek Harness (DSH) plugin for 0.1.0-rc.6 that adds edit-and-resend to any completed turn, built on the cordis plugin system and the Typert Remote protocol. ✨ 功能特性 / Features - 回合尾部编辑入口 — 每个已完成回合的尾部出现 ✎ 编辑本轮消息并重发 按钮(不替换官方 UI,纯增量注入) Edit entry on every completed turn tail — an additive ghost button, the official bubble stays untouched. - 读取该轮用户原文 — 从 Host 的 全量事件日志 定位该轮的用户消息(客户端投影会截断长会话历史,因此不在客户端查节点) Reads the turn's original user text from the Host's full event log (the client projection window-truncates long sessions, so nodes are never looked up client-side). - Fork 重发 — 以目标回合起点为界切割事件日志作为种子,创建子会话并发送编辑后的文本;历史不可改写,只 fork 新分支 Forks a child session seeded with the event-log prefix before the target turn, then delivers the edited text as the first followup; history is immutable, so the reply is regenerated on a new branch. - 自动归档原会话 — 重发成功后原会话自动归档(仅视图隐藏,日志与数据绝不删除) The source s…

在 GitHub 查看完整 README →
工具/开发deepseekdeepseek-harnessdshdsh-pluginplugin

分类