caoTbenren0/dsh-edit-resend ↗★ 0
dsh-edit-resend
编辑已发送的用户消息并重新发送:从该消息所在的回合分叉出新分支,并使用修改后的文本重新生成回复。
AI 分析
核心用途是修改历史提问并重发。适合需要微调对话上下文、探索不同生成路径的用户;要求 DSH 版本大于等于 0.1.0-rc.6。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:caoTbenren0/dsh-edit-resend說明文件
閱讀完整 README ↗手动配置 / Manual configuration
将以下内容加入 profile 的 package.json 与 cordis.patch.yml:
// profiles//package.json
{
"dependencies": {
"dsh-edit-resend": "link:/absolute/path/to/dsh-edit-resend"
},
"bundles": {
"dsh-edit-resend": "dsh-edit-resend"
}
}
## 📖 使用 / Usage
1. 打开任意有已完成回合的会话 → 回合尾部点击 `✎ 编辑本轮消息并重发`
*Open any session with completed turns → click `✎ 编辑本轮消息并重发` on the turn tail.*
2. 编辑器会预填该轮的用户原文,修改后点击「保存并重发」
*The editor is pre-filled with the turn's original user text; edit it and click 「保存并重发」.*
3. 界面自动切换到新 fork 分支并开始重新生成;原会话从侧边栏消失(已归档)
*The UI jumps to the new fork automatically; the source session disappears from the sidebar (archived).*
4. 需要找回原会话:**设置 → 编辑重发** → 找到对应会话 → 「恢复」
*To bring a session back: **Settings → 编辑重发** → find the session → 「恢复」.*
> 归档绝不删除数据:恢复后原会话回到原位置,日志完整保留。
> *Archiving never deletes data: a restored session returns to its original place with its full log intact.*