jasonrale/dsh-archive-manager

用于 DSH Web UI 的已存档会话管理器:重新打开已存档会话并继续聊天,将其取消存档并恢复原位,或彻底删除会话 — 分组面板,支持消息搜索和原生视图同步。

项目介绍Project Overview

dsh-archive-manager 是 DeepSeek Harness WebUI 的归档会话管理插件。在侧边栏底部新增“Archived”入口,按工作区分组展示已归档会话,支持继续聊天、恢复原位、彻底删除(含安全停止会话与清理磁盘日志)、按标题/工作区/消息内容搜索,并与官方侧边栏实时双向同步分组、排序与拖拽,中英双语自动切换。适用于需要清理或回溯历史会话的用户。注意:依赖 dsh 0.1.0-rc.6 内部接口,升级 dsh 后可能需适配;插件热重载期间运行过的会话无法删除,需重启 dsh。

dsh-archive-manager is a plugin for the DeepSeek Harness WebUI that manages archived sessions. It adds an "Archived" entry at the sidebar footer, grouping hidden sessions by workspace, and lets you continue chatting, unarchive to its original position, or permanently delete (safely stopping the session and purging on-disk logs). It supports search by title, workspace, and message content, while staying in real-time two-way sync with the official sidebar for grouping, ordering, and drag-to-reorder, with automatic English/Chinese UI. Use it when you need to review, restore, or remove archived sessions. Caveat: built against dsh 0.1.0-rc.6 internal interfaces, so a dsh upgrade may require adaptation, and sessions that were running during the plugin's own hot-reload cannot be deleted until dsh restarts.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

npx @deepseek-ai/dsh plugin --profile web add dsh-archive-manager

jasonrale/dsh-archive-manager 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-archive-manager

中文 | English

An archived-session manager for DeepSeek Harness WebUI: an "Archived" entry at the sidebar footer opens a grouped archive panel — open a session to continue it, unarchive, or delete it (full live-agent teardown + physical log removal).

Native DSH only has the "archive" action (hides the session from the sidebar); there is no way to view, restore, or delete archived sessions. This plugin fills that gap.

Features

  • Archive list — an "Archived" entry at the sidebar footer opens a panel grouping sessions by workspace, visually matching the official sidebar
  • Continue a session — click an archived session to open it and keep chatting; its archived state is untouched
  • Unarchive — put a session back into its workspace with one click, original position preserved
  • Delete for good — safely stops the session first, then removes its complete on-disk record; a confirmation dialog guards the action
  • Search — instant filtering by title or workspace, plus message search (your prompts and the assistant's replies); behaves like the official search
  • View sync — grouping (by workspace / one list), ordering (manual / recently updated), and drag-to-reorder all stay in real-time two-way sync with the official sidebar
  • Bilingual UI — English and Chinese, following the system language automatically
  • Session status at a glance: running / completed / waiting for you — same as the official sidebar

Compatibility

Developed against @deepseek-ai/dsh 0.1.0-rc.6. Relies on official internal shapes (workspaceRegistry.enqueueOperation, AgentHandle.dispose, the client-runtime service shapes); a dsh upgrade may require adaptation — if something misbehaves after upgrading, check whether this repo has caught up with the new version.

Install

From npm:

npx @deepseek-ai/dsh plugin --profile web add dsh-archive-manager

Updating

npx @deepseek-ai/dsh plugin --profile web update dsh-archive-manager

Uninstall

npx @deepseek-ai/dsh plugin --profile web remove dsh-archive-manager

Then restart dsh web.

Known limitations

  • Sessions that were running while the plugin itself was hot-reloaded cannot be deleted afterwards — the plugin will refuse with a clear message asking you to restart dsh first. (Normal use is unaffected: install once, and everything — including sessions archived before the plugin existed — stays manageable.)

License

MIT

上一个 Prev dsh-file 下一个 Next dsh-quota-panel