rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:rz-123/dsh-plugin-conversation-purge
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个 DeepSeek Harness(DSH)Web 插件:在左侧栏增加一个入口,用于彻底删除对话。删除时提供两种范围:
这是一个不可恢复的破坏性工具。所有删除都直接作用于磁盘,不进入回收站。请先拿一个可丢弃的对话试用。
present 工具交付的文件(deliverables/presented 事件);write 工具成功写入的文件(tool/result.meta.path);edit / str_replace_editor 修改的文件(默认不勾选);connection、sessionQuery、workspaceRegistry 服务;在 DSH 的「添加插件」对话框中输入包名:
dsh-plugin-conversation-purge
或者用 plugin manager:
plugin_manager action=install_bundle target=dsh-plugin-conversation-purge
克隆本仓库,然后以该目录为 target 安装:
plugin_manager action=install_bundle target=<本仓库的绝对路径>
安装会把包加入当前 profile 的 bundle 列表;安装后左侧栏出现「对话清理」图标。DSH 支持 HMR,通常无需重启;如果图标未出现,刷新一次页面。
同一个面板 id 只能存在一份:不要同时安装 npm 版和本地版。
| 内容 | 仅聊天 | 聊天 + 文档附件 |
|---|---|---|
会话日志(session*.jsonl*) |
✅ | ✅ |
| 该对话派生的子代理会话日志 | ✅ | ✅ |
| 工作区归属、置顶/归档标记 | ✅ | ✅ |
| 标题/统计投影缓存(尽力清理) | ✅ | ✅ |
| 对话交付/创建的文件 | — | ✅(可勾选) |
| 仅被该对话使用的附件 | — | ✅(可勾选) |
| 被其他对话共享的附件 | — | 保留 |
index.js)注册三个需要浏览器认证的精确路由:GET /api/conversation-purge.listPOST /api/conversation-purge.previewPOST /api/conversation-purge.deletectx.sessionQuery、ctx.sessionPersistence 读取;工作区归属通过 ctx.workspaceRegistry 移除;日志目录位于 $DSH_HOME/sessions/<project>/<sessionId>。$DSH_HOME/conversation-purge/pending.json,插件启动后 3 秒重试;成功清空后自动删除清单。client.js)向 sidebar.panellist 注册入口、向 main 注册面板;样式只使用 --dsw-alias-* 主题 token。.
├── index.js # Host:路由、扫描、删除、待删重试
├── client.js # Client:左侧栏图标、清理页、确认弹窗
├── package.json # bundle 清单(dsh.bundle / dsh.client)
├── cordis.patch.yml # Loader 插入行
├── icon.svg # 插件图标
└── locale/
├── zh.json
└── en.json
present 的文件不会被默认识别;需要打开“推测扫描”,并自行确认勾选项。$DSH_HOME/sessions、$DSH_HOME/attachments、$DSH_HOME/conversation-purge 和 DSH 的工作区注册表;插件是纯 JavaScript(ESM),不需要构建步骤:
index.js 后,Host 侧通常需要重启 DSH 才能加载新的模块代;client.js 后,DSH 的 HMR 会重新加载客户端 bundle(需要页面连接正常)。MIT © 2026 rz-123
A DeepSeek Harness (DSH) web plugin that adds a left-sidebar entry for permanently deleting conversations. It offers two scopes:
This is destructive and irreversible. Deletions act directly on disk and do not go to the recycle bin.
present deliveries and successful write/edit tool results, plus an optional heuristic scan of files created in the working directory during the conversation;connection, sessionQuery and workspaceRegistry services;Enter the package name in DSH's Add plugin dialog:
dsh-plugin-conversation-purge
Or install it with the plugin manager:
plugin_manager action=install_bundle target=dsh-plugin-conversation-purge
Clone this repository, then install the folder as a local bundle:
plugin_manager action=install_bundle target=<absolute path to this repository>
After installation, a trash-can icon appears in the left sidebar. Refresh the page if it does not appear immediately.
Only one copy can be installed at a time: do not install both the npm and the local version.
present call are not detected by default; enable the heuristic scan and review its candidates;MIT © 2026 rz-123
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。