@ponydev/dsh-phone 0.2.0 → 0.2.2

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
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2 — 2026-10-24
4
+
5
+ ### 修复
6
+ - 客户端 bundle 的 `__ModuleLoader__` id 从 `dsh-phone` 改为 `@ponydev/dsh-phone`,修复迁移后 client-modules 报 “loaded without registering” 导致插件加载失败
7
+
8
+ ## 0.2.1 — 2026-10-24
9
+
10
+ ### 变更
11
+ - 旧裸包 `dsh-phone` 已从 npm **完全删除**(0.1.0 / 0.1.1 不再保留 deprecated 路标)
12
+ - 发版入口只剩 `@ponydev/dsh-phone`;本版本同时用于验证 scoped 包的 OIDC 自动发布链路
13
+
14
+ ## 0.2.0 — 2026-10-24
15
+
16
+ ### 变更
17
+ - 包名迁移:`dsh-phone` → **`@ponydev/dsh-phone`**,与 `dsh-model-usage` / `dsh-tailscale` 统一 scope
18
+ - `cordis.patch.yml` 的 bundle 行改为 `@ponydev/dsh-phone`;本地 web profile 同步迁移(link 安装)
19
+ - 新包已配置 npm Trusted Publisher(OIDC),后续 tag 发版免 2FA
20
+
21
+ ### 移除
22
+ - 裸包 `dsh-phone` 标记 deprecate,指向 `@ponydev/dsh-phone`
23
+ - npm 上的 `dsh-phone@0.0.0-stage` 占位版本已删除
24
+
3
25
  ## 0.1.1 — 2026-10-24
4
26
 
5
27
  ### 变更
package/RELEASE.md CHANGED
@@ -30,15 +30,18 @@ CI(`.github/workflows/ci.yml`)在 push `main` / PR 时只跑检查(语法
30
30
 
31
31
  | 项 | 值 |
32
32
  |---|---|
33
+ | Package | `@ponydev/dsh-phone` |
33
34
  | Organization or user | `PonyDevAI` |
34
- | Repository | `dsh-phone` |
35
+ | Repository | `PonyDevAI/dsh-phone` |
35
36
  | Workflow filename | `release.yml` |
36
37
  | 权限 | `publish`、`stage publish` |
37
- | trust id | `9f7b6ffa-aa7a-4126-b527-27cfb56ad670` |
38
+ | trust id | `26656b74-ebf5-4a49-b7b1-d4825b5520da` |
38
39
 
39
40
  - **不需要** `NPM_TOKEN` secret、不需要 OTP、不会过期;
40
41
  - 发布包自动获得 `dist.attestations.provenance`(SLSA v1);
41
- - 首次发布 `0.1.0` 是本地网页授权 + OTP 完成的;从 `0.1.1` 起全部走 tag → Actions。
42
+ - `0.1.0` / `0.1.1` 是旧裸包 `dsh-phone` 的历史版本;
43
+ - `0.2.0` 起迁移到 `@ponydev/dsh-phone`,新包已单独配置 Trusted Publisher(id 见上表);
44
+ - 旧裸包 `dsh-phone` 已从 npm **完全删除**(含 0.0.0-stage 与 0.1.x),包名已释放。
42
45
 
43
46
  ## 标准发版步骤
44
47
 
package/lib/client.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // - 画面:轮询 /phone/shot(PNG),点击 = tap,拖拽 = swipe
5
5
  // - 没有分辨率/网速元数据栏,没有文字输入框
6
6
  window.__ModuleLoader__.load({
7
- id: 'dsh-phone',
7
+ id: '@ponydev/dsh-phone',
8
8
  factory(require) {
9
9
  const React = require('react')
10
10
  const h = React.createElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponydev/dsh-phone",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "DSH Web 插件:右侧栏预览并点按控制已连接的 Android 设备(adb)",
5
5
  "keywords": [
6
6
  "dsh",