DeepSeekHarnessDesktop
by Capacious-diamondweddinganniversary929
将 DeepSeek Harness 打包为跨平台桌面应用,内置 Node 运行时;在 Windows、macOS 和 Linux 上双击即可启动完整 Web UI。
Package DeepSeek Harness into a cross-platform desktop app with built-in Node runtime — double-click to launch the full web UI on Windows, macOS, and Linux.
安装
dsh plugin --profile web add github:Capacious-diamondweddinganniversary929/DeepSeekHarnessDesktopGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
将 deepseek-ai/deepseek-harness 打包成三平台桌面应用: Electron 桌面壳 + 内置 Node 运行时 + 完整 Harness 环境,双击即用。
✨ 特性
- 一键启动:双击
DeepSeekHarness.exe→ 自动拉起后端 → 直接打开 DeepSeek Harness Web UI - 内置 Node 24:自包含运行时,用户无需安装 Node.js
- 完整环境:打包了 Harness 全部依赖(链接已物化为真实文件)
- 无边框窗口:UI 铺满窗口,右上角内嵌最小化 / 最大化 / 关闭按钮
- 单实例:重复启动不会拉起多个后端
- 免管理员:Windows 安装到
%LocalAppData%\Programs\DeepSeek Harness
📦 产物
| 平台 | 文件 | 说明 |
|---|---|---|
| Windows | installers/DeepSeekHarnessSetup-*.exe |
Inno Setup 一键安装包 |
| Windows | build/DeepSeekHarnessApp/DeepSeekHarness.exe |
免安装版(直接运行) |
| macOS | installers/DeepSeekHarness-macOS-<arch>-<ver>.dmg |
应用镜像(.app,ad-hoc 签名) |
| Linux | installers/DeepSeekHarness-linux-<arch>-<ver>.tar.gz |
免安装压缩包(解压即用) |
| Linux | installers/deepseek-harness_<ver>_<arch>.deb |
Debian/Ubuntu 安装包 |
三平台均由 GitHub Actions 自动构建(
.github/workflows/build.yml矩阵), 推送v*标签时自动发布到 Release;也可workflow_dispatch手动触发。
🗂 目录结构
app/ Electron 桌面应用源码
main.js 主进程:启动后端、注入窗口控制按钮
preload.js / titlebar-preload.js preload 脚本
renderer/ 渲染页面
build/ 构建脚本与产物(跨平台,Node 实现)
build-harness.js 克隆 deepseek-harness、准备 .npmrc、pnpm 构建
materialize3.js node_modules 链接物化(消除 junction/符号链接)
download-node.js 按平台下载内置 Node 运行时(win/darwin/linux × x64/arm64)
trim.js 精简 harness(跨平台版 trim.ps1)
assemble.js 组装应用目录(Windows robocopy / POSIX cp -aL)
convert-icon.js SVG -> ICO(png-to-ico)+ PNG 源图
assemble.ps1 / trim.ps1 Windows 本地构建脚本(与 assemble.js/trim.js 等价)
setup.iss Inno Setup 安装脚本(本地/CI 均可用)
log.svg 应用图标(DeepSeek logo)
🔧 构建流程
本地需要:Node.js ≥ 22、pnpm 10(注意:必须用 pnpm 10, pnpm 11 移除了 hoisted linker);Windows 额外需要 Inno Setup 7。 CI 三平台全自动,无需本地环境。
1. 准备 Harness 依赖(pnpm 10 + hoisted)
node build/build-harness.js # 克隆 → 删 packageManager → .npmrc(hoisted) → pnpm install → pnpm build
2. 物化链接 + 精简
node build/materialize3.js resources/harness # junction/符号链接 → 真实文件
node build/trim.js # 删除冗余 @deepseek-ai 副本、拷贝 web 前端
3. 运行时 + 组装
node build/download-node.js v24.14.0 # 内置 Node(按当前平台/架构)
npm install # electron + sharp + png-to-ico
node build/convert-icon.js log.svg build/app.ico
node build/assemble.js # 组装到 build/DeepSeekHarnessApp
4. 打包
# Windows
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "/DProjectDir=$((Get-Location).Path)" setup.iss
# macOS
hdiutil create -volname "DeepSeek Harness" -srcfolder build/DeepSeekHarnessApp/DeepSeekHarness.app -ov -format UDZO installers/DeepSeekHarness-macOS-$(uname -m).dmg
# Linux
tar -C build/DeepSeekHarnessApp -czf installers/DeepSeekHarness-linux.tar.gz DeepSeekHarness
🚀 使用
- 双击
DeepSeekHarnessSetup-*.exe安装(免管理员,自动建桌面快捷方式) - 双击桌面「DeepSeek Harness」图标
- 首次使用:在 Web 界面设置 DeepSeek API Key
⚠️ 注意
- 用户数据存放在
~/.dsh(与安装目录分离),卸载后保留 - 服务监听
http://127.0.0.1:3080,关闭窗口即停止
📄 许可
MIT。Harness 本体版权归 DeepSeek AI 所有,见上游仓库。
同类插件
查看全部 →
k8e
k8e.sh — 开源 Agentic AI 沙箱矩阵

hol-guard
开源AI代理防病毒:运行时拦截风险工具、秘密访问、提示注入、恶意软件包、MCP服务器、插件和技能。

anolisa
ANOLISA(Agentic Nexus Operating Layer & Interface System Architecture):具备运行时、安全性、可观测性和 Tokenless 响应压缩能力的 Agentic OS,可降低 Token 使用量与成本。

mobius
首个自我演进的开源 Agent OS:连接你的团队、AI agent、设备与算力

deepseek-harness-desktop
DeepSeek Harness Tauri 桌面版 | Only 5mb installer, zero environment setup. Windows / macOS / Linux.

open-managed-agents
开源Claude管理代理API实现和自托管Claude标签式代理运行时。即插即用;在Cloudflare Workers/Durable Objects或Node.js上运行。Apache 2.0。