@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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
@@ -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`
|
|
28
|
+
CLI 内部每 5 秒轮询一次,`finished=true` 时返回,结果中包含 `execution_id`。只消耗 **1 次 tool call**,适合不关心中间进度的场景。
|
|
29
29
|
|
|
30
30
|
### 方式二:手动轮询(需要看实时输出时)
|
|
31
31
|
|