dsh-auth-remote 0.3.3 → 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 +16 -0
- package/CHANGELOG.zh-CN.md +16 -0
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTING.zh-CN.md +1 -1
- package/README.md +23 -16
- package/README.zh-CN.md +23 -16
- package/dist/client.js +8 -0
- package/dist/client.js.map +2 -2
- package/dist/index.js +22 -17
- package/dist/index.js.map +2 -2
- package/dist/types/shared/dsh-support.d.ts.map +1 -1
- package/docs/deployment.md +11 -7
- package/docs/deployment.zh-CN.md +11 -7
- package/docs/development.md +40 -29
- package/docs/development.zh-CN.md +40 -29
- package/docs/legacy-compatibility.md +115 -70
- package/docs/legacy-compatibility.zh-CN.md +115 -70
- package/docs/releasing.md +13 -11
- package/docs/releasing.zh-CN.md +13 -11
- package/docs/reverse-proxy.md +2 -0
- package/docs/reverse-proxy.zh-CN.md +2 -0
- package/docs/support-history.md +69 -63
- package/docs/support-history.zh-CN.md +69 -63
- package/docs/support-policy.md +29 -15
- package/docs/support-policy.zh-CN.md +29 -15
- package/package.json +18 -15
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@ 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
|
+
|
|
16
|
+
## 0.3.4 - 2026-11-05
|
|
17
|
+
|
|
18
|
+
- Upgrade the development SDK to DSH `0.2.2-alpha.3` and observe the Loader-owned effective configuration without replacing volatile references.
|
|
19
|
+
|
|
20
|
+
- Declare nine exact DSH targets, adding `0.2.2-alpha.3` as development default and recommended host. Retain the existing legacy dates.
|
|
21
|
+
- 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.
|
|
22
|
+
- 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.
|
|
23
|
+
- 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.
|
|
24
|
+
|
|
9
25
|
## 0.3.3 - 2026-10-30
|
|
10
26
|
|
|
11
27
|
- 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.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -6,6 +6,22 @@
|
|
|
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
|
+
|
|
16
|
+
## 0.3.4 - 2026-11-05
|
|
17
|
+
|
|
18
|
+
- 开发 SDK 更新至 DSH `0.2.2-alpha.3`;观测 Loader 有效配置并保留动态引用身份。
|
|
19
|
+
|
|
20
|
+
- 声明九个精确 DSH 目标,新增 `0.2.2-alpha.3` 为开发默认和推荐宿主;保留既有 legacy 日期。
|
|
21
|
+
- 以 2026-11-05 明确公告的零日窗口例外,在本版本撤销对 DSH `0.2.2-alpha.2` 的支持:其原生设置更新钩子与新解析的 Cordis 依赖不兼容。请升级宿主至 `0.2.2-alpha.3`,降低插件版本不能修复宿主。仅移除该版正向验证目标,保留共享适配、安全检查及原技术准入。
|
|
22
|
+
- 在 `0.2.2-alpha.3` 的安全与登录导航使用原生盾牌,旧宿主保留默认图标;保留原生槽释放和 viewer 隔离,并检查浏览器专项注册与实际八语覆盖。
|
|
23
|
+
- 同步双语生产前提、独立 profile 升级/备份/回滚、兼容库存与已发布 `0.3.3` 事实;验证报告不入包。本地候选曾于 2026-11-03 准备;实际发布时间由发布工作流及 registry 确认。
|
|
24
|
+
|
|
9
25
|
## 0.3.3 - 2026-10-30
|
|
10
26
|
|
|
11
27
|
- 新增 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
|
-
|
|
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.
|
package/CONTRIBUTING.zh-CN.md
CHANGED
|
@@ -26,4 +26,4 @@ pnpm check
|
|
|
26
26
|
|
|
27
27
|
`CI Verify` 会在 Pull Request 和合入 `master` 后运行。维护者在创建发布标签前更新版本号和带日期的更新日志;具体流程见[发布指南](docs/releasing.zh-CN.md)。
|
|
28
28
|
|
|
29
|
-
|
|
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,36 +6,39 @@ 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
|
|
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
|
-
|
|
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.
|
|
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
|
|
|
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).
|
|
32
|
+
|
|
30
33
|
## Install
|
|
31
34
|
|
|
32
35
|
```sh
|
|
33
36
|
dsh --version
|
|
34
|
-
dsh plugin --profile web add dsh-auth-remote@0.3.
|
|
37
|
+
dsh plugin --profile web add dsh-auth-remote@0.3.5
|
|
35
38
|
dsh plugin --profile web list
|
|
36
39
|
```
|
|
37
40
|
|
|
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.
|
|
41
|
+
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
42
|
|
|
40
43
|
## Initialize the account
|
|
41
44
|
|
|
@@ -82,6 +85,8 @@ Mutating commands require interactive confirmation. If a submitted command loses
|
|
|
82
85
|
|
|
83
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.
|
|
84
87
|
|
|
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.
|
|
89
|
+
|
|
85
90
|
## Sign in to an official DeepSeek account
|
|
86
91
|
|
|
87
92
|
Remote DeepSeek account sign-in is enabled by default (`manualAccountLogin: true`):
|
|
@@ -100,6 +105,8 @@ The switch in **Settings → Security & sign-in → Sign-in preferences** contro
|
|
|
100
105
|
|
|
101
106
|
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
107
|
|
|
108
|
+
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.
|
|
109
|
+
|
|
103
110
|
## Documentation
|
|
104
111
|
|
|
105
112
|
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,36 +6,39 @@ DeepSeek Harness(DSH)的单用户远程登录插件,提供密码、TOTP、
|
|
|
6
6
|
|
|
7
7
|
## 前置条件
|
|
8
8
|
|
|
9
|
-
- Linux(含 `/proc`)和 Node.js 24
|
|
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
|
-
|
|
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.
|
|
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
|
|
|
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)。
|
|
32
|
+
|
|
30
33
|
## 安装
|
|
31
34
|
|
|
32
35
|
```sh
|
|
33
36
|
dsh --version
|
|
34
|
-
dsh plugin --profile web add dsh-auth-remote@0.3.
|
|
37
|
+
dsh plugin --profile web add dsh-auth-remote@0.3.5
|
|
35
38
|
dsh plugin --profile web list
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
发布工作流成功发布该版本后使用此 npm 命令;离线安装时替换为已验证发布归档的绝对路径。已发布 `dsh-auth-remote@0.3.3` 保留其九版宿主声明。安装、初始化和运行服务须使用相同的数据目录及 profile。这些命令使用 DSH 默认的 `~/.dsh` 目录和 `web` profile。升级前先在独立 profile 演练,按[备份与回滚步骤](docs/deployment.zh-CN.md#备份恢复与变更)操作。
|
|
39
42
|
|
|
40
43
|
## 初始化账号
|
|
41
44
|
|
|
@@ -82,6 +85,8 @@ dsh plugin --profile web exec dsh-auth-remote revoke-sessions
|
|
|
82
85
|
|
|
83
86
|
浏览器文案支持英、中、日、西、法、德、俄和巴西葡萄牙语。内嵌页面跟随 DSH 语言设置;独立登录页依次使用已记住的 DSH 偏好、浏览器语言、英文,不提供语言选择器。CLI 文案固定英语。
|
|
84
87
|
|
|
88
|
+
DSH `0.2.2-alpha.3`、`0.2.2-rc.1` 的原生导航为此页显示盾牌;其余八个声明宿主保留默认图标。
|
|
89
|
+
|
|
85
90
|
## 登录 DeepSeek 官方账号
|
|
86
91
|
|
|
87
92
|
远程 DeepSeek 账号登录默认开启(`manualAccountLogin: true`):
|
|
@@ -100,6 +105,8 @@ dsh plugin --profile web exec dsh-auth-remote revoke-sessions
|
|
|
100
105
|
|
|
101
106
|
参见[反向代理指南](docs/reverse-proxy.zh-CN.md)以及 [Nginx](examples/nginx.conf) 或 [Traefik](examples/traefik-dsh.yml) 示例。保留浏览器原始 Host、Origin、WebSocket 升级和流式响应。TLS 可在代理终止;将其精确 HTTPS 根地址设为 `publicUrl`。保持 DSH 监听私有,不要缓存认证响应。
|
|
102
107
|
|
|
108
|
+
验收目标为 Linux、Node.js 24、Chromium、原生 IPv4/IPv6 HTTP/HTTPS 和既有 Node 转发拓扑。其他平台/浏览器、真实非回环 IPv6 网卡、Nginx/Traefik 二进制及真实外部授权未由这些测试证明。精确边界见部署与开发指南;本地验证与 GitHub Actions、发布分开记录。
|
|
109
|
+
|
|
103
110
|
## 文档
|
|
104
111
|
|
|
105
112
|
[部署指南](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
|