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.
@@ -14,11 +14,11 @@
14
14
  pnpm install --frozen-lockfile
15
15
  pnpm exec playwright install chromium
16
16
  pnpm check
17
- pnpm pack:local
18
- pnpm smoke
17
+ pnpm release:pack
18
+ pnpm smoke:packed
19
19
  ```
20
20
 
21
- `pnpm pack:local` 创建并检查 `artifacts/dsh-auth-remote-X.Y.Z.tgz`;`pnpm smoke` 将压缩包安装到隔离的 DSH home 并测试启动。这两个命令都不会发布包。
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.0 -m "Release v0.1.0"
31
- git push origin v0.1.0
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.0` 换成目标版本。标签必须指向 `master` 可达的提交。标签版本不匹配、缺少更新日志条目、测试失败,或 npm 现存版本与本次压缩包字节不同,都会阻止发布。
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.0
41
- npm view dsh-auth-remote@0.1.0 version dist.integrity
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.0",
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 <0.2.0-0",
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.1.7-rc.1",
56
- "@deepseek-ai/dsh-client-locale": "0.1.7-rc.1",
57
- "@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.1",
58
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.1",
59
- "@deepseek-ai/dsh-host-webserver": "0.1.7-rc.1",
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:local": "pnpm check:static && node scripts/pack.mjs",
110
- "smoke": "pnpm dev:install && node scripts/smoke.mjs"
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
  }