DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-session-manager

h

dsh-session-manager

Manifest valid★ 89

Session manager for the DeepSeek Harness Web UI: delete sessions, move sessions across workspaces, and migrate a session's Agent preset.

UI (client)hasBundlePatch

dsh-session-manager — session manager for DeepSeek Harness

English | 中文

npm version GitHub CI Awesome DSH Plugin

A DeepSeek Harness (DSH) Web plugin for session management: delete sessions, archive sessions, move sessions across workspaces, and migrate a session's Agent preset. Suggestions are welcome on GitHub.

Features

  • Archive / unarchive sessions.
  • Delete sessions with an explicit irreversible-action confirmation.
  • Move to workspace: preserves history, title, archive state, and derived-session relationships, and rewrites the session's working directory to the target workspace.
  • Migrate Agent preset: change the preset on demand. Typical use case: when the original preset was renamed or removed and the session can no longer resume, you can repair that session.
  • Session manager panel: browse active and archived sessions in the sidebar, and run Open, Archive / Unarchive, Move, Migrate preset, or Delete on each row.
  • The current session's title area offers Archive / Unarchive, Move to workspace, and a red Delete session button.
  • Each dialog button (Move, Migrate preset, Delete, plus the Session manager toggle) closes its own popup when clicked a second time, matching the built-in title-area buttons.

Where to find the UI

  • Session title area (right side): Archive / Unarchive, Move to workspace, Delete session.
  • Sidebar footer → Session manager: browse all sessions (including archived ones) and operate on each one.

Agent preset migration

Use this when a session can no longer resume because its original preset no longer exists, for example after removing a custom preset such as router-standard.

  1. Open Session manager.
  2. Locate the session and select Migrate preset.
  3. Choose one of the currently available target presets and confirm.

The plugin determines the session's effective preset from its latest agent-preset/selected event when present; otherwise it uses the session header. It then rewrites that event in place (or appends a fresh one if the session has never recorded a selection), so the migration is durable and the prior entry remains visible in the event log as history. For a live session, the new event is appended in memory via Session.append() and flushed to disk via SessionStore.flush(); the api-gateway's chat panel sees the new preset on the next event fold.

A preset migration changes session metadata only. It does not alter message history, files, or the selected workspace.

Install

The plugin is listed in dsh-market and awesome-dsh-plugin, and can be installed directly from the Plugin Marketplace inside DSH.

From dsh-market

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

From GitHub

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

Restart DSH Web after installation. If the browser still holds an older client bundle, force refresh with Ctrl+Shift+R.

Local development / runtime injection

dev_inject_plugin {"dir": "<absolute path to this repository>"}

Safety and behavior

  • Deletion is permanent, so the UI always asks for confirmation.
  • Move and Migrate preset do not tear down the live agent or session. They keep the in-memory session/agent alive, write the new artifact in place, update the in-memory session header to point at the new cwd (move) or append the new event (migrate), and refresh the workspace registry. The api-gateway's chat panel therefore stays "available" without a manual refresh.
  • Move rewrites the session's stored cwd; subsequent tool calls run in the target workspace.
  • Subagent sessions and transient blank-session placeholders are excluded from Delete, Move, and Migrate preset.
  • The move path encodes the artifact in the backend's own physical layout (zstd frames with a one-header-line first frame, or plain JSONL), matching DSH's own writer. The migrate path rewrites the relevant event in place at the existing file.

Compatibility

Plugin versionVerified DSH version
0.4.11v0.1.5-rc.2
0.4.10v0.1.5-rc.1
0.4.9v0.1.5-rc.1
0.4.7v0.1.5-rc.1
0.4.40.1.3-alpha.2
0.4.10.1.3-alpha.2
0.4.0v0.1.2-rc.1
0.1.2v0.1.0-rc.7
0.1.1v0.1.0-rc.7
0.1.0v0.1.0-rc.7

The plugin is a Cordis plugin and declares cordis: ">=4.0.0-rc <5" as its peer dependency.

Development

  • lib/index.js is the host-side ESM plugin; lib/client.js is the Web client bundle. No build step is required.
  • Before submitting changes, run:
node --check lib/client.js
node --check lib/index.js
node --test test/*.test.mjs
node scripts/smoke-test.mjs
git diff --check
npm pack --dry-run

Release history is in CHANGELOG.md.

Acknowledgments

Thanks to everyone who installs and uses dsh-session-manager, and to the people who file issues and open pull requests to help improve it. This plugin is listed in dsh-market and awesome-dsh-plugin. Suggestions and feedback are welcome.

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.0-rc.1: failedDSH 0.1.7-rc.1: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.4.0——
0.4.1——
0.4.4——
0.4.6——
0.4.7——
0.4.9——
0.4.10——
0.4.11——
0.5.1——
0.5.2——
0.5.3——
0.6.3——
0.5.4——
0.6.2——
0.6.4——
0.7.0——
0.7.1——

Comments

Loading…

Similar plugins

dsh-session-manager

by SunshineR04

Settings-page manager for archived DeepSeek Harness sessions: restore an archived session to its previous workspace position or permanently delete it (direct physical deletion, no backup layer). Adds

Sessions & MessagesManifest valid

★ 1

↓ 3.8k/wk

MIT

JavaScript

Oct 10, 2026

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

by wuxiangru915

Session manager for the DSH Web UI: browse all and archived sessions, restore/unarchive, delete with two-step confirmation, and preview conversation content from the Settings panel.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Sep 7, 2026

dsh plugin --profile web add @dshwp/dsh-session-manager

by wjackiedev

Archived-session manager for the DeepSeek Harness Web GUI — restore and permanently delete session logs.

Development & InfrastructureTerminal & ClientsManifest valid

★ 1

↓ 3.2k/wk

MIT

JavaScript

Sep 20, 2026

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

by liuyu-f

Permanently delete DeepSeek Harness sessions from the UI (header button + sidebar row menu) or via the session_delete tool: removes the log directory, projection cache and workspace accounting, cascades into the subagent sessions a session owns (your forked branches are never touched), and stops a running agent first.

Sessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add @liuyu-f/dsh-plugin-session-cascade-delete

by hwangjunjie

Manage DeepSeek Harness sessions from the Web UI: drag & drop / menu move to another folder, permanently delete, and AI-rename by summarizing the conversation. Includes agent tools.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-session-move

by Temoa

Session management for DeepSeek Harness (DSH).

Manifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @temoa/dsh-sessions-rm