@dptech-corp/bohr-cli 2.6.38-preview.777 → 2.6.38

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## [Unreleased]
17
17
 
18
+ ## [2.6.38] - 2026-08-19
19
+
18
20
  ### Fixed
19
21
 
20
22
  - **`bohr trisol` 在登录态过期后自动续期,不再把过期 token 注入子进程**:此前 trisol 启动时把磁盘登录态里的 access token 原样注入 `TRISOL_TOKEN`,token 一过期 trisol 全部命令收到无归因的裸 `401`,而 refresh token 明明有效(wenyon 有续期路径、trisol 没有)。现在注入前统一走「过期即用 refresh token 换新」的判定,wenyon 与 trisol 同口径。续期失败分两级:vouch 服务端明确拒绝(refresh token 已失效)时拒绝启动并提示 `bohr auth login`;瞬时失败(网络错、5xx)保留登录态、告警后照常启动,一次网络抖动不再毁掉有效会话。wenyon 自有 `~/.vouch/state.json` 仍有效或完全没有登录态时照常启动。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dptech-corp/bohr-cli",
3
- "version": "2.6.38-preview.777",
3
+ "version": "2.6.38",
4
4
  "description": "CLI tool for Bohrium scientific computing platform",
5
5
  "bin": {
6
6
  "bohr": "run.js"
@@ -32,11 +32,11 @@
32
32
  "CHANGELOG.md"
33
33
  ],
34
34
  "optionalDependencies": {
35
- "@dptech-corp/bohr-cli-darwin-amd64": "2.6.38-preview.777",
36
- "@dptech-corp/bohr-cli-darwin-arm64": "2.6.38-preview.777",
37
- "@dptech-corp/bohr-cli-linux-amd64": "2.6.38-preview.777",
38
- "@dptech-corp/bohr-cli-linux-arm64": "2.6.38-preview.777",
39
- "@dptech-corp/bohr-cli-windows-amd64": "2.6.38-preview.777",
40
- "@dptech-corp/bohr-cli-windows-arm64": "2.6.38-preview.777"
35
+ "@dptech-corp/bohr-cli-darwin-arm64": "2.6.38",
36
+ "@dptech-corp/bohr-cli-darwin-amd64": "2.6.38",
37
+ "@dptech-corp/bohr-cli-linux-amd64": "2.6.38",
38
+ "@dptech-corp/bohr-cli-linux-arm64": "2.6.38",
39
+ "@dptech-corp/bohr-cli-windows-amd64": "2.6.38",
40
+ "@dptech-corp/bohr-cli-windows-arm64": "2.6.38"
41
41
  }
42
42
  }