dsh-auth-remote 0.3.4 → 0.3.5

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
@@ -6,6 +6,13 @@ This file records user-visible changes to the released package. Version numbers
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 0.3.5 - 2026-11-06
10
+
11
+ - Prepare plugin `0.3.5` for release with exact DSH `0.2.2-rc.1` support, retaining all nine existing targets. Use this RC prerelease as the development default, recommended host and current migration target; admission and legacy/retirement history stay unchanged.
12
+ - Pin the development DSH SDK to `0.2.2-rc.1`, Cordis to `4.1.0` and Schemastery to `3.19.0`, without changing production authentication behavior.
13
+ - Extend exact browser coverage and registration checks for native resources, mux, HMR rollback, LiveShare, eight languages and the native shield on both `0.2.2-alpha.3` and `0.2.2-rc.1`; add their real host-switch round trip and retain full ten-host same-archive release verification.
14
+ - Align bilingual support, compatibility inventories and upgrade/release guides. Publication remains subject to PR/master CI and the tagged release workflow.
15
+
9
16
  ## 0.3.4 - 2026-11-05
10
17
 
11
18
  - Upgrade the development SDK to DSH `0.2.2-alpha.3` and observe the Loader-owned effective configuration without replacing volatile references.
@@ -6,6 +6,13 @@
6
6
 
7
7
  ## 未发布
8
8
 
9
+ ## 0.3.5 - 2026-11-06
10
+
11
+ - 准备发布插件 `0.3.5`,新增精确 DSH `0.2.2-rc.1` 支持并保留现有九版;此 RC 预发布宿主作为开发默认、推荐宿主和当前迁移目标,准入及 legacy/退役历史保持。
12
+ - 开发 DSH SDK 固定为 `0.2.2-rc.1`、Cordis `4.1.0`、Schemastery `3.19.0`,不改变生产认证行为。
13
+ - 为 `0.2.2-alpha.3` 和 `0.2.2-rc.1` 扩展原生资源、mux、HMR 回滚、LiveShare、八语和原生盾牌的精确浏览器覆盖与注册门禁;新增两版真实往返切换,保留十版同包完整发布验收。
14
+ - 同步双语支持、兼容库存及升级/发布指南;实际发布仍须通过 PR/master CI 和标签发布工作流。
15
+
9
16
  ## 0.3.4 - 2026-11-05
10
17
 
11
18
  - 开发 SDK 更新至 DSH `0.2.2-alpha.3`;观测 Loader 有效配置并保留动态引用身份。
package/CONTRIBUTING.md CHANGED
@@ -26,4 +26,4 @@ Create a focused branch from `master`. Include the reason for the change, its us
26
26
 
27
27
  The `CI Verify` check runs on pull requests and again after a merge to `master`. A maintainer updates the version and dated changelog entry before creating a release tag. The [release guide](docs/releasing.md) describes that process.
28
28
 
29
- Version `0.3.4` declares nine exact DSH targets with development default and recommended host `0.2.2-alpha.3`. Release availability is confirmed by the release workflow and npm registry. Published `0.3.3` retains nine declarations and `0.3.2` retains eight. Support/shared-host changes require one final archive across nine complete CLI/browser/smoke targets, following the release guide. Follow the PR, master-CI, annotated-tag and trusted-publication sequence in that guide. Full/releases also require independent `0.2.1-alpha.2` refusal; ordinary runs no real retired-host negative job. The six-host one-time negative acceptance belongs to the `0.3.1` migration history. Never rebuild or pack in the final consumer loop.
29
+ Version `0.3.5` is prepared for release with ten exact DSH targets, defaulting to recommended RC prerelease `0.2.2-rc.1`. Published `0.3.4` retains nine historical declarations without retroactive RC support; availability is confirmed by the release workflow and npm registry. Support/shared-host changes require one final archive across ten complete CLI/browser/smoke targets. Follow PR CI, master CI, annotated-tag and trusted publication in the release guide. Full/releases also require independent `0.2.1-alpha.2` refusal; ordinary runs no real retired-host negative job. The six-host one-time negative acceptance belongs to the `0.3.1` migration history. Never rebuild or pack in the final consumer loop.
@@ -26,4 +26,4 @@ pnpm check
26
26
 
27
27
  `CI Verify` 会在 Pull Request 和合入 `master` 后运行。维护者在创建发布标签前更新版本号和带日期的更新日志;具体流程见[发布指南](docs/releasing.zh-CN.md)。
28
28
 
