Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

docs: clarify data recovery and mobile remote access (#1072)

Hairy392bc9822750
diff --git a/README.en.md b/README.en.md
index 5137c11d..30c4fe4e 100644
--- a/README.en.md
+++ b/README.en.md
@@ -46,7 +46,7 @@
## Features
- 🪶 **Native desktop** — Tauri 2 + React 19 + HeroUI 3, embedding the local Harness UI.
-- 📱 **Remote connection** — Connect to the DSH instance on your computer from the native Android / iOS mobile app.
+- 📱 **Remote connection** — Scan a QR code in the Android / iOS app to connect to your computer's DSH over LAN or a Cloudflare public tunnel.
- 🔄 **Runtime management** — Install dependencies, select core versions, and access desktop/core updates.
- 🔀 **Multi-backend support** — Use DSH / Codex / Claude in one interface, powered by their native tools.
- 🧩 **Plugin management** — 13 built-in plugins, plus local-directory installs, built-in disabling, community plugin installation, upgrades, removal, and error details.
@@ -114,9 +114,22 @@ brew install dsh-tauri/desktop/deepseek-harness
- Leave empty to inherit system/environment settings. Saved changes apply to new requests; retry failed downloads afterward.
- SOCKS5H resolves destination names through the proxy; loopback connections stay direct.
+## Data management
+
+- **Running → Profiles → Backup**: back up the active profile's configuration to `DSH_HOME/.backups`; restore over the current profile or as a new one. Sessions and shared storage are not included.
+- **Export recovery archive**: export sessions, shared storage, and all profiles outside `DSH_HOME`, under the desktop application data folder, excluding dependencies and existing backups. Finish tasks and close other clients first; the local service stops and stays stopped until you restart it. Recover manually into a new empty directory following the archive's `README.txt`, not with the profile Restore button.
+- Credentials are excluded by default, but other configuration can still contain secrets. Archives are not automatically redacted; keep them private and copy them to another device for protection against disk failure.
+- **Running → Data Directory**: preflight and migrate the entire data directory; update `DSH_HOME` only after verification, retaining the renamed old directory for rollback. Close other clients using it first, then restart the desktop app and reopen terminals. Development builds use `~/.dsh.dev` and cannot migrate it.
+
+See the [data management guide](https://dshtauri.mintlify.site/en/guides/data-management).
+
## Mobile support
-The same repository also maintains the **DSH Mobile** mobile app (Expo / React Native): it discovers a DSH host on the local network and hosts the Harness web UI in a full-screen WebView. The source lives in `src-native/`.
+The same repository maintains **DSH Mobile** (Expo / React Native): discover your computer's DSH over LAN or connect by QR code, then use the Harness web UI in a full-screen WebView. It does not run a core on the phone; source lives in `src-native/`.
+
+- Use **Remote → LAN / Public tunnel** in the desktop's top bar to enable sharing and display a pairing QR code, then scan it in DSH Mobile. LAN requires the same network; internet access supports Cloudflare Quick (no account, random hostname) or a named tunnel (Token and public hostname). Keep the computer, Harness service, and any tunnel online.
+- Sharing is off by default and requires authentication when enabled. Temporary pairing codes last 5 minutes and rotate after use; devices remember authorization. **Harness Settings → Remote Access → Remote Access** configures listening, tunnels, and revokes pairing authorization; revocation requires every device to pair again.
+- Pairing permits operating Harness on your computer, not read-only access. Keep QR codes, links, and access codes private. See the [mobile remote access guide](https://dshtauri.mintlify.site/en/guides/mobile-remote-access).
- Android APKs are downloadable from the [Releases](https://github.com/dsh-tauri/deepseek-harness-desktop/releases) page as `Deepseek.Harness.Android_x.x.x.apk`, and the version follows the desktop app.
- **An unsigned iOS IPA is distributed with desktop releases**; you must sign it yourself before installation—it cannot be installed directly.
diff --git a/README.es.md b/README.es.md
index 651201f5..92c36d52 100644
--- a/README.es.md
+++ b/README.es.md
@@ -46,7 +46,7 @@
## Características
- 🪶 **Escritorio nativo** — Tauri 2 + React 19 + HeroUI 3, con la interfaz local de Harness integrada.
-- 📱 **Conexión remota** — Conectate a la instancia de DSH en tu computadora desde la app móvil nativa para Android / iOS.
+- 📱 **Conexión remota** — Escaneá un QR desde Android / iOS para conectarte al DSH de tu computadora por LAN o un túnel público de Cloudflare.
- 🔄 **Gestión del runtime** — Instalá dependencias, elegí versiones del núcleo y accedé a actualizaciones del escritorio y del núcleo.
- 🔀 **Soporte para distintos motores** — Usá DSH / Codex / Claude en una misma interfaz, con sus herramientas nativas.
- 🧩 **Gestión de plugins** — 13 plugins integrados; instalación desde directorios locales, desactivación de integrados y gestión de plugins comunitarios.
@@ -114,9 +114,22 @@ brew install dsh-tauri/desktop/deepseek-harness
- Vacío hereda la configuración del sistema/entorno. Los cambios se aplican a nuevas peticiones; reintentá las descargas fallidas.
- SOCKS5H resuelve los nombres por el proxy; las conexiones de loopback siguen directas.
+## Gestión de datos
+
+- **Configuración → Perfiles → Backups**: guardá la configuración del perfil activo en `DSH_HOME/.backups` y restaurala sobre el perfil actual o como uno nuevo. No incluye sesiones ni almacenamiento compartido.
+- **Exportar archivo de recuperación**: exportá sesiones, almacenamiento compartido y todos los perfiles fuera de `DSH_HOME`, en los datos de la aplicación de escritorio, sin dependencias ni backups existentes. Terminá las tareas y cerrá otros clientes primero; el servicio local se detiene y queda detenido hasta que lo reinicies. Recuperá manualmente en un directorio nuevo y vacío siguiendo el `README.txt` del archivo, no con el botón de restauración del perfil.
+- Las credenciales se excluyen por defecto, pero otras configuraciones pueden contener claves. Los archivos no se censuran automáticamente; guardalos en privado y copialos a otro dispositivo para protegerte contra fallas del disco.
+- **Configuración → Datos**: verificá y migrá el directorio completo; `DSH_HOME` cambia solo después de validar la copia, conservando el directorio anterior renombrado para revertir. Cerrá otros clientes que lo usen primero; luego reiniciá el escritorio y abrí nuevas terminales. Las versiones de desarrollo usan `~/.dsh.dev` y no permiten migrarlo.
+
+Consultá la [guía de gestión de datos en inglés](https://dshtauri.mintlify.site/en/guides/data-management).
+
## Soporte móvil
-El mismo repositorio también mantiene la app móvil **DSH Mobile** (Expo / React Native): descubre un host DSH en la red local y muestra la interfaz web de Harness en un WebView a pantalla completa. El código está en `src-native/`.
+El mismo repositorio mantiene **DSH Mobile** (Expo / React Native): descubrí el DSH de tu computadora por LAN o conectate con un QR y usá la interfaz web de Harness en un WebView a pantalla completa. No ejecuta el núcleo en el teléfono; el código está en `src-native/`.
+
+- En la barra superior del escritorio, **Remoto → LAN / Túnel público** permite compartir y mostrar un QR de emparejamiento; escanealo en DSH Mobile. LAN requiere la misma red; desde internet podés usar Cloudflare Quick (sin cuenta, dominio aleatorio) o un túnel con nombre (Token y dominio público). La computadora, Harness y el túnel deben seguir en línea.
+- Compartir está desactivado por defecto y exige autenticación al activarlo. Los códigos temporales duran 5 minutos y cambian después de usarse; los dispositivos recuerdan la autorización. **Ajustes de Harness → Acceso remoto → Acceso remoto** permite configurar la escucha, los túneles y revocar el emparejamiento; después todos los dispositivos deben emparejarse otra vez.
+- El emparejamiento permite operar Harness en tu computadora, no es acceso de solo lectura. No publiques QR, enlaces ni códigos de acceso. Consultá la [guía de acceso remoto móvil en inglés](https://dshtauri.mintlify.site/en/guides/mobile-remote-access).
- Los APK de Android se descargan desde la página de [Releases](https://github.com/dsh-tauri/deepseek-harness-desktop/releases) como `Deepseek.Harness.Android_x.x.x.apk`, y la versión sigue a la de escritorio.
- **El IPA de iOS sin firmar se distribuye con las versiones de escritorio**; tenés que firmarlo por tu cuenta antes de instalarlo: no se puede instalar directamente.
diff --git a/README.md b/README.md
index 0c6f208f..f25f8bc2 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@
## 功能
- 🪶 **原生桌面** — Tauri 2 + React 19 + Hero 3,内嵌本地 Harness 界面。
-- 📱 **远程连接** — 通过原生 Android / iOS 移动端连接电脑上的 DSH 实例。
+- 📱 **远程连接** — Android / iOS 移动端扫码连接电脑上的 DSH,支持局域网与 Cloudflare 公网隧道。
- 🔄 **运行时管理** — 安装依赖、选择内核版本,并提供桌面端与内核更新入口。
- 🔀 **多内核支持** — 在同一界面畅用 DSH / Codex / Claude,发挥各自原生工具能力。
- 🧩 **插件管理** — 13 个内置插件;支持本地路径安装、内置插件停用、社区插件安装、升级、卸载与错误查看。
@@ -113,9 +113,22 @@ brew install dsh-tauri/desktop/deepseek-harness
- 留空沿用系统/环境代理;保存后对新请求生效,可重试失败的下载。
- SOCKS5H 通过代理解析目标域名;本机回环连接始终直连。
+## 数据管理
+
+- **运行配置 → 档案 → 备份**:备份当前档案配置到 `DSH_HOME/.backups`,可覆盖还原或还原为新档案;不含会话与共享存储。
+- **导出恢复归档**:将会话、共享存储和所有档案导出到 `DSH_HOME` 外的桌面应用数据目录,排除依赖与已有备份。先结束任务并关闭其他客户端;本机服务停止后保持停止,需手动重启。恢复需解压到新空目录,按归档内的 `README.txt` 操作,不适用档案还原按钮。
+- 凭据默认不包含;即使不勾选,其他配置仍可能含密钥。归档不会自动脱敏,请妥善保管,另存到其他设备才能防范磁盘损坏。
+- **运行配置 → 数据**:预检后整体迁移数据目录,校验通过才改写 `DSH_HOME`,旧目录改名保留并可回滚。迁移前关闭其他使用该目录的客户端,完成后重启桌面端、重开终端;开发构建固定使用 `~/.dsh.dev`,不能迁移。
+
+详见[数据管理指南](https://dshtauri.mintlify.site/zh-CN/guides/data-management)。
+
## 移动端支持
-同一仓库内维护移动端 **DSH Mobile**(Expo / React Native):在局域网发现 DSH 主机,并以全屏 WebView 承载 Harness 网页,源码位于 `src-native/`。
+同一仓库内维护移动端 **DSH Mobile**(Expo / React Native):通过局域网发现或扫码连接电脑上的 DSH,以全屏 WebView 承载 Harness 网页,不在手机上运行内核;源码位于 `src-native/`。
+
+- 桌面顶部**远程 → 局域网 / 公网隧道**可开启分享并显示配对二维码;DSH Mobile 扫码连接。局域网需同一网络,外网可用 Cloudflare Quick(免账号、随机域名)或具名隧道(Token 与公开主机名)。电脑、Harness 服务和所用隧道须保持在线。
+- 分享默认关闭,开启后需认证;临时配对码 5 分钟有效,使用后轮换,设备记住授权。**Harness 设置 → 远程访问 → 远程访问**可配置监听地址、隧道及撤销配对授权;撤销后所有设备需重新配对。
+- 配对允许操作电脑上的 Harness,并非只读分享;不要公开二维码、链接或访问码。步骤见[手机远程访问指南](https://dshtauri.mintlify.site/zh-CN/guides/mobile-remote-access)。
- Android APK 可在 [Releases](https://github.com/dsh-tauri/deepseek-harness-desktop/releases) 页面下载,资产名形如 `Deepseek.Harness.Android_x.x.x.apk`,版本跟随桌面端。
- **iOS 未签名 IPA 随桌面端发版**;需自行签名后安装,不能直接安装。