从会话中彻底删除一整轮问答与工具调用记录
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 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:需留意
图例:✓ 通过! 需注意— 未判定 / 无数据· 「未判定」= 本站尚无数据,不代表插件有问题
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
依赖的 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
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
shuanzhe/dsh-turn-hard-delete
从会话中彻底删除一整轮问答与工具调用记录
相关插件 · 工具 / 效率
破甲管控台kingcharleslzy-ai/dsh-purge
dsh-purge Community · DeepSeek Harness 社区维护版:宿主兼容、状态诊断、提示词管理、更新与本机备份回滚。基于小杨 / YuJunZhiXue 的 dsh-purge。
★ 4,330已汉化DeepSeek 客户端
74.5
网文长卷lingfengQAQ/webnovel-writer
基于 Claude Code 的长篇网文辅助创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200…
★ 7,826已汉化DSH
72.2
花束设计alchaincyf/huashu-design
一句话生成网页、原型、PPT 与信息图等可交付设计
★ 28,638已汉化DSH
71.7
多智能体协作HKUDS/AutoSwarm
AutoSwarm: Unify Your Agents. Unify Your Context (Codex · Claude Code · DeepSeek Harness · Muse · Grok · WorkBuddy· nanobot · and more)
★ 2,349已汉化DSH
71.6
Vox 拼贴视频生成Alisa0808/vox-director
🎬 Vox Director拼贴动效导演
★ 2,129已汉化DSH
71.4
Agent 演化引擎Q00/ouroboros
智能体 OS:智能体自己变聪明,我们只守住底线:面试准入、分阶段评估、带预算的进化循环。MCP 服务器,14 种运行时:Claude Code、Codex CLI、Gemini CLI、OpenCode、Copilot、Kiro 等。
★ 6,311已汉化DSH
71.4
这个插件是你维护的吗?
作者本人可认领并核对本条目;认领通过后,详情页会显示「作者已认领」标记。