dsh-deeppilot 0.6.0-alpha.2 → 0.6.0-alpha.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/COMPATIBILITY.md CHANGED
@@ -7,8 +7,8 @@ This file separates tested evidence from intended behavior. Passing unit tests d
7
7
  | Component | Baseline | Evidence |
8
8
  |---|---|---|
9
9
  | Node.js | 22 or newer | package engine and CI |
10
- | DSH CLI and Host API | `0.1.2-alpha.2` minimum | published alpha.2 type/build checks, profile install and Host-start smoke test, plus 0.1.2 history and `/phone` protocol tests |
11
- | Host OS | macOS on Apple silicon | embedded helper artifact and local integration testing |
10
+ | DSH CLI and Host API | `0.1.2-rc.1` minimum for plugin `0.6.0-alpha.4` | rc.1 package-family typecheck/build; bridge and `/phone` protocol tests |
11
+ | Host OS | macOS, Linux, Windows on packaged amd64/arm64 helper targets | helper checksums plus user-confirmed Windows/Linux Funnel launch and connection; local LAN validation remains part of alpha testing |
12
12
  | Remote access | Tailscale Funnel, ports 443/8443/10000 | helper and supervisor tests |
13
13
  | iOS | native DeepPilot client, protocol v2 | simulator build and v2 pairing/challenge evidence |
14
14
 
@@ -18,12 +18,12 @@ This file separates tested evidence from intended behavior. Passing unit tests d
18
18
  - Bearer authentication, URL credentials, and first-frame shared tokens are rejected. A supported client registers a P-256 public key through `/phone/pair` and signs each WebSocket challenge.
19
19
  - Without a compatible embedded helper, the core bridge and trusted-LAN mode can still run; remote Funnel reports `unavailable`.
20
20
  - If a DSH Host API is missing, only the dependent capability should be disabled. The plugin must not crash the Host.
21
- - DSH versions older than `0.1.2-alpha.2` are unsupported: they do not expose
22
- the controller and client package family required by this plugin.
23
- - On the tested `0.1.2-alpha.2` Host, the compatibility facade converts the
21
+ - Plugin `0.6.0-alpha.4` requires DSH `0.1.2-rc.1` or newer. Older plugin
22
+ alphas used developer-preview DSH builds and remain historical artifacts.
23
+ - The compatibility facade converts the
24
24
  current Session controller's raw event arrays into the stable wrapped
25
25
  history entries consumed by the phone bridge. Sessions persisted by earlier
26
- Hosts can therefore be listed and opened when the alpha.2 Host's own
26
+ Hosts can therefore be listed and opened when the rc.1 Host's own
27
27
  persistence reader accepts their log vocabulary. Unsupported persisted
28
28
  formats still fail closed in the Host without modifying the original log.
29
29
 
@@ -31,8 +31,7 @@ This file separates tested evidence from intended behavior. Passing unit tests d
31
31
 
32
32
  - Intel macOS support for the embedded helper;
33
33
  - signed/notarized helper distribution;
34
- - Windows or Linux host validation;
35
- - repair or migration of persisted history rejected by the `0.1.2-alpha.2`
34
+ - repair or migration of persisted history rejected by the `0.1.2-rc.1`
36
35
  Host's own session reader;
37
36
  - every DSH developer-preview revision;
38
37
  - physical-device performance and every carrier/network combination;
package/README.md CHANGED
@@ -31,24 +31,24 @@ Host on your own Mac and does not replace or modify the DSH Web UI.
31
31
 
32
32
  ## Install from npm
33
33
 
34
- Requirements: Node.js 22+, DSH with a `web` profile, and macOS. The bundled
35
- Funnel helper currently supports Apple silicon; trusted-LAN mode does not
36
- require it.
34
+ Requirements: Node.js 22+ and DSH with a `web` profile. The package includes
35
+ Funnel helpers for macOS, Linux, and Windows on amd64/arm64; trusted-LAN mode
36
+ does not require the helper.
37
37
 
