@soat/cli 0.13.0 → 0.13.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.
Files changed (2) hide show
  1. package/dist/index.mjs +28 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ import yaml from "js-yaml";
11
11
  import * as os from "node:os";
12
12
 
13
13
  //#region package.json
14
- var version = "0.13.0";
14
+ var version = "0.13.1";
15
15
 
16
16
  //#endregion
17
17
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -2620,6 +2620,33 @@ var routes = {
2620
2620
  "in": "body"
2621
2621
  }]
2622
2622
  },
2623
+ "validate-orchestration": {
2624
+ serviceClass: "Orchestrations",
2625
+ operationId: "validateOrchestration",
2626
+ description: "Statically validates an orchestration graph without persisting anything. Checks that every node has its required field, node ids are unique, edges reference existing nodes, the graph is acyclic (unless it contains a loop node), and every `input_mapping` `{\"var\": \"...\"}` reference resolves to a state key written by an upstream node or seeded by `input_schema`. Returns blocking `errors` and non-blocking `warnings` (e.g. a state key only written on a conditional branch). The same `errors` checks are enforced on create and update, which fail with `400` when any error is present.",
2627
+ moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
2628
+ pathParams: [],
2629
+ queryParams: [],
2630
+ flags: [{
2631
+ "name": "nodes",
2632
+ "description": "",
2633
+ "required": true,
2634
+ "type": "array",
2635
+ "in": "body"
2636
+ }, {
2637
+ "name": "edges",
2638
+ "description": "",
2639
+ "required": true,
2640
+ "type": "array",
2641
+ "in": "body"
2642
+ }, {
2643
+ "name": "input_schema",
2644
+ "description": "Optional JSON Schema for run inputs; its top-level properties seed state.",
2645
+ "required": false,
2646
+ "type": "object",
2647
+ "in": "body"
2648
+ }]
2649
+ },
2623
2650
  "get-orchestration": {
2624
2651
  serviceClass: "Orchestrations",
2625
2652
  operationId: "getOrchestration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@inquirer/input": "^5.1.2",
@@ -8,7 +8,7 @@
8
8
  "@ttoss/logger": "^0.8.16",
9
9
  "commander": "^15.0.0",
10
10
  "js-yaml": "^4.2.0",
11
- "@soat/sdk": "0.13.0"
11
+ "@soat/sdk": "0.13.1"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@ttoss/config": "^1.37.15",