dsh-auth-remote 0.3.2 → 0.3.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.
@@ -2,68 +2,69 @@
2
2
 
3
3
  [English](legacy-compatibility.md)
4
4
 
5
- 最后复核:2026-10-29。本文与英文清单共同维护同一组稳定 ID、版本事实、代码位置、测试与退役条件。修改任一语言时同步另一语言;矩阵是检索入口,条目是维护依据。本文记录 DSH 精确版本差异,不以发布顺序或版本简称代替适用范围。
5
+ 最后复核:2026-10-30。本文与英文清单共同维护同一组稳定 ID、版本事实、代码位置、测试与退役条件。修改任一语言时同步另一语言;矩阵是检索入口,条目是维护依据。本文记录 DSH 精确版本差异,不以发布顺序或版本简称代替适用范围。
6
6
 
7
- 当前候选维护日期及承诺见 [README](../README.zh-CN.md#dsh-兼容性);未修改的[支持规范](support-policy.zh-CN.md)保留前一发布记录。历史 [DSH → 插件](support-history.zh-CN.md#by-dsh)与[插件 → DSH](support-history.zh-CN.md#by-plugin)区分声明、报告、候选与分发事实。
7
+ 当前维护日期及承诺见[支持规范](support-policy.zh-CN.md)。历史 [DSH → 插件](support-history.zh-CN.md#by-dsh)与[插件 → DSH](support-history.zh-CN.md#by-plugin)区分声明、报告、计划发布版本与分发事实。
8
8
 
9
- ## 当前迁移候选
9
+ ## 当前发布范围
10
10
 
11
- 插件 `0.3.2` 尚未发布,声明 DSH `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2`,技术准入为包含预发布的 `>=0.2.1-alpha.3`,不设上限,默认与人工推荐为 `0.2.2-alpha.2`。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5` 从 2026-10-28 起 legacy,窗口 14 日,2026-11-11(Asia/Shanghai)起具备退役资格;日期不自动终止支持。已发布 `0.3.1` 保留七版声明,并已退役 DSH `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`,最后支持插件为 `0.2.0`。当前承诺见 README,support-policy 保留前一发布记录。
11
+ 计划发布的插件 `0.3.3` 声明 DSH `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2`。技术准入为包含预发布的 `>=0.2.1-alpha.3`,不设上限;默认与人工推荐仍为 `0.2.2-alpha.2`。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5` 从 2026-10-28 起 legacy,窗口 14 日,2026-11-11(Asia/Shanghai)起具备退役资格;日期不自动终止支持。已发布 `0.3.2` 保留八版声明;`0.3.1` 的六版 DSH 退役、最后支持插件 `0.2.0` 与原有证据保留在下方历史条目中。
12
12
 
13
- 下文保留精确历史证据。HOST/PROTOCOL 旧路径、PUBLIC 参数/文本路径、THEME radius/thumb 补值和 TEST 直接导航的独占实现已在 `0.3.1` 退役,本次不重复退役;原生焦点规则和共同安全检查继续覆盖八个当前精确目标。ACCOUNT、HMR、通用引导重试、PLUGIN-CONFIG 保留;`0.3.2` 加入 RESOURCE 和 LIVESHARE 边界。精确新版发布包及原生 API 已核对,最终同包报告另行记录,不继承旧归档成功。
13
+ HOST/PROTOCOL 旧路径、PUBLIC 参数/文本路径、THEME radius/thumb 补值和 TEST 直接导航的独占实现已在 `0.3.1` 退役,本次不重复退役;原生焦点规则和共同安全检查继续覆盖九个当前精确目标。ACCOUNT、HMR、通用引导重试、PLUGIN-CONFIG 保留。`0.3.2` 引入的 RESOURCE 和 LIVESHARE 仍仅适用精确 DSH `0.2.2-alpha.2`。新增 `0.2.1-rc.5` 的发布包/API 证据见下文;最终同包测试报告不进入 npm 归档,也不继承旧归档成功。
14
14
 
15
15
  ## 范围与复核规则
16
16
 
17
- 当前八版精确声明如上;DSH `0.2.2-alpha.2` 自身要求 Node `>=24.9.0`,插件引擎仍为 `>=24`,不增加小版本拦截。包含预发布的前向准入仍须身份/API 检查,未知版本不继承实测结论;账号适配还须必要能力和 live `manualAccountLogin`。
17
+ 当前九版精确声明如上;DSH `0.2.2-alpha.2` 自身要求 Node `>=24.9.0`,插件引擎仍为 `>=24`,不增加小版本拦截。包含预发布的前向准入仍须身份/API 检查,未知版本不继承实测结论;账号适配还须必要能力和 live `manualAccountLogin`。
18
18
 
19
19
  - 修改 peers、`dsh.compatibility`、运行时准入、测试目标、CI 或用户兼容声明前,对照两张矩阵及所有相关条目。
20
20
  - `dsh-runtime`:适用版本与支持集合仍有交集则保留相应适配;交集为空时,在同一次变更删除专属实现与测试,更新两种语言的矩阵、条目和指南。共享安全校验不随专属分支删除。
21
- - `plugin-contract`:按插件配置迁移政策退役,不能依据 DSH 版本退役。插件 `0.1.5` 的 `allowedOrigins` 输入仍由插件 `0.3.2` 兼容。
21
+ - `plugin-contract`:按插件配置迁移政策退役,不能依据 DSH 版本退役。插件 `0.1.5` 的 `allowedOrigins` 输入仍由插件 `0.3.3` 兼容。
22
22
  - 缺少精确版本证据时保留实现,明确登记缺口。不同版本通过相同测试,不证明其内部实现相同。
23
- - 支持范围或共享宿主适配变更须对同一最终归档完整运行八版 CLI、browser、smoke,并保留完整账号回归;普通选择见开发指南。当前 full/发布独立验证相邻退役 `0.2.1-alpha.2`;六版一次性负向验收属于 `0.3.1` 迁移历史,本次不重复。
23
+ - 支持范围或共享宿主适配变更须对同一最终归档完整运行九版 CLI、browser、smoke,并保留完整账号回归;普通选择见开发指南。当前 full/发布独立验证相邻退役 `0.2.1-alpha.2`;六版一次性负向验收属于 `0.3.1` 迁移历史,本次不重复。
24
24
 
25
25
  ## 功能 → 版本对照表
26
26
 
27
27
  各行列出适配或迁移及其精确适用宿主。稳定条目保留历史原生事实;退役仅删除独占实现,保留共享安全校验。
28
28
 
29
- | 条目 | 精确适用 DSH 版本 | 当前候选处理 |
30
- | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
31
- | [DSH-HOST-001](#dsh-host-001),旧 IPv4 schema/TLS 拒绝 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` | 与支持集合无交集;`0.3.1` 删除独占实现/测试;保留原生 Config 和具体绑定 |
32
- | [DSH-PROTOCOL-001](#dsh-protocol-001),HTTP/回环 bridge | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` | 无交集;删除回退;保留真实协议、规范化 authority 和 Secure 分离 |
33
- | [DSH-PUBLIC-001](#dsh-public-001),无 CLI 选项 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2` | 无交集;删除缺失选项及旧回环投影路径 |
34
- | [DSH-PUBLIC-001](#dsh-public-001),文本投影 | `0.2.1-alpha.1`、`0.2.1-alpha.2` | 无交集;删除文本位置选择;固定检查 context 和环境,仍观察 sections 中泄露/重复 |
35
- | [DSH-THEME-001](#dsh-theme-001),radius 补值 | `0.1.7-rc.1` | 无支持交集;旧 radius 后备值已移除,保留主题/视觉检查 |
36
- | [DSH-THEME-001](#dsh-theme-001),switch-thumb 补值 | `0.1.7-rc.1`、`0.1.7-rc.2` | 无交集;`0.3.1` 已删除补值,保留原生 token 与视觉/焦点回归 |
37
- | [DSH-THEME-001](#dsh-theme-001), 焦点颜色迁移 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` | 已按精确原生规则迁移;本表八版保留共享视觉/可见键盘焦点检查 |
38
- | [DSH-TEST-001](#dsh-test-001),直接 Settings 导航 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` | 无交集;`0.3.1` 已删除直接入口,固定账号菜单;通用异步重试保留 |
39
- | [DSH-ACCOUNT-001](#dsh-account-001),手动回环回填 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` | 保留;全局准入后删除服务端旧版本分流;导出 helper 仍检查省略/无效/低版本输入 |
40
- | [DSH-HMR-001](#dsh-hmr-001),监听器上下文隔离 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` | 保留受支持宿主适配;仅移除退役版矩阵目标 |
41
- | [DSH-RESOURCE-001](#dsh-resource-001) | `0.2.2-alpha.2` | 保留单实例私有 HTTP resource 门禁;原生进程内 peer 读取不变 |
42
- | [DSH-LIVESHARE-001](#dsh-liveshare-001) | `0.2.2-alpha.2` | 公开 peer/baseline 隔离与 connection/request Origin 业务恢复;本地原生 HTTPS/代理 Relay 协议往返已验证 |
43
- | [PLUGIN-CONFIG-001](#plugin-config-001) | 插件 `0.1.5` allowedOrigins 输入,与 DSH 版本无关 | 按独立契约保留 |
44
- | [PLUGIN-LOCALE-001](#plugin-locale-001) | Plugin `0.3.2`; 独立于 DSH 版本 | 新记忆合同;旧 key 不读取/清理/迁移 |
45
- | [PLUGIN-CLI-001](#plugin-cli-001) | Plugin `0.3.2`; 独立于 DSH 版本 | 固定英语;此前 --lang 由插件政策结束 |
29
+ | 条目 | 精确适用 DSH 版本 | 当前处理 |
30
+ | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
31
+ | [DSH-HOST-001](#dsh-host-001),旧 IPv4 schema/TLS 拒绝 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` | 与支持集合无交集;`0.3.1` 删除独占实现/测试;保留原生 Config 和具体绑定 |
32
+ | [DSH-PROTOCOL-001](#dsh-protocol-001),HTTP/回环 bridge | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` | 无交集;删除回退;保留真实协议、规范化 authority 和 Secure 分离 |
33
+ | [DSH-PUBLIC-001](#dsh-public-001),无 CLI 选项 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2` | 无交集;删除缺失选项及旧回环投影路径 |
34
+ | [DSH-PUBLIC-001](#dsh-public-001),文本投影 | `0.2.1-alpha.1`、`0.2.1-alpha.2` | 无交集;删除文本位置选择;固定检查 context 和环境,仍观察 sections 中泄露/重复 |
35
+ | [DSH-THEME-001](#dsh-theme-001),radius 补值 | `0.1.7-rc.1` | 无支持交集;旧 radius 后备值已移除,保留主题/视觉检查 |
36
+ | [DSH-THEME-001](#dsh-theme-001),switch-thumb 补值 | `0.1.7-rc.1`、`0.1.7-rc.2` | 无交集;`0.3.1` 已删除补值,保留原生 token 与视觉/焦点回归 |
37
+ | [DSH-THEME-001](#dsh-theme-001), 焦点颜色迁移 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` | 已按精确原生规则迁移;本表九版保留共享视觉/可见键盘焦点检查 |
38
+ | [DSH-TEST-001](#dsh-test-001),直接 Settings 导航 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` | 无交集;`0.3.1` 已删除直接入口,固定账号菜单;通用异步重试保留 |
39
+ | [DSH-ACCOUNT-001](#dsh-account-001),手动回环回填 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` | 保留;全局准入后删除服务端旧版本分流;导出 helper 仍检查省略/无效/低版本输入 |
40
+ | [DSH-HMR-001](#dsh-hmr-001),监听器上下文隔离 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` | 保留受支持宿主适配;仅移除退役版矩阵目标 |
41
+ | [DSH-RESOURCE-001](#dsh-resource-001) | `0.2.2-alpha.2` | 保留单实例私有 HTTP resource 门禁;原生进程内 peer 读取不变 |
42
+ | [DSH-LIVESHARE-001](#dsh-liveshare-001) | `0.2.2-alpha.2` | 公开 peer/baseline 隔离与 connection/request Origin 业务恢复;本地原生 HTTPS/代理 Relay 协议往返已验证 |
43
+ | [PLUGIN-CONFIG-001](#plugin-config-001) | 插件 `0.1.5` allowedOrigins 输入,与 DSH 版本无关 | 按独立契约保留 |
44
+ | [PLUGIN-LOCALE-001](#plugin-locale-001) | Plugin `0.3.2`; 独立于 DSH 版本 | 新记忆合同;旧 key 不读取/清理/迁移 |
45
+ | [PLUGIN-CLI-001](#plugin-cli-001) | Plugin `0.3.2`; 独立于 DSH 版本 | 固定英语;此前 --lang 由插件政策结束 |
46
46
 
47
47
  ## 版本 → 功能对照表
48
48
 
49
49
  历史行保留可查询性;退役行不属于当前正向目标。所有受支持行均使用原生具体 IPv4/IPv6、HTTP/HTTPS、上下文投影、原生 radius/thumb token 与焦点规则 和账号菜单 Settings。新 RC 精确发布代码/API 证据见下文,最终同包运行证据另记。
50
50
 
51
- | 精确 DSH 版本 | 当前候选状态 | 历史适配 / 保留的共享检查 |
52
- | --------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
53
- | `0.1.7-rc.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-THEME-001、DSH-TEST-001、DSH-HMR-001;历史 startSignIn 首参为语言字符串 |
54
- | `0.1.7-rc.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-THEME-001、DSH-TEST-001、DSH-HMR-001;startSignIn 首参为元数据对象 |
55
- | `0.2.0-rc.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001 |
56
- | `0.2.0-rc.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001 |
57
- | `0.2.1-alpha.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001;原生公开地址文本 |
58
- | `0.2.1-alpha.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001;原生传输和公开地址文本 |
59
- | `0.2.1-alpha.3` | Legacy;最低支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验、context/env 和通用引导回归;原生 release 元数据缺失 |
60
- | `0.2.1-alpha.4` | Legacy | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
61
- | `0.2.1-alpha.5` | Legacy | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
62
- | `0.2.1-rc.1` | 正常支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
63
- | `0.2.1-rc.2` | 正常支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings、宿主版本提示及 Search/Fetch 回归 |
64
- | `0.2.1-rc.3` | 支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;原生校验/context/env/theme/Settings;须精确验证新增 UI/Search/Fetch/宿主切换 |
65
- | `0.2.1-rc.4` | 支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;原生校验/context/env/theme/Settings;须精确验证新增 UI/Search/Fetch/宿主切换 |
66
- | `0.2.2-alpha.2` | `0.3.2` 未发布候选声明;默认/人工推荐 | DSH-RESOURCE-001, DSH-LIVESHARE-001, DSH-ACCOUNT-001, DSH-HMR-001, DSH-THEME-001; 保留原生验证、context/主题/Settings 共同检查;最终同包报告另记 |
51
+ | 精确 DSH 版本 | 当前状态 | 历史适配 / 保留的共享检查 |
52
+ | --------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
53
+ | `0.1.7-rc.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-THEME-001、DSH-TEST-001、DSH-HMR-001;历史 startSignIn 首参为语言字符串 |
54
+ | `0.1.7-rc.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-THEME-001、DSH-TEST-001、DSH-HMR-001;startSignIn 首参为元数据对象 |
55
+ | `0.2.0-rc.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001 |
56
+ | `0.2.0-rc.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001 |
57
+ | `0.2.1-alpha.1` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-HOST-001、DSH-PROTOCOL-001、DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001;原生公开地址文本 |
58
+ | `0.2.1-alpha.2` | `0.3.1` 退役;最后插件 `0.2.0` | DSH-PUBLIC-001、DSH-TEST-001、DSH-HMR-001;原生传输和公开地址文本 |
59
+ | `0.2.1-alpha.3` | Legacy;最低支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验、context/env 和通用引导回归;原生 release 元数据缺失 |
60
+ | `0.2.1-alpha.4` | Legacy | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
61
+ | `0.2.1-alpha.5` | Legacy | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
62
+ | `0.2.1-rc.1` | 正常支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings 和真实宿主版本提示回归 |
63
+ | `0.2.1-rc.2` | 正常支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;保留原生校验/context/env/theme/Settings、宿主版本提示及 Search/Fetch 回归 |
64
+ | `0.2.1-rc.3` | 支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;原生校验/context/env/theme/Settings;须精确验证新增 UI/Search/Fetch/宿主切换 |
65
+ | `0.2.1-rc.4` | 支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;原生校验/context/env/theme/Settings;须精确验证新增 UI/Search/Fetch/宿主切换 |
66
+ | `0.2.1-rc.5` | 支持 | DSH-THEME-001, DSH-ACCOUNT-001、DSH-HMR-001;原生校验/context/env/theme/Settings;须精确验证新增 UI/Search/Fetch/宿主切换 |
67
+ | `0.2.2-alpha.2` | 正常支持;默认/人工推荐 | DSH-RESOURCE-001, DSH-LIVESHARE-001, DSH-ACCOUNT-001, DSH-HMR-001, DSH-THEME-001; 保留原生验证、context/主题/Settings 共同检查;最终同包报告另记 |
67
68
 
68
69
  PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均独立于运行时适配退役,适用于当前插件的全部宿主;前向准入不构成精确实测。
69
70
 
@@ -82,7 +83,7 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
82
83
  | 字段 | 维护依据 |
83
84
  | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
84
85
  | 适配适用版本 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` 的原生 schema 仅列 `127.0.0.1` 与 `0.0.0.0`;插件自行校验具体 IPv4,拒绝通配、IPv6 与 TLS |
85
- | 原生能力版本 | `0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 使用原生 Config 与地址 API 校验具体 IPv4/IPv6;不允许通配监听 |
86
+ | 原生能力版本 | `0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 使用原生 Config 与地址 API 校验具体 IPv4/IPv6;不允许通配监听 |
86
87
  | 实现与上游 | `src/config.ts`、`src/adapters/dsh/runtime-capabilities.ts`、`src/adapters/dsh/webserver.ts`;精确 `@deepseek-ai/dsh-host-webserver/lib/index.js` 的 Config 与 listener。统一 `resolveStartupConfig` 已替代过渡 resolver |
87
88
  | 测试与证据 | `tests/unit/config.test.ts`、`tests/integration/dsh-adapter.test.ts`、`tests/integration/native-transport.test.ts`、`tests/browser/native-transport.spec.ts`。2026-10-10 的 `0.2.1-alpha.2` 验证覆盖 IPv4、IPv6、mapped/scoped 回环及非回环 IPv4;非回环 IPv6 缺少可绑定接口,仅核对 schema 与策略 |
88
89
  | 迁移与退役 | 仅当所有“适配适用版本”退出支持集合,或逐个取得原生能力证据并完成迁移后,删除该集合独占的 IPv4/schema 分支与拒绝测试。保留通配拒绝、端口验证、包身份及共同门禁 |
@@ -96,7 +97,7 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
96
97
  | 字段 | 维护依据 |
97
98
  | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
98
99
  | 回退适用版本 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1` 无原生 TLS/protocol API,且 Connection 不识别具体非回环 bind;服务端桥接保留 HTTP / `127.0.0.1`,实际 listener 与插件公开 URL 仍使用具体 IPv4 |
99
- | 原生能力版本 | `0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 使用实际 protocol 与归一化绑定 authority;IPv6 zone 不进入可移植公开 URL,mapped IPv6 必须与 Connection 的 WHATWG 比较一致 |
100
+ | 原生能力版本 | `0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 使用实际 protocol 与归一化绑定 authority;IPv6 zone 不进入可移植公开 URL,mapped IPv6 必须与 Connection 的 WHATWG 比较一致 |
100
101
  | 实现与上游 | `runtime-capabilities.ts` 的 `listenerProtocol`、`listenerTransport`,以及 `src/adapters/dsh/{readiness,browser-auth,startup-urls}.ts`、`src/http/gate.ts`、`src/index.ts`、[cordis.patch.yml](../cordis.patch.yml)。`connectionTrustedHosts` 合并最终 nativeAuthority、保留路径所需的公开 authority 与显式 CLI 信任,不扩大外层来源准入 |
101
102
  | 测试与证据 | `tests/integration/native-transport.test.ts`、`tests/browser/native-transport.spec.ts`、`tests/browser/proxy-chain.spec.ts`。2026-10-10 的 `0.1.7-rc.1`、`0.2.1-alpha.1` 实际非回环包证明需要回环桥接;`0.2.1-alpha.2` 验证 HTTPS/IPv6 MFA、Host 设置、CLI 撤销与 mapped IPv6 HTTP/HTTPS |
102
103
  | 迁移与退役 | 对每个“回退适用版本”取得原生 protocol/authority 支持证据后才迁移;该集合与支持范围无交集时删除专属回退。保留 HTTP 正向、双向代理、Cookie Secure、流撤销及共享认证检查 |
@@ -113,10 +114,10 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
113
114
  | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
114
115
  | 无原生参数的版本 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2` 无 `--public-url`;保留原生模型 Web 文本与 `DSH_WEB_URL`:固定 `127.0.0.1` 加实际端口、无末尾斜杠。插件自身唯一公开入口仍可配置,不能将其误写成原生 CLI 能力 |
115
116
  | 原生文本投影版本 | `0.2.1-alpha.1`、`0.2.1-alpha.2` 原生消费 `webServer.publicUrl`,模型 system prompt Web 文本与 `DSH_WEB_URL` 使用插件最终公开根地址 |
116
- | 原生上下文投影版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 通过 `webApp.getAdvertisedUrl()` 与 harness-dev-context 的 `app:web-surface` 发布模型地址,位于 `assembly.contexts`;`DSH_WEB_URL` 继续使用最终公开根地址 |
117
+ | 原生上下文投影版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 通过 `webApp.getAdvertisedUrl()` 与 harness-dev-context 的 `app:web-surface` 发布模型地址,位于 `assembly.contexts`;`DSH_WEB_URL` 继续使用最终公开根地址 |
117
118
  | 实现与上游 | [cordis.patch.yml](../cordis.patch.yml)、`src/adapters/dsh/startup-urls.ts`;精确 WebApp `lib/startup.js`、`lib/index.js` 与 `harness-dev-context`。Connection 必须依赖 webStartup/webServer,不能等待已移除的 webRuntime |
118
119
  | 测试与证据 | `tests/browser/deployment-profile.spec.ts`、`tests/browser/startup-compatibility.spec.ts`、`tests/fixtures/startup-observer.mjs`;调用真实 `systemPrompt.assemble` 与 `shellEnv.collect`,按精确版本断言文本段或上下文、环境变量与无 token。2026-10-09 的安装包证实无参数集合及 `0.2.1-alpha.1` 的分界;2026-10-15 核对 `0.2.1-alpha.3` 的上下文变化 |
119
- | 迁移与退役 | 无原生参数的集合退出支持后删除其能力分支和参数拒绝测试;`0.2.1-alpha.1`、`0.2.1-alpha.2` 仍受支持时保留文本位置断言;`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 保留上下文断言。不能仅因存在新投影位置而修改仍受支持版本的观察方式 |
120
+ | 迁移与退役 | 无原生参数的集合退出支持后删除其能力分支和参数拒绝测试;`0.2.1-alpha.1`、`0.2.1-alpha.2` 仍受支持时保留文本位置断言;`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 保留上下文断言。不能仅因存在新投影位置而修改仍受支持版本的观察方式 |
120
121
 
121
122
  2026-10-28 退役证据:上列精确历史适用集合与受支持的 `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4` 无交集。实际安装 Config/协议/地址 API 及新 RC 相同发布 lib 树已核验。插件 `0.3.1` 已删除独占能力布尔值、旧 schema/协议/authority、公开选项/文本位置选择及专属测试。引用文件中的端口/API/schema/身份/HTTP/TLS/IPv6/代理/Secure/来源/撤销共享检查保留。
122
123
 
@@ -127,10 +128,10 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
127
128
  | 字段 | 维护依据 |
128
129
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
129
130
  | 补值适用版本 | `0.3.1` 历史迁移:历史 radius-md/lg 对应 `0.1.7-rc.1`,switch-thumb 对应 `0.1.7-rc.1`、`0.1.7-rc.2`;重复焦点颜色 fallback 按七版原生规则迁移 |
130
- | 原生能力版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 均提供 radius/thumb 定义与相同原生焦点规则;focus-ring-color 是可选 override,不是正常键盘模式必有的 root token。历史 radius 从 `0.1.7-rc.2`、thumb 从 `0.2.0-rc.1` 已确认 |
131
+ | 原生能力版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 均提供 radius/thumb 定义与相同原生焦点规则;focus-ring-color 是可选 override,不是正常键盘模式必有的 root token。历史 radius 从 `0.1.7-rc.2`、thumb 从 `0.2.0-rc.1` 已确认 |
131
132
  | 实现与上游 | `src/client/settings/style.css`、`src/client/account/style.css` 直接读取原生 radius/thumb;焦点只设 solid outline、`--dsw-focus-ring-width` 和 offset,颜色委托宿主 :focus-visible;独立登录页保持自身样式 |
132
133
  | 测试与证据 | `tests/browser/dsh-bootstrap.spec.ts`、`tests/browser/login.spec.ts`、`tests/browser/account-login.spec.ts` 与 `.cache/ui-review/<version>` 人工截图复核。2026-10-16 精确安装包主题定义证实`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4` 的 switch 滑块 token 分界。2026-10-09 核对 `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`;2026-10-10 核对 `0.2.1-alpha.2`;2026-10-15 核对 `0.2.1-alpha.3`。2026-10-19 核对精确 `0.2.1-alpha.5` 主题定义,确认提供相同圆角、焦点与 switch 滑块 token。 |
133
- | 迁移与退役 | 旧 radius/thumb 适用集合退出后移除专属 fallback;当前八版焦点颜色已按原生规则迁移,不直接读取未定义 override。保留动态主题、布局、可见焦点、开关外观和共享视觉测试 |
134
+ | 迁移与退役 | 旧 radius/thumb 适用集合退出后移除专属 fallback;当前九版焦点颜色已按原生规则迁移,不直接读取未定义 override。保留动态主题、布局、可见焦点、开关外观和共享视觉测试 |
134
135
 
135
136
  2026-10-28 清理:旧 radius、switch-thumb 和直接 Settings 的精确适用集合如上表,与七版支持无交集;删除专属实现。重复焦点颜色 fallback 依据七版原生规则迁移,不假定正常模式存在 focus-ring-color。通用引导、重开、持久化重试及共享视觉断言保留。
136
137
 
@@ -140,13 +141,13 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
140
141
 
141
142
  设置导航与首次引导测试适配,类型为 `dsh-runtime`,直接入口已在插件 `0.3.1` 退役;通用首次引导重试保留,notice/reload 的精确触发范围仍有证据缺口。
142
143
 
143
- | 字段 | 维护依据 |
144
- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
145
- | 直接设置入口版本 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` 使用侧栏设置和 API Key 引导 |
146
- | 账号菜单入口版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 使用账号菜单 → 设置与原生官方账号引导;手动登录浮层不创建另一设置入口,通用异步重试继续保留。 |
147
- | 已知缺口 | 对 `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2`,notice 延迟、确认中替换、首次 API Key 保存与页面重载之间的逐项映射尚未完整建立。不能把共享 helper 通过当作每个触发条件都已逐版复现 |
148
- | 实现与测试 | `tests/helpers/runtime.ts` 的 `openDshSettings`、`completeApiKeyPrompt`、`clickThroughDshPrompts` 与 reopen;`tests/browser/dsh-bootstrap.spec.ts`、`tests/browser/dsh-gate.spec.ts`、`tests/browser/account-login.spec.ts` |
149
- | 迁移与退役 | 先以真实 UI 补齐每种交互的精确适用版本,再按支持集合交集删除专属分支。通用异步重试、持久化等待、浏览器 fallback 不自动归类为某个 DSH 版本的专属代码 |
144
+ | 字段 | 维护依据 |
145
+ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
146
+ | 直接设置入口版本 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` 使用侧栏设置和 API Key 引导 |
147
+ | 账号菜单入口版本 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 使用账号菜单 → 设置与原生官方账号引导;手动登录浮层不创建另一设置入口,通用异步重试继续保留。 |
148
+ | 已知缺口 | 对 `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2`,notice 延迟、确认中替换、首次 API Key 保存与页面重载之间的逐项映射尚未完整建立。不能把共享 helper 通过当作每个触发条件都已逐版复现 |
149
+ | 实现与测试 | `tests/helpers/runtime.ts` 的 `openDshSettings`、`completeApiKeyPrompt`、`clickThroughDshPrompts` 与 reopen;`tests/browser/dsh-bootstrap.spec.ts`、`tests/browser/dsh-gate.spec.ts`、`tests/browser/account-login.spec.ts` |
150
+ | 迁移与退役 | 先以真实 UI 补齐每种交互的精确适用版本,再按支持集合交集删除专属分支。通用异步重试、持久化等待、浏览器 fallback 不自动归类为某个 DSH 版本的专属代码 |
150
151
 
151
152
  `0.2.1-alpha.3` 的并发验证另发现:pnpm 共享硬链接的 ctime 会在其他隔离 profile 安装同包时变化,触发原生 HMR 并销毁客户端插件。测试安装改为复制文件,账号夹具校验客户端文件未共享硬链接;这不是首次引导重载的版本证据,不据此填补上述 notice/reload 缺口。
152
153
 
@@ -162,14 +163,14 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
162
163
 
163
164
  | 字段 | 维护依据 |
164
165
  | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
165
- | 原生能力与插件范围 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` 均已有账号提供者和 API,但 ui-settings-account 的 `apply` 在没有 `dshDesktop` 时直接返回。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 对普通 Web 开放该 UI。本插件从 `0.2.1-alpha.3` 起按能力和配置准入,不将“不启用插件适配”表述为“没有原生账号能力” |
166
+ | 原生能力与插件范围 | `0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2` 均已有账号提供者和 API,但 ui-settings-account 的 `apply` 在没有 `dshDesktop` 时直接返回。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 对普通 Web 开放该 UI。本插件从 `0.2.1-alpha.3` 起按能力和配置准入,不将“不启用插件适配”表述为“没有原生账号能力” |
166
167
  | 前向准入规则 | `>=0.2.1-alpha.3`,按 SemVer 包含预发布比较;必要 provider/slot API 可用且 `manualAccountLogin: true` 才接纳新授权。默认 true,使用 Loader 原位更新的 volatile 引用;profile override 不重建认证服务 |
167
168
  | 历史关闭分支 | 旧六版服务端分支随全局下限移除,不再保留正向目标;导出 helper 仍拒绝缺省/无效/旧参数。必要 API 缺失仍不可用,动态 false 拒绝新授权并保留已接纳 attempt |
168
169
  | 原因与上游 | 精确安装包的 account-platform `protocol.ts/loginOrigin` 在表列全部版本中仅接受带显式端口的回环 HTTP;ui-settings-account 默认使用浏览器 origin。公网浏览器无法自动回调 DSH 设备,外层门禁也拒绝跨站导航 |
169
170
  | 实现 | `src/shared/account-login.ts`、`src/http/account-login.ts`、`src/adapters/dsh/account-callback.ts`、`src/adapters/dsh/browser-capability.ts`、`src/client/account/`;公开 slots 的 entries/subscribe/priority 替换登录动作,独立 `shell.overlay` 展示说明、输入框和按钮。原生 `useApiKey` 继续凭据引导且不调用 `complete`,账号菜单通过 `openOnboarding` 重开编辑器;未开始授权时保留该选择,授权中保留取消。服务端绑定发起会话,保留临时原生回调 handler,仅从已鉴权 POST 内部分发真实 Node 响应;不请求粘贴 URL,不读取提供者私有状态,不改原生 PKCE 或凭据存储;动态配置保留 Loader 引用,回调仅在手动 attempt 占用时拦截,否则经过既有外层 gate 委托原生 handler;关闭配置不取消已接纳授权或卸载 provider;紧凑弹窗初始显示两步,授权中隐藏已完成指引,保留 API Key 选择、失败导航说明及过期反馈;直接回调通过提供者公开状态确认归属,原生取消后再发起原生授权时,无需等待插件 state 轮询即可恢复回调;取消拒绝时保留占用,直到公开状态证明终态或不同 attempt,并允许清理重试。`src/index.ts` 按顺序尝试全部关闭资源后才报告清理错误,在请求和连接清理尝试完成前保留状态锁。配置重试由原生镜像 ensure 恢复首次读取,已有镜像的命名空间刷新使用客户端明确注入的 remote.settings;菜单登录在偏好未知时等待共享读取,再按最新接纳值选择手动或原生动作。 |
170
171
  | 测试 | `tests/integration/account-login.test.ts` 使用锁定开发依赖的真实 `0.2.2-alpha.2` 提供者与本地平台替身,覆盖 PKCE、redirect URI、state、会话、重复、取消、撤销、过期及重试;通过公开取消接口故障注入验证活动手动回调仍被拦截,关闭失败回归检查 listener/admin socket 关闭且同一 profile 可重新获锁;`tests/browser/account-login.spec.ts` 覆盖未设置 `DEEPSEEK_API_KEY` 的无凭据引导、原生 API Key 保存和账号菜单重开、先说明再授权、失败导航回填、弹窗拦截与响应式八语主题;`tests/unit/client-capability.test.ts` 验证 SemVer 下限和无上限准入,模拟未来版本不构成实测声明;`tests/browser/live-config.spec.ts` 与 `tests/fixtures/live-config-observer.mjs` 观察真实 Loader 引用/fiber、listener、锁、长连接和重启持久化,最终逐版结果记录于执行文档。另覆盖首次 describe 失败后的整份镜像恢复、命名空间暂缺后的注入传输重试,以及 true/false 两种配置初始延迟期间点击登录不提前发起原生授权。 插件字典不扩充旧宿主原生语言目录。 |
171
172
  | 公网迁移条件 | 官方接受公网 `redirect_uri`,且目标精确 DSH 版本的来源策略、回调、兑换、UI、会话边界均经验证。仅平台开放、DSH 仍限制 `loginOrigin` 时不能直接删除。前向准入不构成已验证声明,新增实测声明仍须精确回归;只有原生公网流程已证实可用才迁移或退役 |
172
- | 退役与保留 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2` 仍需回环,继续保留;只有适用集合退出支持或每个仍支持精确宿主的原生公网流程经验证可用才删除专属实现。共享 state/PKCE、会话归属、单次使用、撤销及禁止 URL 转发保留 |
173
+ | 退役与保留 | `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-alpha.2` 仍需回环,继续保留;只有适用集合退出支持或每个仍支持精确宿主的原生公网流程经验证可用才删除专属实现。共享 state/PKCE、会话归属、单次使用、撤销及禁止 URL 转发保留 |
173
174
  | 证据限制 | 2026-10-15,本地平台替身与真实提供者完整兑换通过;官方 `auth_init` 的回环对照成功并取消,三种 `example.com` 公网写法被 schema 拒绝。未验证真实官方账号完整授权,也未排除官方按域名白名单开放的可能 |
174
175
 
175
176
  2026-10-28:七个准入宿主都使用原生元数据对象调用。全局准入后服务端不再按旧版本停用 provider 或 bridge;能力检查和动态偏好语义保留。独立导出的 index 注入 helper 对省略、无效、低版本输入仍只提供 ownsHost,不授予手动标志。`tests/unit/client-capability.test.ts` 分别验证两个边界。
@@ -180,21 +181,21 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
180
181
 
181
182
  原生热重载后的长期监听器事务上下文隔离。类型:`dsh-runtime`。保留。
182
183
 
183
- | 字段 | 维护依据 |
184
- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
185
- | 适用版本 | `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.2`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`、`0.2.2-alpha.2` |
186
- | 原生行为与静态证据 | 2026-10-16 逐版核对 `@deepseek-ai/dsh-hmr/lib/index.js`:`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4` 的 `runExclusive` 都以私有 `executing: AsyncLocalStorage` 的布尔标记拒绝嵌套事务;原生 `watchConfig` 自身用 `executing.exit` 创建长期 watcher。热重载事务内创建的 HTTP/HTTPS 监听器会让后续独立请求继承旧标记。 2026-10-19 复核精确 `0.2.1-alpha.5` 的 JavaScript 与类型,和 `0.2.1-alpha.4` 逐字相同,未新增公开监听器隔离 API。 精确 `0.2.2-alpha.2` 发布包仍使用 private `executing: AsyncLocalStorage` 的 true marker 与 runExclusive 嵌套拒绝,没有公开监听器隔离接口;不能据同名方法推定未来版本。 |
187
- | 实现边界 | `src/adapters/dsh/hmr-context.ts`、`src/index.ts`:仅在原生监听器初始化期间,确认 `runExclusive`、原生 AsyncLocalStorage 与当前 true 标记后调用 `exit`。明确依赖私有字段形状,公开 API 暂无对应入口。字段或标记不匹配时保持原生初始化行为;不改写 HMR 队列,不在设置保存/请求分派层退出事务,不削弱真实嵌套拒绝。 |
188
- | 测试与证据 | `tests/browser/account-login.spec.ts`、`tests/fixtures/hmr-config-probe.mjs`。`0.2.1-alpha.3` 安装代码变更后经原生 profile watch 重载,已精确复现并修复用户的 settings/rejected “HMR transactions cannot be nested”。`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4` 的真实配置 HMR/队列专项全部通过:监听器 generation 增加,独立保存等待已有事务、真实嵌套仍拒绝、原会话仍有效;`0.2.1-alpha.3`、`0.2.1-alpha.4` 安装代码替换后重新开启也通过。2026-10-16 本轮专项共 10/10;未来版本不能继承这些明确版本的静态或运行结论。 当前模块替换回归另覆盖 `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`;精确命令、数量与最终同包结果另记执行记录。 `0.2.2-alpha.2` 的 `tests/fixtures/hmr-lifecycle-probe.mjs` 和 browser 故障用例观察:导入失败保留同一实例;真实初始化后失败释放旧/失败实例,再由原生用旧实现创建新 fiber。随后成功替换、首次 Settings 写入、真实 mux 断连、锁释放/再获取和认证状态持久化均纳入用例。最终同包报告另记。 |
189
- | 迁移与退役 | 上游提供公开隔离入口时先逐版取得精确证据并迁移;仅当每个仍支持的适用版本原生隔离已修复,或适用集合与支持集合无交集时,才能移除专属实现和测试。同次更新双语双向矩阵。保留认证、来源、原生队列、真正嵌套拒绝及回归检查。 |
184
+ | 字段 | 维护依据 |
185
+ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
186
+ | 适用版本 | `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.2`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.1-rc.5`、`0.2.2-alpha.2` |
187
+ | 原生行为与静态证据 | 2026-10-16 逐版核对 `@deepseek-ai/dsh-hmr/lib/index.js`:`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4` 的 `runExclusive` 都以私有 `executing: AsyncLocalStorage` 的布尔标记拒绝嵌套事务;原生 `watchConfig` 自身用 `executing.exit` 创建长期 watcher。热重载事务内创建的 HTTP/HTTPS 监听器会让后续独立请求继承旧标记。 2026-10-19 复核精确 `0.2.1-alpha.5` 的 JavaScript 与类型,和 `0.2.1-alpha.4` 逐字相同,未新增公开监听器隔离 API。 精确 `0.2.2-alpha.2` 发布包仍使用 private `executing: AsyncLocalStorage` 的 true marker 与 runExclusive 嵌套拒绝,没有公开监听器隔离接口;不能据同名方法推定未来版本。 |
188
+ | 实现边界 | `src/adapters/dsh/hmr-context.ts`、`src/index.ts`:仅在原生监听器初始化期间,确认 `runExclusive`、原生 AsyncLocalStorage 与当前 true 标记后调用 `exit`。明确依赖私有字段形状,公开 API 暂无对应入口。字段或标记不匹配时保持原生初始化行为;不改写 HMR 队列,不在设置保存/请求分派层退出事务,不削弱真实嵌套拒绝。 |
189
+ | 测试与证据 | `tests/browser/account-login.spec.ts`、`tests/fixtures/hmr-config-probe.mjs`。`0.2.1-alpha.3` 安装代码变更后经原生 profile watch 重载,已精确复现并修复用户的 settings/rejected “HMR transactions cannot be nested”。`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.2`、`0.2.1-alpha.3`、`0.2.1-alpha.4` 的真实配置 HMR/队列专项全部通过:监听器 generation 增加,独立保存等待已有事务、真实嵌套仍拒绝、原会话仍有效;`0.2.1-alpha.3`、`0.2.1-alpha.4` 安装代码替换后重新开启也通过。2026-10-16 本轮专项共 10/10;未来版本不能继承这些明确版本的静态或运行结论。 当前模块替换回归另覆盖 `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`;精确命令、数量与最终同包结果另记执行记录。 `0.2.2-alpha.2` 的 `tests/fixtures/hmr-lifecycle-probe.mjs` 和 browser 故障用例观察:导入失败保留同一实例;真实初始化后失败释放旧/失败实例,再由原生用旧实现创建新 fiber。随后成功替换、首次 Settings 写入、真实 mux 断连、锁释放/再获取和认证状态持久化均纳入用例。最终同包报告另记。 |
190
+ | 迁移与退役 | 上游提供公开隔离入口时先逐版取得精确证据并迁移;仅当每个仍支持的适用版本原生隔离已修复,或适用集合与支持集合无交集时,才能移除专属实现和测试。同次更新双语双向矩阵。保留认证、来源、原生队列、真正嵌套拒绝及回归检查。 |
190
191
 
191
192
  ## DSH-RESOURCE-001
192
193
 
193
- 原生 HTTP resource 准入。类型:`dsh-runtime`。新增于未发布插件 `0.3.2`。
194
+ 原生 HTTP resource 准入。类型:`dsh-runtime`。新增于插件 `0.3.2`。
194
195
 
195
196
  | 字段 | 维护依据 |
196
197
  | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
197
- | 精确适用版本 | `0.2.2-alpha.2`;与候选八版支持集合有交集,保留。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4` 保留 handler 注册门禁。 |
198
+ | 精确适用版本 | `0.2.2-alpha.2`;与当前九版支持集合有交集,保留。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5` 保留 handler 注册门禁。 |
198
199
  | 原生形状与顺序 | 精确发布 `@deepseek-ai/dsh-host-webserver@0.2.2-alpha.2`,`lib/index.js` 427–440、456–471、599–628 行;源码 tag `dsh-v0.2.2-alpha.2`(`f3803c96974ad4a94195fb97e5c637e9c2a3afe3`)。named/fallback resource 优先于 handler 分派。私有 `serveResource(req, res, target, resource)` 将 Node 头转为 Fetch Headers 并负责原生响应桥接。构造时先安装包装,再初始化监听器或注册 resource。方法存在不能证明未来语义相同。 |
199
200
  | 实现 | `src/adapters/dsh/webserver.ts`:单实例捕获原函数并保留 this;转换前执行 gate,根 token 删除后按已接纳 req.url 重建 target,然后委托原生。不修改 prototype、不复制路由/流、不将 resource 包成 handler、不伪造 owner、不包装 `readResource(request, peer)`;handler/upgrade 门禁保留。 |
200
201
  | 失败与生命周期 | resource 读取存在但缺失 serveResource、私有包装无法安装、未安装边界却注册 resource 时,按具体 API 错误拒绝激活/注册。DenyGate/readiness 保持关闭。AuthConnections 跟踪原始 Node response,覆盖等待 Response 与背压;IO 的 abort/body cancel 继续原生处理。不新增版本上限或未知版本拒绝。 |
@@ -205,7 +206,7 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
205
206
 
206
207
  ## DSH-LIVESHARE-001
207
208
 
208
- 公开 peer 准入与 Owner 登录业务 Origin。类型:`dsh-runtime`。未发布插件 `0.3.2` 新增,精确适用 DSH `0.2.2-alpha.2`。
209
+ 公开 peer 准入与 Owner 登录业务 Origin。类型:`dsh-runtime`。插件 `0.3.2` 新增,精确适用 DSH `0.2.2-alpha.2`。
209
210
 
210
211
  | 字段 | 维护依据 |
211
212
  | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -217,11 +218,11 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
217
218
 
218
219
  ## PLUGIN-CONFIG-001
219
220
 
220
- 插件 `0.1.5` 配置输入迁移,类型为 `plugin-contract`,在插件 `0.3.2` 保留;与 DSH 版本集合无关。
221
+ 插件 `0.1.5` 配置输入迁移,类型为 `plugin-contract`,在插件 `0.3.3` 保留;与 DSH 版本集合无关。
221
222
 
222
223
  | 字段 | 维护依据 |
223
224
  | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
224
- | 适用配置 | 插件 `0.1.5` 顶层 `allowedOrigins` 的单项或空数组;插件 `0.1.6` 引入内存迁移,插件 `0.3.1` 与 `0.3.2` 仍保留 |
225
+ | 适用配置 | 插件 `0.1.5` 顶层 `allowedOrigins` 的单项或空数组;插件 `0.1.6` 引入内存迁移,插件 `0.3.1`、`0.3.2` 与 `0.3.3` 仍保留 |
225
226
  | 行为与实现 | `src/config.ts`、[cordis.patch.yml](../cordis.patch.yml)。省略字段与显式空数组可区分;单项转成唯一 `publicUrl`,空数组按监听结果派生;多项、重复项和新字段共存报错。每次激活仅一次弃用提示,不改写 profile;统一启动前解析、监听后定稿 |
226
227
  | 测试 | `tests/unit/config.test.ts`、`tests/unit/origin-policy.test.ts`、`tests/integration/http-gate.test.ts`、`tests/browser/startup-compatibility.spec.ts`;真实 Loader 覆盖 0/1 项、多项、重复、null、file/CLI 冲突、警告次数与 profile 不改写 |
227
228
  | 迁移与退役 | 只有插件产品契约明确结束这组输入支持并提供迁移说明时才删除专属检测、转换及测试。任一 DSH 版本退出支持都不足以触发退役;保留唯一 URL 校验与来源安全回归 |
@@ -244,9 +245,9 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
244
245
 
245
246
  ## 共享安全边界
246
247
 
247
- 远程 profile 必须独立禁用原生 `webserver`。`tests/browser/startup-compatibility.spec.ts` 在八版验证 Loader skip/插件运行拒绝:最低 `0.2.1-alpha.3` 用 peer 故障,其余七版用 engines;`scripts/verify-retired.mjs` 在独立旧 profile 验证原样候选的安装回滚/完整包原生 peer skip,要求连续无 TCP/HTTP/readiness/WebSocket 监听并保留上游身份和审计。
248
+ 远程 profile 必须独立禁用原生 `webserver`。`tests/browser/startup-compatibility.spec.ts` 在九版验证 Loader skip/插件运行拒绝:最低 `0.2.1-alpha.3` 用 peer 故障,其余八版用 engines;`scripts/verify-retired.mjs` 在独立旧 profile 验证原样候选的安装回滚/完整包原生 peer skip,要求连续无 TCP/HTTP/readiness/WebSocket 监听并保留上游身份和审计。
248
249
 
249
- `src/shared/dsh-support.ts` 在候选 `0.3.2` 明确记录三个 Alpha legacy、四个 RC 及 `0.2.2-alpha.2` 正常支持和六版退役(最后插件 `0.2.0`)。`retiredOn: 2026-10-28` 是准备日而非 npm 实际发布时间,不驱动停服;进程级/HMR 去重及必要 API、包身份、共享安全检查保留。当前日期见 README。
250
+ `src/shared/dsh-support.ts` 在计划发布 `0.3.3` 明确记录三个 Alpha legacy、五个 RC 及 `0.2.2-alpha.2` 正常支持和六版退役(最后插件 `0.2.0`)。`retiredOn: 2026-10-28` 是准备日而非 npm 实际发布时间,不驱动停服;进程级/HMR 去重及必要 API、包身份、共享安全检查保留。当前日期见支持规范。
250
251
 
251
252
  包身份、向前准入后的 API 检查、具体监听、原始 Host/Origin/Fetch Metadata、回环准入、密码/TOTP、会话、流撤销、存储故障与 CLI 确认适用于所有声明版本。反向代理 HTTPS → HTTP、Host 设置能力 `ownsHost` 和服务端原生浏览器认证交换也不能仅因某个适配退役而删除。
252
253
 
@@ -268,4 +269,10 @@ PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 与共享认证检查均
268
269
 
269
270
  2026-10-28 精确接入:`0.2.1-rc.3` tag `1f81c047fc48fa190a683e469daa699857e9afe8`、`0.2.1-rc.4` tag `504a01a9578abc2c6f1fb896b1dc322c9fe24f66` 及发布归档身份/integrity 已核验;九个关键 lib 树与 `0.2.1-rc.2` 相同。`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4` 的 focus.css 逐字相同;新 RC 仍有账号 loopback 限制和 HMR 私有 executing/runExclusive 形状,无原生公网授权/公开隔离替代证据,继续保留 ACCOUNT/HMR。Search/Fetch、导航、切换专项通过,最终同包证据另记。
270
271
 
271
- 2026-10-29 的 `0.3.2` 交集复核未改变任何旧独占分支退役决定。新增精确 `0.2.2-alpha.2` 的源码 tag 为 `dsh-v0.2.2-alpha.2`(`f3803c96974ad4a94195fb97e5c637e9c2a3afe3`),实际 Cordis `4.0.6-alpha.1` / Schemastery `3.18.6-alpha.1`;旧版本各自的 SDK 事实不改写。真实 WebServer Config/protocol、WebApp `getAdvertisedUrl()`、harness-dev-context 和原生账号 metadata/回环限制已逐项核对。THEME 共享规则的精确 `@deepseek-ai/dsh-client-ui-theme@0.2.2-alpha.2/lib/client.js` 第 1473 行内联 `:focus-visible`,仍使用 `--dsw-focus-ring-color` 回退到 `--dsw-alias-state-business-primary`,pointer 模式透明覆盖;文件 SHA-256 为 `3f3b79545546d9cebee52d198aa49512c7a9d1db783d9f907db8f207a153e015`。不据此宣称整棵主题包与旧版字节相同。当前八版矩阵和新原生专项只定义验证目标;最终同包执行报告另行记录。上述历史缺口保持,不将本地协议替身视为真实服务体验。
272
+ 2026-10-29 的 `0.3.2` 交集复核未改变任何旧独占分支退役决定。新增精确 `0.2.2-alpha.2` 的源码 tag 为 `dsh-v0.2.2-alpha.2`(`f3803c96974ad4a94195fb97e5c637e9c2a3afe3`),实际 Cordis `4.0.6-alpha.1` / Schemastery `3.18.6-alpha.1`;旧版本各自的 SDK 事实不改写。真实 WebServer Config/protocol、WebApp `getAdvertisedUrl()`、harness-dev-context 和原生账号 metadata/回环限制已逐项核对。THEME 共享规则的精确 `@deepseek-ai/dsh-client-ui-theme@0.2.2-alpha.2/lib/client.js` 第 1473 行内联 `:focus-visible`,仍使用 `--dsw-focus-ring-color` 回退到 `--dsw-alias-state-business-primary`,pointer 模式透明覆盖;文件 SHA-256 为 `3f3b79545546d9cebee52d198aa49512c7a9d1db783d9f907db8f207a153e015`。不据此宣称整棵主题包与旧版字节相同。当时八版矩阵和新原生专项只定义验证目标;最终同包执行报告另行记录。上述历史缺口保持,不将本地协议替身视为真实服务体验。
273
+
274
+ 2026-10-30 的 `0.3.3` 复核新增精确 DSH `0.2.1-rc.5`,tag 为 `dsh-v0.2.1-rc.5`(`b830ec950faba0a46dda564be3e2d854afed94f1`)。与 `dsh-v0.2.1-rc.4`(`504a01a9578abc2c6f1fb896b1dc322c9fe24f66`)相比,349 份 manifest 仅修改自身版本,其他 19 个变更文件涉及思考展示、Body Slot、测试及文档。插件不使用 `conversation.chat.reasoning.body` 或 `conversation.chat.reasoning.content`。两个版本的精确 npm 归档均已下载并核对包名/版本;WebServer、Connection、Settings、Slots、账号、账号平台、authorization、WebApp、HMR 与主题的整棵 `lib` 树逐字节相同,包含 JavaScript、类型声明与 CSS。隔离 DSH → WebApp 依赖链实际解析 WebApp、WebServer、Connection 均为 `0.2.1-rc.5`,Cordis 为 `4.0.5`,Schemastery 为 `3.18.5`。这证明适配契约未变,不替代新插件归档的运行验证。
275
+
276
+ `0.3.3` 逐条支持交集复核:DSH-HOST-001、DSH-PROTOCOL-001 及 DSH-PUBLIC-001/DSH-THEME-001/DSH-TEST-001 已退役路径维持原精确历史适用集合和退役证据;原生校验、上下文/主题和账号菜单检查加入 `0.2.1-rc.5`,通用异步重试及 notice/reload 证据缺口保留。DSH-ACCOUNT-001 在 `0.2.1-rc.5` 仍需回环回填,DSH-HMR-001 仍需相同 executing/runExclusive 隔离,两者与支持集合的交集继续非空。DSH-RESOURCE-001 和 DSH-LIVESHARE-001 仍仅适用 `0.2.2-alpha.2`。PLUGIN-CONFIG-001、PLUGIN-LOCALE-001、PLUGIN-CLI-001 继续按独立合同保留。本次新增支持不退役任何实现或测试。
277
+
278
+ 新精确回归目标使用 `tests/browser/account-login.spec.ts`、`live-config.spec.ts`、`startup-compatibility.spec.ts`、`web-search-settings.spec.ts`、`rc-navigation.spec.ts`,以及 `host-release.spec.ts` 的 `0.2.1-rc.5` ↔ `0.2.1-rc.4`。发布验证要求九个精确版本的 CLI、完整 browser 与 smoke 消费同一最终 `0.3.3` 归档。
package/docs/releasing.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  Each release starts from a tested commit on `master`. A `vX.Y.Z` tag must match the stable version in `package.json` and the dated entries in both changelogs. The tag workflow checks the tag and master ancestry, builds one npm archive, verifies that exact archive on every declared DSH release, then verifies or publishes the npm version and creates a GitHub Release containing the same archive and `SHA256SUMS`.
6
6
 
7
- Current unpublished candidate `0.3.2` declares eight exact DSH targets, adding `0.2.2-alpha.2`; published `0.3.1` retains its seven-target history and immutable archive. Verify the final archive before publication; final same-archive reports are recorded separately. Candidate changelog dates record preparation; `retiredOn: 2026-10-28` remains the old retirement preparation record, not an npm publication timestamp.
7
+ Planned release `0.3.3` declares nine exact DSH targets, adding `0.2.1-rc.5`; published `0.3.2` retains its eight-target history and immutable archive. Verify the final archive before publication; final same-archive test reports remain outside the npm archive. Changelog dates record preparation; `retiredOn: 2026-10-28` remains the old retirement preparation record, not an npm publication timestamp.
8
8
 
9
9
  Before changing version support for a release, review the [legacy compatibility inventory](legacy-compatibility.md). Check peers, compatibility declarations, runtime admission, test targets, CI and guides together. Remove runtime adaptations whose applicable versions no longer intersect support in that same change, while keeping shared security checks. Old plugin configuration has independent retirement conditions; update both inventory languages and both matrix views with complete version numbers before packing.
10
10
 
11
- Before packing, update README, the [DSH → plugin](support-history.md#by-dsh) and [plugin → DSH](support-history.md#by-plugin) history, and inventory in both languages. For this `0.3.2` work both support-policy files remain unchanged as the previous release record. Keep historical rows/anchors, distinguish published `0.2.0`/`0.3.1` from this unpublished candidate, and never cite a nonexistent candidate tag as verified evidence.
11
+ Before packing, update README, the support policy, the [DSH → plugin](support-history.md#by-dsh) and [plugin → DSH](support-history.md#by-plugin) history, and inventory in both languages. Keep historical rows/anchors, distinguish published `0.2.0`/`0.3.1`/`0.3.2` from the planned `0.3.3` release, and never cite a nonexistent tag as verified evidence.
12
12
 
13
13
  ## Prepare the version
14
14
 
@@ -46,15 +46,15 @@ for (const version of testedDshVersions) {
46
46
  JS
47
47
  ```
48
48
 
49
- Every current full/release also verifies adjacent retired `0.2.1-alpha.2` against that same archive. The six-host one-time negative acceptance belongs to the `0.3.1` migration history and is not repeated for `0.3.2`; negative reports stay separate from the positive business matrix.
49
+ Every current full/release also verifies adjacent retired `0.2.1-alpha.2` against that same archive. The six-host one-time negative acceptance belongs to the `0.3.1` migration history and is not repeated for `0.3.3`; negative reports stay separate from the positive business matrix.
50
50
 
51
51
  ```sh
52
- node scripts/verify-retired.mjs --archive artifacts/dsh-auth-remote-0.3.2.tgz --sha256 <recorded-sha256> --retired-dsh-version 0.2.1-alpha.2
52
+ node scripts/verify-retired.mjs --archive artifacts/dsh-auth-remote-0.3.3.tgz --sha256 <recorded-sha256> --retired-dsh-version 0.2.1-alpha.2
53
53
  ```
54
54
 
55
55
  Do not build or pack inside the consumer loop. An archive content change requires a new candidate and full verification. JSON reports record the hash, exact release, suite scope, commands and actual test counts. See the [fixed-archive guide](development.md#consume-a-fixed-archive).
56
56
 
57
- The workflow DAG is `tag` → `package` → reusable `verify-packed.yml` → `publish`. The producer uploads one `release-package` artifact. Independent CLI/smoke and complete-browser jobs cover all eight declared releases and check the producer's expected SHA-256, package identity and checksum file before consumption. A validation job rejects incomplete matrices; the full-plan aggregate requires every planned job, including the independent `0.2.1-alpha.2` retired-rejection job, to succeed. Failure, cancellation or an unexpected skip blocks publication.
57
+ The workflow DAG is `tag` → `package` → reusable `verify-packed.yml` → `publish`. The producer uploads one `release-package` artifact. Independent CLI/smoke and complete-browser jobs cover all nine declared releases and check the producer's expected SHA-256, package identity and checksum file before consumption. A validation job rejects incomplete matrices; the full-plan aggregate requires every planned job, including the independent `0.2.1-alpha.2` retired-rejection job, to succeed. Failure, cancellation or an unexpected skip blocks publication.
58
58
 
59
59
  `publish` downloads the same artifact and checks it against the producer's expected digest again. It never builds or packs. Existing npm-version byte comparison, trusted publishing and GitHub Release retry behavior remain in place. The workflow publishes the verified tgz with `npm publish ./artifacts/dsh-auth-remote-X.Y.Z.tgz --access public`; no local npm publication is needed.
60
60
 
@@ -65,18 +65,18 @@ Use the version that is already on `master`:
65
65
  ```sh
66
66
  git switch master
67
67
  git pull --ff-only origin master
68
- git tag -a v0.3.2 -m "Release v0.3.2"
69
- git push origin v0.3.2
68
+ git tag -a v0.3.3 -m "Release v0.3.3"
69
+ git push origin v0.3.3
70
70
  ```
71
71
 
72
- Replace `0.3.2` in these commands with the intended version. The tag must point to a commit reachable from `master`. A mismatched tag, missing changelog entry, failed test, or mismatched existing npm archive stops the release.
72
+ Replace `0.3.3` in these commands with the intended version. The tag must point to a commit reachable from `master`. A mismatched tag, missing changelog entry, failed test, or mismatched existing npm archive stops the release.
73
73
 
74
74
  After the workflow completes, confirm the run, GitHub Release, and npm version:
75
75
 
76
76
  ```sh
77
77
  gh run list --workflow release.yml --limit 5
78
- gh release view v0.3.2
79
- npm view dsh-auth-remote@0.3.2 version dist.integrity
78
+ gh release view v0.3.3
79
+ npm view dsh-auth-remote@0.3.3 version dist.integrity
80
80
  ```
81
81
 
82
82
  The GitHub Release includes the `.tgz` and `SHA256SUMS`. Download them into the same directory and run `sha256sum -c SHA256SUMS` there to check the release asset. A failed workflow should be inspected in **Actions → Release** before retrying; npm versions are immutable, so the workflow only skips an existing version when its archive bytes match.
@@ -4,11 +4,11 @@
4
4
 
5
5
  每次发布都从已通过检查的 `master` 提交开始。`vX.Y.Z` 标签必须与 `package.json` 中的稳定版本以及两份更新日志的日期条目一致。标签工作流先核对标签与 master 祖先关系,只构建一个 npm 压缩包,对全部声明的 DSH 版本验证该包,再核对或发布 npm 版本,并创建包含相同压缩包和 `SHA256SUMS` 的 GitHub Release。
6
6
 
7
- 当前未发布候选 `0.3.2` 声明八个精确 DSH 目标,新增 `0.2.2-alpha.2`;已发布 `0.3.1` 保留七版历史和不可变归档。发布前验证最终归档,最终同包报告另记。候选更新日志日期是准备日期;`retiredOn: 2026-10-28` 仍为旧退役准备记录,不是 npm 发布时间。
7
+ 本次计划发布 `0.3.3`,声明九个精确 DSH 目标,新增 `0.2.1-rc.5`;已发布 `0.3.2` 保留八版历史和不可变归档。发布前验证最终归档,最终同包测试报告不进入 npm 归档。更新日志日期是准备日期;`retiredOn: 2026-10-28` 仍为旧退役准备记录,不是 npm 发布时间。
8
8
 
9
9
  发布准备中修改支持版本前,先复核 [Legacy 兼容维护清单](legacy-compatibility.zh-CN.md),共同检查 peers、兼容声明、运行时准入、测试目标、CI 和指南。同次删除与支持集合无交集的专属运行时适配,保留共享安全逻辑;旧插件配置退役有独立条件。打包前同步更新并人工核对中英文清单、两个维度的矩阵及完整版本号。
10
10
 
11
- 打包前同步维护双语 README、[DSH → 插件](support-history.zh-CN.md#by-dsh)和[插件 → DSH](support-history.zh-CN.md#by-plugin)历史及库存。本次 `0.3.2` 工作保持两份 support-policy 原样,作为前一发布记录。保留历史行/锚点,区分已发布 `0.2.0`/`0.3.1` 和未发布候选,不引用不存在的候选 tag 作为已核实证据。
11
+ 打包前同步维护双语 README、支持规范、[DSH → 插件](support-history.zh-CN.md#by-dsh)和[插件 → DSH](support-history.zh-CN.md#by-plugin)历史及库存。保留历史行/锚点,区分已发布 `0.2.0`/`0.3.1`/`0.3.2` 和计划发布的 `0.3.3`,不引用不存在的 tag 作为已核实证据。
12
12
 
13
13
  ## 准备版本
14
14
 
@@ -46,15 +46,15 @@ for (const version of testedDshVersions) {
46
46
  JS
47
47
  ```
48
48
 
49
- 当前每次 full/发布还须用同包验证相邻退役 `0.2.1-alpha.2`。六版一次性负向验收属于 `0.3.1` 迁移历史,`0.3.2` 不重复;负向报告与正向业务矩阵分开。
49
+ 当前每次 full/发布还须用同包验证相邻退役 `0.2.1-alpha.2`。六版一次性负向验收属于 `0.3.1` 迁移历史,`0.3.3` 不重复;负向报告与正向业务矩阵分开。
50
50
 
51
51
  ```sh
52
- node scripts/verify-retired.mjs --archive artifacts/dsh-auth-remote-0.3.2.tgz --sha256 <recorded-sha256> --retired-dsh-version 0.2.1-alpha.2
52
+ node scripts/verify-retired.mjs --archive artifacts/dsh-auth-remote-0.3.3.tgz --sha256 <recorded-sha256> --retired-dsh-version 0.2.1-alpha.2
53
53
  ```
54
54
 
55
55
  消费循环中不得构建或打包。归档内容变化须产生新候选并重新全量验证。JSON 报告记录摘要、精确版本、suite 范围、命令和真实用例数,见[固定归档指南](development.zh-CN.md#消费固定归档)。
56
56
 
57
- 工作流 DAG 为 `tag` → `package` → 共用 `verify-packed.yml` → `publish`。producer 上传一份 `release-package` 制品,独立 CLI/smoke 与完整 browser job 覆盖全部八个声明版本,消费前核对 producer 给出的预期 SHA-256、包身份及摘要文件。验证 job 拒绝不完整矩阵,full 聚合要求全部计划 job(含独立 `0.2.1-alpha.2` 退役拒绝)成功;失败、取消或意外跳过均阻止发布。
57
+ 工作流 DAG 为 `tag` → `package` → 共用 `verify-packed.yml` → `publish`。producer 上传一份 `release-package` 制品,独立 CLI/smoke 与完整 browser job 覆盖全部九个声明版本,消费前核对 producer 给出的预期 SHA-256、包身份及摘要文件。验证 job 拒绝不完整矩阵,full 聚合要求全部计划 job(含独立 `0.2.1-alpha.2` 退役拒绝)成功;失败、取消或意外跳过均阻止发布。
58
58
 
59
59
  `publish` 下载同一制品,再次与 producer 预期摘要核对,不构建或打包。保留 npm 同版本字节比较、可信发布及 GitHub Release 重试行为。工作流用 `npm publish ./artifacts/dsh-auth-remote-X.Y.Z.tgz --access public` 发布已验证 tgz,无需在本地手动发布。
60
60
 
@@ -65,18 +65,18 @@ node scripts/verify-retired.mjs --archive artifacts/dsh-auth-remote-0.3.2.tgz --
65
65
  ```sh
66
66
  git switch master
67
67
  git pull --ff-only origin master
68
- git tag -a v0.3.2 -m "Release v0.3.2"
69
- git push origin v0.3.2
68
+ git tag -a v0.3.3 -m "Release v0.3.3"
69
+ git push origin v0.3.3
70
70
  ```
71
71
 
72
- 执行时把 `0.3.2` 换成目标版本。标签必须指向 `master` 可达的提交。标签版本不匹配、缺少更新日志条目、测试失败,或 npm 现存版本与本次压缩包字节不同,都会阻止发布。
72
+ 执行时把 `0.3.3` 换成目标版本。标签必须指向 `master` 可达的提交。标签版本不匹配、缺少更新日志条目、测试失败,或 npm 现存版本与本次压缩包字节不同,都会阻止发布。
73
73
 
74
74
  工作流结束后检查运行状态、GitHub Release 和 npm 版本:
75
75
 
76
76
  ```sh
77
77
  gh run list --workflow release.yml --limit 5
78
- gh release view v0.3.2
79
- npm view dsh-auth-remote@0.3.2 version dist.integrity
78
+ gh release view v0.3.3
79
+ npm view dsh-auth-remote@0.3.3 version dist.integrity
80
80
  ```
81
81
 
82
82
  GitHub Release 包含 `.tgz` 和 `SHA256SUMS`。把两者下载到同一个目录,在该目录运行 `sha256sum -c SHA256SUMS` 验证附件。工作流失败时先查看 **Actions → Release** 再重试;npm 版本不可覆盖,因此只有现存版本的压缩包字节与本次构建一致时,工作流才会跳过重复发布。