deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Unofficial desktop app for DeepSeek Harness · 原生窗口 + 系统托盘,双击即用,告别「开终端敲
dsh web+ 开浏览器」。
[]() [
]() [
]()
English intro: dsh-app wraps the DeepSeek Harness web UI (dsh web) into a standalone
native Windows application — a Rust + WebView2 shell (~900 KB exe) with a system tray,
automatic backend management, and zero terminal windows. Chinese documentation below.
用 DeepSeek Harness 的日常是:打开终端 → 敲 dsh web → 等服务起来 → 开浏览器 →
输入 127.0.0.1:3080。用完还得记得回去 Ctrl+C。
装上 dsh-app 之后:双击桌面图标,直接进入应用窗口。完事点 ✕ 缩到托盘, 下次双击秒开;托盘右键「退出」干净收场,不留任何后台进程。
127.0.0.1:3080 已有 dsh web 在跑就直接复用;没有就自动
隐藏拉起(完全无窗口),首窗多等 2–5 秒wt.js)把「它自己拉起的」服务整树回收;
你手动开的服务不受影响~/.dsh/sessions),浏览器与桌面应用连同一
服务,看到的是同一份记录CREATE_NO_WINDOW| 依赖 | 必需性 | 安装方式 |
|---|---|---|
| Windows 10/11 x64 | 必须 | — |
| WebView2 运行时 | 必须(窗口渲染) | Win10/11 一般自带;缺失时从 微软官网 装 Evergreen Runtime |
| Node.js ≥ 20 | 必须(运行 dsh 本体) | nodejs.org 装 LTS |
DeepSeek Harness(dsh) |
必须 | npm i -g @deepseek-ai/dsh,确认 dsh -V 可用 |
三个依赖是否就绪无需手动逐个检查——install.ps1 安装时会自动检测并给出
缺项指引(缺失只提示、不阻断安装,补齐后直接运行应用即可)。
dsh-app-v*-windows-x64.zipdsh-app.exe 即用推荐——运行安装脚本(自动做前置检查 + 交互选择安装路径 + 创建桌面快捷方式):
powershell -ExecutionPolicy Bypass -File install.ps1
运行后会依次:
%LOCALAPPDATA%\Programs\dsh-app,
或输入自定义路径(如 D:\Apps\dsh-app,支持环境变量)其他用法:
# 静默安装(直接指定目录,不询问,适合脚本调用)
powershell -ExecutionPolicy Bypass -File install.ps1 -InstallDir "D:\Apps\dsh-app"
# 同时加开始菜单快捷方式
powershell -ExecutionPolicy Bypass -File install.ps1 -StartMenu
# 卸载(停进程、删快捷方式、删目录、清 WebView2 数据)
powershell -ExecutionPolicy Bypass -File install.ps1 -Uninstall
命令行参数:dsh-app.exe --port 4000(默认 3080)。
dsh-app.exe (Rust ~25MB 内存)
├─ 窗口: tao + wry → WebView2 加载 http://127.0.0.1:3080
├─ 托盘: tray-icon(左键唤窗 / 右键菜单)
└─ 服务: 端口就绪→复用;否则 CREATE_NO_WINDOW 拉起 node wt.js
└─ wt.js: spawn `node <dsh>/lib/bin.js web --port 3080`
+ 看门狗: 父进程消失 → taskkill /T 整树清理
不修改 DSH 源码、不碰你的 profile 与插件;只是把「终端 + 浏览器」包成一个应用。 WebView2 渲染组的内存(~450 MB)与 Chrome/Edge 打开同一页面同量级——这是浏览器 内核的固有成本,应用壳本体只有 ~25 MB。
git clone https://github.com/Chen-YiY/dsh-app.git
cd dsh-app
cargo build --release # 产物 target/release/dsh-app.exe
前置:Rust stable(MSVC 工具链)+ Windows SDK(rc.exe,用于嵌图标;缺失时仅
无图标资源,不影响功能)。重新生成图标资产:
powershell -ExecutionPolicy Bypass -File gen-icons.ps1。
MIT © Chen-YiY
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。