dsh-auth-remote 0.3.3 → 0.3.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/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ This file records user-visible changes to the released package. Version numbers
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 0.3.4 - 2026-11-05
10
+
11
+ - Upgrade the development SDK to DSH `0.2.2-alpha.3` and observe the Loader-owned effective configuration without replacing volatile references.
12
+
13
+ - Declare nine exact DSH targets, adding `0.2.2-alpha.3` as development default and recommended host. Retain the existing legacy dates.
14
+ - Withdraw support for DSH `0.2.2-alpha.2` in this release under an explicit 2026-11-05 zero-day exception: its native settings update hook is incompatible with newly resolved Cordis dependencies. Upgrade the host to `0.2.2-alpha.3`; downgrading the plugin does not repair the host. Remove only its positive verification target, retain shared adaptations and security checks, and keep technical admission unchanged.
15
+ - Add the native shield to Security & sign-in navigation on `0.2.2-alpha.3`; older hosts keep their default icon. Preserve native slot disposal and viewer isolation, and require specialized browser registration and actual eight-language coverage.
16
+ - Synchronize bilingual production prerequisites, isolated-profile upgrade/backup/rollback, compatibility inventories and published `0.3.3` facts. Verification reports stay outside the package. The local candidate was prepared on 2026-11-03; actual publication is confirmed by the release workflow and registry.
17
+
9
18
  ## 0.3.3 - 2026-10-30
10
19
 
11
20
  - Add DSH `0.2.1-rc.5` to the compatibility declaration and CLI, complete browser and installation-smoke matrices. Retain all existing supported releases and the `0.2.2-alpha.2` development default and recommendation.
@@ -6,6 +6,15 @@
6
6
 
7
7
  ## 未发布
8
8
 
9
+ ## 0.3.4 - 2026-11-05
10
+
11
+ - 开发 SDK 更新至 DSH `0.2.2-alpha.3`;观测 Loader 有效配置并保留动态引用身份。
12
+
13
+ - 声明九个精确 DSH 目标,新增 `0.2.2-alpha.3` 为开发默认和推荐宿主;保留既有 legacy 日期。
14
+ - 以 2026-11-05 明确公告的零日窗口例外,在本版本撤销对 DSH `0.2.2-alpha.2` 的支持:其原生设置更新钩子与新解析的 Cordis 依赖不兼容。请升级宿主至 `0.2.2-alpha.3`,降低插件版本不能修复宿主。仅移除该版正向验证目标,保留共享适配、安全检查及原技术准入。
15
+ - 在 `0.2.2-alpha.3` 的安全与登录导航使用原生盾牌,旧宿主保留默认图标;保留原生槽释放和 viewer 隔离,并检查浏览器专项注册与实际八语覆盖。
16
+ - 同步双语生产前提、独立 profile 升级/备份/回滚、兼容库存与已发布 `0.3.3` 事实;验证报告不入包。本地候选曾于 2026-11-03 准备;实际发布时间由发布工作流及 registry 确认。
17
+
9
18
  ## 0.3.3 - 2026-10-30
10
19
 
11
20
  - 新增 DSH `0.2.1-rc.5` 兼容声明及 CLI、完整浏览器和安装 smoke 验证目标,保留全部既有支持版本,开发默认与推荐仍为 `0.2.2-alpha.2`。
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
- The planned release is `0.3.3`, declaring nine exact DSH targets, including `0.2.1-rc.5`. Published `0.3.2` retains its eight-target record. Support/shared-host changes require one final archive across nine complete CLI/browser/smoke targets, following 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.
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.
@@ -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.3`,声明含 `0.2.1-rc.5` 在内的九个精确 DSH 目标;已发布 `0.3.2` 保留其八版记录。支持或共享宿主变更须按发布指南消费同一最终归档,九版完整 CLI/browser/smoke;full/发布还要求独立 `0.2.1-alpha.2` 退役拒绝,ordinary 不运行真实旧宿主负向。六版一次性负向属于 `0.3.1` 迁移历史。不要在最终消费循环重建或打包。
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` 迁移历史。不要在最终消费循环重建或打包。
package/README.md CHANGED
@@ -6,12 +6,12 @@ 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 or newer. The recommended DSH `0.2.2-alpha.2` requires Node.js `>=24.9.0`.
9
+ - Linux with `/proc` and Node.js 24. DSH `0.2.2-alpha.3` 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
- Plugin **`0.3.3`** supports these exact DSH releases. **`0.2.2-alpha.2`** is recommended.
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
15
 
16
16
  | DSH release | Maintenance |
