dsh-session-manager: A Session Management DSH plugin for DeepSeek Harness

dream12347/dsh-session-manager

Sessions & MessagesVerified
Listed on 2026-08-20
Page last updated 2026-08-20

DSH plugin for session management: delete with trash, stats, continue/pause, archive restore, workspace grouping, context compaction threshold.

Manage sessions centrally in the DeepSeek Harness web UI with delete, restore, stats, continue/pause, workspace grouping, and context compaction threshold settings, without modifying core code.

install
dsh plugin --profile web add github:dream12347/dsh-session-manager
Category
Sessions & Messages
Platform
DSH-Plugin
Author
dream12347
Distribution
Plugin

dsh-session-manager Key Features

Delete/restore/purgeStats and pauseArchive restore & trashWorkspace groupingContext compaction threshold

dsh-session-manager Repository

dream12347
Publisher
dream12347
Repository
dream12347/dsh-session-manager
36
Stars
3
Forks
2
Watchers
0
Open issues
LanguageTypeScript
LicenseMIT License
Website
Repo last push2026-08-19 20:37:31
Repo created2026-08-14 22:29:25
Topics
ai-workerdeeepseek-harness-pluginsdeepseek-harnessdeepseek-harness-plugindshdsh-plugin
Default branchmain

dsh-session-manager Repo Summary

dsh-session-manager is a session management plugin (DSH plugin) for DeepSeek Harness, maintained by dream12347 under the MIT license, written in TypeScript. It addresses the scattered and cumbersome session management in the DSH web UI by providing a one-stop solution: delete with trash/restore/purge, stats, continue/pause, log folder, header drawer, workspace grouping and sorting, and context compaction threshold settings—all without modifying DSH core code.

What core session management features does the dsh-session-manager DSH plugin support?

The plugin adds a dedicated "Session Management" section in the settings page, listing all sessions (including archived ones with one-click restore). Deleted sessions go to a trash (keeping the latest 10) and can be restored or purged. Each session can expand to show recent activity stats (turns/user messages/assistant messages/tool calls/activity window). It supports one-click continue, pause running turns, and fork a sub-session in a new chat. Unread/read status dots use colors: blue=manual unread, amber=awaiting input, green=completion reminder, spinner=running; clicking marks as read in place. The conversation header provides quick entries for "Conversation Manager", "Trash", and "Delete This Conversation", with a drawer that can be pinned and auto-collapses on outside click.

How to install dsh-session-manager?

Install from GitHub (recommended):

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

You can also install from a local directory or tarball:

bash
dsh plugin --profile web add /absolute/path/to/dsh-session-manager
dsh plugin --profile web add /absolute/path/to/dsh-session-manager-0.1.7.tgz

After installation, restart dsh web for the host plugin and client bundle to take effect.

How to use workspace grouping and sorting in dsh-session-manager?

Sessions are grouped by workspace, sorted by last use time (toggle newest/oldest). Drag workspace titles to reorder (insert/swap/move to end). Hovering shows buttons for "Pin to Top", "Rename", and "Delete". Deleting a workspace only removes it from the list; folders and session records are kept, and sessions move to "Ungrouped".

How to set the context compaction threshold in dsh-session-manager?

In General Settings, you can set the ratio of the model window (1M tokens) at which to auto-compact (17%–90%), keeping the most recent 16% of the original text. This applies uniformly to all agent presets, takes effect immediately, persists, and auto-applies after restart.

Which DeepSeek Harness versions and platforms does dsh-session-manager support?

The plugin targets the DeepSeek Harness web UI, registering a section via the official settings.section slot, using standard data sources like useSessions/useWorkspaces, and depending on @deepseek-ai/dsh-* packages. It is compatible with DSH's host and client architecture. The UI adapts to Chinese and English based on the page language.

View more DSH plugins at dsh-plugin.org

DSH-Plugin FAQ