caoTbenren0/dsh-edit-resend0

dsh-edit-resend

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.

包名
dsh-edit-resend
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:caoTbenren0/dsh-edit-resend

手动配置 / Manual configuration

将以下内容加入 profile 的 package.jsoncordis.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.*