@soat/cli 0.32.0 → 0.33.0

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 +17 -5
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import * as os from "node:os";
13
13
  import { createHmac, timingSafeEqual } from "node:crypto";
14
14
 
15
15
  //#region package.json
16
- var version = "0.32.0";
16
+ var version = "0.33.0";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -5588,17 +5588,29 @@ var routes = {
5588
5588
  "list-orchestration-runs": {
5589
5589
  serviceClass: "Orchestrations",
5590
5590
  operationId: "listOrchestrationRuns",
5591
- description: "Returns orchestration runs the caller can access, optionally filtered by orchestration.",
5591
+ description: "Returns orchestration runs the caller can access, optionally filtered by orchestration, by parent run, or by whether the run has a parent at all. Note when aggregating: a run's `usage` covers its whole subtree, so summing it over a list that contains both a parent and its children counts the children more than once. Pass `nested=false` to sum over runs a caller started.",
5592
5592
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
5593
5593
  httpMethod: "get",
5594
5594
  pathParams: [],
5595
- queryParams: ["orchestration_id", "limit", "offset"],
5595
+ queryParams: ["orchestration_id", "parent_orchestration_run_id", "nested", "limit", "offset"],
5596
5596
  flags: [{
5597
5597
  "name": "orchestration_id",
5598
5598
  "description": "Filter by orchestration public ID (orch_...)",
5599
5599
  "required": false,
5600
5600
  "type": "string",
5601
5601
  "in": "query"
5602
+ }, {
5603
+ "name": "parent_orchestration_run_id",
5604
+ "description": "Filter to the runs one specific parent run's `loop` / `sub_orchestration` nodes started (run_...). This is how a caller holding a parent names the individual children behind its `usage`.",
5605
+ "required": false,
5606
+ "type": "string",
5607
+ "in": "query"
5608
+ }, {
5609
+ "name": "nested",
5610
+ "description": "Filter by whether the run was started by another run. `false` returns only the runs a caller started (no parent), which is the set to sum `usage` over; `true` returns only the runs a `loop` / `sub_orchestration` node started, across every parent. Omit to return both.\n\nContradicting `parent_orchestration_run_id` with `nested=false` is a `400`; any value other than `true` or `false` is a `400`.",
5611
+ "required": false,
5612
+ "type": "boolean",
5613
+ "in": "query"
5602
5614
  }, {
5603
5615
  "name": "limit",
5604
5616
  "description": "Maximum number of results to return",
@@ -7003,7 +7015,7 @@ var routes = {
7003
7015
  "in": "body"
7004
7016
  }, {
7005
7017
  "name": "preset_parameters",
7006
- "description": "Fixed parameters pinned on every call this tool makes, whatever its type. Keys matching fields in the input schema are removed from the schema shown to the model, and a pinned value wins over one the model or a direct caller supplies for the same key.",
7018
+ "description": "Fixed parameters pinned on every call this tool makes, whatever its type. Keys matching fields in the input schema are removed from the schema shown to the model, and a pinned value wins over one the model or a direct caller supplies for the same key.\n\nValues accept `{{context:<key>}}` references, resolved per call from the caller's `tool_context`, so a pin can be the run's own value — the one account this run may act on — rather than one fixed when the tool was created. A resolved value is retyped to the parameter's declared schema type; a key missing from the call's `tool_context` fails the call with `MISSING_TOOL_CONTEXT_KEY` rather than sending the literal placeholder. `{{secret:...}}` is not resolved here. See the Tool Context reference.",
7007
7019
  "required": false,
7008
7020
  "type": "object",
7009
7021
  "in": "body"
@@ -7113,7 +7125,7 @@ var routes = {
7113
7125
  "in": "body"
7114
7126
  }, {
7115
7127
  "name": "preset_parameters",
7116
- "description": "Fixed parameters pinned on every call this tool makes, whatever its type. Keys matching fields in the input schema are removed from the schema shown to the model, and a pinned value wins over one the model or a direct caller supplies for the same key.",
7128
+ "description": "Fixed parameters pinned on every call this tool makes, whatever its type. Keys matching fields in the input schema are removed from the schema shown to the model, and a pinned value wins over one the model or a direct caller supplies for the same key.\n\nValues accept `{{context:<key>}}` references, resolved per call from the caller's `tool_context`, so a pin can be the run's own value — the one account this run may act on — rather than one fixed when the tool was created. A resolved value is retyped to the parameter's declared schema type; a key missing from the call's `tool_context` fails the call with `MISSING_TOOL_CONTEXT_KEY` rather than sending the literal placeholder. `{{secret:...}}` is not resolved here. See the Tool Context reference.",
7117
7129
  "required": false,
7118
7130
  "type": "object",
7119
7131
  "in": "body"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "CLI for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@inquirer/input": "^5.1.2",
24
24
  "@inquirer/password": "^5.1.1",
25
- "@soat/sdk": "0.32.0",
25
+ "@soat/sdk": "0.33.0",
26
26
  "@ttoss/logger": "^0.8.19",
27
27
  "commander": "^15.0.0",
28
28
  "js-yaml": "^5.2.1"