17
17
  | --------------- | ----------------- |
@@ -23,19 +23,21 @@ Plugin **`0.3.3`** supports these exact DSH releases. **`0.2.2-alpha.2`** is rec
23
23
  | `0.2.1-rc.3` | Supported |
24
24
  | `0.2.1-rc.4` | Supported |
25
25
  | `0.2.1-rc.5` | Supported |
26
- | `0.2.2-alpha.2` | Recommended |
26
+ | `0.2.2-alpha.3` | Recommended host |
27
27
 
28
28
  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
29
 
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
+
30
32
  ## Install
31
33
 
32
34
  ```sh
33
35
  dsh --version
34
- dsh plugin --profile web add dsh-auth-remote@0.3.3
36
+ dsh plugin --profile web add dsh-auth-remote@0.3.4
35
37
  dsh plugin --profile web list
36
38
  ```
37
39
 
38
- Use the same data directory and profile for installation, initialization, and the running service. These commands use DSH's default `~/.dsh` directory and the `web` profile.
40
+ Use this npm command after the release workflow has published the version. For an offline installation, substitute the absolute path to the verified release archive. Published `dsh-auth-remote@0.3.3` retains its nine declared hosts. Use the same data directory and profile for installation, initialization, and the running service. These commands use DSH's default `~/.dsh` directory and the `web` profile. First rehearse upgrades in an independent profile, following the [backup and rollback procedure](docs/deployment.md#backup-recovery-and-changes).
39
41
 
40
42
  ## Initialize the account
41
43
 
@@ -82,6 +84,8 @@ Mutating commands require interactive confirmation. If a submitted command loses
82
84
 
83
85
  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.
84
86
 
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
+
85
89
  ## Sign in to an official DeepSeek account
86
90
 
87
91
  Remote DeepSeek account sign-in is enabled by default (`manualAccountLogin: true`):
@@ -100,6 +104,8 @@ The switch in **Settings → Security & sign-in → Sign-in preferences** contro
100
104
 
101
105
  Use the [reverse proxy guide](docs/reverse-proxy.md) with the [Nginx](examples/nginx.conf) or [Traefik](examples/traefik-dsh.yml) example. Preserve the browser's Host and Origin, WebSocket upgrades, and streaming responses. TLS can terminate at the proxy; set its exact HTTPS root as `publicUrl`. Keep the DSH listener private and do not cache authentication responses.
102
106
 
107
+ Acceptance targets Linux, Node.js 24, Chromium, native IPv4/IPv6 HTTP/HTTPS and the existing Node forwarding topologies. Other platforms/browsers, a real non-loopback IPv6 interface, Nginx/Traefik binaries and real external authorization are not established by these tests. See the deployment and development guides for the precise boundaries; local verification is separate from GitHub Actions and publication.
108
+
103
109
  ## Documentation
104
110
 
105
111
  See [deployment](docs/deployment.md) for configuration, profile backups, and operational details, or [development](docs/development.md) to build and test from source. Changes are in the [changelog](CHANGELOG.md). Contributions follow the [contribution guide](CONTRIBUTING.md) and [release guide](docs/releasing.md). Licensed under [MIT](LICENSE).
package/README.zh-CN.md CHANGED
@@ -6,12 +6,12 @@ DeepSeek Harness(DSH)的单用户远程登录插件,提供密码、TOTP、
6
6
 
7
7
  ## 前置条件
8
8
 
9
- - Linux(含 `/proc`)和 Node.js 24 或更高版本。推荐的 DSH `0.2.2-alpha.2` 要求 Node.js `>=24.9.0`。
9
+ - Linux(含 `/proc`)和 Node.js 24。DSH `0.2.2-alpha.3` 要求 Node.js `>=24.9.0`。
10
10
  - 一个受支持的 DSH 版本和 `web` profile。一个账号及其会话属于该 profile。
11
11
 
12
12
  ## DSH 兼容性
13
13
 
14
- 插件 **`0.3.3`** 支持以下精确 DSH 版本,推荐使用 **`0.2.2-alpha.2`**。
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
15
 
16
16
  | DSH 版本 | 维护状态 |
17
17
  | --------------- | -------------- |
@@ -23,19 +23,21 @@ DeepSeek Harness(DSH)的单用户远程登录插件,提供密码、TOTP、
23
23
  | `0.2.1-rc.3` | 支持中 |
24
24
  | `0.2.1-rc.4` | 支持中 |
25
25
  | `0.2.1-rc.5` | 支持中 |
