jasonrale/dsh-archive-manager

Plugin插件 Native原生 ⭐ 7 MIT Sessions & Context会话与上下文

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

Project Overview项目介绍

This is a native session archive manager plugin built exclusively for the DeepSeek Harness (DSH) WebUI. It addresses a gap in native DSH, which only allows hiding sessions to archive them but offers no native way to view, restore, or permanently delete archived sessions after the fact. To install the plugin, users run the official DSH CLI command npx @deepseek-ai/dsh plugin --profile web add dsh-archive-manager, then restart the DSH web client to activate it. Updating and uninstalling also follow the same workflow, using the update and remove subcommands respectively. Once activated, the plugin adds an “Archived” entry to the bottom of DSH’s main sidebar for quick access.

When you open the archive panel, all your archived sessions are grouped by workspace to match the organization of DSH’s main sidebar. The panel behaves just like the official sidebar, with support for instant filtering by session title or workspace, plus full text search across both user prompts and assistant replies in every session. You can click any archived session to open it and continue chatting without changing its archived status, or unarchive it with one click to put it back into your main workspace, preserving its original position. If you no longer need a session, you can permanently delete it, with a confirmation dialog to prevent accidental data loss.

This plugin was developed against DSH version 0.1.0-rc.6, and relies on DSH’s internal API shapes to work correctly. Because of this dependency on internal DSH structures, future DSH version upgrades may require plugin updates to maintain compatibility. There is one known limitation: if the plugin is hot-reloaded while sessions are running, those running sessions cannot be deleted until you restart DSH. This limitation only affects development or hot-reload workflows; normal usage after a single install is not affected, and even sessions archived before installing the plugin work as expected. The plugin is released under the open source MIT license.

这是一款专为 DeepSeek Harness (DSH) WebUI 开发的原生会话归档管理插件,填补了原生 DSH 仅支持隐藏归档会话、无法查看、恢复或永久删除已归档会话的功能空白。用户可通过 DSH 官方 CLI 执行 npx @deepseek-ai/dsh plugin --profile web add dsh-archive-manager 命令完成安装,安装后重启 DSH Web 即可使用,插件会在侧边栏底部新增一个「归档」入口。

打开侧边栏的归档入口后,插件会展示归档面板,将会话按工作区分组展示,UI 风格和交互逻辑都和官方侧边栏保持一致,支持按标题、工作区甚至会话内消息实时搜索筛选。用户可以点击直接打开归档会话继续聊天,也能一键取消归档将会话放回原工作区(保留原有位置),或永久删除不需要的会话。适合需要定期整理会话、对归档会话进行精细化管理的 DSH 日常用户。

本插件针对 DSH 0.1.0-rc.6 版本开发,依赖 DSH 官方内部 API 实现功能,因此 DSH 大版本升级后可能需要适配更新才能正常使用。已知限制为插件热重载后,原本正在运行的会话无法删除,需要重启 DSH 后操作,常规一次安装后的使用不受影响。项目采用 MIT 许可证开源,更新和卸载都可通过 DSH 官方 CLI 完成。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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-aemeath-pet 下一个 Next dsh-sync →