29
- 版本 `0.3.4` 声明九个精确 DSH 目标,开发默认及推荐宿主为 `0.2.2-alpha.3`,发布可用性由发布工作流和 npm registry 确认;已发布 `0.3.3` 保留九版声明,`0.3.2` 保留八版记录。支持或共享宿主变更须按发布指南消费同一最终归档,九版完整 CLI/browser/smoke。按发布指南依次完成 PR、master CI、附注标签及可信发布;full/发布还要求独立 `0.2.1-alpha.2` 退役拒绝,ordinary 不运行真实旧宿主负向。六版一次性负向属于 `0.3.1` 迁移历史。不要在最终消费循环重建或打包。
29
+ 版本 `0.3.5` 正在准备发布,声明十个精确 DSH 目标,开发默认及推荐宿主为 RC 预发布 `0.2.2-rc.1`。已发布 `0.3.4` 保留九版历史声明,不追溯增加 RC;可用性由发布工作流和 npm registry 确认。支持或共享宿主变更须按发布指南消费同一最终归档,十版完整 CLI/browser/smoke。依次完成 PR CI、master CI、附注标签及可信发布;full/发布还要求独立 `0.2.1-alpha.2` 退役拒绝,ordinary 不运行真实旧宿主负向。六版一次性负向属于 `0.3.1` 迁移历史。不要在最终消费循环重建或打包。
package/README.md CHANGED
@@ -6,34 +6,35 @@ Single-user remote sign-in for DeepSeek Harness (DSH), with password, TOTP, one-
6
6
 
7
7
  ## Requirements
8
8
 
9
- - Linux with `/proc` and Node.js 24. DSH `0.2.2-alpha.3` requires Node.js `>=24.9.0`.
9
+ - Linux with `/proc` and Node.js 24. DSH `0.2.2-rc.1` requires Node.js `>=24.9.0`.
10
10
  - A supported DSH release and a `web` profile. One account and its sessions belong to that profile.
11
11
 
12
12
  ## DSH compatibility
13
13
 
14
- Version **`0.3.4`** declares these nine exact DSH releases. **`0.2.2-alpha.3`** is the development default and recommended host. Release availability is established by the completed release workflow and npm registry. The recommended DSH host is an upstream Alpha, not an upstream stable release. Published `0.3.3` retains its nine declarations through `0.2.2-alpha.2`; it does not declare `0.2.2-alpha.3`.
15
-
16
- | DSH release | Maintenance |
17
- | --------------- | ----------------- |
18
- | `0.2.1-alpha.3` | Legacy; supported |
19
- | `0.2.1-alpha.4` | Legacy; supported |
20
- | `0.2.1-alpha.5` | Legacy; supported |
21
- | `0.2.1-rc.1` | Supported |
22
- | `0.2.1-rc.2` | Supported |
23
- | `0.2.1-rc.3` | Supported |
24
- | `0.2.1-rc.4` | Supported |
25
- | `0.2.1-rc.5` | Supported |
26
- | `0.2.2-alpha.3` | Recommended host |
14
+ Version **`0.3.5`** is prepared for release with these ten exact DSH declarations. **`0.2.2-rc.1`** is the development default and recommended host, an upstream RC prerelease. Actual availability is established by the release workflow and npm registry. Published `0.3.4` retains its nine declarations, including `0.2.2-alpha.3`, without retroactive RC support.
15
+
16
+ | DSH release | Maintenance |
17
+ | --------------- | -------------------------------- |
18
+ | `0.2.1-alpha.3` | Legacy; supported |
19
+ | `0.2.1-alpha.4` | Legacy; supported |
20
+ | `0.2.1-alpha.5` | Legacy; supported |
21
+ | `0.2.1-rc.1` | Supported |
22
+ | `0.2.1-rc.2` | Supported |
23
+ | `0.2.1-rc.3` | Supported |
24
+ | `0.2.1-rc.4` | Supported |
25
+ | `0.2.1-rc.5` | Supported |
26
+ | `0.2.2-alpha.3` | Supported |
27
+ | `0.2.2-rc.1` | Recommended host (RC prerelease) |
27
28
 
28
29
  Legacy versions remain supported until an explicit retirement release; see the [support policy](docs/support-policy.md). Newer versions may load after capability checks, but are outside these exact compatibility declarations.
29
30
 
