@soat/cli 0.5.8 → 0.6.1
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/dist/esm/index.js +184 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { program } from "commander";
|
|
|
16
16
|
// package.json
|
|
17
17
|
var package_default = {
|
|
18
18
|
name: "@soat/cli",
|
|
19
|
-
version: "0.
|
|
19
|
+
version: "0.6.1",
|
|
20
20
|
type: "module",
|
|
21
21
|
scripts: {
|
|
22
22
|
generate: "tsx scripts/generate.ts",
|
|
@@ -2251,6 +2251,189 @@ var routes = {
|
|
|
2251
2251
|
"in": "path"
|
|
2252
2252
|
}]
|
|
2253
2253
|
},
|
|
2254
|
+
"list-orchestrations": {
|
|
2255
|
+
serviceClass: "Orchestrations",
|
|
2256
|
+
operationId: "listOrchestrations",
|
|
2257
|
+
description: "Returns orchestrations accessible to the caller.",
|
|
2258
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2259
|
+
pathParams: [],
|
|
2260
|
+
queryParams: ["project_id"],
|
|
2261
|
+
flags: [{
|
|
2262
|
+
"name": "project_id",
|
|
2263
|
+
"description": "Filter by project public ID",
|
|
2264
|
+
"required": false,
|
|
2265
|
+
"type": "string",
|
|
2266
|
+
"in": "query"
|
|
2267
|
+
}]
|
|
2268
|
+
},
|
|
2269
|
+
"create-orchestration": {
|
|
2270
|
+
serviceClass: "Orchestrations",
|
|
2271
|
+
operationId: "createOrchestration",
|
|
2272
|
+
description: "Creates a new orchestration workflow definition in the project.",
|
|
2273
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2274
|
+
pathParams: [],
|
|
2275
|
+
queryParams: [],
|
|
2276
|
+
flags: []
|
|
2277
|
+
},
|
|
2278
|
+
"get-orchestration": {
|
|
2279
|
+
serviceClass: "Orchestrations",
|
|
2280
|
+
operationId: "getOrchestration",
|
|
2281
|
+
description: "Returns the orchestration with nodes and edges.",
|
|
2282
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2283
|
+
pathParams: ["orchestration_id"],
|
|
2284
|
+
queryParams: [],
|
|
2285
|
+
flags: [{
|
|
2286
|
+
"name": "orchestration_id",
|
|
2287
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2288
|
+
"required": true,
|
|
2289
|
+
"type": "string",
|
|
2290
|
+
"in": "path"
|
|
2291
|
+
}]
|
|
2292
|
+
},
|
|
2293
|
+
"update-orchestration": {
|
|
2294
|
+
serviceClass: "Orchestrations",
|
|
2295
|
+
operationId: "updateOrchestration",
|
|
2296
|
+
description: "Partially updates an orchestration definition.",
|
|
2297
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2298
|
+
pathParams: ["orchestration_id"],
|
|
2299
|
+
queryParams: [],
|
|
2300
|
+
flags: [{
|
|
2301
|
+
"name": "orchestration_id",
|
|
2302
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2303
|
+
"required": true,
|
|
2304
|
+
"type": "string",
|
|
2305
|
+
"in": "path"
|
|
2306
|
+
}]
|
|
2307
|
+
},
|
|
2308
|
+
"delete-orchestration": {
|
|
2309
|
+
serviceClass: "Orchestrations",
|
|
2310
|
+
operationId: "deleteOrchestration",
|
|
2311
|
+
description: "Deletes an orchestration definition and all its runs.",
|
|
2312
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2313
|
+
pathParams: ["orchestration_id"],
|
|
2314
|
+
queryParams: [],
|
|
2315
|
+
flags: [{
|
|
2316
|
+
"name": "orchestration_id",
|
|
2317
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2318
|
+
"required": true,
|
|
2319
|
+
"type": "string",
|
|
2320
|
+
"in": "path"
|
|
2321
|
+
}]
|
|
2322
|
+
},
|
|
2323
|
+
"list-runs": {
|
|
2324
|
+
serviceClass: "Orchestrations",
|
|
2325
|
+
operationId: "listRuns",
|
|
2326
|
+
description: "Returns all runs for an orchestration.",
|
|
2327
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2328
|
+
pathParams: ["orchestration_id"],
|
|
2329
|
+
queryParams: [],
|
|
2330
|
+
flags: [{
|
|
2331
|
+
"name": "orchestration_id",
|
|
2332
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2333
|
+
"required": true,
|
|
2334
|
+
"type": "string",
|
|
2335
|
+
"in": "path"
|
|
2336
|
+
}]
|
|
2337
|
+
},
|
|
2338
|
+
"start-run": {
|
|
2339
|
+
serviceClass: "Orchestrations",
|
|
2340
|
+
operationId: "startRun",
|
|
2341
|
+
description: "Creates and immediately executes a new run for the orchestration.",
|
|
2342
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2343
|
+
pathParams: ["orchestration_id"],
|
|
2344
|
+
queryParams: [],
|
|
2345
|
+
flags: [{
|
|
2346
|
+
"name": "orchestration_id",
|
|
2347
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2348
|
+
"required": true,
|
|
2349
|
+
"type": "string",
|
|
2350
|
+
"in": "path"
|
|
2351
|
+
}]
|
|
2352
|
+
},
|
|
2353
|
+
"cancel-run": {
|
|
2354
|
+
serviceClass: "Orchestrations",
|
|
2355
|
+
operationId: "cancelRun",
|
|
2356
|
+
description: "Cancels a running or paused orchestration run.",
|
|
2357
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2358
|
+
pathParams: ["orchestration_id", "run_id"],
|
|
2359
|
+
queryParams: [],
|
|
2360
|
+
flags: [{
|
|
2361
|
+
"name": "orchestration_id",
|
|
2362
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2363
|
+
"required": true,
|
|
2364
|
+
"type": "string",
|
|
2365
|
+
"in": "path"
|
|
2366
|
+
}, {
|
|
2367
|
+
"name": "run_id",
|
|
2368
|
+
"description": "Public ID of the run (run_...)",
|
|
2369
|
+
"required": true,
|
|
2370
|
+
"type": "string",
|
|
2371
|
+
"in": "path"
|
|
2372
|
+
}]
|
|
2373
|
+
},
|
|
2374
|
+
"submit-human-input": {
|
|
2375
|
+
serviceClass: "Orchestrations",
|
|
2376
|
+
operationId: "submitHumanInput",
|
|
2377
|
+
description: "Provides human input to a paused orchestration run waiting at a human node.",
|
|
2378
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2379
|
+
pathParams: ["orchestration_id", "run_id"],
|
|
2380
|
+
queryParams: [],
|
|
2381
|
+
flags: [{
|
|
2382
|
+
"name": "orchestration_id",
|
|
2383
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2384
|
+
"required": true,
|
|
2385
|
+
"type": "string",
|
|
2386
|
+
"in": "path"
|
|
2387
|
+
}, {
|
|
2388
|
+
"name": "run_id",
|
|
2389
|
+
"description": "Public ID of the run (run_...)",
|
|
2390
|
+
"required": true,
|
|
2391
|
+
"type": "string",
|
|
2392
|
+
"in": "path"
|
|
2393
|
+
}]
|
|
2394
|
+
},
|
|
2395
|
+
"resume-run": {
|
|
2396
|
+
serviceClass: "Orchestrations",
|
|
2397
|
+
operationId: "resumeRun",
|
|
2398
|
+
description: "Resumes a paused orchestration run from its last checkpoint.",
|
|
2399
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2400
|
+
pathParams: ["orchestration_id", "run_id"],
|
|
2401
|
+
queryParams: [],
|
|
2402
|
+
flags: [{
|
|
2403
|
+
"name": "orchestration_id",
|
|
2404
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2405
|
+
"required": true,
|
|
2406
|
+
"type": "string",
|
|
2407
|
+
"in": "path"
|
|
2408
|
+
}, {
|
|
2409
|
+
"name": "run_id",
|
|
2410
|
+
"description": "Public ID of the run (run_...)",
|
|
2411
|
+
"required": true,
|
|
2412
|
+
"type": "string",
|
|
2413
|
+
"in": "path"
|
|
2414
|
+
}]
|
|
2415
|
+
},
|
|
2416
|
+
"get-run": {
|
|
2417
|
+
serviceClass: "Orchestrations",
|
|
2418
|
+
operationId: "getRun",
|
|
2419
|
+
description: "Returns the status, state, and artifacts of a specific run.",
|
|
2420
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
2421
|
+
pathParams: ["orchestration_id", "run_id"],
|
|
2422
|
+
queryParams: [],
|
|
2423
|
+
flags: [{
|
|
2424
|
+
"name": "orchestration_id",
|
|
2425
|
+
"description": "Public ID of the orchestration (orch_...)",
|
|
2426
|
+
"required": true,
|
|
2427
|
+
"type": "string",
|
|
2428
|
+
"in": "path"
|
|
2429
|
+
}, {
|
|
2430
|
+
"name": "run_id",
|
|
2431
|
+
"description": "Public ID of the run (run_...)",
|
|
2432
|
+
"required": true,
|
|
2433
|
+
"type": "string",
|
|
2434
|
+
"in": "path"
|
|
2435
|
+
}]
|
|
2436
|
+
},
|
|
2254
2437
|
"list-policies": {
|
|
2255
2438
|
serviceClass: "Policies",
|
|
2256
2439
|
operationId: "listPolicies",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.0.12",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.10",
|
|
9
9
|
"commander": "^14.0.3",
|
|
10
10
|
"js-yaml": "^4.1.1",
|
|
11
|
-
"@soat/sdk": "0.
|
|
11
|
+
"@soat/sdk": "0.6.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.10",
|