dsh-auth-remote 0.3.1 → 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.
- package/CHANGELOG.md +18 -1
- package/CHANGELOG.zh-CN.md +18 -1
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTING.zh-CN.md +1 -1
- package/README.md +53 -48
- package/README.zh-CN.md +53 -48
- package/dist/cli.js +63 -530
- package/dist/cli.js.map +4 -4
- package/dist/client.js +915 -133
- package/dist/client.js.map +3 -3
- package/dist/index.js +83 -22
- package/dist/index.js.map +3 -3
- package/dist/login.css +0 -21
- package/dist/login.css.map +2 -2
- package/dist/login.js +892 -155
- package/dist/login.js.map +3 -3
- package/dist/types/adapters/dsh/browser-capability.d.ts.map +1 -1
- package/dist/types/adapters/dsh/liveshare.d.ts +4 -0
- package/dist/types/adapters/dsh/liveshare.d.ts.map +1 -0
- package/dist/types/adapters/dsh/webserver.d.ts +8 -4
- package/dist/types/adapters/dsh/webserver.d.ts.map +1 -1
- package/dist/types/cli/ipc-client.d.ts.map +1 -1
- package/dist/types/cli/messages.d.ts +56 -0
- package/dist/types/cli/messages.d.ts.map +1 -0
- package/dist/types/cli/profile.d.ts.map +1 -1
- package/dist/types/cli/prompt.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/shared/i18n.d.ts +878 -105
- package/dist/types/shared/i18n.d.ts.map +1 -1
- package/dist/types/shared/locales/de.d.ts +145 -0
- package/dist/types/shared/locales/de.d.ts.map +1 -0
- package/dist/types/shared/locales/en.d.ts +0 -49
- package/dist/types/shared/locales/en.d.ts.map +1 -1
- package/dist/types/shared/locales/es.d.ts +145 -0
- package/dist/types/shared/locales/es.d.ts.map +1 -0
- package/dist/types/shared/locales/fr.d.ts +145 -0
- package/dist/types/shared/locales/fr.d.ts.map +1 -0
- package/dist/types/shared/locales/ja.d.ts +145 -0
- package/dist/types/shared/locales/ja.d.ts.map +1 -0
- package/dist/types/shared/locales/pt.d.ts +145 -0
- package/dist/types/shared/locales/pt.d.ts.map +1 -0
- package/dist/types/shared/locales/ru.d.ts +145 -0
- package/dist/types/shared/locales/ru.d.ts.map +1 -0
- package/dist/types/shared/locales/zh.d.ts +0 -49
- package/dist/types/shared/locales/zh.d.ts.map +1 -1
- package/docs/deployment.md +26 -26
- package/docs/deployment.zh-CN.md +26 -26
- package/docs/development.md +40 -26
- package/docs/development.zh-CN.md +40 -26
- package/docs/legacy-compatibility.md +128 -69
- package/docs/legacy-compatibility.zh-CN.md +126 -67
- package/docs/releasing.md +11 -11
- package/docs/releasing.zh-CN.md +11 -11
- package/docs/support-history.md +52 -49
- package/docs/support-history.zh-CN.md +52 -49
- package/docs/support-policy.md +25 -7
- package/docs/support-policy.zh-CN.md +25 -7
- package/examples/web-profile-auth-remote.patch.yml +1 -1
- package/package.json +16 -14
- package/dist/types/cli/language.d.ts +0 -14
- package/dist/types/cli/language.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](support-policy.md)
|
|
4
4
|
|
|
5
|
-
最后更新:2026-10-
|
|
5
|
+
最后更新:2026-10-30。本规范区分维护承诺、精确版本验证和技术准入。计划发布的插件 **`0.3.3`** 在已发布 `0.3.2` 的八版声明上新增 DSH `0.2.1-rc.5`。发布前须用同一最终归档验证九个精确目标;声明不代表实测通过或已经发布。
|
|
6
6
|
|
|
7
7
|
## 支持状态与运行准入
|
|
8
8
|
|
|
@@ -14,13 +14,31 @@
|
|
|
14
14
|
| 必要 API/行为缺失、必要适配已删除或安全检查失败 | 不宣称支持 | 拒绝提供受保护业务服务,给出升级或最后兼容插件路径 |
|
|
15
15
|
| 未评估的旧版或未来版 | 无精确支持承诺 | 执行技术检查;启动成功不增加支持版本 |
|
|
16
16
|
|
|
17
|
-
`dsh.compatibility.dshReleases` 记录精确支持声明;`engines.dsh`、
|
|
17
|
+
`dsh.compatibility.dshReleases` 记录精确支持声明;`engines.dsh`、WebServer peer 和运行检查表达技术准入:`>=0.2.1-alpha.3`(含预发布),同时检查包身份和必要 API。日历或纯维护退役不能机械提高下限。`0.3.1` 已退役的六个 DSH 版本最后支持插件为 `0.2.0`,精确记录保留在[支持历史](support-history.zh-CN.md)。
|
|
18
18
|
|
|
19
19
|
诊断应在启动日志中、提供受保护服务前输出:legacy 日期和迁移建议,或获准启动的未验证/已退役版本缺少当前支持承诺。同一进程每个精确版本/状态组合至多提示一次,HMR 也不重置。诊断不改变认证、登录弹窗、请求授权或 CLI JSON。
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## 当前维护日期
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
插件 `0.3.3` 保留对 `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5` 的 2026-10-28 独立 legacy 公告;新增 `0.2.1-rc.5` 不改变这些日期。九版均保留在发布阻断验证中。日期使用 Asia/Shanghai 当地 00:00,达到退役资格不会自动终止支持。
|
|
24
|
+
|
|
25
|
+
| 精确 DSH 版本 | 维护状态 | Legacy 起算日 | 窗口自然日数 | 最早可执行退役日期 |
|
|
26
|
+
| --------------- | ------------------------ | ------------- | ------------ | ------------------ |
|
|
27
|
+
| `0.2.1-alpha.3` | Legacy;继续支持 | 2026-10-28 | 14 | 2026-11-11 |
|
|
28
|
+
| `0.2.1-alpha.4` | Legacy;继续支持 | 2026-10-28 | 14 | 2026-11-11 |
|
|
29
|
+
| `0.2.1-alpha.5` | Legacy;继续支持 | 2026-10-28 | 14 | 2026-11-11 |
|
|
30
|
+
| `0.2.1-rc.1` | 正常支持 | — | — | 未公告 |
|
|
31
|
+
| `0.2.1-rc.2` | 正常支持 | — | — | 未公告 |
|
|
32
|
+
| `0.2.1-rc.3` | 正常支持 | — | — | 未公告 |
|
|
33
|
+
| `0.2.1-rc.4` | 正常支持 | — | — | 未公告 |
|
|
34
|
+
| `0.2.1-rc.5` | 正常支持;`0.3.3` 新增 | — | — | 未公告 |
|
|
35
|
+
| `0.2.2-alpha.2` | 正常支持;开发默认与推荐 | — | — | 未公告 |
|
|
36
|
+
|
|
37
|
+
迁移推荐仍为 DSH `0.2.2-alpha.2` 与支持该版本的插件。前向准入的未知版本不获得精确支持承诺。
|
|
38
|
+
|
|
39
|
+
## 历史 `0.2.0` 维护公告
|
|
40
|
+
|
|
41
|
+
下表保留插件 `0.2.0` 在 2026-10-19 的维护公告及其独立 21 日例外。该历史证据已经由明确的 `0.3.1` 迁移和上方当前维护日期更新,不属于当前正向矩阵。
|
|
24
42
|
|
|
25
43
|
| 精确 DSH 版本 | 维护状态 | Legacy 起算日 | 窗口自然日数 | 最早可执行退役日期 |
|
|
26
44
|
| --------------- | ------------------------------ | ------------- | ------------ | ------------------ |
|
|
@@ -36,7 +54,7 @@
|
|
|
36
54
|
| `0.2.1-rc.1` | 正常支持;新增目标 | 未进入 | 不适用 | 未指定 |
|
|
37
55
|
| `0.2.1-rc.2` | 正常支持;新开发及验证默认目标 | 未进入 | 不适用 | 未指定 |
|
|
38
56
|
|
|
39
|
-
|
|
57
|
+
当时的迁移目标为 DSH `0.2.1-rc.2` 与插件 `0.2.0`。已发布 `0.1.10` 保留原历史声明,不得通过重发该版本增加 RC。
|
|
40
58
|
|
|
41
59
|
## 日期与 Alpha/RC 关联
|
|
42
60
|
|
|
@@ -44,7 +62,7 @@
|
|
|
44
62
|
|
|
45
63
|
日期使用 `Asia/Shanghai`。资格从 `legacySince + windowDays` 当地 00:00 起成立:2026-10-19 加 14 天为 2026-11-02,加 21 天为 2026-11-09。这是公告日期,不是自用户安装、上游发布或插件发布起算。窗口过期仅取得后续退役发布资格,不自动退役,也不强制在紧接着的插件发布退役。已安装插件行为不随日期改变。
|
|
46
64
|
|
|
47
|
-
同一基础版本的 alpha 跟随**整条 RC 发布线**:仍有任一正常支持 RC 时,关联 alpha 不自动进入 legacy。最后一个正常支持 RC 进入 legacy 时,未独立公告的关联 alpha
|
|
65
|
+
同一基础版本的 alpha 跟随**整条 RC 发布线**:仍有任一正常支持 RC 时,关联 alpha 不自动进入 legacy。最后一个正常支持 RC 进入 legacy 时,未独立公告的关联 alpha 同时进入并共享截止日期。上方 2026-10-28 的独立公告优先于本默认规则,明确覆盖 `0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`。历史 `0.2.1-alpha.1`、`0.2.1-alpha.2` 使用独立能力边界例外,保留已公告的 21 天日期,后续 RC 不重新计时。
|
|
48
66
|
|
|
49
67
|
## 新增精确版本支持
|
|
50
68
|
|
|
@@ -61,7 +79,7 @@
|
|
|
61
79
|
|
|
62
80
|
## 在未来发布中执行实际退役
|
|
63
81
|
|
|
64
|
-
插件 `0.2.0`
|
|
82
|
+
插件 `0.2.0` 当时未执行实际退役。插件 `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.3.3` 不新增退役。未来退役变更须在同次变更满足以下各项:
|
|
65
83
|
|
|
66
84
|
1. 研发明确选定精确集合和生效新插件版本,时间不早于各资格日。记录生效日期、最后支持插件版本和已核实的分发可获取性。
|
|
67
85
|
2. 提供迁移和安装说明。区分维护退出与技术拒绝:删除视觉/测试专属适配本身不必阻止启动;缺少必要运行或安全契约必须拒绝服务。
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# model and plugin rows. Install this package into the same profile first.
|
|
3
3
|
# Replace dsh.example.com in the unique public root URL. This example uses
|
|
4
4
|
# HTTP behind a TLS proxy. CLI --host/--port override the file individually.
|
|
5
|
-
# All
|
|
5
|
+
# All eight DSH targets of plugin 0.3.2 support native TLS; see README.
|
|
6
6
|
# Supply both tlsCert and tlsKey; relative file paths
|
|
7
7
|
# resolve from this profile directory, while CLI TLS paths resolve from cwd.
|
|
8
8
|
# This independent disable is required for a protected remote deployment:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-auth-remote",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Single-user remote authentication for DeepSeek Harness: password, TOTP and revocable sessions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
"@deepseek-ai/schemastery": ">=3.18.4 <4"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@deepseek-ai/cordis": "4.0.
|
|
69
|
-
"@deepseek-ai/dsh-authorization": "0.2.
|
|
70
|
-
"@deepseek-ai/dsh-client-connection": "0.2.
|
|
71
|
-
"@deepseek-ai/dsh-client-locale": "0.2.
|
|
72
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.
|
|
73
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.
|
|
74
|
-
"@deepseek-ai/dsh-deepseek-account": "0.2.
|
|
75
|
-
"@deepseek-ai/dsh-deepseek-account-platform": "0.2.
|
|
76
|
-
"@deepseek-ai/dsh-host-webserver": "0.2.
|
|
77
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
78
|
-
"@deepseek-ai/dsh-scope": "0.2.
|
|
79
|
-
"@deepseek-ai/schemastery": "3.18.
|
|
68
|
+
"@deepseek-ai/cordis": "4.0.6-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-authorization": "0.2.2-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-deepseek-account": "0.2.2-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-deepseek-account-platform": "0.2.2-alpha.2",
|
|
76
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-alpha.2",
|
|
77
|
+
"@deepseek-ai/dsh-llm": "0.2.2-alpha.2",
|
|
78
|
+
"@deepseek-ai/dsh-scope": "0.2.2-alpha.2",
|
|
79
|
+
"@deepseek-ai/schemastery": "3.18.6-alpha.1",
|
|
80
80
|
"@playwright/test": "1.63.0",
|
|
81
81
|
"@types/node": "24.13.6",
|
|
82
82
|
"@types/qrcode": "1.5.6",
|
|
@@ -111,7 +111,9 @@
|
|
|
111
111
|
"0.2.1-rc.1": "compatible",
|
|
112
112
|
"0.2.1-rc.2": "compatible",
|
|
113
113
|
"0.2.1-rc.3": "compatible",
|
|
114
|
-
"0.2.1-rc.4": "compatible"
|
|
114
|
+
"0.2.1-rc.4": "compatible",
|
|
115
|
+
"0.2.1-rc.5": "compatible",
|
|
116
|
+
"0.2.2-alpha.2": "compatible"
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
},
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Locale, type MessageKey } from '../shared/i18n.js';
|
|
2
|
-
export declare class CliDiagnostic extends Error {
|
|
3
|
-
readonly key: MessageKey;
|
|
4
|
-
readonly locale?: Locale | undefined;
|
|
5
|
-
constructor(key: MessageKey, englishMessage: string, locale?: Locale | undefined);
|
|
6
|
-
}
|
|
7
|
-
export declare function environmentLocale(env: NodeJS.ProcessEnv): Locale;
|
|
8
|
-
/** Strip one language option from either side of the command before command validation. */
|
|
9
|
-
export declare function parseLanguage(input: readonly string[], env?: NodeJS.ProcessEnv): {
|
|
10
|
-
locale: Locale;
|
|
11
|
-
args: string[];
|
|
12
|
-
};
|
|
13
|
-
export declare function cliText(locale: Locale, key: MessageKey, params?: Record<string, string | number>): string;
|
|
14
|
-
//# sourceMappingURL=language.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../src/cli/language.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,UAAU,EAChB,MAAM,mBAAmB,CAAA;AAE1B,qBAAa,aAAc,SAAQ,KAAK;IAEpC,QAAQ,CAAC,GAAG,EAAE,UAAU;IAExB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM;gBAFf,GAAG,EAAE,UAAU,EACxB,cAAc,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,YAAA;CAI3B;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAKhE;AAED,2FAA2F;AAC3F,wBAAgB,aAAa,CAC3B,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAiCpC;AAED,wBAAgB,OAAO,CACrB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,UAAU,EACf,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAM,GAC3C,MAAM,CAER"}
|