dsh-mobile 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  Notable changes to DSH Mobile are recorded here. GitHub Releases remain the source for downloadable packages and complete generated commit notes.
4
4
 
5
+ ## 0.3.0 - 2026-08-28
6
+
7
+ - Add one-click connection diagnostics for versions, LAN gateway, network interface, Windows firewall, and the selected remote provider, with a sanitized report for support requests.
8
+ - Publish compatibility metadata separately from the stable discovery protocol so the Android app can distinguish app, plugin, and protocol mismatches.
9
+ - Keep the connection chooser interactive during background restoration, race saved LAN and remote trust, reuse trust after remote address changes, apply remote-aware timeouts and single-flight refresh backoff, and privately cache revisioned assets for faster reopening.
10
+ - Preserve fallback discovery when Android 13+ nearby Wi-Fi permission is declined, and provide concise guidance for QR, pairing, session, rate-limit, and service failures.
11
+ - Forward authenticated DSH and plugin mutations with CSRF protection, restoring mobile plugin-market and other non-GET actions.
12
+ - Coordinate Android and Web status-bar and safe-area behavior, keep settings actions readable on narrow screens, and refresh the app icon.
13
+ - Support DeepSeek Harness 0.1.2-alpha.1, including its `/api/remote.mux` state channel and batched renderer boot, so Workspaces, model selection, sessions, and community plugins remain available on mobile.
14
+ - Compress dedicated mobile boot batches and harden Android WebView origin checks, reducing remote startup transfer while avoiding background-thread WebView access.
15
+
5
16
  ## 0.2.2 - 2026-08-27
6
17
 
7
18
  - Detect LAN and remote pairing links automatically after a QR scan, independent of the currently selected connection page.
package/README.en.md CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  <p align="center">
10
10
  <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?label=npm&amp;color=CB3837" alt="npm version"></a>
11
+ <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/dm/dsh-mobile?label=downloads&amp;color=2563EB" alt="monthly npm downloads"></a>
11
12
  <a href="https://github.com/saya-ch/dsh-mobile/actions/workflows/ci.yml"><img src="https://github.com/saya-ch/dsh-mobile/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
12
13
  <a href="https://github.com/saya-ch/dsh-mobile/releases"><img src="https://img.shields.io/badge/Android-10%2B-3DDC84?logo=android&amp;logoColor=white" alt="Android 10+"></a>
13
14
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-0F172A" alt="Apache-2.0"></a>
@@ -16,13 +17,13 @@
16
17
 
17
18
  <p align="center"><a href="README.md">简体中文</a> · <a href="CHANGELOG.md">Changelog</a></p>
18
19
 
19
- > DSH Mobile 0.2.2 is a DeepSeek Harness community plugin for the DeepSeek Harness 0.1.1 series (verified with 0.1.1-rc.2); the native app supports Android only.
20
+ > DSH Mobile 0.3.0 is a DeepSeek Harness community plugin; the native app supports Android only.
20
21
  >
21
- > **0.2.2 update**: pairing scans now select the LAN or remote path automatically, with clearer QR, network, firewall, certificate, and pairing errors for faster connection troubleshooting.
22
+ > **0.3.0 update**: one-click diagnostics, version guidance, and clearer pairing and network errors; faster LAN and remote recovery, caching, and first load; DSH 0.1.2 Workspace, model, session, and community-plugin synchronization; plus status-bar, keyboard, narrow-screen, and app-icon refinements.
22
23
  >
23
- > Upgrading the app from 0.1.3 or earlier requires one uninstall and re-pair; older app builds can still use the 0.2.2 LAN path.
24
+ > **With DeepSeek Harness 0.1.2-alpha.1, update both the plugin and app to 0.3.0**; older apps use a status-bar strategy that does not fit the new Web UI, and app 0.1.3 or earlier also requires reinstalling and pairing again.
24
25
 
