DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
docs(readme): minimal & premium redesign inspired by top projects
hairyfbee2c928dae1
diff --git a/README.md b/README.mdindex 310bac76..861b1030 100644--- a/README.md+++ b/README.md@@ -1,93 +1,56 @@<p align="center"><a href="https://github.com/hairyf/deepseek-harness-desktop">- <img src="public/favicon.svg" width="120" alt="DeepSeek Harness Desktop" />+ <img src="public/favicon.svg" width="96" alt="DeepSeek Harness Desktop" /></a></p><h1 align="center">DeepSeek Harness Desktop</h1><p align="center">- <em>A one-click desktop app for <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> — run the full agent harness locally without installing Node.js, pnpm, or Docker.</em>+ Run <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> on your desktop, instantly —<br />+ no Node.js, no pnpm, no Docker. Download, install, go.</p><p align="center">- <img src="https://img.shields.io/badge/version-0.1.10-4D6BFE?style=flat-square" alt="version 0.1.10" />- <img src="https://img.shields.io/github/v/release/hairyf/deepseek-harness-desktop?style=flat-square" alt="latest release" />- <img src="https://img.shields.io/github/downloads/hairyf/deepseek-harness-desktop/total?style=flat-square" alt="downloads" />- <img src="https://img.shields.io/github/stars/hairyf/deepseek-harness-desktop?style=flat-square" alt="GitHub stars" />- <img src="https://img.shields.io/github/license/hairyf/deepseek-harness-desktop?style=flat-square" alt="MIT license" />- <img src="https://img.shields.io/badge/Tauri-2-24C8DB?style=flat-square&logo=tauri&logoColor=white" alt="Tauri 2" />+ <a href="https://github.com/hairyf/deepseek-harness-desktop/releases">+ <img src="https://img.shields.io/github/v/release/hairyf/deepseek-harness-desktop?style=flat-square&label=release&color=4D6BFE" alt="Release" />+ </a>+ <img src="https://img.shields.io/github/downloads/hairyf/deepseek-harness-desktop/total?style=flat-square&label=downloads&color=4D6BFE" alt="Downloads" />+ <img src="https://img.shields.io/github/stars/hairyf/deepseek-harness-desktop?style=flat-square&label=stars&color=4D6BFE" alt="Stars" />+ <img src="https://img.shields.io/github/license/hairyf/deepseek-harness-desktop?style=flat-square&label=license&color=4D6BFE" alt="MIT License" /><img src="https://img.shields.io/badge/Windows%20%7C%20macOS%20%7C%20Linux-black?style=flat-square" alt="Windows | macOS | Linux" /></p><p align="center">- <samp>- <strong>English</strong> ·- <a href="./README.zh.md">中文</a>- </samp>+ <samp><strong>English</strong> · <a href="./README.zh.md">中文</a></samp></p>-> **Status: developer preview.** The upstream `dsh` is still iterating rapidly with compatibility-breaking changes; this project tracks it closely.+## Features-- **One-click install** — No Node.js / pnpm / Docker needed; bundles the Harness kernel and a Node runtime with fully automatic first-run setup.-- **Self-healing updates** — Syncs to the latest release on every launch, with a silent "Update Now / Later" prompt when a newer version is found.-- **Lightweight & cross-platform** — A Tauri 2 shell with smaller installers and lower RAM; native windows on Windows / macOS / Linux with a bilingual UI.-- **Embedded web UI** — The full Harness interface runs in-window, with a sidebar for service status, port, logs, auto-start, open in browser, data folder and language.--> **Why Tauri and not Electron?** The same features run lighter: a smaller installer and lower idle RAM, with native window controls that stay snappy — important for a local agent host you may keep open all day. The embedded WebView2/WebKit (not a bundled Chromium) also shrinks the install footprint.--## Preview--+- **Zero setup** — First launch bootstraps the bundled Node runtime and Harness core automatically; a compatible local Node (v22.15+ / v23.8+) is reused as-is when present.+- **Self-healing core** — Every launch syncs with the latest upstream Harness release, so upstream fixes reach you without reinstalling.+- **Local & private by default** — Runs on `127.0.0.1:3080`. Profiles, sessions and settings stay on your machine; telemetry is off by default.+- **Native & lightweight** — A Tauri 2 shell (not Electron): smaller installers, lower memory, native windows. Windows / macOS / Linux, bilingual UI.## Quick Start-1. Download the installer for your platform from the [Releases](https://github.com/hairyf/deepseek-harness-desktop/releases) page.-2. Install and launch the app.-3. On the first run the app installs its dependencies: if a compatible Node.js (v22.15.0+ / v23.8.0+) is already on your machine it is reused as-is; otherwise the Node.js runtime and the prebuilt Harness bundle are downloaded (a few hundred MB in total). When setup finishes, the embedded Harness UI opens at `http://127.0.0.1:3080`.+Download the installer for your platform from [Releases](https://github.com/hairyf/deepseek-harness-desktop/releases), install, and launch.-> First run requires a network connection. Everything after that runs locally. Once installed, later launches skip the setup screens and boot straight into the harness; a silent prompt appears when a newer Harness release is available.+The first run downloads the Node runtime and Harness core (~a few hundred MB) and takes you straight into the harness at `http://127.0.0.1:3080`. Everything after that runs locally — no network required.-### Requirements--- Windows 10+ (64-bit)-- macOS 10.15+-- Linux (mainstream distributions that support AppImage)-- Network on first launch--The app bundles Node.js **v22.22.0 LTS**, which satisfies the Harness requirement of **v22.15.0+ or v23.8.0+**. On first launch it first checks for a local Node.js installation: any compatible version is reused directly and the bundled runtime download is skipped.+**Requirements:** Windows 10+ (64-bit) · macOS 10.15+ · Linux (AppImage) · network on first launch## Development-### Prerequisites--- Node.js 20+-- Rust 1.77+-- pnpm 9+-- Platform build toolchain (Windows: MSVC + WebView2; macOS: Xcode CLT; Linux: WebKit2GTK)--### Run in dev mode-```bash-git clone https://github.com/hairyf/deepseek-harness-desktop.git-cd deepseek-harness-desktop-pnpm install-pnpm tauri dev+pnpm install # install dependencies+pnpm tauri dev # run in dev mode+pnpm tauri build # build installers```-### Build installers--```bash-pnpm tauri build-```--### Regenerate icons--```bash-pnpm icons-```+Requires Node.js 20+, Rust 1.77+, pnpm 9+, and the platform toolchain (MSVC + WebView2 / Xcode CLT / WebKit2GTK).## How It Works@@ -114,56 +77,19 @@ pnpm iconshttp://127.0.0.1:3080/ ← embedded UI```-- The prebuilt Harness bundle is published by [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg); see [docs/PKG-CONTRACT.md](docs/PKG-CONTRACT.md) for the release contract.-- On every launch the app fetches the latest release commit from `deepseek-harness-pkg` and re-downloads the bundle when the installed one is outdated (the local install is kept when GitHub is unreachable).-- Full architecture notes: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).--## Data Directory--The data directory follows the Tauri bundle identifier (`io.github.hairyf.deepseek-harness-desktop`):--- Windows: `%APPDATA%\io.github.hairyf.deepseek-harness-desktop\`-- macOS: `~/Library/Application Support/io.github.hairyf.deepseek-harness-desktop/`-- Linux: `~/.local/share/io.github.hairyf.deepseek-harness-desktop/`--It contains:--- `runtime/` — bundled Node.js runtime-- `dependencies/dsh/` — extracted Harness bundle-- `data/dsh/` — Harness user data (`$DSH_HOME`: profiles, sessions, settings)-- `logs/` — app and dsh service logs-- `.store.dat` — desktop settings (port, auto-start, language)--## FAQ--- **macOS reports the app is damaged / can't be opened?** The app is not Apple-notarized, so macOS Gatekeeper blocks it on first launch. Allow it via System Settings:-- 1. Try to open the app; if macOS blocks it, click **Done**.- 2. Open **System Settings → Privacy & Security**.- 3. Find DeepSeek Harness Desktop in the **Security** section and click **Open Anyway**.- 4. Confirm by clicking **Open** once more.-- This confirmation is normally required only once.--## Security Notes--- This project is for personal learning, research, and testing only — please do not use it commercially.-- `dsh` is an agent harness with **local code execution capability**. Run it only in a trusted, isolated environment, and never import untrusted configurations or plugins from unknown sources.-- The developers are not liable for any data loss or security issues arising from the use of this project.+The prebuilt Harness bundle is published by [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) (release contract: [docs/PKG-CONTRACT.md](docs/PKG-CONTRACT.md)). Every launch diffs the installed bundle against the latest release and re-downloads when outdated — keeping the local install when GitHub is unreachable. Full architecture: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).-## Related Projects+## Notes-| Project | Purpose |-| --- | --- |-| [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) | The upstream `dsh` (CLI + web UI + plugin architecture) |-| [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) | Prebuilt Harness bundles consumed by this app |-| [n8n-desktop](https://github.com/tangtao646/n8n-desktop) | Reference implementation for one-click local desktop apps |+- **Developer preview** — upstream `dsh` is evolving fast with breaking changes; this project tracks it closely.+- **macOS Gatekeeper** — the app is not notarized; allow it once via System Settings → Privacy & Security → Open Anyway.+- **Security** — `dsh` can execute code locally. For learning / research / testing only; run it in a trusted, isolated environment.-## Acknowledgements+## Related-- [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — the upstream project+- [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — the upstream `dsh` agent platform+- [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) — prebuilt Harness bundles consumed by this app- [n8n-desktop](https://github.com/tangtao646/n8n-desktop) — reference implementation-- [Tauri](https://tauri.app/) — the desktop framework## Licensediff --git a/README.zh.md b/README.zh.mdindex 8a626a01..d6ca273e 100644--- a/README.zh.md+++ b/README.zh.md@@ -1,93 +1,56 @@<p align="center"><a href="https://github.com/hairyf/deepseek-harness-desktop">- <img src="public/favicon.svg" width="112" alt="DeepSeek Harness Desktop" />+ <img src="public/favicon.svg" width="96" alt="DeepSeek Harness Desktop" /></a></p><h1 align="center">DeepSeek Harness 桌面版</h1><p align="center">- <em>DeepSeek Harness 的一键式桌面应用 —— 无需安装 Node.js、无需 pnpm、无需 Docker,即可在本地运行完整的 agent 平台。</em>+ 在桌面上一键运行 <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> ——<br />+ 无需 Node.js、无需 pnpm、无需 Docker,下载即用。</p><p align="center">- <img src="https://img.shields.io/badge/version-0.1.10-4D6BFE?style=flat-square" alt="version 0.1.10" />- <img src="https://img.shields.io/github/v/release/hairyf/deepseek-harness-desktop?style=flat-square" alt="latest release" />- <img src="https://img.shields.io/github/downloads/hairyf/deepseek-harness-desktop/total?style=flat-square" alt="downloads" />- <img src="https://img.shields.io/github/stars/hairyf/deepseek-harness-desktop?style=flat-square" alt="GitHub stars" />- <img src="https://img.shields.io/github/license/hairyf/deepseek-harness-desktop?style=flat-square" alt="MIT license" />- <img src="https://img.shields.io/badge/Tauri-2-24C8DB?style=flat-square&logo=tauri&logoColor=white" alt="Tauri 2" />+ <a href="https://github.com/hairyf/deepseek-harness-desktop/releases">+ <img src="https://img.shields.io/github/v/release/hairyf/deepseek-harness-desktop?style=flat-square&label=release&color=4D6BFE" alt="Release" />+ </a>+ <img src="https://img.shields.io/github/downloads/hairyf/deepseek-harness-desktop/total?style=flat-square&label=downloads&color=4D6BFE" alt="Downloads" />+ <img src="https://img.shields.io/github/stars/hairyf/deepseek-harness-desktop?style=flat-square&label=stars&color=4D6BFE" alt="Stars" />+ <img src="https://img.shields.io/github/license/hairyf/deepseek-harness-desktop?style=flat-square&label=license&color=4D6BFE" alt="MIT License" /><img src="https://img.shields.io/badge/Windows%20%7C%20macOS%20%7C%20Linux-black?style=flat-square" alt="Windows | macOS | Linux" /></p><p align="center">- <samp>- <a href="./README.md">English</a> ·- <strong>中文</strong>- </samp>+ <samp><a href="./README.md">English</a> · <strong>中文</strong></samp></p>-> **状态:开发预览。** 上游 `dsh` 仍在快速迭代,存在破坏性变更;本项目同步跟随。+## 功能-- **一键安装** — 无需 Node.js / pnpm / Docker,内置 Harness 内核与 Node 运行时,首次启动全自动装配。-- **自愈更新** — 每次启动自动同步最新版本,发现新版时静默弹出「立即更新 / 稍后」提示。-- **轻量跨平台** — Tauri 2 外壳,安装包更小、内存占用更低;Windows / macOS / Linux 原生窗口,界面中英双语。-- **内嵌 Web 界面** — Harness 界面运行在窗口内,侧边栏提供服务状态、端口、日志、自启动、浏览器打开、数据目录与语言等控制。--> **为什么用 Tauri 而不是 Electron?** 相同功能下它更轻:更小的安装包、更低的内存占用、更跟手的原生窗口控制——对可能要常驻后台的本地 agent 尤为重要;内嵌的是系统 WebView2/WebKit 而非自带 Chromium,进一步缩小安装体积。--## 界面预览--+- **零环境** — 首次启动自动装配内置 Node 运行时与 Harness 内核;本机已有兼容 Node(v22.15+ / v23.8+)时直接复用,不碰你的系统环境。+- **内核自愈** — 每次启动自动同步上游最新 Harness 版本,上游修复无需重新安装,打开即跟上。+- **纯本地 · 隐私默认** — 运行在 `127.0.0.1:3080`,profile / 会话 / 设置全部留在本机,默认关闭遥测。+- **原生轻量** — Tauri 2 外壳(非 Electron):更小的安装包、更低的内存占用、原生窗口。Windows / macOS / Linux,中英双语界面。## 快速开始-1. 在 [Releases](https://github.com/hairyf/deepseek-harness-desktop/releases) 页面下载对应平台的安装包;-2. 安装并启动应用;-3. 首次运行会自动安装依赖:若检测到本机已安装版本兼容的 Node.js(v22.15.0+ / v23.8.0+)则直接复用,否则自动下载 Node.js 运行时与 Harness 发行包(合计约几百 MB);就绪后内嵌的 Harness 界面会打开在 `http://127.0.0.1:3080`。+从 [Releases](https://github.com/hairyf/deepseek-harness-desktop/releases) 下载对应平台安装包,安装后启动即可。-> 首次运行需要联网;之后一切都在本地完成。安装完成后,再次启动会跳过安装引导直接进入 Harness,并在后台静默检查新版,发现新版时弹出更新提示。+首次运行会下载 Node 运行时与 Harness 内核(合计约几百 MB),随后直接进入 `http://127.0.0.1:3080` 的 Harness 界面;此后完全本地运行,无需联网。-**系统要求**--- Windows 10+(64 位)-- macOS 10.15+-- Linux(支持 AppImage 的主流发行版)-- 首次运行需要网络--应用默认捆绑 Node.js **v22.22.0 LTS**(满足 Harness 的 **v22.15.0+ 或 v23.8.0+** 要求)。首次启动时会优先检测本机的 Node.js 环境:只要版本兼容就直接复用本地 Node,跳过运行时的下载与安装。+**系统要求:** Windows 10+(64 位)· macOS 10.15+ · Linux(AppImage)· 首次运行需要网络## 开发与构建-### 环境要求--- Node.js 20+-- Rust 1.77+-- pnpm 9+-- 平台编译工具链(Windows: MSVC + WebView2;macOS: Xcode CLT;Linux: WebKit2GTK)--### 本地开发-```bash-git clone https://github.com/hairyf/deepseek-harness-desktop.git-cd deepseek-harness-desktop-pnpm install-pnpm tauri dev+pnpm install # 安装依赖+pnpm tauri dev # 本地开发+pnpm tauri build # 构建安装包```-### 构建安装包--```bash-pnpm tauri build-```--### 重新生成图标--```bash-pnpm icons-```+需要 Node.js 20+、Rust 1.77+、pnpm 9+,以及平台编译工具链(MSVC + WebView2 / Xcode CLT / WebKit2GTK)。## 工作原理@@ -114,56 +77,19 @@ pnpm iconshttp://127.0.0.1:3080/ ← 内嵌界面```-- Harness 发行版由 [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) 构建并发布,发布契约见 [docs/PKG-CONTRACT.md](docs/PKG-CONTRACT.md);-- 每次启动应用都会从 `deepseek-harness-pkg` 拉取最新 release commit,本地发行版过期时自动重新下载(GitHub 不可达时保留本地安装)。-- 完整架构说明见 [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)。--## 数据目录--数据目录由 Tauri 的 bundle identifier(`io.github.hairyf.deepseek-harness-desktop`)决定:--- Windows:`%APPDATA%\io.github.hairyf.deepseek-harness-desktop\`-- macOS:`~/Library/Application Support/io.github.hairyf.deepseek-harness-desktop/`-- Linux:`~/.local/share/io.github.hairyf.deepseek-harness-desktop/`--包含:--- `runtime/`:Node.js 运行时-- `dependencies/dsh/`:Harness 发行版(zip 解压)-- `data/dsh/`:Harness 用户数据(`$DSH_HOME`,含 profile、会话、设置)-- `logs/`:应用与 dsh 服务日志-- `.store.dat`:桌面端配置(端口、自启动、语言)+Harness 发行版由 [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) 构建发布(发布契约见 [docs/PKG-CONTRACT.md](docs/PKG-CONTRACT.md))。每次启动都会对比最新发行版,本地过期时自动重新下载;GitHub 不可达时保留本地安装。完整架构见 [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)。-## 常见问题+## 说明-- **macOS 提示应用已损坏 / 无法打开?** 应用未经过 Apple 公证,首次启动会被 macOS Gatekeeper 拦截。可通过系统设置放行:-- 1. 尝试打开应用,被拦截时点击 **好**(Done);- 2. 打开 **系统设置 → 隐私与安全性**;- 3. 在 **安全性** 区域找到 DeepSeek Harness Desktop,点击 **仍要打开**(Open Anyway);- 4. 再次点击 **打开** 确认。-- 通常只需操作一次。--## 安全声明--- 本项目仅用于个人学习、研究、测试;请勿用于商业用途-- `dsh` 是一个**具备本地代码执行能力的 agent**,请只在可信、隔离的环境中运行,不要从未知来源导入不受信任的配置/插件-- 开发者不对因使用本项目导致的任何数据丢失或安全问题负责+- **开发预览** — 上游 `dsh` 仍在快速迭代,存在破坏性变更;本项目同步跟随。+- **macOS Gatekeeper** — 应用未公证,首次启动需在系统设置 → 隐私与安全性 → 仍要打开 放行一次。+- **安全声明** — `dsh` 具备本地代码执行能力。仅供学习 / 研究 / 测试,请在可信、隔离的环境中使用。## 相关项目-| 仓库 | 作用 |-| --- | --- |-| [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) | 上游 `dsh`(CLI + Web UI + 插件架构) |-| [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) | 打包好的 Harness 发行版(桌面端下载源) |-| [n8n-desktop](https://github.com/tangtao646/n8n-desktop) | 参考实现(一键安装 + 本地运行 + 内嵌 Web 界面) |--## 致谢--- [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — 上游项目+- [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — 上游 `dsh` agent 平台+- [deepseek-harness-pkg](https://github.com/hairyf/deepseek-harness-pkg) — 打包好的 Harness 发行版(本应用下载源)- [n8n-desktop](https://github.com/tangtao646/n8n-desktop) — 参考实现-- [Tauri](https://tauri.app/) — 桌面框架## License