🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI

整轮删除 shuanzhe/dsh-turn-hard-delete

DeepSeek Harness
shuanzhe47 天前有提交已提供中文文档扫描:未发现敏感能力

从会话中彻底删除一整轮问答与工具调用记录

28.1/100
综合分
0
GitHub 星标
—
npm 周下载
—/5
用户评分

数据截至 2026/10/6 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。

安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add shuanzhe/dsh-turn-hard-delete
该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)

状态速览

判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态
信任档位:需留意
是什么[目录]—
dsh 原生插件 · tool
暂无时间戳·判据 →
装得上吗[实装验证]!
实装验证未通过(dependency_conflict),装前请到仓库确认最近更新与 issue
L4 · 真实安装等级说明 →
数据截至 2026/10/07·判据 →
安全吗[自动扫描]—
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
数据截至 2026/11/04·判据 →
还在维护吗[仓库]—
更新放缓:最近一次提交在 47 天前
暂无时间戳·判据 →
图例:✓ 通过! 需注意— 未判定 / 无数据· 「未判定」= 本站尚无数据,不代表插件有问题
档位由哪些信号合成

本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。

验证判据与等级说明 →

可信度证据

⚠︎ 实装验证未通过(dependency_conflict · 2026/10/7) ——可能是验证环境差异,装前建议到 GitHub 仓库确认最近更新与 issue。
安全扫描自动 · 静态分析源码
v2.7.0
🟢 扫描:未发现敏感能力尚无人工评估
展开查看扫描说明与证据 ↓

静态扫描未发现敏感能力:最多只发网络请求、读取自身元数据或只读文件,未发现执行命令、文件写入或敏感信息读取。

发起外部网络请求
查看扫描证据(共 1 处,展示前 1 条)
  • 发起网络请求
    lib/client.js:212
    const response = await fetch(TURN_DELETE_PATH, {
扫描于 2026/11/4(0 天前) · 范围 入口闭包 + 发布文件清单 · 来源 GitHub 仓库

静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。

社区实装还没有人打卡 · 装过的第一个就是你
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-agent@deepseek-ai/dsh-client-locale@deepseek-ai/dsh-client-runtime@deepseek-ai/dsh-client-ui-conversation@deepseek-ai/dsh-client-ui-primitives@deepseek-ai/dsh-client-ui-slots@deepseek-ai/dsh-llm@deepseek-ai/dsh-session
给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个

功能亮点

  • 删除整轮问答记录
  • 删除工具调用记录
  • 保留会话

从 DeepSeek Harness 会话中删除完整一轮(问题 + 回答 + 工具调用),会话本身保留。

README

由 DeepSeek 最新模型翻译生成
dsh-turn-hard-delete 删除 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. / 在弹出的确认框里确认。
展开完整文档(README 剩余 1 节)
dsh-turn-hard-delete

删除 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
预览分享卡片长什么样 ↓shuanzhe/dsh-turn-hard-delete
分享 · DeepSeek Harness Hub
shuanzhe/dsh-turn-hard-delete

从会话中彻底删除一整轮问答与工具调用记录

这个插件是你维护的吗?
作者本人可认领并核对本条目;认领通过后,详情页会显示「作者已认领」标记。
认领条目 →
回到顶部