25
- <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases/download/v0.2.2/dsh-mobile-android-v0.2.2.apk"><strong>Download Android app 0.2.2</strong></a> · <a href="https://github.com/saya-ch/dsh-mobile/releases/tag/v0.2.2">Release notes and checksums</a></p>
26
+ <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases/download/v0.3.0/dsh-mobile-android-v0.3.0.apk"><strong>Download Android app 0.3.0</strong></a> · <a href="https://github.com/saya-ch/dsh-mobile/releases/tag/v0.3.0">Release notes and checksums</a></p>
26
27
 
27
28
  DSH Mobile is a DeepSeek Harness plugin that lets a mobile browser or the Android app connect over a protected LAN or an optional Tailscale Funnel or cpolar remote path. Local and remote access keep the same sessions, Workspaces, messages, and tools while using separate switches and paired-device stores without modifying DeepSeek Harness source.
28
29
 
@@ -36,6 +37,8 @@ It also lets you customize the phone from a DSH conversation: `/mobile <what you
36
37
  - **Customize the phone UI by talking to DSH**: change the mobile layout, interactions, and features from a conversation; open pages refresh within seconds.
37
38
  - **A dedicated touch layout**: session drawer, tool details, settings, question cards, and composer reorganized for phones.
38
39
  - **Auto-discovery, no re-pairing**: Wi-Fi, hotspot, or IP changes normally recover automatically.
40
+ - **One-click connection diagnostics**: check versions, gateway, network interface, firewall, and the remote path, then copy a report without credentials or complete addresses.
41
+ - **Faster reconnection**: trusted connections race during restore, revisioned assets are reused, and mobile boot batches are compressed.
39
42
  - **Three pairing options**: scan a QR code, paste a pairing link, or enter a key.
40
43
 
41
44
  A paired device is fully trusted and can operate the DSH on the computer. Use this only on a trusted home or office LAN, or a trusted VPN.
@@ -176,6 +179,7 @@ See [SECURITY.md](SECURITY.md).
176
179
 
177
180
  | DSH Mobile | Verified DeepSeek Harness releases |
178
181
  | --- | --- |
182
+ | `0.3.0` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2`, `0.1.2-alpha.1` |
179
183
  | `0.2.2` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2` |
180
184
  | `0.2.1` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2` |
