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
- 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'
- 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
- 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
- 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
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 purgeWorkspace 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 restartsContinue, 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.
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.
07Related DSH workflows
dsh-better-sidebar
by omdsh-dev
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
dsh-tui
by ccch1mneyyy
Claude Code 风格全屏终端 TUI:像素鲸鱼顶栏、双流光大字、实时工作状态行、思考流式展开、双击 Esc 时间回溯、上下文进度条 + TPS 仪表;接入 Agent preset(standard/code/minimal/cordis)、Skills、MCP、Goals、Todos、子代理,/ 命令注册表与随附技能(audit/bug/review/practice/pr_comments/release-notes/vuln-check);纯插件挂载零核心改动。
dsh-tianshu-tui
by huiliyi37
DeepSeek Harness 交互式终端 UI 插件:会话工作区、图片端到端(剪贴板/视觉桥)、slash 下拉、审批卡片、推理可视化,纯展示层
dsh-damage-pulse
by wssfk12138
Game-style token-usage / balance damage-pulse visualization for DeepSeek/DSH.
08Data and sources
在 DeepSeek Harness Web 界面中全面**管理会话**
不修改 DSH 核心代码。
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.
