DSH Hub

hkkz9522/dsh-session-manager

dsh-session-manager

UIWeb UI2 GitHub stars· updated 2026-08-16

Session manager for DeepSeek Harness: delete conversations with confirmation and manage archives.

Install

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

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-session-manager DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/hkkz9522-dsh-session-manager.svg)](https://dshhub.dev/plugins/hkkz9522-dsh-session-manager)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from hkkz9522/dsh-session-manager, cleaned of badges and images.

dsh-session-manager — conversation manager (delete + archive)

中文 | English

Adds two capabilities that are missing from DeepSeek Harness Web:

  1. Delete conversations (with an explicit confirmation dialog): physically deletes a session — stops and disposes its agent, detaches the session store entry (every tab drops the row), removes the JSONL directory from disk, and cleans up workspace accounting and the archive set.
  2. Archive management: archive (workspace.archiveSession, built in) and unarchive (missing in rc.6 — this plugin implements it on the host side through the workspace registry's own persistence queue, with host/archived-sessions-changed frames keeping every client in sync).

Features

  • 🗑 Delete sessions: a "Delete session…" button in the conversation header plus a per-row delete in the manager panel — every path requires confirmation.
  • 📦 Archive / unarchive: header button + per-row actions in the panel.
  • 📋 Session manager panel (sidebar footer entry): filter by All / Active / Archived (archived sessions are invisible in the sidebar — the panel is where you find them again), with per-row Open / Archive / Unarchive / Delete.
  • 🏷 Status badges: archived / running / current; relative time and workspace directory.
  • ⚠️ The delete dialog shows the session title and an "irreversible" warning; for a running session it warns that deletion will interrupt it immediately.

Where the UI lives

LocationContent
Conversation header (next to the session title)"Archive / Unarchive" and "Delete session…" (red, confirmation dialog) buttons
Sidebar footer"会话管理" button that opens the full manager panel

Install

From npm (recommended)

dsh plugin --profile web add dsh-session-manager

Restart the web app to activate (profile bundle auto-assembles; lib/ is the runtime artifact, no build step).

From GitHub (alternative)

dsh plugin --profile web add github:hkkz9522/dsh-session-manager

Local development / runtime injection

After cloning, inject in a web session that has dsh-super-injector resident (activates immediately, no restart):

dev_inject_plugin {"dir": "<absolute path to the repo>"}

Uninstall

  • Installed via dsh plugin add: remove the entry from dsh.profile.bundles and dependencies in ~/.dsh/profiles/web/package.json, then restart.
  • Installed via runtime injection: dev_uninject_plugin {"name": "dsh-session-manager"}

Compatibility (DSH upgrades)

Related plugins