功能齐全的 DSH 会话管理插件,面向 DeepSeek Harness Web 界面:删除/恢复/彻底清除、统计、继续/暂停、fork、工作区分组,以及全局上下文压缩阈值,无需改动核心代码。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-01
许可证
MIT
01它能帮你完成什么?
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
02如何接入 DeepSeek Harness?
安装步骤
- 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
验证接入成功
作者未说明
03DSH 适配与能力边界
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`
04适合谁?何时不该用?
适合
- 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
不适合
- 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.
05兼容性、维护与安全提示
- 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
06常见问题
如何在 DeepSeek Harness 中安装 dsh-session-manager?
在 dsh CLI 中执行 `dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'`,然后重启 `dsh web`,让宿主插件和客户端 bundle 重新加载。也可以从本地目录或 tarball 添加。
它会修改 DeepSeek Harness 核心代码吗?
不会。README 说明它在不修改 DSH 核心代码的前提下管理会话——仅在现有 Web 界面中新增设置分栏和对话顶部抽屉。
回收站有什么作用?
被删除的会话会进入回收站,保留最近 10 条(超出自动清除最早一条),每条都可恢复或彻底清除。
上下文压缩阈值如何工作?
这是一个通用设置(占 100 万 token 窗口的 17%–90%),达到阈值自动压缩并保留最近 16% 原文;对所有 Agent 预设的会话统一生效,且重启后自动应用。
能管理子代理会话吗?
可以——子代理会话在非运行状态下可删除;即使主会话已删除、子代理成为「孤儿」,也会出现在会话管理中可直接清理。
07相关的 DSH 工作流
dsh-tui
作者 ccch1mneyyy
DSH's officially top-recommended TUI plugin — high performance, low overhead, cute pixel whale, smooth mouse interaction. One-command install via npm. / DSH 官方首推的 TUI 插件,高性能低占用,可爱像素鲸鱼,流畅鼠标交互,npm 一键安装
dsh-better-sidebar
作者 omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
dsh-media-desk
作者 woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
dsh-drawai
作者 fourzkw
DSH 右侧栏里的可编辑画布 —— 加上让模型直接改图的两个工具
08数据与来源
在 DeepSeek Harness Web 界面中全面**管理会话**
不修改 DSH 核心代码。
dsh plugin --profile web add 'github:dream12347/dsh-session-manager#v0.2.2'
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-01。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
