dsh-plugin-atlas
Manifest validSettings section for archived sessions: browse by workspace, search, batch unarchive with the sidebar updating live, and optional auto-archive rules (idle days, keep-last-N per workspace) with a dry-r
dsh-plugin-archive-manager
为 dsh 的 Web UI 补上会话归档管理:设置页的一级分区「归档管理」。本插件前身为 dsh-plugin-atlas;0.3.0 起官方 Web UI 自带对话刻度尺,插件不再内置刻度尺与输入历史,专注归档一件事,并随版更名。
归档管理
已归档会话按工作区分组,支持搜索与批量取消归档,还原后侧边栏实时恢复、无需重启。标题与轮次数取自会话日志本体。

自动归档默认关闭,可配置「不活跃超过 N 天」与「每个工作区保留最近 M 条」,每日核查一次,执行前可试运行预览清单。旧版 atlas 的自动归档规则会在升级后自动沿用。
安装
dsh plugin --profile web add dsh-plugin-archive-manager
也可以在 Web UI 的 设置 → 插件 里按包名安装(经 dsh-plugin-install),或直接从 GitHub 装:
dsh plugin --profile web add github:qinyre/dsh-plugin-archive-manager
开发时 add file:/path/to/dsh-plugin-archive-manager 可装本地检出,包内 prepare 脚本会自动构建。卸载把 add 换成 remove 即可。从旧包名升级:先 remove dsh-plugin-atlas 再安装本包,归档规则无需重配。
安全与边界
写操作要求同源 POST,规则数值有范围校验,自动归档只调用 dsh 公开的 archiveSession。取消归档经由注册表预留的状态写入路径完成——若未来 dsh 的改动使其失效,插件会明确报错而不是损坏数据,届时更新 dsh 与本插件即可。插件不删除任何会话或文件。
在 DSH Desktop 中
DSH Desktop 内嵌同一 Web UI,插件装上即在桌面内生效。
开发
pnpm install
pnpm run typecheck
pnpm test
pnpm run build
端到端 smoke 默认关闭,要求同级目录存在 deepseek-harness 源码检出且 Node ≥ 22.19:
DSH_ARCHIVE_MANAGER_PLUGIN_SMOKE=1 pnpm test
它会建临时 DSH_HOME、把本插件装入 web profile、启动 dsh web,并逐一探测各路由。
许可
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.3.0 | — | — |
Comments
Loading…
Similar plugins
by Joe-0202
Two-tab archive panel (archived / active) where every row offers archive or unarchive next to permanent delete; each row shows its bound workspace folder as a clickable path, and queued archive-entry
★ 1
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-archive-managerby joyboy-yy
Keeps archived sessions out of the DSH conversation list and adds a panel to restore them or delete them permanently - session log, archive and pin records, and projection cache.
★ 0
MIT
JavaScript
Oct 16, 2026
dsh plugin --profile web add dsh-archive-purgeby jasonrale
Archived-session manager for DSH Web UI: reopen an archived session and keep chatting, unarchive it back in place, or hard-delete a session — grouped panel with message search and native view sync.
★ 6
↓ 419/wk
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-archive-managerby jujiujiang222-cell
Archived-session manager: an "Archived Sessions" settings page that lists archived sessions and lets you restore or permanently delete each one (two-step confirmation).
★ 2
MIT
JavaScript
Sep 7, 2026
dsh plugin --profile web add dsh-archive-sessionsby kiligzzz
Sidebar panel for archived sessions in DeepSeek Harness: group by workspace, search by title, preview user questions, one-click restore, or delete with confirmation.
★ 3
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add @kiligzzz/dsh-session-archiveSession management for DSH: archive or delete one session, archive/delete all sessions in a workspace, and restore archived sessions from the settings page — archiving backs up workspace metadata and
★ 0
↓ 283/wk
dsh plugin --profile web add dsh-session-delete