返回目錄

dsh-tui

編輯精選維護狀態: 活躍

ccch1mneyyy/dsh-tui

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.

前往 GitHub專案首頁
$ npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui

2,812

星數

153

Fork

TypeScript

語言

MIT

授權條款

2026-08-13

建立於

2026-09-03

最近推送

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

安裝步驟

  1. 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

  2. 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 整合程度與能力邊界

DSH 整合相容

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 TTYStreaming 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 store
  • Observable agent state

    Live session/event stream from the DSH servicesReal-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 registryAgent 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.
2026-08-132026-08-19v0.8.6

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 續聊方式實作。

08資料與來源

  • 作者聲明github.com5f0ddf7673c4…

    零核心改动,纯插件挂载。安装插件即可启用,卸载后不会留下核心补丁。

  • 作者聲明github.com5f0ddf7673c4…

    sh install.sh # 或:dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui # 之后 dsh-tui 与 dsh --profile dsh-tui 等价

  • 作者聲明github.com5f0ddf7673c4…

    - **DSH 官方能力接入**:Agent preset、Skills、MCP、Goals、Todos、子代理、 `ask_user_question` 问卷都通过现有服务或注册表连接。

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。