功能齊全的 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-tianshu-tui
作者 huiliyi37
官方 DeepSeek Harness 的互動式終端 UI 外掛:自研 ANSI 極簡互動渲染、流式 Markdown/工具卡、16+ 主題、slash 命令與選擇器、輸入歷史與本地偏好持久化、LSP 診斷、memory記憶,很絲滑的開發體驗。
dsh-damage-pulse
作者 wssfk12138
DeepSeek Harness Token 餘額監控外掛:鯨魚娘待機/扣費/復甦動畫、峰谷計費、連續扣費飄字與會話費用統計。
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 個值得優先安裝的外掛,涵蓋各個分類。
