Back to directory

dsh-session-manager

Curated pickMaintenance: Active

dream12347/dsh-session-manager

DSH 会话管理器 UI 插件。

View on GitHub
$ dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'

69

stars

11

forks

TypeScript

Language

MIT

License

2026-08-14

Created

2026-08-27

Last push

A feature-complete DSH session-manager plugin for the DeepSeek Harness Web UI: delete/restore/purge, stats, continue/pause, fork, workspace grouping, and a global context-compaction threshold — no core-code edits.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-01

License

MIT

01What can it help you accomplish?

  • Manage DeepSeek Harness sessions from the Web UI — delete, restore, pause, resume and organize them

    Trash/restore/purge deletes, per-session stats, continue/pause, log-folder open, a header drawer, workspace grouping and a context-compaction threshold — without touching DSH core code

    DeepSeek Harness (dsh) web users who run many sessions and want built-in session lifecycle management

  • Control automatic context compaction across all agent sessions

    A global threshold (17%–90% of the 1M-token window) that auto-compacts and keeps the most recent 16%, applied uniformly to every agent preset's sessions

    Heavy dsh users who hit context-window limits and want uniform compaction behavior

02How to install into DeepSeek Harness

Installation steps

  1. 01

    Add from GitHub: run `dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'`

    $ dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'

  2. 02

    Add from a local directory: `dsh plugin --profile web add /absolute/path/to/dsh-session-manager`

    $ dsh plugin --profile web add /absolute/path/to/dsh-session-manager

  3. 03

    Add from a tarball: run `pnpm pack`, then `dsh plugin --profile web add /absolute/path/to/dsh-session-manager-0.2.2.tgz`

    $ dsh plugin --profile web add /absolute/path/to/dsh-session-manager-0.2.2.tgz

  4. 04

    Restart `dsh web` after install — the host plugin and client bundle need a restart to load

    $ dsh web

Verify the integration

Not specified by the author

03DSH integration and capability boundaries

DSH integrationNative runtime

Native dsh CLI plugin that manages sessions inside the DeepSeek Harness Web UI without patching core code

  • Recycle bin with restore & purge

    deleted sessions→moved to trash (keeps latest 10, auto-purges the oldest), restorable or permanently deleted

    moves deleted sessions out of the active list into trashpermanently deletes session records on purge
  • Workspace grouping & ordering

    sessions grouped by workspace→grouped view sorted by last-used time (newest/oldest toggle); drag a workspace title to reorder

  • Global context-compaction threshold

    all agent preset sessions→auto-compacts at a set fraction (17%–90%) of the 1M-token window, keeping the latest 16%

    applies uniformly to every agent preset's sessionspersists across restarts
  • Continue, pause & fork sessions

    an existing or running session→one-click open-and-close panel; pause stops the current turn; fork a child session via official `sessions.fork`

04Who is it for? When not to use it?

Good for

  • DeepSeek Harness (dsh) web users who run many sessions and want built-in session lifecycle management
  • Heavy dsh users who hit context-window limits and want uniform compaction behavior

Not for

  • Each compaction keeps only the most recent 16% of the original text, dropping the older context; this is applied automatically once the threshold is reached.

05Compatibility, maintenance and safety notes

  • Only sessions that are currently 'thinking' cannot be deleted; an open but idle session may still be deleted.
  • Each compaction keeps only the most recent 16% of the original text, dropping the older context; this is applied automatically once the threshold is reached.
2026-08-142026-08-27v0.2.2

MIT · latest release v0.2.2 (2026-08-20), last push 2026-08-27

06Frequently asked questions

How do I install dsh-session-manager in DeepSeek Harness?

Run `dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'` from the dsh CLI, then restart `dsh web` so the host plugin and client bundle reload. You can also add it from a local directory or a tarball.

Does it modify DeepSeek Harness core code?

No. The README states it manages sessions without modifying DSH core code — it adds a Settings section and a header drawer inside the existing Web UI.

What does the recycle bin do?

Deleted sessions move to a trash that keeps the latest 10 (auto-purging the oldest beyond that); each can be restored or permanently purged from the trash.

How does the context-compaction threshold work?

It's a global setting (17%–90% of the 1M-token window) that auto-compacts and keeps the most recent 16% of text; it applies uniformly to every agent preset's sessions and persists across restarts.

Can I manage subagent sessions?

Yes — subagent sessions can be deleted when not running; even orphaned subagents (whose parent session was deleted) show up in session management for cleanup.

08Data and sources

  • Author-claimedgithub.comadfd5473bad3…

    在 DeepSeek Harness Web 界面中全面**管理会话**

  • Author-claimedgithub.comadfd5473bad3…

    不修改 DSH 核心代码。

  • Author-claimedgithub.comadfd5473bad3…

    dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-01. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.