26
- | `0.2.2-alpha.2` | 推荐版本 |
26
+ | `0.2.2-alpha.3` | 推荐宿主 |
27
27
 
28
28
  Legacy 版本在明确发布退役版本前继续支持,详见[支持规范](docs/support-policy.zh-CN.md)。更新版本可通过能力检查后加载,但不在上述精确兼容声明内。
29
29
 
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
+
30
32
  ## 安装
31
33
 
32
34
  ```sh
33
35
  dsh --version
34
- dsh plugin --profile web add dsh-auth-remote@0.3.3
36
+ dsh plugin --profile web add dsh-auth-remote@0.3.4
35
37
  dsh plugin --profile web list
36
38
  ```
37
39
 
38
- 安装、初始化和运行服务须使用相同的数据目录及 profile。这些命令使用 DSH 默认的 `~/.dsh` 目录和 `web` profile。
40
+ 发布工作流成功发布该版本后使用此 npm 命令;离线安装时替换为已验证发布归档的绝对路径。已发布 `dsh-auth-remote@0.3.3` 保留其九版宿主声明。安装、初始化和运行服务须使用相同的数据目录及 profile。这些命令使用 DSH 默认的 `~/.dsh` 目录和 `web` profile。升级前先在独立 profile 演练,按[备份与回滚步骤](docs/deployment.zh-CN.md#备份恢复与变更)操作。
39
41
 
40
42
  ## 初始化账号
41
43
 
@@ -82,6 +84,8 @@ dsh plugin --profile web exec dsh-auth-remote revoke-sessions
82
84
 
83
85
  浏览器文案支持英、中、日、西、法、德、俄和巴西葡萄牙语。内嵌页面跟随 DSH 语言设置;独立登录页依次使用已记住的 DSH 偏好、浏览器语言、英文,不提供语言选择器。CLI 文案固定英语。
84
86
 
87
+ DSH `0.2.2-alpha.3` 的原生导航为此页显示盾牌;其余八个声明宿主保留默认图标。
88
+
85
89
  ## 登录 DeepSeek 官方账号
86
90
 
87
91
  远程 DeepSeek 账号登录默认开启(`manualAccountLogin: true`):
@@ -100,6 +104,8 @@ dsh plugin --profile web exec dsh-auth-remote revoke-sessions
100
104
 
101
105
  参见[反向代理指南](docs/reverse-proxy.zh-CN.md)以及 [Nginx](examples/nginx.conf) 或 [Traefik](examples/traefik-dsh.yml) 示例。保留浏览器原始 Host、Origin、WebSocket 升级和流式响应。TLS 可在代理终止;将其精确 HTTPS 根地址设为 `publicUrl`。保持 DSH 监听私有,不要缓存认证响应。
102
106
 
107
+ 验收目标为 Linux、Node.js 24、Chromium、原生 IPv4/IPv6 HTTP/HTTPS 和既有 Node 转发拓扑。其他平台/浏览器、真实非回环 IPv6 网卡、Nginx/Traefik 二进制及真实外部授权未由这些测试证明。精确边界见部署与开发指南;本地验证与 GitHub Actions、发布分开记录。
108
+
103
109
  ## 文档
104
110
 
105
111
  [部署指南](docs/deployment.zh-CN.md)介绍配置、profile 备份和运维细节;从源码构建与测试请阅读[开发指南](docs/development.zh-CN.md)。变更见[更新日志](CHANGELOG.zh-CN.md),参与项目请阅读[贡献指南](CONTRIBUTING.zh-CN.md)和[发布指南](docs/releasing.zh-CN.md)。项目采用 [MIT 协议](LICENSE)。
package/dist/client.js CHANGED
@@ -4078,6 +4078,7 @@ __export(index_exports, {
4078
4078
  name: () => name
4079
4079
  });
4080
4080
  module.exports = __toCommonJS(index_exports);
4081
+ var import_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
4081
4082
 
4082
4083
  // src/client/adapters/dsh.ts
4083
4084
  function isAdministratorPage() {
@@ -6679,6 +6680,13 @@ function apply(ctx) {
6679
6680
  })
6680
6681
  )
6681
6682
  );
6683
+ slots.inject(
6684
+ "settings.section.icon",
6685
+ () => slots.register(
6686
+ { name: "settings.section.icon", id: "security" },
6687
+ ({ size }) => (0, import_react7.createElement)(import_dsh_client_ui_primitives.IconShieldOutlineMedium, { size })
6688
+ )
6689
+ );
6682
6690
  }
6683
6691
  return module.exports; } });
6684
6692
  //# sourceMappingURL=client.js.map