181
185
  | `0.2.0` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2` |
package/README.md CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  <p align="center">
10
10
  <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?label=npm&color=CB3837" alt="npm 版本"></a>
11
+ <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/dm/dsh-mobile?label=downloads&color=2563EB" alt="npm 月下载量"></a>
11
12
  <a href="https://github.com/saya-ch/dsh-mobile/actions/workflows/ci.yml"><img src="https://github.com/saya-ch/dsh-mobile/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
12
13
  <a href="https://github.com/saya-ch/dsh-mobile/releases"><img src="https://img.shields.io/badge/Android-10%2B-3DDC84?logo=android&logoColor=white" alt="Android 10+"></a>
13
14
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-0F172A" alt="Apache-2.0"></a>
@@ -23,13 +24,13 @@
23
24
  <a href="README.en.md">English</a>
24
25
  </p>
25
26
 
26
- > DSH Mobile 0.2.2 是 DeepSeek Harness 社区插件,适配 DeepSeek Harness 0.1.1 系列(已验证 0.1.1-rc.2);原生 App 仅支持 Android。
27
+ > DSH Mobile 0.3.0 是 DeepSeek Harness 社区插件,原生 App 仅支持 Android。
27
28
  >
28
- > **0.2.2 更新**:扫码后自动识别局域网或远程连接,并细化二维码、网络、防火墙、证书与配对错误提示,便于快速排查连接问题。
29
+ > **0.3.0 更新**:新增一键连接诊断、版本提示与更清晰的配对/网络报错;改进局域网和远程连接恢复、缓存与首次加载;适配 DSH 0.1.2 的工作区、模型、会话及社区插件同步;优化状态栏、键盘、窄屏布局和 App 图标。
29
30
  >
30
- > 0.1.3 或更早 App 升级时需卸载旧版并重新配对一次;旧版 App 仍可使用 0.2.2 的局域网功能。
31
+ > **使用 DeepSeek Harness 0.1.2-alpha.1 时,请将插件与 App 同步升级至 0.3.0**;旧 App 的状态栏策略不适配新版 Web,0.1.3 及更早版本还需卸载重装并重新配对。
31
32
 
32
- <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases/download/v0.2.2/dsh-mobile-android-v0.2.2.apk"><strong>下载 Android App 0.2.2</strong></a> · <a href="https://github.com/saya-ch/dsh-mobile/releases/tag/v0.2.2">版本说明与校验文件</a></p>
33
+ <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases/download/v0.3.0/dsh-mobile-android-v0.3.0.apk"><strong>下载 Android App 0.3.0</strong></a> · <a href="https://github.com/saya-ch/dsh-mobile/releases/tag/v0.3.0">版本说明与校验文件</a></p>
33
34
 
34
35
  DSH Mobile 是一个 DeepSeek Harness 插件,让手机浏览器或 Android App 通过局域网,或可选的 Tailscale Funnel、cpolar 远程通道连接电脑,继续使用同一份会话、工作区、消息和工具。局域网与远程访问分别启停、分别管理设备,且都不修改 DeepSeek Harness 源码。
35
36
 
@@ -43,6 +44,8 @@ DSH Mobile 是一个 DeepSeek Harness 插件,让手机浏览器或 Android App
43
44
  - **用对话定制手机端**:直接在 DSH 对话里改手机页面的布局、交互和功能,几秒内刷新。
44
45
  - **专属触屏布局**:会话抽屉、工具详情、设置、提问卡片和输入栏都按手机重新组织。
45
46
  - **自动发现、无需重新配对**:切换 Wi-Fi、热点或 IP 后通常自动恢复。
47
+ - **一键连接诊断**:检查版本、网关、网卡、防火墙和远程通道,并生成不含凭据与完整地址的脱敏报告。
48
+ - **更快恢复连接**:远程重开会并行恢复可信连接、复用版本化资源,并压缩移动端启动批次。
46
49
  - **三种配对方式**:扫码、配对链接、密钥。
47
50
 
48
51
  配对设备被视为完全信任,可以操作电脑上的 DSH;建议只在可信的家庭、办公局域网或可信 VPN 中使用。
@@ -184,12 +187,13 @@ flowchart LR
184
187
  ## 兼容性
185
188
 
186
189
 
187
- | DSH Mobile | 已验证的 DeepSeek Harness |
188
- | ------------ | -------------------------------------------------------- |
189
- | `0.2.2` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
190
- | `0.2.1` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
191
- | `0.2.0` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
192
- | `0.1.4` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
190
+ | DSH Mobile | 已验证的 DeepSeek Harness |
191
+ | ------------ | ------------------------------------------------------------------------- |
192
+ | `0.3.0` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2`、`0.1.2-alpha.1` |
193
+ | `0.2.2` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
194
+ | `0.2.1` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
195
+ | `0.2.0` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
196
+ | `0.1.4` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
193
197
 
194
198
  插件启动时会检查 DSH Host 版本和移动布局所需的前端依赖,遇到未经验证的版本会直接报错而不是带病启动;CI 也会持续跟踪 DSH 主分支的布局契约。升级 DSH 后如遇兼容提示,请先升级 DSH Mobile。
195
199
 
Binary file
package/cordis.patch.yml CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  - id: mobile-access
15
15
  name: dsh-mobile
16
- inject: [webServer]
16
+ inject: [webServer, connection]
17
17
  config:
18
18
  setupFile: !!js dshHomePath('mobile-access/setup.json')
19
19
  stateFile: !!js dshHomePath('mobile-access/devices.json')