keepermttl/dsh-archive-viewer

DeepSeek Harness archive session management plug-in: view/restore archived sessions (return to the original workspace group) + close dsh with one click in the upper right corner

dsh-archive-viewer is an archived-session manager for the DeepSeek Harness Web GUI: browse, read, and restore archived sessions, plus a one-click shutdown button in the header. A sidebar plugin-bar entry lists every archived session (title, last activity, workspace, running/blank state) with keyword search (and an optional page-by-page content search), sorting, and custom persistent per-session tags. It embeds an AI assistant at the bottom of the panel that can drive a real DSH agent to search sessions, add tags, and organize archives (its helper sessions are auto-hidden). It reads conversation logs directly host-side (paged, multi-MB logs in under a second), can download a session log ZIP through the official session.export endpoint, restores sessions to their original workspace group by writing the registry archive set, offers a graceful host shutdown, and is skin-adaptive through shell design tokens.

Files & Data ★ 3 updated 2026-09-12 ✅ runtime-tested
View on GitHub ↗

Install

git clone https://github.com/keepermttl/dsh-archive-viewer.git && cd dsh-archive-viewer && pnpm install && pnpm build && dsh plugin --profile web add link:$(pwd)

Requirements: Node.js >= 22 and pnpm. Clone, install, build, then the dsh plugin --profile web add link:$(pwd) line above (POSIX; the README gives the Windows equivalent link:E:\path\to\dsh-archive-viewer). Restart dsh web and hard-refresh (Ctrl+F5); the README warns that a browser refresh alone will not load the four new host-side routes. No registry package is claimed.

Compatibility

DeepSeek Harness 0.1.2-rc.x. The README states no DSH core patch is required -- unarchive goes through the registry's own commit path, so a DSH upgrade cannot wipe it, and the legacy patches/ directory is kept for history only (do not apply it). Zero framework type dependencies (no @deepseek-ai/* value imports). Build uses tsdown (host half lib/index.js + browser half lib/client.js).

Details

Recent updates

The README documents the 0.1.2-rc.x rewiring that removed the need to patch DSH source (host routes /api/archive-viewer/history, /content-search, /archive, /unarchive; official unary RPC for AI helper services; host.shutdown), the loopback same-origin requirement on those host routes, settings persisted in dsh-archive-viewer:settings:v1 localStorage, tags persisted to dsh-archive-viewer-tags.json under the DSH profile, and a bilingual zh/en UI.

FAQ

How do I install dsh-archive-viewer?
Per the README: clone the repo, run pnpm install && pnpm build, then dsh plugin --profile web add link:$(pwd) (POSIX) and restart dsh web with a hard refresh. Node.js >= 22 and pnpm are required.
Does it need a DSH core patch?
No. The README states this version no longer requires patching DSH source -- unarchive goes through the registry's own commit path; the legacy patches/ directory is kept for history only and must not be applied.
Can it restore archived sessions?
Yes. One click puts a session back into its original workspace group with its position preserved (the host half writes the registry archive set, and domain/changed updates every client live).

Alternatives

Zephyr-vibe/dsh-archived-sessions · jasonrale/dsh-archive-manager · Ultronen/dsh-archived-chats

More plugins in Files & Data

Browse more in Files & Data

Guides for Files & Data plugins