dsh-archive-manager
Manifest valid★ 9DSH profile-bundle: Archive session browse/recover/physical deletion (FTS full-text search)
dsh-archive-manager
English · 中文
DeepSeek Harness Web GUI 的归档会话管理插件,位于 设置 > 归档会话。harness 内置的"归档"是单向的:只隐藏会话、没有取消归档。本插件补齐浏览、恢复、删除:
- 浏览 —— 按工作区分组列出已归档会话,支持标题 / 目录 / id / 预设 / 会话正文全文搜索。
- 全文搜索 —— 基于 harness 的
sessionQuerySQLite FTS5 索引:用户消息、AI 回复、工具调用与参数、todo 全部可搜;命中高亮、关键词居中短窗口、每会话最多 5 条,可按类型筛选。 - 批量操作 —— 多选复选框 + 顶部批量删除;删除前自动停掉活着的 agent,避免文件占用。
- 对话预览 —— 点击标题展开最近 4 句对话(用户-AI 交替),无需恢复即可判断是否为目标会话。
- 恢复并打开 —— 取消归档并打开,可查看历史、继续对话。
- 删除 —— 物理移除会话日志目录,不可逆。


host: 归档集合 + 持久化标题/元数据 --archiveManager 服务--> 浏览器
client: 设置页"归档会话"(工作区分组 + 全文搜索 + 恢复并打开 + 删除)
安装
dsh plugin --profile web add @chushiz/dsh-archive-manager
安装后重启 dsh web,在 设置 > 归档会话 中使用。
兼容性
| dsh 版本 | 状态 |
|---|---|
>= 0.1.0-rc.7 | ✅ 支持(FTS5 搜索 + 服务直连) |
< 0.1.0-rc.7 | ⚠️ 未验证(依赖 sessionQuery.searchSessions 与 webServer 载体) |
- Node.js
^22.19 || >=24(随 dsh 要求) - 无 FTS 后端(
openAt: never)时自动回退逐会话扫描;服务未代理到浏览器时自动回退 HTTP API
权限边界
- host 侧操作工作区注册表的归档集合与持久化状态:
list只读、unarchive反向归档、delete经 shell 移除日志目录;不写日志、不注册面向模型的工具。 - client 侧注册设置页
settings.section,通过archiveManager服务调用以上操作。
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.4 | — | — |
| 0.1.5 | — | — |
| 0.2.0 | — | — |
| 0.2.1 | — | — |
| 0.3.0 | — | — |
| 0.3.1 | — | — |
| 0.4.0 | — | — |
| 0.5.0 | — | — |
| 0.10.0 | — | — |
| 0.6.0 | — | — |
| 0.6.1 | — | — |
| 0.6.2 | — | — |
| 0.6.3 | — | — |
Comments
Loading…
Similar plugins
by DreamStan
A DSH plugin for browsing archived sessions and safely deleting them.浏览归档会话,并安全地关闭、取消归档或删除会话。
★ 0
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add @dsh-external/dsh-archive-sessionby Momojie-S
DSH 插件: 归档会话定期清理 —— 物理归档堆与页面归档会话超保留期(页面可配天/小时,cron 调度)自动物理删除
★ 0
MIT
TypeScript
Oct 16, 2026
dsh plugin --profile web add @momojie-s/dsh-archive-retentionby akira399
Permanently delete DSH sessions from the file system, right from the sidebar conversation menu (真正的物理删除,不是归档隐藏).
★ 3
↓ 320/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-session-deleteby keepermttl
DeepSeek Harness 归档会话管理插件:查看/恢复已归档会话(回到原工作区分组)+ 右上角一键关闭 dsh。MIT 许可,欢迎收录到任何插件合集,注明出处即可。
★ 4
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add @dsh-external/dsh-archive-viewerby luckamuu
DeepSeek Harness 插件:提供删除已归档会话的入口(可以彻底删除不会在次出现)
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add @local/archived-sessionsby swxs
DSH 归档会话管理插件,支持查看归档列表、原位恢复与跨区迁移,Web 侧边栏一键管理
★ 0
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add @swxs/archive-restore