MIT 授權的服務化側邊欄框架,透過官方 dsh plugin CLI 原生安裝進 DeepSeek Harness web profile,內建檔案工作台、真實終端機、Git 面板,並開放第三方外掛註冊新分頁的擴充 API。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-08-21
授權條款
MIT
01它能幫你完成什麼?
Turn the DeepSeek Harness web UI into a full IDE-style workbench: files, terminal, Git and subagents in a sidebar
Right sidebar + bottom panel dual workbench with 7 built-in tabs: file explorer + CodeMirror editor with inline image / Markdown / HTML / PDF preview, embedded browser, real terminal, Git panel, background tasks and a plugin directory
DeepSeek Harness (dsh web) users who want an IDE-grade sidebar UI without leaving the harness
Extend the DSH sidebar with custom tabs and file viewers from other plugins
New sidebar pages and file previewers registered through the `ctx.betterSidebar` service (`registerTab` / `registerFileViewer`), with the same API the built-in 7 tabs + 6 viewers use
DSH plugin developers building UI panels on top of a shared sidebar foundation
02如何將外掛接入 DeepSeek Harness?
先決條件
- DSH installed and running (`dsh web` works)
- Node.js ≥ 20 and pnpm ≥ 10
- DSH 0.1.0-rc.8 — this release pins all `@deepseek-ai/*` dependencies to `^0.1.0-rc.8`; rc.7 and earlier cannot resolve the dependencies
安裝步驟
- 01
Run `dsh plugin --profile web add dsh-better-sidebar@latest`
$ dsh plugin --profile web add dsh-better-sidebar@latest
- 02
Hard-refresh the browser (Cmd/Ctrl+Shift+R) to load the sidebar — DSH hot-loads client changes, so no restart is needed unless the host half updates
驗證整合成功
- Hard-refresh the browser (Cmd/Ctrl+Shift+R); the sidebar workbench appears in the DSH web UI
03DSH 整合程度與能力邊界
Native DSH web-profile plugin installed via the official `dsh plugin --profile web add` command, organized per the official DSH plugin spec (host/client dual-half, dual client bundles)
File workbench with inline preview
workspace files→lazy-loading directory tree + CodeMirror editor; inline preview for images, Markdown (Mermaid with strict safe rendering), HTML and PDF; drag-and-drop file/folder upload
saves go through atomic `fs.write`; uploads write files into the workspace (media/preview routes are limited to the session cwd)Real terminal (xterm.js + node-pty)
shell configuration (shell / shellArgs settable in the settings page or cordis.patch.yml)→real shell with disconnect-reconnect replay; optional `terminal_*` tools injected for the model
spawns real shell processes on the host; optionally exposes terminal tools to the modelService-first extension API (ctx.betterSidebar)
third-party DSH plugins injecting the `betterSidebar` service→custom sidebar tabs and file viewers registered via `registerTab` / `registerFileViewer`
Git panel + session-isolated dual workbench
the session's git repository and open tabs→real diff with VSCode-style diff tabs, history, right-click stage / commit / restore; layout, tabs and panels persisted per session
invokes the git CLI (stage/commit/restore) but never sets git identity
04適合誰?何時不該用?
適合
- DeepSeek Harness (dsh web) users who want an IDE-grade sidebar UI without leaving the harness
- DSH plugin developers building UI panels on top of a shared sidebar foundation
不適合
- The current release requires DSH 0.1.0-rc.8 — all `@deepseek-ai/*` peer/dev dependencies are pinned to `^0.1.0-rc.8`, and DSH rc.7 or earlier cannot resolve the dependencies (upgrade DSH first).
- The real terminal depends on node-pty prebuilt binaries; if your Node version has no prebuild (common on Windows), a compile toolchain such as VS Build Tools is required.
05相容性、維護與安全提醒
- The current release requires DSH 0.1.0-rc.8 — all `@deepseek-ai/*` peer/dev dependencies are pinned to `^0.1.0-rc.8`, and DSH rc.7 or earlier cannot resolve the dependencies (upgrade DSH first).
- Git integration has no push/pull/fetch, there is no file watcher (manual refresh needed), and inline file-open buttons in tool output cannot be intercepted.
- The real terminal depends on node-pty prebuilt binaries; if your Node version has no prebuild (common on Windows), a compile toolchain such as VS Build Tools is required.
MIT · actively maintained (latest release v0.14.0, 2026-08-19)
06常見問題
如何把 dsh-better-sidebar 安裝到 DeepSeek Harness?
在 DSH 可正常執行(`dsh web`)的前提下執行 `dsh plugin --profile web add dsh-better-sidebar@latest`,然後硬重新整理瀏覽器(Cmd/Ctrl+Shift+R)即可看到側邊欄。client 變更熱載入無需重啟,僅 host 半更新時需要重啟。前置條件:Node.js ≥ 20、pnpm ≥ 10。
它是 DSH 原生外掛還是 MCP?
是原生 DSH 外掛:依 DSH 官方外掛規範組織(無 default 匯出、雙 client bundle),透過官方 `dsh plugin` 命令安裝到 web profile,執行期 `@deepseek-ai/*` 模組由 web profile 提供,不走 MCP。
對 DSH 版本有什麼要求?
目前版本相容 DSH 0.1.0-rc.8,全部 `@deepseek-ai/*` 相依套件升至 `^0.1.0-rc.8`。rc.7 及更早的 DSH 環境無法解析本版相依,需要先升級 DSH。
其他外掛能在側邊欄裡加分頁嗎?
可以。外掛自 v0.4.0 起公開 `ctx.betterSidebar` 服務,第三方外掛透過 `registerTab` / `registerFileViewer` 註冊側邊欄頁面與檔案預覽器,與內建的 7 個分頁、6 個 viewer 使用同一套 API。
有哪些已知限制?
Git 面板不支援 push/pull/fetch,沒有檔案 watcher(需手動重新整理);真實終端機依賴 node-pty,Windows 上若目前 Node 版本沒有預編譯二進位,需要安裝編譯工具鏈(VS Build Tools)。
07相關的 DSH 工作流程
dsh-tui
作者 ccch1mneyyy
DSH 官方公眾號收錄的 TUI 補位外掛:Claude Code 風,鯨魚頂欄/即時狀態/流式思考/雙擊 Esc 回滾/上下文進度+TPS。npm 一鍵裝。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rollback, context bar + TPS. npm one-click.
dsh-tianshu-tui
作者 huiliyi37
官方 DeepSeek Harness 的互動式終端 UI 外掛:自研 ANSI 極簡互動渲染、流式 Markdown/工具卡、16+ 主題、slash 命令與選擇器、輸入歷史與本地偏好持久化、LSP 診斷、memory記憶,很絲滑的開發體驗。
dsh-popout-sidebar
作者 e2mcc
將側邊欄彈出為獨立瀏覽器標籤頁,可拖到另一塊螢幕使用
seektty
作者 hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 風格終端介面,支援 Windows、macOS 與 Linux,相容透明終端、VS Code 主題和自定義配色。
08資料與來源
dsh plugin --profile web add dsh-better-sidebar@latest
插件按 DSH 官方规范组织(无 default 导出、双 client bundle),运行期不依赖 npm / checkout(`@deepseek-ai/*` 由 web profile 提供)。
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
