dsh-delete-turn
Per-message delete for DeepSeek Harness: remove a user message, one reply step, or a whole assistant reply from the derived model context through the official surface-replace contract, and hide it from the visible transcript without rewriting the append-only log. 适合需要精细化调整对话历史、剔除错误回复以优化后续生成的场景。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DDDMUC/dsh-delete-turnREADME
Read the full README ↗使用
- 悬停任意消息行,点击行尾的垃圾桶按钮;助手回复的按钮在官方操作条(复制 / 分叉旁边)。
- 确认弹窗会说明这次删除的影响范围,点「删除」。
- 目标行折叠退场;模型上下文在下一轮请求重建时不再包含它。
Usage
- Hover a message row and click the trash action at its end; the assistant action sits in the official action strip next to copy/branch.
- The dialog states the exact scope; click Delete.
- The row collapses away; the model context stops containing it when the next request is rebuilt.