deepseek-harness-tui
by liang7878
官方 DeepSeek Harness 引擎的独立可换肤 TUI——npx 一条命令、预构建运行时
Standalone, themeable TUI for the official DeepSeek Harness engine — one-command npx, prebuilt runtimes, and a
安装
dsh plugin --profile web add github:liang7878/deepseek-harness-tuiGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README

立即运行
npx --yes deepseek-harness-tui@latest
npm 包会自动选择适用于 macOS、Linux 或 Windows 的预编译运行时。用户无需克隆 Harness 源码、初始化 submodule、安装 pnpm 或配置原生编译环境。
npx deepseek-harness-tui --cwd ./project
npx deepseek-harness-tui --model deepseek-official/deepseek-v4-flash
npx deepseek-harness-tui --resume <session-id>
npx deepseek-harness-tui --theme luna
使用 DeepSeek 官方 API:
export DEEPSEEK_API_KEY="your-key"
npx deepseek-harness-tui
OpenAI-compatible MaaS 服务可以通过 DEEPSEEK_BASE_URL 和 Harness provider 配置接入。
功能
- 创建、恢复和切换持久化会话,支持 transcript 分页
- 多轮 follow-up、运行中 steering、取消任务和模型选择
- 工具调用、审批、结构化问题、Todo 和命令发现
- Alternate screen 生命周期、真实 PTY、Unicode 与 ASCII 降级
- 八套内置主题和可持久化的自定义主题
- macOS arm64/x64、Linux arm64/x64 和 Windows x64 运行时

按 Ctrl+T 或输入 /themes,即可在 Classic、Sakura Byte、Ocean、Ember、Aurora Pulse、Luna Circuit、Phosphor Grid 和 Sunset Circuit 之间切换。
独立架构
本仓库不复制或 fork DeepSeek Harness 源码。TUI 位于仓库根目录;官方 Harness 仅以固定 commit 的 Git submodule 参与可复现构建。
TUI 源码 ── adapter/profile overlay ── 固定版本的 Harness 引擎
│ │
└────────── 跨平台预编译运行时 ────────┘
这种设计确保:
- 用户只安装一个预编译包,不接触 submodule。
- Dependabot 自动提交上游 commit 更新,CI 对每次升级进行构建和兼容性验证。
- 每个 TUI 版本对应一个经过验证的 Harness commit,上游变更不会静默破坏已安装版本。
完整说明见 ARCHITECTURE.md。
本地开发
git clone --recurse-submodules https://github.com/liang7878/deepseek-harness-tui.git
cd deepseek-harness-tui
CI=true pnpm install --frozen-lockfile
npm run check
验证新的 Harness 版本:
git -C vendor/deepseek-harness fetch origin
git -C vendor/deepseek-harness checkout origin/master
CI=true pnpm install --no-frozen-lockfile
npm run check
兼容性检查通过后,再提交 submodule 指针和更新后的 lockfile。
MIT © liang7878
原始 README: https://github.com/liang7878/deepseek-harness-tui/blob/main/README.zh.md ↗
同类插件
查看全部 →
maid-atelier
DSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)。

dsh-deep-whale
DSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)。

dsh-wallpaper-engine
DSH 网页界面壁纸:把本机 Wallpaper Engine 的 Video/Web 壁纸实时播放到聊天界面后方,Scene 壁纸提取主纹理作为静态帧,支持内容分级/类型过滤、自定义壁纸上传与 iOS 液态玻璃设置窗口。

deepseek-harness-desktop
开源Windows桌面客户端和GUI——DeepSeek Harness——零配置安装器,包含Codex、插件、技能、SSH、移动远程访问和11种皮肤。

dsh-liang-skin
DeepSeek Harness 滑动变阻器皮肤

deepseek-harness
为 DSH Web 设置本地图片与 MP4 视频背景:侧栏「背景」面板、可保存主题(含内置「画窗」)、声音开关、恢复上次背景,以及 /bg、/bg-theme、/bg-clear 命令。