@delta-infra/cli 1.0.25 → 1.0.26

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/checksums.txt CHANGED
@@ -1,5 +1,5 @@
1
- fa53dcabb2b3b4cca5630260a95ba53860a6b9c97c5061b8d86a634dac949558 delta-cli-darwin-amd64.tar.gz
2
- 3cff0631648e9be3a7179d2972c947210d38983cfd95b942e6b9b256baa0d230 delta-cli-darwin-arm64.tar.gz
3
- 26d4cf85421cac8afd28915f12b5c78c68f063c5c66ab51c3b3ec33278776490 delta-cli-linux-amd64.tar.gz
4
- 85ce4d0c2ffeab8137470f7a39e7e50b705d0000bb2afd0fa84dfb9a2edb08d2 delta-cli-linux-arm64.tar.gz
5
- 13049832352eb3c3da1e5decadfa3794426c8ae62e398b050d0703f894b90ca7 delta-cli-windows-amd64.zip
1
+ 110cb296b55737119c1a0338af0c659e7c4707fe5de634697fa7ef0bcf098a25 delta-cli-darwin-amd64.tar.gz
2
+ 50ed88ad864a6c1e6775c79d08977c8682e122f109e5aed3fe6abfa0452a0c26 delta-cli-darwin-arm64.tar.gz
3
+ 11a43205c93dfa12e57543171c810dac20f08bdb4bf91a38c510a8989f65f806 delta-cli-linux-amd64.tar.gz
4
+ 90e8f18aec87969d1b9a48ff4e74ea2eef25ef0681ee7fbb50f085a4fd2d92e1 delta-cli-linux-arm64.tar.gz
5
+ b2a18ddff838feea1c3325a8c287c5e0c209f221085883c12b0f0ede75276e70 delta-cli-windows-amd64.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -41,7 +41,7 @@ metadata:
41
41
  ```bash
42
42
  delta-cli sandbox run-bg <id> --command "<命令>" --timeout <秒> --wait
43
43
  ```
44
- CLI 在内部每 5 秒轮询一次 `logs`,直到 `finished=true` 或超时,然后一次性返回 `{running, finished, exit_code, content}`。适合只关心最终结果、不需要查看中间进度的场景。
44
+ CLI 在内部每 5 秒轮询一次 `logs`,直到 `finished=true` 或超时,然后一次性返回 `{execution_id, running, finished, exit_code, content}`。返回的 `execution_id` 可在后续用于 `sandbox logs` / `status bg` / `cancel`。适合只关心最终结果、不需要查看中间进度的场景。
45
45
 
46
46
  **手动轮询(需要查看中间进度时)**:
47
47
  如果不加 `--wait` 或需要查看实时输出,用 `sandbox logs <id> --execution-id <exec_id>` 手动轮询:
@@ -25,7 +25,7 @@
25
25
  ```bash
26
26
  delta-cli sandbox run-bg <id> --command "<命令>" --timeout 7200 --wait
27
27
  ```
28
- CLI 内部每 5 秒轮询一次,`finished=true` 时返回。只消耗 **1 次 tool call**,适合不关心中间进度的场景。
28
+ CLI 内部每 5 秒轮询一次,`finished=true` 时返回,结果中包含 `execution_id`。只消耗 **1 次 tool call**,适合不关心中间进度的场景。
29
29
 
30
30
  ### 方式二:手动轮询(需要看实时输出时)
31
31