dsh-auth-remote 0.1.0 → 0.1.2
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 +11 -0
- package/CHANGELOG.zh-CN.md +11 -0
- package/README.md +15 -8
- package/README.zh-CN.md +15 -8
- package/dist/client.js +117 -96
- package/dist/client.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/login.css +100 -73
- package/dist/login.css.map +2 -2
- package/dist/types/adapters/dsh/compatibility.d.ts +1 -0
- package/dist/types/adapters/dsh/compatibility.d.ts.map +1 -1
- package/docs/deployment.md +9 -8
- package/docs/deployment.zh-CN.md +9 -8
- package/docs/development.md +22 -7
- package/docs/development.zh-CN.md +22 -7
- package/docs/releasing.md +8 -8
- package/docs/releasing.zh-CN.md +8 -8
- package/package.json +13 -9
package/docs/releasing.zh-CN.md
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
pnpm install --frozen-lockfile
|
|
15
15
|
pnpm exec playwright install chromium
|
|
16
16
|
pnpm check
|
|
17
|
-
pnpm pack
|
|
18
|
-
pnpm smoke
|
|
17
|
+
pnpm release:pack
|
|
18
|
+
pnpm smoke:packed
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
`pnpm pack
|
|
21
|
+
`pnpm release:pack` 执行静态检查,创建并验证 `artifacts/dsh-auth-remote-X.Y.Z.tgz`;`pnpm smoke:packed` 将这个压缩包安装到隔离 DSH home 并测试启动。标签工作流使用 `npm publish ./artifacts/dsh-auth-remote-X.Y.Z.tgz --access public` 将已验证的压缩包发布到 npm,无需在本地手动发布。
|
|
22
22
|
|
|
23
23
|
## 打标签并核对结果
|
|
24
24
|
|
|
@@ -27,18 +27,18 @@ pnpm smoke
|
|
|
27
27
|
```sh
|
|
28
28
|
git switch master
|
|
29
29
|
git pull --ff-only origin master
|
|
30
|
-
git tag -a v0.1.
|
|
31
|
-
git push origin v0.1.
|
|
30
|
+
git tag -a v0.1.2 -m "Release v0.1.2"
|
|
31
|
+
git push origin v0.1.2
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
执行时把 `0.1.
|
|
34
|
+
执行时把 `0.1.2` 换成目标版本。标签必须指向 `master` 可达的提交。标签版本不匹配、缺少更新日志条目、测试失败,或 npm 现存版本与本次压缩包字节不同,都会阻止发布。
|
|
35
35
|
|
|
36
36
|
工作流结束后检查运行状态、GitHub Release 和 npm 版本:
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
gh run list --workflow release.yml --limit 5
|
|
40
|
-
gh release view v0.1.
|
|
41
|
-
npm view dsh-auth-remote@0.1.
|
|
40
|
+
gh release view v0.1.2
|
|
41
|
+
npm view dsh-auth-remote@0.1.2 version dist.integrity
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
GitHub Release 包含 `.tgz` 和 `SHA256SUMS`。把两者下载到同一个目录,在该目录运行 `sha256sum -c SHA256SUMS` 验证附件。工作流失败时先查看 **Actions → Release** 再重试;npm 版本不可覆盖,因此只有现存版本的压缩包字节与本次构建一致时,工作流才会跳过重复发布。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-auth-remote",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Single-user remote authentication for DeepSeek Harness: password, TOTP and revocable sessions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -47,16 +47,18 @@
|
|
|
47
47
|
],
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@deepseek-ai/cordis": ">=4.0.4 <5",
|
|
50
|
-
"@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1
|
|
50
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1",
|
|
51
51
|
"@deepseek-ai/schemastery": ">=3.18.4 <4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@deepseek-ai/cordis": "4.0.4",
|
|
55
|
-
"@deepseek-ai/dsh-client-connection": "0.
|
|
56
|
-
"@deepseek-ai/dsh-client-locale": "0.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.
|
|
58
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.
|
|
59
|
-
"@deepseek-ai/dsh-host-webserver": "0.
|
|
55
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.0-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.1",
|
|
60
62
|
"@deepseek-ai/schemastery": "3.18.4",
|
|
61
63
|
"@playwright/test": "1.63.0",
|
|
62
64
|
"@types/node": "24.13.6",
|
|
@@ -106,7 +108,9 @@
|
|
|
106
108
|
"test:browser": "node scripts/prepare-test.mjs && pnpm build && node scripts/pack.mjs && tsx --test --test-concurrency=1 tests/browser/*.spec.ts",
|
|
107
109
|
"check:static": "pnpm typecheck && pnpm format:check && pnpm build && pnpm check:package && pnpm check:deployment && pnpm check:docs && pnpm check:release",
|
|
108
110
|
"check": "pnpm check:static && pnpm test:unit && pnpm test:integration && pnpm test:cli && pnpm test:browser",
|
|
109
|
-
"pack
|
|
110
|
-
"
|
|
111
|
+
"release:pack": "pnpm check:static && node scripts/pack.mjs",
|
|
112
|
+
"pack:local": "pnpm release:pack",
|
|
113
|
+
"smoke:packed": "pnpm dev:prepare && node scripts/dev-install.mjs && node scripts/smoke.mjs",
|
|
114
|
+
"smoke": "pnpm pack:local && pnpm smoke:packed"
|
|
111
115
|
}
|
|
112
116
|
}
|