dsh-mobile 0.1.3 → 0.1.4

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 ADDED
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ Notable changes to DSH Mobile are recorded here. GitHub Releases remain the source for downloadable packages and complete generated commit notes.
4
+
5
+ ## 0.1.4 - 2026-08-23
6
+
7
+ - Keep the plugin compatible with DeepSeek Harness 0.1.1.
8
+ - Continue mobile layout, safe-area, composer, settings, and interaction improvements.
9
+ - Restore bounded native response reads on Android 10 through 12.
10
+ - Publish Android releases as reproducible, signed release builds instead of temporary debug builds.
11
+ - Preserve the existing mobile protocol so older app builds can continue using the updated plugin; switching from the previous temporary Android signature requires one uninstall and re-pair.
12
+ - Refresh CI actions, Android lint coverage, build tooling, and maintenance documentation.
13
+
14
+ ## 0.1.3 - 2026-08-23
15
+
16
+ - Added DeepSeek Harness 0.1.1 compatibility.
17
+ - Improved mobile layout and interaction behavior.
package/README.en.md CHANGED
@@ -7,18 +7,20 @@
7
7
  <p align="center">Secure, live LAN access to DeepSeek Harness from a phone.</p>
8
8
 
9
9
  <p align="center">
10
- <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?tag=alpha&amp;label=npm&amp;color=CB3837" alt="npm version"></a>
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
11
  <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
12
  <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
13
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-0F172A" alt="Apache-2.0"></a>
14
14
  <a href="https://github.com/awesome-dsh-plugin/awesome-dsh-plugin"><img src="https://awesome-dsh-plugin.com/badge.svg" alt="Awesome DSH Plugin"></a>
15
15
  </p>
16
16
 
17
- <p align="center"><a href="README.md">简体中文</a></p>
17
+ <p align="center"><a href="README.md">简体中文</a> · <a href="CHANGELOG.md">Changelog</a></p>
18
18
 
19
19
  > The native app currently supports Android only; the iOS client remains a local experiment and is not included in builds or releases. This is a DeepSeek Harness community plugin.
20
20
  >
21
- > This release adds compatibility with DeepSeek Harness 0.1.1 and improves mobile interaction and layout.
21
+ > Current release: DSH Mobile 0.1.4 supports DeepSeek Harness 0.1.1 and continues to refine mobile interaction and layout.
22
+ >
23
+ > The Android app uses a stable release signing key starting with 0.1.4. Users upgrading from 0.1.3 or earlier must uninstall the old app, install the new build, and pair once more; later releases can be installed in place. The plugin can be upgraded independently, and older app builds can continue connecting to the 0.1.4 plugin.
22
24
 
23
25
  <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases"><strong>Download the Android app</strong></a></p>
24
26
 
@@ -136,7 +138,7 @@ See [SECURITY.md](SECURITY.md).
136
138
 
137
139
  | DSH Mobile | Verified DeepSeek Harness releases |
138
140
  | --- | --- |
