DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Session Recycle — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-session-recycle

Session Recycle

会话回收站:侧边栏删除会话进入回收站,可查看预览、还原或彻底删除 · Session trash for DeepSeek Harness.

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-recycle@0.2.0
README兼容性版本
侧边栏菜单中的删除会话设置中的会话回收站

兼容性与来源证明

Session Recycle 以 dsh-session-recycle 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/19

版本

0.2.0stable
2026/10/19

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/10/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Reme Dsh Plugin@agentscope-ai/reme-dsh-plugin面向 DeepSeek Harness 的 ReMe 记忆与上下文集成Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)

README

会话回收站图标

会话回收站

给 DeepSeek Harness 补上删除,让清理会话也能反悔。

dsh-session-recycle

3 秒撤销 · 随时还原 · 子会话一起整理 · 零 npm 依赖


DSH 的归档会保留磁盘日志。会话回收站提供真正的清理入口:先把不需要的会话放进回收站,确认不再需要时,再彻底删除。

✨ 有哪些亮点

功能你可以做什么
🗑️ 删除可反悔从侧边栏删除会话,连同全部 subagent 子会话一起整理;3 秒内一键撤销
↩️ 查看与还原在回收站预览最近内容,随时还原;标题和原有归档状态一并恢复
🛡️ 安心清理运行中的会话拒绝删除;已打开但空闲的会话可直接处理
👻 找回隐藏残留扫描空白会话、失去父会话的子会话和登记残留,集中清理

先收纳,再清除。 普通删除只更新回收站索引与工作区记录,日志留在原处;只有「彻底删除」才物理清除日志、释放空间。

📦 安装

适用于 DSH 0.2.1-rc.1 及以上的 0.2.x 版本。将 <name> 替换为你的 profile 名称:

从 npm 安装(包发布到 npm 后可用;DSH 会安装并注册插件):

dsh plugin --profile <name> add dsh-session-recycle@latest

从本地 npm 包安装(适合发布前试用或离线分发;替换为实际文件路径):

dsh plugin --profile <name> add "D:/Downloads/dsh-session-recycle-0.2.0.tgz"

🚀 三步上手

  1. 整理侧边栏 — 打开会话的「⋯」菜单,点击红色删除项;误删时点提示中的撤销。
  2. 管理回收站 — 进入「设置 → 会话回收站」,查看内容、还原会话,或确认后彻底删除。
  3. 清理隐藏残留 — 在回收站运行幽灵会话扫描,检查结果后清理不再需要的记录。

使用须知

  • 彻底删除不可撤销。 删除前会校验日志目录;遇到未知文件会拒绝操作,避免误删。
  • 回收站状态由插件索引维护;卸载插件或丢失索引后,原位保留的会话可能重新出现。
  • 保护范围是当前 DSH 进程;清理时避免在另一个实例中同时操作相同会话。
  • 全局附件存储与 SQLite 全文索引不在清理范围;还原后的会话回到工作区列表顶部。
开发与测试

运行时代码只有 index.js 和 client.js,无 npm 依赖、无周期轮询。

本地安装:

dsh plugin --profile <name> add link:/绝对路径/dsh-session-recycle
node --test test/operations.test.mjs
node test/parity.test.mjs

operations 使用临时会话数据,通过插件 HTTP 入口验证删除、还原、彻底删除和并发保护;parity 抽样本机 DSH 日志,验证目录编码、文件白名单与多帧解压。

打包(在项目根目录执行,无需构建或安装依赖):

npm pack --dry-run
npm pack

生成 dsh-session-recycle-0.2.0.tgz。发布到 npm 时,先用 npm login 登录发布账号,再执行 npm publish --access public;发布前请先用本地包安装验证。

English · Session Recycle Bin

A recycle bin for DeepSeek Harness. Delete sessions with their subagent trees, undo within 3 seconds, preview or restore them later, and permanently delete logs when you are ready. Running sessions are protected. A ghost scan helps clean up blank sessions, orphaned subagents, and stale records.

Soft deletion leaves logs in place. Only permanent deletion removes them from disk; global attachments and the SQLite full-text index are outside its scope. Protection applies to the current DSH process. Uninstalling the plugin or losing its index may make retained sessions reappear.

Requires DSH >= 0.2.1-rc.1, < 0.3.0. Use the installation command above, then open Settings → Session Trash. Zero npm dependencies.


MIT License