@soat/cli 0.31.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 +19 -7
  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.31.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 merged into every builtin tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.",
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 merged into every builtin tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.",
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"
@@ -7156,7 +7168,7 @@ var routes = {
7156
7168
  "call-tool": {
7157
7169
  serviceClass: "Tools",
7158
7170
  operationId: "callTool",
7159
- description: "Directly invokes a tool and returns its output. Supported for `http`, `builtin`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input. For `builtin` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored. When a `builtin` or `mcp` tool declares an `actions` allowlist, an action outside it is rejected with `400 VALIDATION_FAILED` (\"not available on this tool\") before any outbound request is made. `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.",
7171
+ description: "Directly invokes a tool and returns its output. Supported for `http`, `builtin`, `mcp`, and `pipeline` tools. `client` tools cannot be invoked server-side and will return 422. A `pipeline` tool runs its declared steps in order and returns the mapped `output` (or the last step's output); `action` is ignored and `input` is the pipeline input. For `builtin` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored. When a `builtin` or `mcp` tool declares an `actions` allowlist, an action outside it is rejected with `400 VALIDATION_FAILED` (\"not available on this tool\") before any outbound request is made. `preset_parameters` stored on the tool are pinned over the caller-supplied `input` before execution: a key the tool presets keeps its preset value even when `input` sets it. Keys the presets do not name are taken from `input` as sent.",
7160
7172
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/tools",
7161
7173
  httpMethod: "post",
7162
7174
  pathParams: ["tool_id"],
@@ -7175,7 +7187,7 @@ var routes = {
7175
7187
  "in": "body"
7176
7188
  }, {
7177
7189
  "name": "input",
7178
- "description": "Input parameters for the tool call. These are merged with the tool's `preset_parameters` before execution (caller-supplied values take precedence).\n",
7190
+ "description": "Input parameters for the tool call. These are merged with the tool's `preset_parameters` before execution; a preset value wins over the same key sent here.\n",
7179
7191
  "required": false,
7180
7192
  "type": "object",
7181
7193
  "in": "body"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.31.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.31.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"