Plugin directory / Knowledge / dsh-archived-conversations
dsh-archived-conversations
Verified · install-tested on dsh hxyz486
What it does
Archived conversation viewer: Cordis plugin to view, restore, and delete archived sessions in DSH settings page
Works — verified, early-stage project
Archived conversation viewer: Cordis plugin to view, restore, and delete archived sessions in DSH settings page It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
归档对话查看 (archived-conversation-viewer)
一个 DSH Web(Cordis)组合插件:在设置页查看归档会话,支持按工作区分组、一键恢复与彻底删除。刷新页面和重启 DSH 后依然保留。

功能
- 查看归档会话:侧边栏会话行菜单 →「归档」后,会话从列表消失,进入归档集合
- 按工作区分组:列表按工作区(含「未分组」)分组,可单独展开/收缩,也可一键全部展开/收起
- 上下滚动:列表区域可滚动,方便浏览大量归档会话
- 查看对话全文:点击会话行可展开查看完整对话记录(用户/助手/工具消息)
- 恢复:把会话从归档集合移出,重新出现在侧边栏
- 删除:彻底清除——移除归档记录、分组归属和本机会话日志目录(
session.jsonl.zstd),需两次确认,不可恢复
使用入口
设置(左下角齿轮)→ 归档会话
安装
将插件目录链接到 DSH profile 的 node_modules:
cmd /c mklink /J "C:\Users\AA\.dsh\profiles\node_modules\archived-conversation-viewer" "你的插件源码目录"或直接把本仓库克隆/复制到
C:\Users\AA\.dsh\profiles\node_modules\archived-conversation-viewer。在
C:\Users\AA\.dsh\profiles\web\cordis.patch.yml中加入(若已有- insert:块则合并到其中):- insert: - id: archived-conversation-viewer name: 'archived-conversation-viewer'重启 DSH Web(
--profile web),然后在 设置 → 插件 → 全部 中确认出现archived-conversation-viewer。
结构
archived-conversation-viewer/
package.json # 包声明(dsh.client 声明浏览器半身)
index.js # 宿主半身:archivedConversations Remote 服务(list/read/restore/deleteSession)
client.js # 浏览器半身:设置页 UI + 插件卡片(手写 bundle)
typert.host.js # 严格 Typert 清单:端点注册(运行时 ctx.typert.register)
screenshot.png # 界面截图
工作原理
- 宿主半身实现
archivedConversationsRemote 服务,通过workspaceRegistry(归档集合/工作区)、sessionQuery(对话读取)、sessionPersistence(日志定位)与subprocess(删除日志目录)工作 - 端点通过严格 Typert 清单在启动时用
ctx.typert.register注册,宿主网关据此认领/api/archivedConversations/*并分发 - 浏览器半身通过
connection.rpc.call('/api', 'archivedConversations/<method>', ...)调用宿主,UI 注册在settings.section(归档会话)与settings.plugin.item(插件卡片)
许可
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-archived-conversations for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:hxyz486/dsh-archived-conversations Headless (CLI) profile:
dsh plugin --profile headless add github:hxyz486/dsh-archived-conversations Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.
When to use it
Give the agent a memory, a knowledge base, or a retrieval layer so it stops forgetting context between sessions.
Who it's for
Users running long projects who want the agent to remember decisions, docs, and preferences without re-explaining.
For developers — extending it
The memory/retrieval backend is the seam — plug a new store, tune what gets distilled, or add citation and audit trails.