@cargo-ai/cli 1.0.52 → 1.0.53

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.
@@ -12,7 +12,7 @@ export function registerBatchCommands(parent, getApi) {
12
12
  .option("--parent-batch-uuid <uuid>", "Filter by parent batch UUID (string)")
13
13
  .option("--parent-run-uuid <uuid>", "Filter by parent run UUID (string)")
14
14
  .option("--parent-node-uuid <uuid>", "Filter by parent node UUID (string)")
15
- .option("--statuses <list>", "Filter by statuses (comma-separated: pending,running,finished,failed,cancelled)")
15
+ .option("--statuses <list>", "Filter by statuses (comma-separated: pending,syncing,skipped,querying,running,success,cancelling,error,cancelled)")
16
16
  .option("--has-runs", "Only return batches that have runs (boolean flag)")
17
17
  .option("--is-skipped", "Only return skipped batches (boolean flag)")
18
18
  .option("--is-finished", "Only return finished batches (boolean flag)")
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/commands/orchestration/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAexC,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,IAAI,CAsnB5E"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/commands/orchestration/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAexC,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,IAAI,CA+nB5E"}
@@ -10,7 +10,7 @@ export function registerRunCommands(parent, getApi) {
10
10
  .requiredOption("--workflow-uuid <uuid>", "Workflow UUID (string, required)")
11
11
  .option("--batch-uuid <uuid>", "Filter by batch UUID (string)")
12
12
  .option("--release-uuid <uuid>", "Filter by release UUID (string)")
13
- .option("--statuses <list>", "Filter by statuses (comma-separated: pending,running,finished,failed,cancelled)")
13
+ .option("--statuses <list>", "Filter by statuses (comma-separated: idle,pending,running,success,error,cancelling,cancelled,skipped)")
14
14
  .option("--parent-batch-uuid <uuid>", "Filter by parent batch UUID (string)")
15
15
  .option("--parent-uuid <uuid>", "Filter by parent run UUID (string)")
16
16
  .option("--parent-node-uuid <uuid>", "Filter by parent node UUID (string)")
@@ -144,7 +144,7 @@ Examples:
144
144
  .requiredOption("--workflow-uuid <uuid>", "Workflow UUID (string, required)")
145
145
  .option("--batch-uuid <uuid>", "Filter by batch UUID (string)")
146
146
  .option("--release-uuid <uuid>", "Filter by release UUID (string)")
147
- .option("--statuses <list>", "Filter by statuses (comma-separated: pending,running,finished,failed,cancelled)")
147
+ .option("--statuses <list>", "Filter by statuses (comma-separated: idle,pending,running,success,error,cancelling,cancelled,skipped)")
148
148
  .option("--parent-batch-uuid <uuid>", "Filter by parent batch UUID (string)")
149
149
  .option("--parent-uuid <uuid>", "Filter by parent run UUID (string)")
150
150
  .option("--parent-node-uuid <uuid>", "Filter by parent node UUID (string)")
@@ -189,9 +189,10 @@ Examples:
189
189
  .command("download")
190
190
  .description("Download run results as JSON")
191
191
  .requiredOption("--workflow-uuid <uuid>", "Workflow UUID (string, required)")
192
+ .option("--uuids <list>", "Only these run UUIDs (comma-separated). Use to export a known set of runs.")
192
193
  .option("--batch-uuid <uuid>", "Filter by batch UUID (string)")
193
194
  .option("--release-uuid <uuid>", "Filter by release UUID (string)")
194
- .option("--statuses <list>", "Filter by statuses (comma-separated: pending,running,finished,failed,cancelled)")
195
+ .option("--statuses <list>", "Filter by statuses (comma-separated: idle,pending,running,success,error,cancelling,cancelled,skipped)")
195
196
  .option("--parent-batch-uuid <uuid>", "Filter by parent batch UUID (string)")
196
197
  .option("--parent-uuid <uuid>", "Filter by parent run UUID (string)")
197
198
  .option("--parent-node-uuid <uuid>", "Filter by parent node UUID (string)")
@@ -209,6 +210,9 @@ Examples:
209
210
  const api = getApi();
210
211
  const result = await handleApiCall(() => api.orchestration.run.download({
211
212
  workflowUuid: opts.workflowUuid,
213
+ uuids: opts.uuids !== undefined
214
+ ? opts.uuids.split(",").map((uuid) => uuid.trim())
215
+ : undefined,
212
216
  batchUuid: opts.batchUuid,
213
217
  releaseUuid: opts.releaseUuid,
214
218
  statuses: opts.statuses !== undefined
@@ -240,7 +244,7 @@ Examples:
240
244
  .option("--format <format>", "Export format: csv | json (default: csv)", "csv")
241
245
  .option("--batch-uuid <uuid>", "Filter by batch UUID (string)")
242
246
  .option("--release-uuid <uuid>", "Filter by release UUID (string)")
243
- .option("--statuses <list>", "Filter by statuses (comma-separated: pending,running,finished,failed,cancelled)")
247
+ .option("--statuses <list>", "Filter by statuses (comma-separated: idle,pending,running,success,error,cancelling,cancelled,skipped)")
244
248
  .option("--parent-batch-uuid <uuid>", "Filter by parent batch UUID (string)")
245
249
  .option("--parent-uuid <uuid>", "Filter by parent run UUID (string)")
246
250
  .option("--parent-node-uuid <uuid>", "Filter by parent node UUID (string)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cargo-ai/cli",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://getcargo.ai",