返回目录

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,968

星标

177

Fork

TypeScript

语言

MIT

许可证

2026-08-13

创建于

2026-09-11

最近推送

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 插件,绝不滥发。