38
38
  | Plugin version | Required DSH | How to install |
39
39
  |---|---|---|
40
- | `0.6.0-alpha.x` (new, `alpha` tag) | DSH `0.1.2-alpha.2` or newer | `dsh plugin --profile web add dsh-deeppilot@alpha` |
40
+ | `0.6.0-alpha.4` (new, `alpha` tag) | DSH `0.1.2-rc.1` or newer | `dsh plugin --profile web add dsh-deeppilot@alpha` |
41
41
  | `0.5.x` (previous stable, `latest`) | DSH `0.1.1-rc.2`–`0.1.2-alpha.1` | `dsh plugin --profile web add dsh-deeppilot` |
42
42
 
43
- The `0.6.0` alpha line is built against the DSH
44
- [0.1.2-alpha.2](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-alpha.2)
45
- controller and client package family, so it requires DSH `0.1.2-alpha.2` or
46
- newer (its `alpha` npm dist-tag). Earlier DSH builds do not provide the Host
47
- APIs required by this plugin. Users who need a DSH release before that must
48
- stay on the `0.5.x` plugin.
43
+ `0.6.0-alpha.4` is built and typechecked against the DSH
44
+ [0.1.2-rc.1](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-rc.1)
45
+ Host and client package family. It uses the Gateway multi-client Remote Events
46
+ routing that keeps Web and DeepPilot independently answerable. Earlier plugin
47
+ alphas remain historical artifacts; users installing the current `alpha` tag
48
+ should update DSH to `0.1.2-rc.1` or newer.
49
49
 
50
50
  ```sh
51
- # DSH 0.1.2-alpha.2 or newer (recommended):
51
+ # DSH 0.1.2-rc.1 or newer (recommended):
52
52
  dsh plugin --profile web add dsh-deeppilot@alpha
53
53
  # DSH 0.1.1-rc.2 through 0.1.2-alpha.1 (previous stable):
54
54
  dsh plugin --profile web add dsh-deeppilot
@@ -59,6 +59,11 @@ After DSH restarts, open **Settings → DeepPilot**, enable the connection, show
59
59
  the pairing QR code, and scan it in the DeepPilot app. The same panel also
60
60
  shows a copyable pairing code for Simulator or manual entry.
61
61
 
62
+ LAN access is enabled by default on the plugin's independent TCP port `3098`.
63
+ DSH may continue listening only on `127.0.0.1:3080`; do not expose the full DSH
64
+ web server. If a firewall is enabled, allow inbound TCP `3098` on trusted
65
+ private networks. The port can be changed under **Advanced settings**.
66
+
62
67
  Package: [npmjs.com/package/dsh-deeppilot](https://www.npmjs.com/package/dsh-deeppilot)
63
68
 
64
69
  ## Update or uninstall
@@ -73,13 +78,13 @@ DeepPilot state under `$DSH_HOME/deeppilot/`.
73
78
 
74
79
  ## Publishing (maintainers)
75
80
 
76
- `0.6.0-alpha.x` targets DSH `0.1.2-alpha.2`+; `0.5.x` stays compatible with
81
+ `0.6.0-alpha.4` targets DSH `0.1.2-rc.1`+; `0.5.x` stays compatible with
77
82
  DSH `0.1.1-rc.2`–`0.1.2-alpha.1`. Keep both published:
78
83
 
79
84
  1. Bump `version` in `package.json` and in the root `""` entry of
80
85
  `package-lock.json`, then run `npm test && npm run typecheck && npm run build`
81
86
  and inspect `npm pack --dry-run --json` (the check
82
- `tests/compatibility-metadata.test.ts` enforces the `^0.1.2-alpha.2` peer
87
+ `tests/compatibility-metadata.test.ts` enforces the `^0.1.2-rc.1` peer
83
88
  ranges).
84
89
  2. Commit the release and push it. `npm publish` runs `prepack` (build) and
85
90
  `prepublishOnly` (test + typecheck) automatically.
@@ -91,7 +96,7 @@ DSH `0.1.1-rc.2`–`0.1.2-alpha.1`. Keep both published:
91
96
 
92
97
  After a successful publish, `npm view dsh-deeppilot dist-tags --json` shows
93
98
  `"latest": "0.5.x"` and `"alpha": "0.6.0-alpha.x"`. Verify the published
94
- package by installing it into a DSH `0.1.2-alpha.2` profile before pointing
99
+ package by installing it into a DSH `0.1.2-rc.1` profile before pointing
95
100
  users at it.
96
101
  4. Tag the release commit `v0.6.0-alpha.x` and prepare a GitHub Release
97
102
  (English + 简体中文 notes) that links this README section.
@@ -105,9 +110,10 @@ Never run `npm publish` from a copy that still has the old `0.5.x` version.
105
110
  ## Connection and privacy
106
111
 
107
112
  Conversation traffic travels directly between the iPhone and your DSH Host.
108
- Trusted-LAN `ws://` traffic is unencrypted, so use it only on a network you
109
- trust. Optional Funnel mode exposes only the DeepPilot connection, one-time
110
- pairing, and health endpoints, not the complete DSH Web UI.
113
+ Trusted-LAN `ws://` traffic on the independent plugin port `3098` is
114
+ unencrypted, so use it only on a network you trust. Both the LAN listener and
115
+ optional Funnel mode expose only the DeepPilot connection, one-time pairing,
116
+ and health endpoints, not the complete DSH Web UI.
111
117
 
