DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-turn-hard-delete

s

dsh-turn-hard-delete

Manifest valid

Delete a complete closed turn (question + answer + tool calls) from a DeepSeek Harness session, without deleting the session.

UI (client)hasBundlePatch

dsh-turn-hard-delete

Delete one complete closed turn (question + answer + tool calls) from a DeepSeek Harness session, without deleting the session. The deletion is recorded in the session log, so the turn stays gone after reloading.

删除 DeepSeek Harness 会话中的一整轮对话(提问 + 回答 + 工具调用),不影响会话本身。删除结果写入会话日志,刷新后不会复活。

Install / 安装

dsh plugin --profile web add dsh-turn-hard-delete

Requires the plugin to be registered in the profile's dsh.profile.bundles (the add command does this automatically). Restart the web service afterwards.

需要重启 dsh web 服务后生效(dsh plugin add 会自动写入 bundles 登记)。

Usage / 用法

  1. Hover over a message in the chat. / 鼠标悬停到对话消息上。
  2. Click the Delete this turn / 删除这一轮 button in the turn tail. / 点击轮次尾部的"删除这一轮"按钮。
  3. Confirm in the dialog. / 在弹出的确认框里确认。

The whole turn disappears from the UI immediately; the tombstone written to the session log keeps it hidden on reload. Only fully closed turns can be deleted; a running turn must finish first.

删除后整轮立即从界面消失;写入会话日志的墓碑标记保证刷新后依然隐藏。仅支持已关闭的轮次,运行中的轮次需先结束。

How it works / 原理

  • Backend: writes a user/message tombstone event (empty content, source.kind: "plugin") and replaces the turn's event range in the session log via a surfaceOp replace. / 后端在会话日志中写入空的 user/message 墓碑事件,并用 surfaceOp replace 替换掉该轮的事件区间。
  • Frontend: a small slot component exposes the delete button and hides the turn's DOM rows by their data-chat-turn marker. / 前端通过 slot 注入删除按钮,按 data-chat-turn 标记隐藏该轮的所有消息行。
  • Self-contained and decoupled: the plugin adds no persistent state of its own and can be removed by uninstalling the package and dropping the bundle entry. / 自包含、解耦,拔除插件不残留状态。

Notes / 注意

  • Deletion is permanent for the turn's content; there is no undo. / 删除是彻底的,无撤销。
  • This plugin deletes a single turn; it does not delete whole sessions. For session-level management, use a session manager plugin. / 本插件删除的是单轮对话,不删除整个会话;会话级管理请使用会话管理插件。
  • Built against the turn/step surface model of @deepseek-ai/dsh-session >=0.1.0-rc.6. / 基于 @deepseek-ai/dsh-session >=0.1.0-rc.6 的 turn/step 界面模型构建。

License / 许可

MIT

Comments

Loading…

Similar plugins

dsh-turn-delete

by hanshenmesen

Delete one complete turn from a DeepSeek Harness session without deleting the session

Sessions & MessagesManifest valid

★ 110

↓ 126/wk

MIT

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-turn-delete

by Angela-lwh

Delete action for archived DeepSeek Harness sessions: permanently removes the session log, its Workspace membership, and its archive mark.

Terminal & ClientsSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add @angela_lwh/dsh-archive-purge

A DeepSeek Harness Web plugin for quickly and thoroughly deleting sessions. 快速彻底删除会话的 DeepSeek Harness Web 插件。

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @kagurazakayashi/dsh-delete-session

by reverse-PAI

Permanently delete a DeepSeek Harness session: a sidebar session-row "..." menu item plus a hover button, a risk-consent dialog, and an authenticated Host route that removes the session log, its projection-cache row and its archive mark.

Development & InfrastructureSessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-minimal-session-delete

Delete one finished turn from a DSH session without deleting the session. A trash button removes that turn's question, reply and tool records from the conversation and the model context, while the session, later turns and the append-only log stay. Independent continuation of hanshenmesen/dsh-turn-delete (DSH 0.1.5-rc.2 + 0.2.0-rc.1).

Sessions & MessagesManifest valid

★ 1

MIT

TypeScript

dsh plugin --profile web add dsh-turn-delete

by The932

Delete sessions from the DeepSeek Harness Web sidebar: a menu action plus a confirmation dialog that removes the session log.

Manifest valid

★ 0

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-session-delete