返回目錄

dsh-tianshu-tui

編輯精選維護狀態: 活躍

huiliyi37/dsh-tianshu-tui

官方 DeepSeek Harness 的互動式終端 UI 外掛:自研 ANSI 極簡互動渲染、流式 Markdown/工具卡、16+ 主題、slash 命令與選擇器、輸入歷史與本地偏好持久化、LSP 診斷、memory記憶,很絲滑的開發體驗。

前往 GitHub專案首頁
$ npx -y @deepseek-ai/dsh@0.1.0-rc.8 plugin --profile tui add @huiliyi37/dsh-tianshu-tui

268

星數

9

Fork

TypeScript

語言

Apache-2.0

授權條款

2026-08-13

建立於

2026-09-09

最近推送

Apache-2.0 互動式終端機 UI 外掛,裝入官方 DeepSeek Harness(dsh)tui profile 即用:工作階段工作區、圖片端到端、推理視覺化,純展示層不注入模型面。

DSH 整合

相容

作者聲明

安全稽核

未稽核

最後核實

2026-08-21

授權條款

Apache-2.0

01它能幫你完成什麼?

  • Run DeepSeek Harness coding sessions in a full interactive terminal workspace

    Real-time session rendering with resume, /fork branching, /rewind rollback, /export Markdown transcripts, slash menus, approval cards and live status/config/tasks/workflow panels

    Developers using the official dsh CLI who want a rich in-terminal coding-agent experience instead of the plain CLI

  • Send images to the model end-to-end from the terminal

    Clipboard-pasted images rendered inline (kitty / iTerm2), delivered via the harness attachment service, auto-described by a vision-bridge model when the main model cannot see

    Users who paste screenshots or designs into coding sessions and need vision-capable models to actually see them

  • Watch and control the agent's reasoning and approvals in real time

    Collapsible thinking blocks (Ctrl+O), pending approval cards with inline diff preview, mode cycling (normal → plan → always-approve)

    Developers who want visible reasoning traces and structured approval flow during dsh coding sessions

02如何將外掛接入 DeepSeek Harness?

先決條件

  • Official dsh CLI `@deepseek-ai/dsh` at `0.1.0-rc.8` — the package is not a standalone program and cannot run with just `npm i`
  • Node.js `^22.19 || >=24`
  • `pnpm` on PATH (the `dsh plugin` command forwards to it)

安裝步驟

  1. 01

    Install the plugin into the tui profile: `npx -y @deepseek-ai/dsh@0.1.0-rc.8 plugin --profile tui add @huiliyi37/dsh-tianshu-tui` (or from Git: `... add github:huiliyi37/dsh-tianshu-tui`)

    $ npx -y @deepseek-ai/dsh@0.1.0-rc.8 plugin --profile tui add @huiliyi37/dsh-tianshu-tui

  2. 02

    Launch: `npx -y @deepseek-ai/dsh@0.1.0-rc.8 --profile tui` (if the official CLI is globally installed at 0.1.0-rc.8, plain `dsh` works too)

    $ npx -y @deepseek-ai/dsh@0.1.0-rc.8 --profile tui

驗證整合成功

  • Success when the welcome page shows the dsh-tianshu-tui brand; exit with `Ctrl+Q` or `/exit`

03DSH 整合程度與能力邊界

DSH 整合相容

TUI plugin installed into the official dsh CLI's tui profile via `dsh plugin --profile tui add`; pure presentation layer over the official DeepSeek Harness session event stream

  • Full session workspace in the terminal

    dsh coding sessionsreal-time rendering, append-only scroll transcript, session resume on startup, /fork branching, /rewind rollback (session truncation + optional file restore), /export Markdown transcript

    /rewind truncates the session event log and can roll files back to a pre-boundary snapshot/export writes a Markdown transcript file
  • End-to-end image pipeline with vision bridge

    clipboard-pasted or attached imagesinline rendering via kitty / iTerm2 graphics protocols, delivery through the harness attachment service, auto vision-model description when the main model is text-only

    oversized images are compressed before sending (1568px long-edge cap, JPEG 0.82 → 0.55 → 1024px + 0.55)
  • Complete input surface

    user typing in the terminalslash dropdown (fuzzy prefix match, MRU sort, ghost preview), @-path Tab completion, @mention expansion, bracketed paste, optional vim keys, external editor (Ctrl+E), history search (Ctrl+F), Ctrl+. keymap overlay

    local preferences persisted to ~/.dsh-tui/prefs.jsoninput history persisted to ~/.dsh-tui/input-history.json (1000-entry cap; delete the file to clear)
  • Auditable pure presentation layer

    session event stream from the host harnessall rendered state derived from session events; user input becomes ordinary logged messages

