DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
docs(readme): simplify README and sync English translation
hairyf41a63f163a18
diff --git a/README.en.md b/README.en.mdindex 82fbec85..cc8c2d28 100644--- a/README.en.md+++ b/README.en.md@@ -29,60 +29,60 @@<img src="./docs/images/hero-en.png" width="100%" alt="DSH Desktop English promotional banner" /></p>-> [More preview images](./docs/PREVIEW.md)## Features-- ⚡️ **Zero setup** — First launch bootstraps the bundled Node runtime and Harness core automatically; a compatible local Node / Pnpm setup is reused as-is when present.-- 🔄 **Core update** — Every launch syncs with the latest upstream Harness release, so upstream updates reach you without reinstalling; download, switch, and uninstall multiple core versions (auto-restart after switching).-- 🖥️ **Config** — One dialog for Debug / Profiles / Plugins / Core, with a fully localized (zh/en) UI and dark-mode support.-- 🗂️ **Profile isolation** — Create, switch, and remove isolated profiles in the config center; plugins, patches, and settings stay independent per profile.-- 🧩 **Plugin management** — The plugin panel lists installed plugins read-only and offers upgrade / uninstall when one misbehaves, with live error sync.-- 🎁 **Built-in plugins** — Ships with first-party built-in plugins such as `dsh-tauri` and `dsh-tauri-ui` that work out of the box, and will bring more high-quality built-in plugins in the future.-- 🪶 **Native & lightweight** — A Tauri 2 shell (not Electron): smaller installers, lower memory, native windows. Windows / macOS / Linux, bilingual UI.-- ⌨️ **CLI ready** — Registers `dsh` commands (`*/bin`) after install, ready in a new terminal; never overwrites your existing shell config.-- 🧭 **Launch wizard** — On first launch, pick the recommended plugins (e.g. the dsh-market plugin store) and watch the install stream in real time; skip anytime and reopen later from the sidebar.-- 🚀 **Self-update** — Checks GitHub releases independently and downloads the installer; dev/prod builds are isolated by port and data dir.+- ⚡️ **Zero setup** — First launch needs no Node runtime or Harness core; uses the local environment by default and does not modify your existing system environment.+- 🔄 **Core update** — Syncs the latest upstream Harness version in-app, so upstream updates take effect without reinstalling; supports managing multiple core versions.+- 🖥️ **Config** — One dialog for Debug / Profiles / Plugins / Core, with bilingual (zh/en) UI labels and dark-mode support.+- 🗂️ **Profile isolation** — Profiles are isolated from each other in the config; plugins, patches, and settings stay independent and do not interfere.+- 🧩 **Plugin management** — The plugin panel manages installed plugins; when something misbehaves it offers upgrade / uninstall entry points plus error details.+- 🎁 **Built-in plugins** — Ships with bundled plugins; more high-quality built-in plugins are coming in the future.+- 🪶 **Native & lightweight** — A Tauri 2 shell (not Electron): smaller installers, lower memory, native windows.+- ⌨️ **CLI integration** — Install automatically registers the `dsh` command, ready in a new terminal; does not overwrite your existing shell config.+- 🧭 **Launch wizard** — On first launch, choose recommended plugins, or re-select them later in config.+- 🚀 **Self-update** — In-app updates; no need to re-download.## Presets-Plugins offered on the first-run wizard; select what you need and install on demand:+Plugins offered in the first-run wizard; select what you need and install on demand:- [DSH Win Terminal Inspector](https://github.com/clearkurt/dsh-win-terminal-inspector) — Windows-only fix for Minimal mode-- [DSH Market](https://github.com/dsh-market/dsh-market) — the visual plugin market: browse, search, and one-click install community plugins (Recommended)-- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — a VSCode-like right sidebar (explorer/editor/terminal/git/browser), isolated per session (Recommended)-- [DSH Notification](https://github.com/omdsh-dev/dsh-notification) — desktop notifications when a turn finishes: per-outcome toggles plus include/exclude keyword rules-- [DSH Session Context Menu](https://github.com/baihejiangnan/dsh-session-context-menu) — right-click context menu for the DSH app shell: quick actions for conversations, workspaces, inputs, and links+- [DSH Market](https://github.com/dsh-market/dsh-market) — browse, search, and one-click install community plugins (Recommended)+- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — a VSCode-like right sidebar, isolated per session (Recommended)+- [DSH Notification](https://github.com/omdsh-dev/dsh-notification) — desktop notifications when a turn completes+- [DSH Session Context Menu](https://github.com/baihejiangnan/dsh-session-context-menu) — DSH right-click menu: adds common actions for sessions, workspaces, the input box, and links-> Want to add new presets? Modify [preset-plugins.json](https://github.com/hairyf/deepseek-harness-desktop/blob/main/src-tauri/resources/preset-plugins.json) and submit a PR.+> Want to add new presets? Modify [preset-plugins.json](https://github.com/hairyf/deepseek-harness-desktop/blob/main/src-tauri/resources/preset-plugins.json) and submit a PR — once approved, it will be added as a preset in a future version.## Built-in plugins-First-party plugins bundled with the installer:+First-party plugins bundled with the installer:-- [DSH Tauri](https://github.com/dsh-tauri-desk/dsh-tauri) — desktop message bridge: a communication channel with the Tauri 2 shell-- [DSH Tauri UI](https://github.com/dsh-tauri-desk/dsh-tauri-ui) — customized Tauri UI plugin (skeleton) for the desktop shell: registers the `shell.overlay` seat for future desktop chrome+- [DSH Tauri](https://github.com/dsh-tauri-desk/dsh-tauri) — provides a communication channel with the Tauri 2 shell+- [DSH Tauri UI](https://github.com/dsh-tauri-desk/dsh-tauri-ui) — provides a custom settings sidebar for the Tauri 2 shell+- More coming soon...## Quick StartDownload the installer for your platform from [Releases](https://github.com/hairyf/deepseek-harness-desktop/releases), install, and launch.-**macOS (Homebrew):** you can also install it in one command via Homebrew (auto-verified signing / notarization):+**macOS (Homebrew):** you can also install it in one command via Homebrew:```bashbrew install dsh-tauri-desk/desktop/deepseek-harness```-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.+The first run downloads the Node runtime and Harness core (if `dsh` is already installed, the installed version is used), then takes you straight into the harness at `http://127.0.0.1:3080`; after that everything runs locally — no network required.-**Requirements:** Windows 10+ (64-bit) · macOS 10.15+ · Linux (AppImage / `.deb`, Ubuntu 22.04+) · network on first launch+**System requirements:** Windows 10+ · macOS 10.15+ · Linux (AppImage / .deb) · network on first launch-> **Linux Wayland note (PikaOS / GNOME Wayland):** AppImage may crash or render black on Wayland due to WebKitGTK; the app auto-fixes the common case. If it still fails, prefer `.deb` (verified on PikaOS 4 Wayland) or run `WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 ./AppImage`.+> **Linux Wayland note (PikaOS / GNOME Wayland / Ubuntu 22.04+):** AppImage may crash or render black on Wayland due to WebKitGTK; the app auto-fixes the common case. <details><summary>If it still crashes / renders black:</summary><br>**Prefer `.deb`** (verified on PikaOS 4 Wayland), or manually run `WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 ./AppImage`. If icons do not appear, copy the app's `hicolor` icons to `~/.local/share/icons` and run `update-desktop-database`.<br></details>## Dev-Want to get involved in the development? See [docs/DEVELOPMENT.md](./docs/DEVELOPMENT.md).+Want to get involved in development? See [docs/DEVELOPMENT.md](./docs/DEVELOPMENT.md).## How It Works@@ -114,7 +114,7 @@ Want to get involved in the development? See [docs/DEVELOPMENT.md](./docs/DEVELOhttp://127.0.0.1:3080/ ← embedded UI```-The prebuilt Harness bundle is published by [deepseek-harness-pkg](https://github.com/dsh-tauri-desk/deepseek-harness-pkg). Every launch diffs the installed bundle against the latest release and re-downloads when outdated — keeping the local install when GitHub is unreachable. A local core installed globally via your package manager (CLI) is preferred when present.+The prebuilt Harness bundle is published by [deepseek-harness-pkg](https://github.com/dsh-tauri-desk/deepseek-harness-pkg). Every launch compares against the latest release and prompts you to download the update when the local one is outdated — keeping the local install when GitHub is unreachable. A local core installed globally via the CLI is preferred when present.## Notesdiff --git a/README.md b/README.mdindex 1be1eda0..6e90a588 100644--- a/README.md+++ b/README.md@@ -33,35 +33,36 @@## 功能-- ⚡️ **零环境** — 首次启动自动装配内置 Node 运行时与 Harness 内核;本机已有兼容 Node / Pnpm 时直接复用,不修改已有的系统环境。-- 🔄 **内核更新** — 每次启动同步上游最新 Harness 版本,上游更新无需重装即生效;支持多版本核心的下载、切换与卸载,切换后重启服务。+- ⚡️ **零环境** — 首次启动无须 Node 运行时与 Harness 内核;默认使用本地环境,不修改已有的系统环境。+- 🔄 **内核更新** — 应用内同步上游最新 Harness 版本,无需重装即生效;支持多版本核心管理。- 🖥️ **应用配置** — 统一的配置对话框(调试 / 档案 / 插件 / 核心),界面按钮中英双语本地化,并适配暗色模式。-- 🗂️ **档案隔离** — 在应用配置中新建 / 切换 / 删除彼此隔离的档案,插件、补丁与设置各自独立,互不干扰。-- 🧩 **插件管理** — 插件面板只读展示已安装插件,出现异常时提供升级 / 卸载入口,错误详情实时同步。-- 🎁 **内置插件** — 随安装包内置 `dsh-tauri`、`dsh-tauri-ui` 等一方插件,开箱即用、以及将来引入更多高质量的内置插件。-- 🪶 **原生轻量** — Tauri 2 外壳(非 Electron):更小的安装包、更低的内存占用、原生窗口。Windows / macOS / Linux,中英双语界面。-- ⌨️ **命令行集成** — 安装后自动注册 `dsh` 命令(`*/bin`),新开终端即用;不覆盖你已有的 shell 配置。-- 🧭 **启动引导** — 首次启动可选装推荐插件并实时查看安装日志;随时跳过,之后也能从侧边栏重新打开。-- 🚀 **自更新** — 应用独立检查 GitHub 最新版并下载安装包;开发 / 生产构建的端口与数据目录彼此隔离。+- 🗂️ **档案隔离** — 在应用配置彼此隔离的档案,插件、补丁与设置各自独立,互不干扰。+- 🧩 **插件管理** — 插件面板管理已安装插件,出现异常时提供升级 / 卸载入口,错误详情。+- 🎁 **内置插件** — 随安装包内置插件,以及将来引入更多高质量的内置插件。+- 🪶 **原生轻量** — Tauri 2 外壳(非 Electron):更小的安装包、更低的内存占用、原生窗口。+- ⌨️ **命令行集成** — 安装自动注册 `dsh` 命令,新开终端即用;不覆盖你已有 shell 配置。+- 🧭 **启动引导** — 首次启动可选推荐插件,也可在配置中重新选择。+- 🚀 **自更新** — 应用内更新,不需要在重新下载;## 预设插件首次启动引导中提供的插件,按需勾选安装:- [DSH Win Terminal Inspector](https://github.com/clearkurt/dsh-win-terminal-inspector) — Windows 极简模式修复-- [DSH Market](https://github.com/dsh-market/dsh-market) — 可视化插件市场:浏览、搜索并一键安装社区插件(推荐)-- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — 类 VSCode 右侧栏(资源管理器/编辑器/终端/Git/浏览器),按会话隔离(推荐)-- [DSH Notification](https://github.com/omdsh-dev/dsh-notification) — 回合完成时桌面通知:按结果分别开关,支持包含/排除关键词规则-- [DSH Session Context Menu](https://github.com/baihejiangnan/dsh-session-context-menu) — DSH 封装端右键菜单:为会话、工作区、输入框和链接补充常用操作+- [DSH Market](https://github.com/dsh-market/dsh-market) — 浏览、搜索并一键安装社区插件(推荐)+- [DSH Better Sidebar](https://github.com/omdsh-dev/DSH-better-sidebar) — 类 VSCode 右侧栏,按会话隔离(推荐)+- [DSH Notification](https://github.com/omdsh-dev/dsh-notification) — 回合完成时的桌面通知+- [DSH Session Context Menu](https://github.com/baihejiangnan/dsh-session-context-menu) — DSH 右键菜单:为会话、工作区、输入框和链接补充常用操作-> 你想收录新的插件作为预设?修改 [preset-plugins.json](https://github.com/hairyf/deepseek-harness-desktop/blob/main/src-tauri/resources/preset-plugins.json) 并提交 PR,审核通过后将在将来版本新增为预设插件。+> 你想收录新的插件作为预设?修改 [preset-plugins.json](https://github.com/hairyf/deepseek-harness-desktop/blob/main/src-tauri/resources/preset-plugins.json) 并提交 PR,通过后将在将来版本新增为预设插件。## 内置插件随安装包资源内置的第一方插件:-- [DSH Tauri](https://github.com/dsh-tauri-desk/dsh-tauri) — 桌面端消息桥:提供与 Tauri 2 外壳的通信通道-- [DSH Tauri UI](https://github.com/dsh-tauri-desk/dsh-tauri-ui) — 桌面定制 UI 插件(骨架):注册 `shell.overlay` 坐席,为将来的桌面外观预留布局+- [DSH Tauri](https://github.com/dsh-tauri-desk/dsh-tauri) — 提供与 Tauri 2 外壳的通信通道+- [DSH Tauri UI](https://github.com/dsh-tauri-desk/dsh-tauri-ui) — 为 Tauri 2 外壳提供自定义设置侧边栏+- 更多即将引入的插件...## 快速开始@@ -73,11 +74,12 @@brew install dsh-tauri-desk/desktop/deepseek-harness```-首次运行会下载 Node 运行时与 Harness 内核,随后直接进入 `http://127.0.0.1:3080` 的 Harness 界面;此后完全本地运行,无需联网。+首次运行会下载 Node 运行时与 Harness 内核(如已经安装 `dsh` ,则使用安装版本),随后直接进入 `http://127.0.0.1:3080` 的 Harness 界面;此后完全本地运行,无需联网。-**系统要求:** Windows 10+(64 位)· macOS 10.15+ · Linux(AppImage / `.deb`,基于 Ubuntu 22.04 构建,兼容 22.04 及更新版本)· 首次运行需要网络+**系统要求:** Windows 10+ · macOS 10.15+ · Linux(AppImage / .deb)· 首次运行需要网络++> **Linux Wayland 注意(PikaOS / GNOME Wayland / Ubuntu 22.04+):** AppImage 在 Wayland 下可能因 WebKitGTK 黑屏/崩溃,应用已自动处理常见情形。 <details><summary>若仍黑屏/崩溃:</summary><br>**改用 `.deb`**(已验证 PikaOS 4 Wayland),或手动 `WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 ./AppImage`。图标不显示时,将应用内 `hicolor` 图标复制到 `~/.local/share/icons` 并运行 `update-desktop-database`。<br></details>-> **Linux Wayland 注意(PikaOS / GNOME Wayland / Ubuntu 22.04+):** AppImage 在 Wayland 下可能因 WebKitGTK 黑屏/崩溃,应用已自动处理常见情形。若仍黑屏/崩溃:**改用 `.deb`**(已验证 PikaOS 4 Wayland),或手动 `WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 ./AppImage`。图标不显示时,将应用内 `hicolor` 图标复制到 `~/.local/share/icons` 并运行 `update-desktop-database`。## 开发@@ -113,7 +115,7 @@ brew install dsh-tauri-desk/desktop/deepseek-harnesshttp://127.0.0.1:3080/ ← 内嵌界面```-Harness 发行版由 [deepseek-harness-pkg](https://github.com/dsh-tauri-desk/deepseek-harness-pkg) 构建发布。每次启动都会对比最新发行版,本地过期时自动重新下载;GitHub 不可达时保留本地安装。通过 CLI 全局安装的本地核心会被优先使用。+Harness 发行版由 [deepseek-harness-pkg](https://github.com/dsh-tauri-desk/deepseek-harness-pkg) 构建发布。每次启动都会对比最新发行版,本地过期时提醒下载更新;GitHub 不可达时保留本地安装。通过 CLI 全局安装的本地核心会被优先使用。## 说明