DeepSeek Harness Plugin

jasonrale/dsh-archive-manager

Stars ★ 1 Category Sessions & Messages Added 2026-08-16 npm dsh-archive-manager

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.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-archive-manager

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:jasonrale/dsh-archive-manager

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文 | 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 (one command):

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

Or from a git checkout:

# 1. Clone the repo — any location works; this is just an example
git clone https://github.com/Jasonrale/dsh-archive-manager.git ~/dsh-archive-manager

# 2. Register it (the profile is created automatically if missing;
#    replace the path with the one YOU cloned to)
npx @deepseek-ai/dsh plugin --profile web add ~/dsh-archive-manager

# 3. Restart dsh web

Updating

A local install is a snapshot, not a live link — after changing the plugin sources, re-register:

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

Uninstall

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

Then restart dsh web (the source directory can be kept or deleted).

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →