MIT 授權的 Claude Code 風格終端機 TUI,以純外掛掛載 dsh profile(dsh --profile dsh-tui),零核心改動,提供鯨魚頂欄、即時狀態、上下文進度條、TPS 儀表與雙擊 Esc 時間回溯。
DSH 整合
相容
作者聲明
安全稽核
未稽核
最後核實
2026-08-21
授權條款
MIT
01它能幫你完成什麼?
Run DeepSeek Harness coding-agent sessions in a Claude Code-style fullscreen terminal TUI
A polished TUI experience: pixel whale splash bar, dual flowing-glow title, real-time working status line, streaming thought expansion, double-Esc time rewind, blue-white context progress bar + TPS gauge
Developers who run the official dsh CLI in a terminal and want a beautiful, observable Claude Code-style TUI instead of plain output
Monitor agent state, token usage and context budget in real time during long DSH sessions
Live working status, segmented context progress, TPS, cache hit rate, reasoning level, input/output tokens and Git/session info in the status line, with virtualized rendering that keeps long sessions cheap
Power users and operators running long DeepSeek Harness sessions who need visibility into context budget and throughput
Manage full DSH session workflows — resume, rewind, fork, export — from the terminal
Session resume/new/compact/export, `/btw` side questions, model switching, and session rewind/fork via double-Esc; all local commands route through official DSH links
Everyday dsh users who want session resume, time rewind, fork and Markdown export workflows without leaving the terminal
02如何將外掛接入 DeepSeek Harness?
先決條件
- An available terminal TTY, the official `dsh` CLI, and `pnpm` 10+ (first run auto-initializes the dsh-tui profile, which needs pnpm)
- `DEEPSEEK_API_KEY` in order to run models
安裝步驟
- 01
Install the CLI and the plugin globally: `npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui`
$ npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui
- 02
Launch with `dsh-tui` — the first run auto-initializes the dsh-tui profile; alternatively run `sh install.sh` (repo root, wraps the profile install with a pnpm pre-check) or `dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui`
$ dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui
驗證整合成功
作者未說明
03DSH 整合程度與能力邊界
Pure plugin mounted on a dsh profile — `dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui`, after which `dsh-tui` is equivalent to `dsh --profile dsh-tui`; zero core changes
Terminal-native interaction
Keyboard, mouse (optional fullscreen mode) and clipboard in a terminal TTY→Streaming Markdown, structured tool cards, `/` command and `@` file completion, image attachments (PNG/JPEG/WebP/GIF as persistent blocks), history search, message selection, inline/alternate-screen rendering and `/lang` CN-EN UI switching
Ctrl+V paste reads the system clipboard via platform tools (PowerShell Get-Clipboard on Windows, osascript/pbpaste on macOS, wl-paste/xclip/xsel on Linux); clipboard bitmaps are written into the attachment storeObservable agent state
Live session/event stream from the DSH services→Real-time working status, segmented context progress bar, TPS gauge, cache hit rate, reasoning level, input/output tokens and Git/session info
Session workflow: resume / rewind / fork / export
Existing DSH sessions and the current conversation→`/resume` session browser, `/new`, `/compact`, `/export` Markdown, `/btw` side questions, model switching, and double-Esc session rewind/fork
`/model` switching forks the session (DSH has no in-place model switch); the choice is persisted to `~/.dsh-tui/model.json`, and the default preset to `~/.dsh-tui/agent-preset.json`DSH official capability wiring
A dsh profile with the DSH services and command registry→Agent presets (standard/code/minimal/cordis + liangshen), Skills, MCP servers, Goals, Todos, sub-agents and `ask_user_question` questionnaires, all connected through existing DSH services or the registry
MCP servers are mounted via `@deepseek-ai/dsh-mcp-client` and register tools as `mcp__<server>__<tool>`After startup the TUI checks npm in the background for new versions; `/update` updates the runtime in the dsh-tui profile and restarts the session
04適合誰?何時不該用?
適合
- Developers who run the official dsh CLI in a terminal and want a beautiful, observable Claude Code-style TUI instead of plain output
- Power users and operators running long DeepSeek Harness sessions who need visibility into context budget and throughput
- Everyday dsh users who want session resume, time rewind, fork and Markdown export workflows without leaving the terminal
不適合
- dsh-TUI implements no sandbox of its own — it uses the current dsh profile's file, Shell, sandbox and approval policies; on Windows there is no sandbox backend, so the composition falls back to `danger-full-access` without approval prompts. Check the profile config before launching in environments with sensitive credentials or untrusted repos.
05相容性、維護與安全提醒
- The project is marked public beta (status badge in the README); behavior and interfaces may change between releases.
- dsh-TUI implements no sandbox of its own — it uses the current dsh profile's file, Shell, sandbox and approval policies; on Windows there is no sandbox backend, so the composition falls back to `danger-full-access` without approval prompts. Check the profile config before launching in environments with sensitive credentials or untrusted repos.
- `Ctrl+V` clipboard paste depends on external tools per platform (PowerShell Get-Clipboard on Windows, osascript/pbpaste on macOS, wl-paste/xclip/xsel on Linux); paste degrades or is unavailable when the tools are missing or the session is unreachable.
MIT · actively maintained (latest release v0.8.6, 2026-08-20)
06常見問題
dsh-TUI 如何接入 DeepSeek Harness——原生外掛還是 MCP?
它是掛載在 dsh profile 上的純外掛:執行 `dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui`(或封裝好的 `sh install.sh`),之後 `dsh-tui` 與 `dsh --profile dsh-tui` 等價。Agent preset、Skills、MCP、Goals、Todos、子代理都透過現有 DSH 服務和命令註冊表連接——TUI 是前端介面,不是 MCP 封裝。
需要什麼前置條件?
可用的終端機 TTY、官方 `dsh` CLI,以及 `pnpm` 10+(首次執行會自動初始化 dsh-tui profile,需要 pnpm)。執行模型還需要 `DEEPSEEK_API_KEY`。
它會修改 dsh 核心嗎?
不會——零核心改動,純外掛掛載。安裝外掛即可啟用,解除安裝後不會留下核心修補。
模型呼叫和工作階段資料走哪裡?
TUI 只負責互動與渲染,工作階段日誌是對話真源;模型呼叫、工具執行、fork/resume、compaction 和持久化繼續由 DSH 服務擁有。啟動後 TUI 會在背景檢查 npm 新版本,發現更新時輸入 `/update` 可更新 profile 中的 runtime 並重啟工作階段。
有什麼主要限制?
專案處於公測階段。dsh-TUI 不實作獨立沙箱,沿用目前 dsh profile 的檔案、Shell、sandbox 與核可策略;Windows 沒有對應沙箱後端,會退回到 `danger-full-access` 且不彈出核可。另外 `/thinking` 開關不持久化,minimal preset 下 `/compact` 不可用,模型切換以工作階段 fork 續聊方式實作。
07相關的 DSH 工作流程
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-popout-sidebar
作者 e2mcc
將側邊欄彈出為獨立瀏覽器標籤頁,可拖到另一塊螢幕使用
tokenledger
作者 zh667
為 DeepSeek Harness 提供按中轉站歸因的 Token 用量統計,零配置、無需憑據。
08資料與來源
零核心改动,纯插件挂载。安装插件即可启用,卸载后不会留下核心补丁。
sh install.sh # 或:dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui # 之后 dsh-tui 与 dsh --profile dsh-tui 等价
- **DSH 官方能力接入**:Agent preset、Skills、MCP、Goals、Todos、子代理、 `ask_user_question` 问卷都通过现有服务或注册表连接。
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