112
118
  The DeepPilot settings page exposes **Connections per public source** under
113
119
  the collapsed **Advanced settings** section. It defaults to `8`, accepts
package/README.zh-CN.md CHANGED
@@ -29,22 +29,22 @@
29
29
 
30
30
  ## 从 npm 安装
31
31
 
32
- 需要 Node.js 22+、带 `web` profile 的 DSH,以及 macOS。内嵌 Funnel helper
33
- 目前支持 Apple silicon;可信局域网模式不依赖 helper。
32
+ 需要 Node.js 22+ 和带 `web` profile 的 DSH。npm 包内置 macOS、Linux、Windows
33
+ amd64/arm64 Funnel helper;可信局域网模式不依赖 helper。
34
34
 
35
35
  | 插件版本 | 所需 DSH | 安装命令 |
36
36
  |---|---|---|
37
- | `0.6.0-alpha.x`(新版,`alpha` tag) | DSH `0.1.2-alpha.2` 或更高 | `dsh plugin --profile web add dsh-deeppilot@alpha` |
37
+ | `0.6.0-alpha.4`(新版,`alpha` tag) | DSH `0.1.2-rc.1` 或更高 | `dsh plugin --profile web add dsh-deeppilot@alpha` |
38
38
  | `0.5.x`(旧版稳定版,`latest`) | DSH `0.1.1-rc.2`–`0.1.2-alpha.1` | `dsh plugin --profile web add dsh-deeppilot` |
39
39
 
40
- `0.6.0` alpha 系列基于 DSH
41
- [0.1.2-alpha.2](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-alpha.2)
42
- controller 与 client 包族构建,因此要求 DSH `0.1.2-alpha.2` 或更高版本
43
- (对应 npm `alpha` dist-tag)。更早的 DSH 版本不提供本插件依赖的 Host API;
44
- 需要更早 DSH 版本的用户请继续使用 `0.5.x` 插件。
40
+ `0.6.0-alpha.4` 基于 DSH
41
+ [0.1.2-rc.1](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-rc.1)
42
+ Host 与 client 包族构建并完成类型检查。它使用 Gateway Client Remote Events
43
+ 路由,使 Web DeepPilot 能独立处理同一交互。旧 alpha 仅保留为历史产物;安装
44
+ 当前 `alpha` tag 的用户应先把 DSH 更新到 `0.1.2-rc.1` 或更高版本。
45
45
 
