@dptech-corp/bohr-cli 2.6.10 → 2.6.12
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 +22 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
|
|
16
16
|
## [Unreleased]
|
|
17
17
|
|
|
18
|
+
## [2.6.12] - 2026-08-12
|
|
19
|
+
|
|
20
|
+
### Breaking
|
|
21
|
+
|
|
22
|
+
- **`bohr kb search` 移除无效的 `--top-k` 参数,并对齐当前知识库搜索返回结构**。改前:CLI 接受 `--top-k` 但不会把它传给后端,human 输出还按已废弃的 `items/content/score/documentId/title` 结构解析结果。改后:命令直接渲染平台返回的 `data.Files` 与 `data.total`,不再伪造旧结构;调用方需删除 `--top-k`,需要稳定字段时改用 `-o json` 消费 `data.Files` 和 `data.total`。
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- CI 现在会把文档中的命令路径、参数和 `--jq` 表达式与真实 Cobra 命令树及代表性输出进行一致性校验;README 与中英文使用文档中的失效示例已同步修正。
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- `bohr billing pricing` 的 JSON `aliases` 字段和 human `ALIASES` 列现在会展示收费 `+verb` 快捷命令与 canonical 命令的对应关系(例如 `bohr sandbox +run` 对应 `bohr sandbox create`),且不会为别名复制价格行。
|
|
31
|
+
- 无效的嵌套命令路径现在会返回明确错误和非零退出码,不再错误展示父命令帮助并退出 0;保留用于兼容的 deprecated skill 子命令也会继续出现在父命令帮助中。
|
|
32
|
+
|
|
33
|
+
## [2.6.11] - 2026-08-12
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- `bohr pdf result` 现在将生产 UniParser 返回的 `status=error` 与 `status=failed` 一并映射为 `PARSE_FAILED`,保留失败描述并返回非零退出码,不再把加密或不受支持 PDF 的解析失败报告为成功。
|
|
38
|
+
- `bohr sandbox create`、`bohr sandbox +run`、`bohr sandbox image build` 和 `bohr sandbox image commit` 的计费确认现在按真实的余额扣费口径提示,不再误称优先使用光子;其他资源和按次命令的既有提示保持不变。
|
|
39
|
+
|
|
18
40
|
## [2.6.10] - 2026-08-12
|
|
19
41
|
|
|
20
42
|
### Added
|
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.12",
|
|
4
4
|
"description": "CLI tool for Bohrium scientific computing platform",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bohr": "run.js"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"CHANGELOG.md"
|
|
29
29
|
],
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@dptech-corp/bohr-cli-darwin-arm64": "2.6.
|
|
32
|
-
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.
|
|
33
|
-
"@dptech-corp/bohr-cli-linux-amd64": "2.6.
|
|
34
|
-
"@dptech-corp/bohr-cli-linux-arm64": "2.6.
|
|
35
|
-
"@dptech-corp/bohr-cli-windows-amd64": "2.6.
|
|
36
|
-
"@dptech-corp/bohr-cli-windows-arm64": "2.6.
|
|
31
|
+
"@dptech-corp/bohr-cli-darwin-arm64": "2.6.12",
|
|
32
|
+
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.12",
|
|
33
|
+
"@dptech-corp/bohr-cli-linux-amd64": "2.6.12",
|
|
34
|
+
"@dptech-corp/bohr-cli-linux-arm64": "2.6.12",
|
|
35
|
+
"@dptech-corp/bohr-cli-windows-amd64": "2.6.12",
|
|
36
|
+
"@dptech-corp/bohr-cli-windows-arm64": "2.6.12"
|
|
37
37
|
}
|
|
38
38
|
}
|