@dptech-corp/bohr-cli 2.6.54 → 2.6.57
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 +47 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,53 @@
|
|
|
16
16
|
|
|
17
17
|
## [Unreleased]
|
|
18
18
|
|
|
19
|
+
## [2.6.57] - 2026-08-26
|
|
20
|
+
|
|
21
|
+
### Breaking
|
|
22
|
+
|
|
23
|
+
- **七个命令族共 54 个 flag 声明必填**:缺参数报错由各命令自定义文案统一为 `required flag(s) "x" not set`,并提前到执行前。按文案匹配的脚本需改。
|
|
24
|
+
- **9 处「二选一」声明为分组**:都没给时报错统一为 `at least one of the flags in the group [a b] is required`,按文案匹配的脚本需改。
|
|
25
|
+
- **补记:`sandbox list` 自 2.6.49 起不再返回 `data.items[].id`**:它是内部数据库行号,喂不回任何命令;请改读 `sandbox_id`。当时漏发了公告。
|
|
26
|
+
- **调用错误改报 `INVALID_ARGUMENTS`**:元数不对、缺必填 flag、二选一没给、ID 与替代 flag 都没给这四类。按旧码匹配的调用方需改判据;退出码仍是 1。
|
|
27
|
+
- **13 条 job/node/project 命令缺 ID 的报错统一**:改为 `requires <bohr_id> as an argument, or --id`,四种旧文案不再出现。
|
|
28
|
+
- **给了零值的 ID flag 不再报「你必须提供」**:`--node_id 0` 这类改报 `--node_id must be a positive node ID`,拒绝的输入不变。
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- **新增错误码 `INVALID_ARGUMENTS`**:params 类,HTTP 400,退出码 1;hint 带该命令的 `--help` 与 `missing_params`。
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **`job +cancel`、`job +watch` 的 Usage 行补上 `<bohr_id>...`**:此前只写 `+cancel [flags]`,看不出它收 Bohr ID。
|
|
37
|
+
- **`--help` 标出必填与二选一**:此前 93 条必填里只有 16 个手写过 `(required)`,现在全部标出;分组加 `(one of: --a, --b)`。
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- **`bohr --help` 不再示范已下掉的 `config initialize`**:该命令早已移除,根命令示例仍列着,改为 `bohr config list`。
|
|
42
|
+
- **两条 `--help` 示例跑不通**:`job_group download 123 654` 改为 `-j 123`;远端命令带 flag 写 `exec <id> -- ls -la`。
|
|
43
|
+
|
|
44
|
+
## [2.6.56] - 2026-08-26
|
|
45
|
+
|
|
46
|
+
### Breaking
|
|
47
|
+
|
|
48
|
+
- **移除全局 `--page-all`**:改前机型/Agent 列表会扩类或自动拉全;改后参数报错。机型用 `-c all`,其余逐页查询。
|
|
49
|
+
|
|
50
|
+
### Fixed
|
|
51
|
+
|
|
52
|
+
- **`bohr doctor -o json` 的 `duration_ms` 不再时有时无**:改前耗时不足 1 毫秒的检查不带这个字段,机读方分不清是没测量还是为零;改后每条都带,快的记 0。
|
|
53
|
+
|
|
54
|
+
## [2.6.55] - 2026-08-26(未发布——版本号跳过)
|
|
55
|
+
|
|
56
|
+
v2.6.55 的 tag 流水线因 response-fields golden file 未更新而失败,受保护 tag 无法删除。改动实际随 2.6.56 发出。
|
|
57
|
+
|
|
58
|
+
### Breaking
|
|
59
|
+
|
|
60
|
+
- **移除全局 `--page-all`**:改前机型/Agent 列表会扩类或自动拉全;改后参数报错。机型用 `-c all`,其余逐页查询。
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- **`bohr doctor -o json` 的 `duration_ms` 不再时有时无**:改前耗时不足 1 毫秒的检查不带这个字段,机读方分不清是没测量还是为零;改后每条都带,快的记 0。
|
|
65
|
+
|
|
19
66
|
## [2.6.54] - 2026-08-26
|
|
20
67
|
|
|
21
68
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dptech-corp/bohr-cli",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.57",
|
|
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-arm64": "2.6.
|
|
36
|
-
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.
|
|
37
|
-
"@dptech-corp/bohr-cli-linux-amd64": "2.6.
|
|
38
|
-
"@dptech-corp/bohr-cli-linux-arm64": "2.6.
|
|
39
|
-
"@dptech-corp/bohr-cli-windows-amd64": "2.6.
|
|
40
|
-
"@dptech-corp/bohr-cli-windows-arm64": "2.6.
|
|
35
|
+
"@dptech-corp/bohr-cli-darwin-arm64": "2.6.57",
|
|
36
|
+
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.57",
|
|
37
|
+
"@dptech-corp/bohr-cli-linux-amd64": "2.6.57",
|
|
38
|
+
"@dptech-corp/bohr-cli-linux-arm64": "2.6.57",
|
|
39
|
+
"@dptech-corp/bohr-cli-windows-amd64": "2.6.57",
|
|
40
|
+
"@dptech-corp/bohr-cli-windows-arm64": "2.6.57"
|
|
41
41
|
}
|
|
42
42
|
}
|