dshbase

Plugin directory / Developer / dsh-session-manager

dsh-session-manager

Unverified hkkz9522

2 contributors Builds on 1 official DSH packages

View on GitHub ↗ ← Back to plugin directory

102Stars
0Forks
0Open issues
—Language
—Last push
Cross-platformPlatform

What it does

DeepSeek Harness session manager: delete, archive, move sessions across workspaces, migrate presets, favorites, review-later, search, filter, sort, prioritize, add tags & notes, and batch-manage sessions. | DSH 会话管理:删除、归档、跨工作区移动、预设迁移、收藏、待回看、搜索、筛选、排序、优先级、标签、备注及批量操作。

Our take

No short evidence report

There is no checkable per-level test record on this page. Stars, the catalog test field, a web-only flag, and whether the plugin needs an external account or service are not shown here as a pass or a failure. The catalog badge stays as published.

“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

Plugin author? Get the “Verified” label — submit your own evidence (screenshots, logs, or a short demo) and we'll review and flip the badge.

Submit verification evidence ↗

README

dsh-session-manager — session manager for DeepSeek Harness

English | 中文

npm version
GitHub
CI
Awesome DSH Plugin

0 Overview

DeepSeek Harness session manager: delete, archive, move sessions across workspaces, migrate presets, favorites, review-later, search, filter, sort, prioritize, add tags and notes, and batch-manage sessions.

Verified with the official DSH Desktop client; see 5 Compatibility for the current verification scope. Both environments use the same plugin Host/client functionality; environment-specific installation notes are documented below.

1 Features

1.1 Session lifecycle management

  • Delete is irreversible and always asks for confirmation. Subagent sessions and transient blank placeholders (no persisted artifact) cannot be deleted.
  • Archive / Unarchive moves a session in and out of the active list without touching its disk content.
  • Move to workspace keeps history, title, archive state and derived-session relationships intact, rewrites the session's cwd to the target workspace, and updates the live writer's header in place so any pending tool calls keep landing on the new path.
  • Migrate Agent preset rewrites the latest agent-preset/selected event (or the session header if no such event exists) so a session whose preset was renamed or removed can resume. Message history is never altered.

1.2 Session shortcuts

  • Favorites / Review-later are manual flags that survive archive and session end; neither is cleared automatically.
  • Search matches title, session ID, note and tags case-insensitively, trims whitespace, and never reads chat history.
  • Filters and sorting combine a workspace selector (All / Ungrouped / specific) with an archive filter (All / Active / Archived), then layer favorites / review, tag and priority filters on top. Sort by recently updated (default), least recently updated, newest created, oldest created, or priority (1 → 5).
  • Priority is a dropdown 1 Highest, 2 High, 3 Normal, 4 Low, 5 Lowest, default 3 (Normal); legacy null priorities are normalized to 3.
  • Tags / Notes: up to 20 tags per session (≤ 32 characters each) and a 2000-character note. Both English , and Chinese , are separators, whitespace is trimmed, duplicate tags are merged case-insensitively.
  • AI-assisted tagging is manual and opt-in: Copy Prompt writes a structured prompt (Chinese or English, matched to the active UI) to the clipboard; Import parses the clipboard JSON (tolerating Markdown fences, conversational wrappers, smart quotes, stray backslashes and a leading BOM), validates it against the same limits, and populates the editor fields. Neither button calls a model automatically.
  • Annotations live in plain text under the DSH home (dsh-session-manager/annotations.v1.json), keyed by session ID. Same-origin client instances stay in sync via BroadcastChannel. Saves are durable across crashes; revision conflicts surface a "load latest" prompt.

1.3 Bulk management

  • Batch process mode: click the toggle in the panel header to reveal row checkboxes, a Select all in filter / Clear selection toolbar pair, and the bulk action bar. Exiting batch process clears the current selection.
  • Action bar lists every batch action:
    • Annotation toggles: Archive / Unarchive / Favorite / Unfavorite / Mark for review / Clear review flag.
    • Mutating actions: Add tags / Clear tags / Set priority / Move to workspace / Migrate preset / Delete session.
  • Confirmation flow:
    • Non-destructive actions (archive / unarchive / favorite / unfavorite / review / unreview / add-tags / clear-tags / set-priority / move / preset-migrate) fire immediately and report per-session results in a result dialog with Success / Failed / Skipped groups and a one-click Retry failed that re-arms the failed IDs into the selection.
    • Destructive actions (delete session) first open a preview dialog listing the targeted sessions, then show a progress bar, then a per-id result dialog.

1.4 Plugin updates and settings

  • Self-update check: A 🐋 (Whale) icon button in the session manager panel header checks for updates and displays a notification dot when a new version is available. Click to open the update dialog with current and latest versions, and one-click update via the DSH Plugin Manager.
  • Settings Card: Registered under DSH Settings (settings.plugin.item). Displays current version, latest version, inline check/update buttons, an auto-check toggle, and GitHub repository link.
  • Install Source (Registry): Select between npm official registry (registry.npmjs.org, default) and China mainland mirror (registry.npmmirror.com) in the Settings Card. Check for updates and download packages directly from the selected registry.
  • Dialog opacity: A 50%–100% slider (5% steps, default 100%) with a "Reset to default" button in the Settings Card's preferences section. Adjusts the background fill opacity of plugin dialogs in real time while keeping text, buttons, inputs, tags, and borders fully opaque.
  • Theme: Automatically follows the active DSH theme (including third-party theme plugins). Dialogs, settings cards, title-bar buttons, menus, inputs, and all other UI elements seamlessly adapt to light and dark themes.

2 UI entry points

2.1 Title bar

