D
dsh-turn-delete
v0.1.0 · 0 天前发布
Delete one complete closed turn from a DeepSeek Harness session without deleting the session
README
dsh-turn-delete
English | 中文
从 DeepSeek Harness 对话中删除一个完整且已经结束的 Turn(轮次),不删除或替换整个 Session。每个已完成的顶层轮次,其最后一条助手回复旁会出现删除按钮。
安装
从 GitHub 安装:
sh
dsh plugin --profile web add github:hanshenmesen/dsh-turn-delete
从预构建的 GitHub Release 安装:
sh
dsh plugin --profile web add https://github.com/hanshenmesen/dsh-turn-delete/releases/latest/download/dsh-turn-delete.tgz
安装后重启 dsh web。卸载命令:
sh
dsh plugin --profile web remove dsh-turn-delete
行为
目标轮次尚未结束,或已与其他历史一起合并进 compaction 替换节点时,插件会拒绝删除,避免只删除模型可见上下文的一部分。
设计
Host 端注册 `POS
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-turn-delete
- Repo
- git+https://github.com/hanshenmesen/dsh-turn-delete.git
- Engines
{"node":">=22.19"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-conversation"]}}