139
- | `0.1.0–0.1.2` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2` |
141
+ | `0.1.0–0.1.4` | `0.1.0-rc.5`, `0.1.0-rc.6`, `0.1.0-rc.7`, `0.1.1-rc.2` |
140
142
 
141
143
  At startup, the plugin verifies the DSH Host version and the frontend dependencies required by the mobile layout; an unverified release fails with a clear error instead of serving a broken page. CI also tracks the DSH main branch layout contract. If a DSH upgrade reports an incompatibility, update DSH Mobile first.
142
144
 
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  <p align="center">在手机上安全、实时地使用电脑中的 DeepSeek Harness。</p>
8
8
 
9
9
  <p align="center">
10
- <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?tag=alpha&label=npm&color=CB3837" alt="npm 版本"></a>
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
11
  <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
12
  <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
13
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-0F172A" alt="Apache-2.0"></a>
@@ -18,12 +18,15 @@
18
18
  <a href="#能做什么">能做什么</a> ·
19
19
  <a href="#快速开始">快速开始</a> ·
20
20
  <a href="#扩展与自定义">扩展与自定义</a> ·
21
+ <a href="CHANGELOG.md">更新记录</a> ·
21
22
  <a href="README.en.md">English</a>
22
23
  </p>
23
24
 
24
25
  > 当前原生 App 仅支持 Android;iOS 客户端尚处于本地实验阶段,暂不纳入构建与发布。本项目是 DeepSeek Harness 社区插件。
25
26
  >
26
- > 本次更新:适配 DeepSeek Harness 0.1.1,优化移动端交互与布局体验。
27
+ > 当前版本:DSH Mobile 0.1.4,适配 DeepSeek Harness 0.1.1,并持续优化移动端交互与布局体验。
28
+ >
29
+ > Android App 自 0.1.4 起使用稳定发布签名。已安装 0.1.3 或更早版本的用户需要卸载旧 App、安装新版并重新配对一次;此后版本可直接覆盖升级。插件可独立更新,旧版 App 仍可继续连接 0.1.4 插件。
27
30
 
28
31
  <p align="center"><a href="https://github.com/saya-ch/dsh-mobile/releases"><strong>下载 Android App</strong></a></p>
29
32
 
@@ -142,7 +145,7 @@ flowchart LR
142
145
 
143
146
  | DSH Mobile | 已验证的 DeepSeek Harness |
144
147
  | ------------------ | ------------------------------------------ |
145
- | `0.1.0–0.1.2` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
148
+ | `0.1.0–0.1.4` | `0.1.0-rc.5`、`0.1.0-rc.6`、`0.1.0-rc.7`、`0.1.1-rc.2` |
146
149
 
147
150
  插件启动时会检查 DSH Host 版本和移动布局所需的前端依赖,遇到未经验证的版本会直接报错而不是带病启动;CI 也会持续跟踪 DSH 主分支的布局契约。升级 DSH 后如遇兼容提示,请先升级 DSH Mobile。
148
151
 
package/SECURITY.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Supported versions
6
6
 
7
- Only the newest prerelease receives security fixes while the project is in alpha. The README compatibility table identifies the exact DSH release tested with each plugin version.
7
+ Security fixes target the newest stable release. Prereleases receive fixes only when the corresponding GitHub Release says they are supported. The README compatibility table identifies the exact DSH release tested with each plugin version.
8
8
 
9
9
  ## Reporting a vulnerability
10
10
 
@@ -27,7 +27,7 @@ The maintainer will acknowledge a complete report within seven days. Publication
27
27
  - Treat every extension `host.mjs` as a local program with the desktop user's Node.js privileges. It is never sandboxed and is not editable through the mobile gateway; only place code there that you trust.
28
28
  - Extension Actions and Routes receive filtered request data, a device identifier, and an abort signal. They cannot set proxy security headers or access the gateway's cookies, device tokens, CSRF tokens, or internal request headers.
29
29
 
30
- ## Known alpha limitation
30
+ ## Known limitation
31
31
 
32
32
  The current DSH HTML boot process contains inline JavaScript, revives Schemastery callbacks with `new Function`, and applies some styles dynamically. To keep the stock Web UI runnable, the gateway's Content Security Policy currently includes `script-src 'self' 'unsafe-inline' 'unsafe-eval'` and `style-src 'self' 'unsafe-inline'`. The remaining directives still restrict origins, connections, frames, objects, workers, images, and form targets, but this policy does not eliminate script-injection risk. Removing these allowances requires upstream DSH support for nonces, stable hashes, external boot resources, and a non-evaluating schema representation.
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mobile",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "description": "DeepSeek Harness 移动端适配与安全局域网访问插件,支持 Android App 和手机浏览器。",
6
6
  "type": "module",
@@ -30,6 +30,7 @@
30
30
  "cordis.patch.yml",
31
31
  "README.md",
32
32
  "README.en.md",
33
+ "CHANGELOG.md",
33
34
  "assets/brand/*.png",
34
35
  "LICENSE",
35
36
  "SECURITY.md"
@@ -130,7 +131,7 @@
130
131
  "react": "^18.2.0",
131
132
  "tsdown": "^0.22.14",
132
133
  "typescript": "^6.0.3",
133
- "vitest": "^4.1.10"
134
+ "vitest": "^4.1.11"
134
135
  },
135
136
  "directories": {
136
137
  "lib": "lib",