46
46
  ```sh
47
- # DSH 0.1.2-alpha.2 或更高(推荐):
47
+ # DSH 0.1.2-rc.1 或更高(推荐):
48
48
  dsh plugin --profile web add dsh-deeppilot@alpha
49
49
  # DSH 0.1.1-rc.2 至 0.1.2-alpha.1(旧版稳定):
50
50
  dsh plugin --profile web add dsh-deeppilot
@@ -54,6 +54,10 @@ dsh web
54
54
  DSH 重启后,打开 **设置 → DeepPilot**,启用连接并显示配对二维码,然后在
55
55
  DeepPilot App 中扫码。同一面板也会显示可复制的配对码,供模拟器或手动输入使用。
56
56
 
57
+ 局域网连接默认使用插件独立的 TCP `3098` 端口。DSH 可以继续只监听
58
+ `127.0.0.1:3080`,无需向局域网暴露完整 DSH Web 服务。启用系统防火墙时,请仅在
59
+ 可信私有网络放行入站 TCP `3098`;端口可在“高级设置”中修改。
60
+
57
61
  npm 包:[npmjs.com/package/dsh-deeppilot](https://www.npmjs.com/package/dsh-deeppilot)
58
62
 
59
63
  ## 更新或卸载
@@ -67,13 +71,13 @@ dsh plugin --profile web remove dsh-deeppilot
67
71
 
68
72
  ## 发布说明(维护者)
69
73
 
70
- `0.6.0-alpha.x` 面向 DSH `0.1.2-alpha.2`+;`0.5.x` 保持兼容 DSH
74
+ `0.6.0-alpha.4` 面向 DSH `0.1.2-rc.1`+;`0.5.x` 保持兼容 DSH
71
75
  `0.1.1-rc.2`–`0.1.2-alpha.1`,两个版本线都要保持发布:
72
76
 
73
77
  1. 同步修改 `package.json` 与 `package-lock.json` 根 `""` 条目中的
74
78
  `version`,然后运行 `npm test && npm run typecheck && npm run build`,
75
79
  并检查 `npm pack --dry-run --json`(`tests/compatibility-metadata.test.ts`
76
- 会强制校验 `^0.1.2-alpha.2` 的 peer 范围)。
80
+ 会强制校验 `^0.1.2-rc.1` 的 peer 范围)。
77
81
  2. 提交发布并推送。`npm publish` 会自动执行 `prepack`(构建)与
78
82
  `prepublishOnly`(测试 + 类型检查)。
79
83
  3. 发布 alpha 版本线,不要动 `latest`:
@@ -84,7 +88,7 @@ dsh plugin --profile web remove dsh-deeppilot
84
88
 
85
89
  发布成功后,`npm view dsh-deeppilot dist-tags --json` 应显示
86
90
  `"latest": "0.5.x"` 与 `"alpha": "0.6.0-alpha.x"`。向用户推荐前,请先在
87
- DSH `0.1.2-alpha.2` profile 中安装验证发布的包。
91
+ DSH `0.1.2-rc.1` profile 中安装验证发布的包。
88
92
  4. 为发布提交打 `v0.6.0-alpha.x` tag,并准备包含英文与简体中文说明的
89
93
  GitHub Release,链接本 README 的发布说明。
90
94
  5. alpha 转正时升级到 `0.6.0`,用 `npm publish --tag latest` 发布,使
@@ -95,9 +99,10 @@ dsh plugin --profile web remove dsh-deeppilot
95
99
 
96
100
  ## 连接与隐私
97
101
 
98
- 完整会话流量由 iPhone 直接连接用户自己的 DSH Host。可信局域网中的 `ws://`
99
- 是明文流量,只应在可信网络使用。可选 Funnel 模式只暴露经过认证的 DeepPilot
100
- 连接、单次配对与健康检查端点,不会暴露完整 DSH Web UI。
102
+ 完整会话流量由 iPhone 直接连接用户自己的 DSH Host。插件独立 `3098` 端口上的
103
+ 可信局域网 `ws://` 是明文流量,只应在可信网络使用。局域网监听器和可选 Funnel
104
+ 模式都只暴露经过认证的 DeepPilot 连接、单次配对与健康检查端点,不会暴露完整
105
+ DSH Web UI。
101
106
 
