@dptech-corp/bohr-cli 2.6.9-preview.498 → 2.6.10

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 +12 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -15,6 +15,18 @@
15
15
 
16
16
  ## [Unreleased]
17
17
 
18
+ ## [2.6.10] - 2026-08-12
19
+
20
+ ### Added
21
+
22
+ - `bohr pdf result` 新增 `--objects`、`--pages-dict`、`--pages-tree` 结构化结果开关和 `--formatted plain|markup|markdown|latex|html` 格式化输出;图表、图例、坐标及层级结构保持 UniParser 原始字段,不二次推断数值。
23
+
24
+ ### Fixed
25
+
26
+ - `bohr pdf result` 的 human 输出改用 UniParser 实际返回的 `token/status/content/proc_page/total_page` 并汇总结构化块;上游 `status=failed` 现在返回 `PARSE_FAILED` 和非零退出码。
27
+
28
+ ## [2.6.9] - 2026-08-12
29
+
18
30
  ### Fixed
19
31
 
20
32
  - queued Job 执行 `bohr job +cancel` 时默认在取消受理后立即返回,避免因遗留后端状态同步延迟无意义等待;需要等待展示状态收敛时可显式传 `--wait`。queued Job 执行 `terminate` 会在本地返回 `RESOURCE_CONFLICT` 和可执行的 `+cancel` 提示,不再请求后端的 running-only 接口;`--wait` 与 `--no-wait` 同时使用时会明确报错。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dptech-corp/bohr-cli",
3
- "version": "2.6.9-preview.498",
3
+ "version": "2.6.10",
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-amd64": "2.6.9-preview.498",
32
- "@dptech-corp/bohr-cli-darwin-arm64": "2.6.9-preview.498",
33
- "@dptech-corp/bohr-cli-linux-amd64": "2.6.9-preview.498",
34
- "@dptech-corp/bohr-cli-linux-arm64": "2.6.9-preview.498",
35
- "@dptech-corp/bohr-cli-windows-amd64": "2.6.9-preview.498",
36
- "@dptech-corp/bohr-cli-windows-arm64": "2.6.9-preview.498"
31
+ "@dptech-corp/bohr-cli-darwin-arm64": "2.6.10",
32
+ "@dptech-corp/bohr-cli-darwin-amd64": "2.6.10",
33
+ "@dptech-corp/bohr-cli-linux-amd64": "2.6.10",
34
+ "@dptech-corp/bohr-cli-linux-arm64": "2.6.10",
35
+ "@dptech-corp/bohr-cli-windows-amd64": "2.6.10",
36
+ "@dptech-corp/bohr-cli-windows-arm64": "2.6.10"
37
37
  }
38
38
  }