The right side of the title area exposes actions for the current session: Archive / Unarchive, Tags / Notes, Move to workspace, Delete session.

2.2 Session manager panel

Open the Session manager panel from the bottom of DSH's sidebar to browse every session, switch workspaces, search by title or ID, apply filters and sorting, and run Open / Archive / Unarchive / Tags / Notes / Move / Migrate preset / Delete on any row. The panel header carries the workspace selector, archive filter, favorites / review flags, tag and priority filters, sort order, and matching / total counts plus a reset action.

2.3 Bulk management

The Batch process button in the session manager panel header is the entry point: click it once to enter batch process (row checkboxes appear, the Select all in filter / Clear selection pair and the bulk action bar show up); click it again to exit batch process.

2.4 Settings Card

Navigate to DSH Settings -> Plugins -> Session Manager to inspect versions, switch between npm official and China mainland mirror registries, toggle auto-update checks, or trigger updates.

3 Installation

3.1 Install from Plugins

In DSH, open Plugins, add a plugin, search for dsh-session-manager, and install it. This method is supported by both the official Web UI and Desktop app.

3.2 Install from Third-Party Plugin Markets

This plugin is listed in dsh-market and awesome-dsh-plugin.

3.3 Install to the Web profile via CLI

Install from npm:

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

Install from GitHub:

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

Restart DSH Web after installation. If the browser still loads an older client bundle, use Ctrl+Shift+R to force-refresh the page.

The desktop profile is managed by the official Desktop app and is not intended to be modified with the regular dsh CLI. Desktop users should install the plugin through Plugins in the app.

3.4 Local Development / Testing

Web profile

Install the local repository via CLI:

dsh plugin --profile web add <path-to-this-repository>

The local repository is linked to the current profile as a plugin checkout, making it suitable for modifying the source code directly and testing changes.

Desktop app

Open Plugins in the official Desktop app and use the absolute path to the local repository as the installation source.

For client-side code, changes can be reloaded automatically after saving when HMR is working normally. If a change does not take effect immediately, reload the current interface or restart the corresponding DSH Web / Desktop client.

After changing plugin dependencies, package.json, bundle configuration, or other installation- or loading-related settings, reinstalling the plugin or restarting the corresponding client is recommended.

4 Safety and behavior

  • Deletion is permanent, so the UI always asks for confirmation. The API checks the session ID, directory boundary and artifact header before deletion; traversal, symlinks and junctions are refused.
  • Move and preset migration keep the live session / agent alive; only deletion cancels and disposes the session. Move updates the stored cwd and the existing live writer's header.
  • The management list hides subagent sessions and the move API rejects them. Blank sessions without a persisted artifact cannot be moved.
  • Cold rewrites preserve the artifact's stored format (V1 / V2 / V3 / V4 are all readable; the plugin never forces an upgrade). Moves and rewrites refuse corrupt / truncated Zstd logs or JSONL logs with incomplete final lines instead of publishing partial history.
  • Preset migration separates backup, publication and rollback. If rollback fails, recovery files are retained and their paths are included in the error; do not remove them.
  • Incomplete startup scans skip workspace reconciliation. Complete scans preserve live sessions and any membership added during the scan.
  • Plugin mutations are serialized per session and request bodies are limited to 64 KiB. This queue supplements, rather than replaces, DSH's own persistence coordination.

5 Compatibility

DSH versions are shown above plugin versions; each column represents a tested version combination.

Verification note: from 0.6.3 on, this plugin is verified with the official DSH Desktop client only (the Web UI shares the same Host/client code but is no longer covered by the verification matrix).

v0.2.0-rc.2 v0.1.7-rc.2 v0.1.7-rc.1
0.6.4, 0.6.3, 0.6.2, 0.5.4 0.5.3 0.5.2
v0.1.6-alpha.2 v0.1.5-rc.2 v0.1.5-rc.1
0.5.1 0.4.11 0.4.10, 0.4.9, 0.4.7
v0.1.3-alpha.2 v0.1.2-rc.1 v0.1.0-rc.7
0.4.6, 0.4.4, 0.4.1 0.4.0 0.1.2, 0.1.1, 0.1.0

The version combinations above have been tested with either the official Web UI or Desktop app. Other version combinations may also work but have not been individually verified.

When using a standalone DSH CLI/runtime, Node.js 22.15+ (22.x) or 24+ is required for built-in Zstd support. The official Desktop app ships and manages its matching runtime separately.

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

6 Development

  • lib/index.js is the host-side ESM plugin; lib/client.js is the client UI bundle. No build step is required.
  • Before submitting changes, run:
npm run check
npm test
npm run check:package
git diff --check

Tests use isolated temporary directories and the real plugin entry point, never real sessions. CI runs these checks on Windows / Linux with Node 22.15.0 / 24.

Optional integration check: run node scripts/smoke-test.mjs against a running DSH Web-profile test instance. It contacts a real service and is not part of the default unit test suite.

Release history is in CHANGELOG.md.

7 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. Suggestions and feedback are welcome.

8 License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-session-manager for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

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

Headless (CLI) profile:

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

Test report

No short evidence report

There is no checkable per-level test record on this page. Stars, the catalog test field, a web-only flag, and whether the plugin needs an external account or service are not shown here as a pass or a failure. The catalog badge stays as published.

When to use it

Change how dsh looks or how you interact with it — a theme, a skin, or a new panel that reshapes the workspace.

Who it's for

Users who spend hours in the web UI and want it to look and feel the way they work.

For developers — extending it

Skins, panels, and theme tokens are the extension points — author a new skin, add a panel, or sync tokens with an upstream palette.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 26834 plugins →