102
107
  DeepPilot 设置页在默认折叠的“高级设置”中提供“每个公网来源的连接上限”,默认
103
108
  `8`,可设置为 `1`–`16`。修改后 Funnel helper 会短暂重启,已连接的远程客户端
package/SECURITY.md CHANGED
@@ -17,8 +17,8 @@ Do not open a public issue containing pairing codes, APNs device tokens, provide
17
17
  - Protocol v1, shared Bearer tokens, query credentials, and `c2s.hello.auth` are not accepted. There is no remote downgrade switch.
18
18
  - The server enforces explicit protocol scopes, while the normal settings UI grants the default scope set and exposes only the global connection switch plus per-device deletion. Deleting a device disconnects it immediately.
19
19
  - The canonical `$DSH_HOME/deeppilot` directory is repaired to mode `0700`. `host-id` and `devices-v2.json` are owner-only.
20
- - LAN `ws://` is unencrypted. Use it only on a trusted network. Public access should use Funnel HTTPS/WSS.
21
- - The Funnel helper publishes only `/phone`, `/phone/pair`, and `/phone/health`, never the complete DSH Web UI.
20
+ - LAN `ws://` on the independent plugin port (default `3098`) is unencrypted. Use it only on a trusted network and never forward that port to the public Internet. Public access should use Funnel HTTPS/WSS.
21
+ - The LAN listener and Funnel helper publish only `/phone`, `/phone/pair`, and `/phone/health`, never the complete DSH Web UI.
22
22
  - Logs must never include pairing codes, key material, APNs tokens, or message bodies.
23
23
 
24
24
  ## Online attack controls
package/bin/SHA256SUMS CHANGED
@@ -1,6 +1,6 @@
1
- 1f7f29e139f978a68da0bc80c5755e37aca311de06e5e2a14fb09ccb34647571 ./darwin-amd64/dsh-deeppilot-tunnel
2
- a7c879a104468c6ab7c782176f4ca4f1c87fbbffef298dc3a1009fa8960a801f ./darwin-arm64/dsh-deeppilot-tunnel
3
- 210a182ca76f09a244d8439f071b68c606157e5bdd18f383c16b2454b72d117c ./linux-amd64/dsh-deeppilot-tunnel
4
- fb7d93a5edb2eeff8b867aa5c745618ef44f425bb7c4cd6aa6289116efef9fb2 ./linux-arm64/dsh-deeppilot-tunnel
5
- c1a23b917d4fcde70b449574b00cd4e453cd7e13d4777a7f7affaad9e0efbbac ./windows-amd64/dsh-deeppilot-tunnel.exe
6
- eff7c91008f5846ccebdd8c7eb51f65ef96455c46f489de7c4d3d6b888a4f3f5 ./windows-arm64/dsh-deeppilot-tunnel.exe
1
+ 69f2d9793f750ca68863eae0aaf40a2c670ed52579349e907c213529754356de ./darwin-amd64/dsh-deeppilot-tunnel
2
+ f9fe205fb8d97684ddb9350e02cb766ffb53e8610a3c5dfce0d265872ac6a8b3 ./darwin-arm64/dsh-deeppilot-tunnel
3
+ d5c97703970e595a4f341fb446fa3337f87fefbf766ab81aea12d983318b98c1 ./linux-amd64/dsh-deeppilot-tunnel
4
+ f1eb837e02eb9ee63801d12be9df45351a895963b9f635079eb2287a7f59954a ./linux-arm64/dsh-deeppilot-tunnel
5
+ 88cca9341aa9f87215c0de2ebb69d0971bc4fa39548df332a000c63560c830f2 ./windows-amd64/dsh-deeppilot-tunnel.exe
6
+ 5b81075d986fd387192084f916964d2c4a51ca494ce331e0346a8a75fc3e7b8d ./windows-arm64/dsh-deeppilot-tunnel.exe