dsh-deeppilot 0.6.0-alpha.2 → 0.6.0-alpha.3
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 +10 -6
- package/README.md +15 -10
- package/README.zh-CN.md +12 -8
- package/bin/SHA256SUMS +6 -6
- package/bin/darwin-amd64/dsh-deeppilot-tunnel +0 -0
- package/bin/darwin-arm64/dsh-deeppilot-tunnel +0 -0
- package/bin/linux-amd64/dsh-deeppilot-tunnel +0 -0
- package/bin/linux-arm64/dsh-deeppilot-tunnel +0 -0
- package/bin/windows-amd64/dsh-deeppilot-tunnel.exe +0 -0
- package/bin/windows-arm64/dsh-deeppilot-tunnel.exe +0 -0
- package/lib/client.js +4 -1
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +12 -3
- package/lib/index.js +316 -72
- package/lib/index.js.map +1 -1
- package/package.json +22 -11
package/COMPATIBILITY.md
CHANGED
|
@@ -7,7 +7,7 @@ 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.
|
|
10
|
+
| DSH CLI and Host API | `0.1.2-alpha.3` minimum; `0.1.2-alpha.4` verified | clean alpha.3 install and Host-start smoke; isolated alpha.4 type/build plus 167 unit tests; alpha.4 Host-start smoke; `/phone` protocol tests |
|
|
11
11
|
| Host OS | macOS on Apple silicon | embedded helper artifact and local integration 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 |
|
|
@@ -18,12 +18,16 @@ 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.
|
|
22
|
-
the
|
|
23
|
-
-
|
|
21
|
+
- DSH versions older than `0.1.2-alpha.3` are unsupported: they do not expose
|
|
22
|
+
the Gateway multi-client Remote Events routing required by this plugin.
|
|
23
|
+
- DSH `0.1.2-alpha.4` keeps the Gateway Remote Events contract used for
|
|
24
|
+
approvals and questions. Its event-sequence/log-offset refactor changes
|
|
25
|
+
session internals, but the plugin's stable history facade passes the alpha.4
|
|
26
|
+
type/build and unit-test baseline.
|
|
27
|
+
- On the alpha.3 package baseline, the compatibility facade converts the
|
|
24
28
|
current Session controller's raw event arrays into the stable wrapped
|
|
25
29
|
history entries consumed by the phone bridge. Sessions persisted by earlier
|
|
26
|
-
Hosts can therefore be listed and opened when the alpha.
|
|
30
|
+
Hosts can therefore be listed and opened when the alpha.3 Host's own
|
|
27
31
|
persistence reader accepts their log vocabulary. Unsupported persisted
|
|
28
32
|
formats still fail closed in the Host without modifying the original log.
|
|
29
33
|
|
|
@@ -32,7 +36,7 @@ This file separates tested evidence from intended behavior. Passing unit tests d
|
|
|
32
36
|
- Intel macOS support for the embedded helper;
|
|
33
37
|
- signed/notarized helper distribution;
|
|
34
38
|
- Windows or Linux host validation;
|
|
35
|
-
- repair or migration of persisted history rejected by the `0.1.2-alpha.
|
|
39
|
+
- repair or migration of persisted history rejected by the `0.1.2-alpha.3`
|
|
36
40
|
Host's own session reader;
|
|
37
41
|
- every DSH developer-preview revision;
|
|
38
42
|
- physical-device performance and every carrier/network combination;
|
package/README.md
CHANGED
|
@@ -37,18 +37,23 @@ require it.
|
|
|
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.
|
|
40
|
+
| `0.6.0-alpha.x` (new, `alpha` tag) | DSH `0.1.2-alpha.3` 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
43
|
The `0.6.0` alpha line is built against the DSH
|
|
44
|
-
[0.1.2-alpha.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
[0.1.2-alpha.3](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-alpha.3)
|
|
45
|
+
Host and client package family, so it requires DSH `0.1.2-alpha.3` or newer
|
|
46
|
+
(its `alpha` npm dist-tag). The alpha.3 Gateway provides the multi-client
|
|
47
|
+
Remote Events routing used to keep Web and DeepPilot independently answerable.
|
|
48
|
+
Earlier DSH builds do not provide that routing contract. Users who need a DSH
|
|
49
|
+
release before that must stay on the `0.5.x` plugin.
|
|
50
|
+
|
|
51
|
+
DSH `0.1.2-alpha.4` is also verified. It retains the same interaction-routing
|
|
52
|
+
contract; see [COMPATIBILITY.md](./COMPATIBILITY.md) for the tested evidence and
|
|
53
|
+
its session-history compatibility note.
|
|
49
54
|
|
|
50
55
|
```sh
|
|
51
|
-
# DSH 0.1.2-alpha.
|
|
56
|
+
# DSH 0.1.2-alpha.3 or newer (recommended):
|
|
52
57
|
dsh plugin --profile web add dsh-deeppilot@alpha
|
|
53
58
|
# DSH 0.1.1-rc.2 through 0.1.2-alpha.1 (previous stable):
|
|
54
59
|
dsh plugin --profile web add dsh-deeppilot
|
|
@@ -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.
|
|
81
|
+
`0.6.0-alpha.x` targets DSH `0.1.2-alpha.3`+; `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.
|
|
87
|
+
`tests/compatibility-metadata.test.ts` enforces the `^0.1.2-alpha.3` 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.
|
|
99
|
+
package by installing it into a DSH `0.1.2-alpha.3` 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.
|
package/README.zh-CN.md
CHANGED
|
@@ -34,17 +34,21 @@
|
|
|
34
34
|
|
|
35
35
|
| 插件版本 | 所需 DSH | 安装命令 |
|
|
36
36
|
|---|---|---|
|
|
37
|
-
| `0.6.0-alpha.x`(新版,`alpha` tag) | DSH `0.1.2-alpha.
|
|
37
|
+
| `0.6.0-alpha.x`(新版,`alpha` tag) | DSH `0.1.2-alpha.3` 或更高 | `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
40
|
`0.6.0` alpha 系列基于 DSH
|
|
41
|
-
[0.1.2-alpha.
|
|
42
|
-
的
|
|
43
|
-
|
|
41
|
+
[0.1.2-alpha.3](https://www.npmjs.com/package/@deepseek-ai/dsh/v/0.1.2-alpha.3)
|
|
42
|
+
的 Host 与 client 包族构建,因此要求 DSH `0.1.2-alpha.3` 或更高版本(对应
|
|
43
|
+
npm `alpha` dist-tag)。alpha.3 Gateway 提供多 Client Remote Events 路由,
|
|
44
|
+
使 Web 与 DeepPilot 能独立接收并处理同一交互。更早版本没有这项路由契约;
|
|
44
45
|
需要更早 DSH 版本的用户请继续使用 `0.5.x` 插件。
|
|
45
46
|
|
|
47
|
+
DSH `0.1.2-alpha.4` 也已验证,交互路由契约保持不变;测试证据和会话历史兼容性
|
|
48
|
+
说明见 [COMPATIBILITY.md](./COMPATIBILITY.md)。
|
|
49
|
+
|
|
46
50
|
```sh
|
|
47
|
-
# DSH 0.1.2-alpha.
|
|
51
|
+
# DSH 0.1.2-alpha.3 或更高(推荐):
|
|
48
52
|
dsh plugin --profile web add dsh-deeppilot@alpha
|
|
49
53
|
# DSH 0.1.1-rc.2 至 0.1.2-alpha.1(旧版稳定):
|
|
50
54
|
dsh plugin --profile web add dsh-deeppilot
|
|
@@ -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.
|
|
74
|
+
`0.6.0-alpha.x` 面向 DSH `0.1.2-alpha.3`+;`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.
|
|
80
|
+
会强制校验 `^0.1.2-alpha.3` 的 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.
|
|
91
|
+
DSH `0.1.2-alpha.3` 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` 发布,使
|
package/bin/SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
fd5187c9a2fd49de79cfa63287ef18aa46a2b6a051be9201164fd1b3e82a7994 ./darwin-amd64/dsh-deeppilot-tunnel
|
|
2
|
+
c4a879e8f366421c817d3d87836db9352d6d5d2b8cf0c818ccdb228e3329a7ab ./darwin-arm64/dsh-deeppilot-tunnel
|
|
3
|
+
a937fa8ff3c9a8f6052bb0241f98dcaf0d7ea1d1694a8a5593320764c61e4b24 ./linux-amd64/dsh-deeppilot-tunnel
|
|
4
|
+
6ccf147ab7886796d5932e761b573f93f44bd5644a553cb0f2f4b24749692eac ./linux-arm64/dsh-deeppilot-tunnel
|
|
5
|
+
9c574dfe6a988130b5d6d69670e6f806c378b603af6814ce0c4f152fafa94b2a ./windows-amd64/dsh-deeppilot-tunnel.exe
|
|
6
|
+
13f09ac30f71473578ab04c5ab23fc57e5bd0e69d36b782e6261acadf464940c ./windows-arm64/dsh-deeppilot-tunnel.exe
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/client.js
CHANGED
|
@@ -822,7 +822,10 @@ window.__ModuleLoader__.load({
|
|
|
822
822
|
".pbb-action{font:inherit;font-size:12px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:none;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;padding:3px 8px}",
|
|
823
823
|
".pbb-action:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-module-platform)}",
|
|
824
824
|
".pbb-action:disabled{cursor:default;opacity:.5}",
|
|
825
|
-
".pbb-actionDanger
|
|
825
|
+
".pbb-actionDanger{color:#fff;background:#dc2626;border-color:#dc2626;line-height:1.35;padding:4px 10px;box-shadow:0 1px 2px rgba(127,29,29,.18);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .1s ease}",
|
|
826
|
+
".pbb-actionDanger:hover:not(:disabled){color:#fff;background:#b91c1c;border-color:#b91c1c;box-shadow:0 2px 5px rgba(127,29,29,.24)}",
|
|
827
|
+
".pbb-actionDanger:active:not(:disabled){background:#991b1b;border-color:#991b1b;box-shadow:0 1px 2px rgba(127,29,29,.2);transform:translateY(1px)}",
|
|
828
|
+
".pbb-actionDanger:focus-visible{outline:2px solid rgba(220,38,38,.32);outline-offset:2px}",
|
|
826
829
|
".pbb-qrPanel{display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 0 4px}",
|
|
827
830
|
".pbb-qrImage{width:240px;height:240px;max-width:100%;background:#fff;border-radius:10px;padding:8px;box-sizing:border-box}",
|
|
828
831
|
".pbb-pairCodeBlock{width:min(100%,420px);display:flex;flex-direction:column;gap:5px}",
|