@soat/cli 0.13.2 → 0.13.4
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/index.mjs +36 -6
- 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.
|
|
14
|
+
var version = "0.13.4";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1654,8 +1654,14 @@ var routes = {
|
|
|
1654
1654
|
description: "Parses an already-uploaded file and creates one Document split into one or more embedded chunks. The source format is detected from the file's content type: PDFs are parsed page-by-page; `text/plain` and `text/markdown` files are read as a single source. How the source is chunked is controlled by `chunk_strategy`.",
|
|
1655
1655
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
|
|
1656
1656
|
pathParams: [],
|
|
1657
|
-
queryParams: [],
|
|
1657
|
+
queryParams: ["async"],
|
|
1658
1658
|
flags: [{
|
|
1659
|
+
"name": "async",
|
|
1660
|
+
"description": "When omitted or `true` (default), processing runs in the background and `202 Accepted` is returned immediately with `status=pending`. Pass `false` to run synchronously and receive `201 Created` with `status=ready`.",
|
|
1661
|
+
"required": false,
|
|
1662
|
+
"type": "boolean",
|
|
1663
|
+
"in": "query"
|
|
1664
|
+
}, {
|
|
1659
1665
|
"name": "file_id",
|
|
1660
1666
|
"description": "ID of the uploaded file. Must be one of application/pdf, text/plain, text/markdown.",
|
|
1661
1667
|
"required": true,
|
|
@@ -2296,7 +2302,7 @@ var routes = {
|
|
|
2296
2302
|
description: "Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).",
|
|
2297
2303
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/generations",
|
|
2298
2304
|
pathParams: [],
|
|
2299
|
-
queryParams: ["agent_id", "trace_id", "status", "limit", "offset"],
|
|
2305
|
+
queryParams: ["agent_id", "trace_id", "initiator_generation_id", "status", "limit", "offset"],
|
|
2300
2306
|
flags: [{
|
|
2301
2307
|
"name": "agent_id",
|
|
2302
2308
|
"description": "Filter by agent public ID",
|
|
@@ -2309,6 +2315,12 @@ var routes = {
|
|
|
2309
2315
|
"required": false,
|
|
2310
2316
|
"type": "string",
|
|
2311
2317
|
"in": "query"
|
|
2318
|
+
}, {
|
|
2319
|
+
"name": "initiator_generation_id",
|
|
2320
|
+
"description": "Filter by the public ID of the parent generation. Returns all generations triggered by that generation — debate perspective turns, synthesis steps, and sub-agent invocations. Null-initiated (top-level) generations are not returned.\n",
|
|
2321
|
+
"required": false,
|
|
2322
|
+
"type": "string",
|
|
2323
|
+
"in": "query"
|
|
2312
2324
|
}, {
|
|
2313
2325
|
"name": "status",
|
|
2314
2326
|
"description": "Filter by lifecycle status",
|
|
@@ -2553,7 +2565,7 @@ var routes = {
|
|
|
2553
2565
|
"type": "string",
|
|
2554
2566
|
"in": "body"
|
|
2555
2567
|
}, {
|
|
2556
|
-
"name": "
|
|
2568
|
+
"name": "source_type",
|
|
2557
2569
|
"description": "How this entry was created",
|
|
2558
2570
|
"required": false,
|
|
2559
2571
|
"type": "string",
|
|
@@ -3566,6 +3578,12 @@ var routes = {
|
|
|
3566
3578
|
"required": false,
|
|
3567
3579
|
"type": "object",
|
|
3568
3580
|
"in": "body"
|
|
3581
|
+
}, {
|
|
3582
|
+
"name": "pipeline",
|
|
3583
|
+
"description": "Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.",
|
|
3584
|
+
"required": false,
|
|
3585
|
+
"type": "object",
|
|
3586
|
+
"in": "body"
|
|
3569
3587
|
}]
|
|
3570
3588
|
},
|
|
3571
3589
|
"get-tool": {
|
|
@@ -3644,6 +3662,12 @@ var routes = {
|
|
|
3644
3662
|
"required": false,
|
|
3645
3663
|
"type": "object",
|
|
3646
3664
|
"in": "body"
|
|
3665
|
+
}, {
|
|
3666
|
+
"name": "pipeline",
|
|
3667
|
+
"description": "Pipeline definition for `pipeline` tools. See the `pipeline` field on the Tool schema for the full structure.",
|
|
3668
|
+
"required": false,
|
|
3669
|
+
"type": "object",
|
|
3670
|
+
"in": "body"
|
|
3647
3671
|
}]
|
|
3648
3672
|
},
|
|
3649
3673
|
"delete-tool": {
|
|
@@ -3664,7 +3688,7 @@ var routes = {
|
|
|
3664
3688
|
"call-tool": {
|
|
3665
3689
|
serviceClass: "Tools",
|
|
3666
3690
|
operationId: "callTool",
|
|
3667
|
-
description: "Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `
|
|
3691
|
+
description: "Directly invokes a tool and returns its output. Supported for `http`, `soat`, `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 `soat` 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. `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.",
|
|
3668
3692
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/tools",
|
|
3669
3693
|
pathParams: ["tool_id"],
|
|
3670
3694
|
queryParams: [],
|
|
@@ -3736,13 +3760,19 @@ var routes = {
|
|
|
3736
3760
|
description: "Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace.",
|
|
3737
3761
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/traces",
|
|
3738
3762
|
pathParams: ["trace_id"],
|
|
3739
|
-
queryParams: [],
|
|
3763
|
+
queryParams: ["include"],
|
|
3740
3764
|
flags: [{
|
|
3741
3765
|
"name": "trace_id",
|
|
3742
3766
|
"description": "Public ID of any trace in the tree (root or child)",
|
|
3743
3767
|
"required": true,
|
|
3744
3768
|
"type": "string",
|
|
3745
3769
|
"in": "path"
|
|
3770
|
+
}, {
|
|
3771
|
+
"name": "include",
|
|
3772
|
+
"description": "Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including debate perspective/synthesis children linked via `initiator_generation_id`).\n",
|
|
3773
|
+
"required": false,
|
|
3774
|
+
"type": "string",
|
|
3775
|
+
"in": "query"
|
|
3746
3776
|
}]
|
|
3747
3777
|
},
|
|
3748
3778
|
"get-current-user": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
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.
|
|
11
|
+
"@soat/sdk": "0.13.4"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|