30
- DSH `0.2.2-alpha.2` is retired in plugin `0.3.4` because fresh SDK resolution breaks native settings updates. Upgrade to `0.2.2-alpha.3`; historical plugin `0.3.3` support does not repair that host dependency combination. See the [retirement exception](docs/support-policy.md#upstream-failure-exception).
31
+ DSH `0.2.2-alpha.2` is retired in plugin `0.3.4` because fresh SDK resolution breaks native settings updates. Upgrade to `0.2.2-rc.1`; historical plugin `0.3.3` support does not repair that host dependency combination. See the [retirement exception](docs/support-policy.md#upstream-failure-exception).
31
32
 
32
33
  ## Install
33
34
 
34
35
  ```sh
35
36
  dsh --version
36
- dsh plugin --profile web add dsh-auth-remote@0.3.4
37
+ dsh plugin --profile web add dsh-auth-remote@0.3.5
37
38
  dsh plugin --profile web list
38
39
  ```
39
40
 
@@ -84,7 +85,7 @@ Mutating commands require interactive confirmation. If a submitted command loses
84
85
 
85
86
  Browser text supports English, Chinese, Japanese, Spanish, French, German, Russian, and Brazilian Portuguese. The embedded page follows DSH's language setting. The standalone login page uses the remembered DSH preference, then the browser language, then English; it has no language selector. CLI output is English.
86
87
 
87
- On DSH `0.2.2-alpha.3`, the native navigation uses a shield for this page; the other eight declared hosts retain their default icon.
88
+ On DSH `0.2.2-alpha.3` and `0.2.2-rc.1`, the native navigation uses a shield for this page; the other eight declared hosts retain their default icon.
88
89
 
89
90
  ## Sign in to an official DeepSeek account
90
91
 
package/README.zh-CN.md CHANGED
@@ -6,34 +6,35 @@ DeepSeek Harness(DSH)的单用户远程登录插件,提供密码、TOTP、
6
6
 
7
7
  ## 前置条件
8
8
 
9
- - Linux(含 `/proc`)和 Node.js 24。DSH `0.2.2-alpha.3` 要求 Node.js `>=24.9.0`。
9
+ - Linux(含 `/proc`)和 Node.js 24。DSH `0.2.2-rc.1` 要求 Node.js `>=24.9.0`。
10
10
  - 一个受支持的 DSH 版本和 `web` profile。一个账号及其会话属于该 profile。
11
11
 
12
12
  ## DSH 兼容性
13
13
 
14
- 版本 **`0.3.4`** 声明以下九个精确 DSH 版本,**`0.2.2-alpha.3`** 为开发默认和推荐宿主。发布可用性以发布工作流完成状态和 npm registry 为准。推荐的 DSH 宿主仍是上游 Alpha,不是上游稳定版。已发布 `0.3.3` 保留截至 `0.2.2-alpha.2` 的九版声明,未声明 `0.2.2-alpha.3`。
15
-
16
- | DSH 版本 | 维护状态 |
17
- | --------------- | -------------- |
18
- | `0.2.1-alpha.3` | Legacy;支持中 |
19
- | `0.2.1-alpha.4` | Legacy;支持中 |
20
- | `0.2.1-alpha.5` | Legacy;支持中 |
21
- | `0.2.1-rc.1` | 支持中 |
22
- | `0.2.1-rc.2` | 支持中 |
23
- | `0.2.1-rc.3` | 支持中 |
24
- | `0.2.1-rc.4` | 支持中 |
25
- | `0.2.1-rc.5` | 支持中 |
26
- | `0.2.2-alpha.3` | 推荐宿主 |
14
+ 版本 **`0.3.5`** 正在准备发布,声明以下十个精确 DSH 版本;**`0.2.2-rc.1`** 为开发默认和推荐宿主,是上游 RC 预发布版本。实际可用性以发布工作流和 npm registry 为准。已发布 `0.3.4` 保留其九版声明,包含 `0.2.2-alpha.3`,不追溯增加 RC。
15
+
16
+ | DSH 版本 | 维护状态 |
17
+ | --------------- | --------------------- |
18
+ | `0.2.1-alpha.3` | Legacy;支持中 |
19
+ | `0.2.1-alpha.4` | Legacy;支持中 |
20
+ | `0.2.1-alpha.5` | Legacy;支持中 |
21
+ | `0.2.1-rc.1` | 支持中 |
22
+ | `0.2.1-rc.2` | 支持中 |
23
+ | `0.2.1-rc.3` | 支持中 |
24
+ | `0.2.1-rc.4` | 支持中 |
25
+ | `0.2.1-rc.5` | 支持中 |
26
+ | `0.2.2-alpha.3` | 受支持 |
27
+ | `0.2.2-rc.1` | 推荐宿主(RC 预发布) |
27
28
 
28
29
  Legacy 版本在明确发布退役版本前继续支持,详见[支持规范](docs/support-policy.zh-CN.md)。更新版本可通过能力检查后加载,但不在上述精确兼容声明内。
29
30
 
30
- 插件 `0.3.4` 因新解析 SDK 导致原生设置更新失败,已退役 DSH `0.2.2-alpha.2`。请升级至 `0.2.2-alpha.3`;插件 `0.3.3` 的历史支持声明不能修复该宿主依赖组合。详见[退役例外](docs/support-policy.zh-CN.md#upstream-failure-exception)。
31
+ 插件 `0.3.4` 因新解析 SDK 导致原生设置更新失败,已退役 DSH `0.2.2-alpha.2`。请升级至 `0.2.2-rc.1`;插件 `0.3.3` 的历史支持声明不能修复该宿主依赖组合。详见[退役例外](docs/support-policy.zh-CN.md#upstream-failure-exception)。
31
32
 
32
33
  ## 安装
33
34
 
34
35
  ```sh
35
36
  dsh --version
36
- dsh plugin --profile web add dsh-auth-remote@0.3.4
37
+ dsh plugin --profile web add dsh-auth-remote@0.3.5
37
38
  dsh plugin --profile web list
38
39
  ```
39
40
 
@@ -84,7 +85,7 @@ dsh plugin --profile web exec dsh-auth-remote revoke-sessions
84
85
 
85
86
  浏览器文案支持英、中、日、西、法、德、俄和巴西葡萄牙语。内嵌页面跟随 DSH 语言设置;独立登录页依次使用已记住的 DSH 偏好、浏览器语言、英文,不提供语言选择器。CLI 文案固定英语。
86
87
 
87
- DSH `0.2.2-alpha.3` 的原生导航为此页显示盾牌;其余八个声明宿主保留默认图标。
88
+ DSH `0.2.2-alpha.3`、`0.2.2-rc.1` 的原生导航为此页显示盾牌;其余八个声明宿主保留默认图标。
88
89
 
89
90
  ## 登录 DeepSeek 官方账号
90
91
 
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ function packageManifest(packageName, anchor) {
17
17
  const manifest = JSON.parse(readFileSync(path, "utf8"));
18
18
  if (manifest.name !== packageName || !semver.satisfies(manifest.version, SUPPORTED_DSH_RANGE, { includePrerelease: true })) {
19
19
  throw new Error(
20
- `auth-remote: unsupported ${packageName} version ${manifest.version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-alpha.3; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
20
+ `auth-remote: unsupported ${packageName} version ${manifest.version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-rc.1; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
21
21
  );
22
22
  }
23
23
  return { path, manifest };
@@ -494,7 +494,7 @@ function listenerPublicUrl(host, port, protocol) {
494
494
  function assertRuntimeVersion(version) {
495
495
  if (!semver2.satisfies(version, SUPPORTED_DSH_RANGE, { includePrerelease: true }))
496
496
  throw new Error(
497
- `auth-remote: unsupported DSH version ${version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-alpha.3; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
497
+ `auth-remote: unsupported DSH version ${version}; minimum DSH 0.2.1-alpha.3. Upgrade to DSH 0.2.2-rc.1; last supported plugin for older DSH: 0.2.0. See README.md and docs/support-history.md.`
498
498
  );
499
499
  }
500
500
  function validateListenerConfig(config, native = NativeWebServer) {
@@ -2959,7 +2959,7 @@ function legacy(version, windowDays, eligibleRetirement) {
2959
2959
  legacySince: "2026-10-28",
2960
2960
  windowDays,
2961
2961
  eligibleRetirement,
2962
- migrationTarget: "0.2.2-alpha.3"
2962
+ migrationTarget: "0.2.2-rc.1"
2963
2963
  };
2964
2964
  }
2965
2965
  var LEGACY_DSH_RELEASES = [
@@ -2975,7 +2975,7 @@ var RETIRED_DSH_RELEASES = [
2975
2975
  retiredOn: "2026-10-28",
2976
2976
  effectivePlugin: "0.3.1",
2977
2977
  lastSupportedPlugin: "0.2.0",
2978
- migrationTarget: "0.2.2-alpha.3"
2978
+ migrationTarget: "0.2.2-rc.1"
2979
2979
  })
2980
2980
  ),
2981
2981
  {
@@ -2984,7 +2984,7 @@ var RETIRED_DSH_RELEASES = [
2984
2984
  retiredOn: "2026-11-05",
2985
2985
  effectivePlugin: "0.3.4",
2986
2986
  lastSupportedPlugin: "0.3.3",
2987
- migrationTarget: "0.2.2-alpha.3"
2987
+ migrationTarget: "0.2.2-rc.1"
2988
2988
  }
2989
2989
  ];
2990
2990
  var lifecycle = [...LEGACY_DSH_RELEASES, ...RETIRED_DSH_RELEASES];