← Back to list

dsh-delete-turn

DeepSeek Harness Sessions & Messages Low risk

Per-message delete for DSH: 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.

DSH 消息删除插件:按条删除用户消息、按步骤删除思考与工具调用、按整条回复删除助手回答,经官方 surface-replace 契约从模型上下文移除并从可见转录隐藏,原始 append-only 日志不改写。

How to install

DeepSeek Harness dsh plugin add dsh-delete-turn

About

dsh-delete-turn **DeepSeek Harness 消息删除插件 —— 把一条消息从模型上下文里真正拿掉,同时从当前转录里隐藏它。** 助手回复挂在官方 conversation.chat.assistant-actions 槽位;用户消息、注入上下文、工具调用卡与过程行由 DOM 增强补上入口。确认后经官方 surface-replace 契约追加替换事件:模型后续看到的历史里不再有这条内容,而原始会话日志一个字节都不改写。 中文 · English --- 中文 为什么需要它 DSH 的会话日志是 append-only 的:说错话、发错提示词、模型答偏了,这些内容会一直留在模型上下文里,污染后续每一轮。官方只提供了「压缩」(/compact)这种整段摘要机制,没有单条消息级别的删除。 这个插件把删除放回消息本身: 用户消息 → 删这一条; 思考卡 / 工具调用卡 → 删这一步(该步的 assistant/message 与它请求的 tool/result 一起走,工具配对永不悬空); 助手回复(官方操作条)→ 删这条回复连同它的思考、工具调用与注入上下文(你的提问保留); 注入上下文行、失败回合行 → 同样有删除入口。 特性 **模型上下文级删除** —— 追加一条官方 surfaceOp: { op: 'replace', startSeq, endSeq…

Recommendation signals

51 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
51 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
1
mo. downloads
–
Last push
2026-09-23
Created
2026-09-20

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh, dsh-plugin, dsh-plugin-market, dsh-plugins

Related plugins

DeepSeek Harness
Score77

DSH-EasyRewrite

Renzic-Stone/DSH-EasyRewrite

Inline-edit and recall your own user messages in dsh web — lazily and seamlessly, with a version pager and per-session draft persistence.

☆ 116 ↓ 5.7K Sessions & Messages ↗
DeepSeek Harness New
Score71

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery

Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.

☆ 5.9K ↓ – Sessions & Messages ↗
DeepSeek Harness
Score71

dsh-nested-followups

sluminositys/dsh-nested-followups

Keep branching from any completed answer at any depth while the main session stays untouched.

☆ 48 ↓ 830 Sessions & Messages ↗
DeepSeek Harness Featured
Score69

dsh-session-sync

PerryLink/dsh-session-sync

Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.

☆ 12 ↓ 2.8K Sessions & Messages ↗