huiliyi37/dsh-tianshu-tui 预览 preview

huiliyi37/dsh-tianshu-tui

dsh-tianshu-tui是官方 [DeepSeek Harness] 上的交互式终端 TUI 面板插件。渲染核心为自研极简 ANSI引擎,轻量渲染使用体验极度流畅。(由作者的[天枢 Tianshu-harness] https://github.com/huiliyi37/Tianshu-harness 演进而来。UI 是纯展示层:所有 agent 状态都来自会话事件流,流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断。在此之上做了工程层的改造,如图像与视觉桥接、代码智能检索、memory记忆与跨会话召回等。

catalog descriptioncatalog 简介 / catalog description:官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Project Overview项目介绍

dsh-tianshu-tui is a native DSH plugin that adds an interactive terminal TUI panel to DeepSeek Harness. It uses a custom lightweight ANSI rendering engine to deliver a smooth, fast experience even for large coding sessions. It supports streaming Markdown, tool card rendering, over 16 built-in themes, input history persistence, local preference saving, and LSP diagnostic display. It also adds extra capabilities like cross-session memory recall and code smart retrieval. To install, users can run the provided cross-platform script that automatically detects Node.js and pnpm, then installs DSH CLI and the plugin correctly.

After installation, users can launch the TUI with a simple pnpm command, and use slash commands to switch between different agent presets like standard, PTC, minimal, and creative. Keyboard shortcuts let users quickly perform common actions like pasting images from clipboard, copying selections to system clipboard, and exiting the session. This plugin is built specifically for developers who prefer working entirely in the terminal instead of using a separate GUI for DeepSeek Harness. They can also customize themes and adjust configuration settings to match their personal workflow preferences better.

This plugin requires Node.js version 22.19 or higher, and relies on pnpm as the package manager to avoid the OOM issue that can happen with npm 11 when installing DSH. It is released under the open-source Apache-2.0 license, and reuses some code from the author's earlier Tianshu-Tui project, also under Apache-2.0. Some features like follow-up image questions require an extra companion plugin to work, and LSP diagnostics can sometimes fail to load if the server initialization takes longer than the default 2-second timeout. Users can easily fix that by re-triggering the diagnostic pull for the affected file.

这是专为DeepSeek Harness打造的原生交互式终端TUI面板插件,采用自研极简ANSI渲染引擎,能提供轻量流畅的使用体验。它支持流式Markdown渲染、工具卡展示、16种以上内置主题,还具备输入历史保存、本地偏好持久化、LSP诊断展示等功能,额外支持跨会话记忆召回与代码智能检索。

用户可以通过仓库提供的一键安装脚本跨平台安装,安装后可通过斜杠命令快速切换agent预设,查看当前会话的工具调用信息,还能通过快捷键完成粘贴、复制、退出等常见操作。它面向需要在终端环境中使用DeepSeek Harness编码能力的开发者,全程无需依赖额外图形界面工具。

本插件依赖Node.js 22.19以上版本和pnpm包管理器,需要先安装官方DSH CLI才能运行,采用Apache-2.0开源许可。部分功能如图片二次询问需要安装额外伴生插件,LSP诊断偶尔会因初始化超时无法展示,需要重新触发拉取获取诊断信息。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:huiliyi37/dsh-tianshu-tui

把 huiliyi37/dsh-tianshu-tui 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-tianshu-tui — DeepSeek Harness coding 终端

npm license node release dshfind

中文 | English

dsh-tianshu-tui

dsh-tianshu-tui是官方 [DeepSeek Harness] 上的交互式终端 TUI 面板插件。渲染核心为自研极简 ANSI引擎,轻量渲染使用体验极度流畅。(由作者的[天枢 Tianshu-harness] https://github.com/huiliyi37/Tianshu-harness 演进而来。UI 是纯展示层:所有 agent 状态都来自会话事件流,流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断。在此之上做了工程层的改造,如图像与视觉桥接、代码智能检索、memory记忆与跨会话召回等。

文档

文档 说明
快速开始 安装、启动与常见问题
交互手册 快捷键与命令全表
配置 装配选项、环境变量与运行时配置
架构 分层、数据流与设计决策
主题 16 个内置主题与自定义
插件生态 伴生插件与扩展点
VS Code 在 VS Code 中使用
ADAPTER.md TUI ↔ harness 边界契约
贡献指南 PR 规范与验证矩阵
开发说明 结构、构建与发布

安装

本包不是独立程序。须先有官方 CLI @deepseek-ai/dsh(npm next,当前 0.2.0-rc.1;需 ≥ 0.2.0-rc.1,peer 依赖对齐——npm latest 仍是 0.1.7 线,与本包不兼容)。只 npm i 本包跑不起来。

一键安装(推荐):仓库自带跨平台脚本,自动检测 Node/pnpm、经 pnpm 安装官方 CLI + 装配本插件并启动(国内网络默认走 npmmirror 镜像):

# macOS / Linux(bash)
bash <(curl -fsSL https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.sh)
# 只安装不启动:
bash <(curl -fsSL https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.sh) --no-launch

# Windows(PowerShell)
powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/huiliyi37/dsh-tianshu-tui/main/scripts/install-tui.ps1 | iex"
# 只安装不启动:
powershell -ExecutionPolicy Bypass -File scripts\install-tui.ps1 -NoLaunch   # 克隆仓库后本地跑

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev awesome-deepseek-harness 下一个 Next sivtr →