04適合誰?何時不該用?

適合

  • Developers using the official dsh CLI who want a rich in-terminal coding-agent experience instead of the plain CLI
  • Users who paste screenshots or designs into coding sessions and need vision-capable models to actually see them
  • Developers who want visible reasoning traces and structured approval flow during dsh coding sessions

不適合

  • Not a standalone program: requires the official `@deepseek-ai/dsh` CLI pinned at `0.1.0-rc.8`, Node.js `^22.19 || >=24`, and pnpm on PATH. A stale `dsh` binary on PATH can cause ERR_FS_EISDIR errors.
  • Must not be installed into oh-my-tianshu's (@huiliyi37 ecosystem) tui profile — mixing ecosystems creates fragile cross-ecosystem resolution of @deepseek-ai/* via stale symlinks in ~/.dsh/profiles/node_modules.

05相容性、維護與安全提醒

  • Not a standalone program: requires the official `@deepseek-ai/dsh` CLI pinned at `0.1.0-rc.8`, Node.js `^22.19 || >=24`, and pnpm on PATH. A stale `dsh` binary on PATH can cause ERR_FS_EISDIR errors.
  • Must not be installed into oh-my-tianshu's (@huiliyi37 ecosystem) tui profile — mixing ecosystems creates fragile cross-ecosystem resolution of @deepseek-ai/* via stale symlinks in ~/.dsh/profiles/node_modules.
  • On every launch the plugin checks npm `latest` for self-updates (network call; disable with DSH_TUI_SKIP_UPDATE=1). Image re-asking additionally requires the companion @deepseek-ai/dsh-vision-ask package, which the TUI bundle does not ship.
2026-08-132026-08-18v0.1.2-rc.12

Apache-2.0 · actively maintained (latest release v0.1.2-rc.12, 2026-08-20)

06常見問題

如何把 dsh-tianshu-tui 裝進 DeepSeek Harness?

它是 dsh 外掛,不是獨立程式。先安裝官方 CLI @deepseek-ai/dsh(0.1.0-rc.8),再執行 `npx -y @deepseek-ai/dsh@0.1.0-rc.8 plugin --profile tui add @huiliyi37/dsh-tianshu-tui`,然後用 `npx -y @deepseek-ai/dsh@0.1.0-rc.8 --profile tui` 啟動。

是原生執行還是 MCP?

都不是:它作為 TUI 外掛執行在官方 dsh 的 tui profile 內。UI 是純展示層——所有 agent 狀態來自工作階段事件流,自身不註冊任何 prompt、工具或上下文面。

需要什麼前置條件?

官方 @deepseek-ai/dsh 0.1.0-rc.8、Node.js ^22.19 || >=24、PATH 上有 pnpm(dsh plugin 會轉發給它)。只 npm i 本套件跑不起來。

會自動更新或連網嗎?

從 npm 安裝後,每次啟動會對照 npm latest,有新版本就寫入 profile(重新啟動生效)。設定 DSH_TUI_SKIP_UPDATE=1 可略過連網檢查;github:/link: 安裝不會被改寫。

有哪些已知限制?

圖片再詢問(ask_image)需另裝同倉伴生套件 @deepseek-ai/dsh-vision-ask;LSP 診斷只進 TUI 本地顯示(工具卡徽章 + /lsp 面板),不提供模型工具面;不要把它裝配進 oh-my-tianshu 的 tui profile。

08資料與來源

  • 作者聲明github.com1ff44e3dea8c…

    **dsh-tianshu-tui**(`@huiliyi37/dsh-tianshu-tui`)是官方 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)…

  • 作者聲明github.com1ff44e3dea8c…

    npx -y @deepseek-ai/dsh@0.1.0-rc.8 plugin --profile tui add @huiliyi37/dsh-tianshu-tui

  • 作者聲明github.com1ff44e3dea8c…

    UI 是纯展示层:所有 agent 状态都来自会话事件流。

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

🏆

最佳 DeepSeek Harness 外掛

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

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

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