@soat/cli 0.16.3 → 0.17.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/index.mjs +53 -13
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { load } from "js-yaml";
|
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "0.
|
|
16
|
+
var version = "0.17.1";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -338,6 +338,46 @@ var resolveClient = profileName => {
|
|
|
338
338
|
//#endregion
|
|
339
339
|
//#region src/generated/routes.ts
|
|
340
340
|
var routes = {
|
|
341
|
+
"list-activity": {
|
|
342
|
+
serviceClass: "Activity",
|
|
343
|
+
operationId: "listActivity",
|
|
344
|
+
description: "Returns activity entries for a project, newest first, filterable by kind and severity. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
|
|
345
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/activity",
|
|
346
|
+
httpMethod: "get",
|
|
347
|
+
pathParams: [],
|
|
348
|
+
queryParams: ["project_id", "kind", "severity", "cursor", "limit"],
|
|
349
|
+
flags: [{
|
|
350
|
+
"name": "project_id",
|
|
351
|
+
"description": "Project ID (required if not using project key auth)",
|
|
352
|
+
"required": false,
|
|
353
|
+
"type": "string",
|
|
354
|
+
"in": "query"
|
|
355
|
+
}, {
|
|
356
|
+
"name": "kind",
|
|
357
|
+
"description": "Filter by activity kind",
|
|
358
|
+
"required": false,
|
|
359
|
+
"type": "string",
|
|
360
|
+
"in": "query"
|
|
361
|
+
}, {
|
|
362
|
+
"name": "severity",
|
|
363
|
+
"description": "Filter by severity",
|
|
364
|
+
"required": false,
|
|
365
|
+
"type": "string",
|
|
366
|
+
"in": "query"
|
|
367
|
+
}, {
|
|
368
|
+
"name": "cursor",
|
|
369
|
+
"description": "Opaque cursor from a previous page's `next_cursor`",
|
|
370
|
+
"required": false,
|
|
371
|
+
"type": "string",
|
|
372
|
+
"in": "query"
|
|
373
|
+
}, {
|
|
374
|
+
"name": "limit",
|
|
375
|
+
"description": "Maximum number of results to return",
|
|
376
|
+
"required": false,
|
|
377
|
+
"type": "integer",
|
|
378
|
+
"in": "query"
|
|
379
|
+
}]
|
|
380
|
+
},
|
|
341
381
|
"list-actors": {
|
|
342
382
|
serviceClass: "Actors",
|
|
343
383
|
operationId: "listActors",
|
|
@@ -1094,7 +1134,7 @@ var routes = {
|
|
|
1094
1134
|
"in": "body"
|
|
1095
1135
|
}, {
|
|
1096
1136
|
"name": "tool_context",
|
|
1097
|
-
"description": "Key-value pairs
|
|
1137
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
1098
1138
|
"required": false,
|
|
1099
1139
|
"type": "object",
|
|
1100
1140
|
"in": "body"
|
|
@@ -2164,7 +2204,7 @@ var routes = {
|
|
|
2164
2204
|
"in": "body"
|
|
2165
2205
|
}, {
|
|
2166
2206
|
"name": "tool_context",
|
|
2167
|
-
"description": "Key-value pairs
|
|
2207
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased and keys are never case-converted, so they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
2168
2208
|
"required": false,
|
|
2169
2209
|
"type": "object",
|
|
2170
2210
|
"in": "body"
|
|
@@ -4643,7 +4683,7 @@ var routes = {
|
|
|
4643
4683
|
"start-orchestration-run": {
|
|
4644
4684
|
serviceClass: "Orchestrations",
|
|
4645
4685
|
operationId: "startOrchestrationRun",
|
|
4646
|
-
description: "Creates a new run for the orchestration named by orchestration_id. By default the run executes durably in the background: the response returns immediately with status \"running\" and progress is observed via get-orchestration-run or run lifecycle webhook events (orchestration_runs.started/awaiting_input/succeeded/failed). Delay and poll waits park the run as \"sleeping\" and are woken by a background scheduler, surviving restarts. Pass wait=true to block until the run reaches a terminal or awaiting_input state (the legacy synchronous behaviour).",
|
|
4686
|
+
description: "Creates a new run for the orchestration named by orchestration_id. By default the run executes durably in the background: the response returns immediately with status \"queued\" (a worker then claims it and moves it to \"running\") and progress is observed via get-orchestration-run or run lifecycle webhook events (orchestration_runs.started/awaiting_input/succeeded/failed). Delay and poll waits park the run as \"sleeping\" and are woken by a background scheduler, surviving restarts. Pass wait=true to block until the run reaches a terminal or awaiting_input state (the legacy synchronous behaviour).",
|
|
4647
4687
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
4648
4688
|
httpMethod: "post",
|
|
4649
4689
|
pathParams: [],
|
|
@@ -4662,7 +4702,7 @@ var routes = {
|
|
|
4662
4702
|
"in": "body"
|
|
4663
4703
|
}, {
|
|
4664
4704
|
"name": "wait",
|
|
4665
|
-
"description": "When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status \"
|
|
4705
|
+
"description": "When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status \"queued\" and execute the run in the background.",
|
|
4666
4706
|
"required": false,
|
|
4667
4707
|
"type": "boolean",
|
|
4668
4708
|
"in": "body"
|
|
@@ -4715,7 +4755,7 @@ var routes = {
|
|
|
4715
4755
|
"resume-orchestration-run": {
|
|
4716
4756
|
serviceClass: "Orchestrations",
|
|
4717
4757
|
operationId: "resumeOrchestrationRun",
|
|
4718
|
-
description: "
|
|
4758
|
+
description: "Re-drives an awaiting_input orchestration run from its last checkpoint. This does not satisfy the pause itself — it carries no node_id or payload, so a run parked on a human or webhook-receive node re-parks on the same node. Use submit-human-input to supply the awaited payload and advance the run.",
|
|
4719
4759
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
|
|
4720
4760
|
httpMethod: "post",
|
|
4721
4761
|
pathParams: ["run_id"],
|
|
@@ -5070,7 +5110,7 @@ var routes = {
|
|
|
5070
5110
|
"in": "body"
|
|
5071
5111
|
}, {
|
|
5072
5112
|
"name": "scope_ref",
|
|
5073
|
-
"description": "Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.",
|
|
5113
|
+
"description": "Public id of the api key / agent / actor the quota applies to. For `api_key` and `agent` scope, NULL means all entities of that scope type in the project. For `actor` scope, NULL means one budget *per* actor — each end user gets their own allowance — rather than a pooled total across all actors.",
|
|
5074
5114
|
"required": false,
|
|
5075
5115
|
"type": "string",
|
|
5076
5116
|
"in": "body"
|
|
@@ -5319,7 +5359,7 @@ var routes = {
|
|
|
5319
5359
|
"create-session": {
|
|
5320
5360
|
serviceClass: "Sessions",
|
|
5321
5361
|
operationId: "createSession",
|
|
5322
|
-
description: "Creates a new session for the specified agent
|
|
5362
|
+
description: "Creates a new session for the specified agent, along with the underlying conversation, so the caller only needs this single call to start interacting with the agent. No actor is created: pass `actor_id` to attach an existing actor as the session's end user. When it is omitted the session has no actor, and generations in it carry no end-user attribution — they are not billed to an actor in the usage meter and they match no `actor`-scoped quota.",
|
|
5323
5363
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/sessions",
|
|
5324
5364
|
httpMethod: "post",
|
|
5325
5365
|
pathParams: [],
|
|
@@ -5338,7 +5378,7 @@ var routes = {
|
|
|
5338
5378
|
"in": "body"
|
|
5339
5379
|
}, {
|
|
5340
5380
|
"name": "actor_id",
|
|
5341
|
-
"description": "Optional public ID of an existing actor to use as the user actor",
|
|
5381
|
+
"description": "Optional public ID of an existing actor to use as the user actor. Actors are created separately (POST /actors); this field only links one. Omit it and the session has no end user, so its generations match no actor-scoped quota.\n",
|
|
5342
5382
|
"required": false,
|
|
5343
5383
|
"type": "string",
|
|
5344
5384
|
"in": "body"
|
|
@@ -5350,7 +5390,7 @@ var routes = {
|
|
|
5350
5390
|
"in": "body"
|
|
5351
5391
|
}, {
|
|
5352
5392
|
"name": "tool_context",
|
|
5353
|
-
"description": "Key-value pairs
|
|
5393
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this session. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5354
5394
|
"required": false,
|
|
5355
5395
|
"type": "object",
|
|
5356
5396
|
"in": "body"
|
|
@@ -5418,7 +5458,7 @@ var routes = {
|
|
|
5418
5458
|
"in": "body"
|
|
5419
5459
|
}, {
|
|
5420
5460
|
"name": "tool_context",
|
|
5421
|
-
"description": "Key-value pairs
|
|
5461
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this session. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5422
5462
|
"required": false,
|
|
5423
5463
|
"type": "object",
|
|
5424
5464
|
"in": "body"
|
|
@@ -5474,7 +5514,7 @@ var routes = {
|
|
|
5474
5514
|
"in": "body"
|
|
5475
5515
|
}, {
|
|
5476
5516
|
"name": "tool_context",
|
|
5477
|
-
"description": "Key-value pairs
|
|
5517
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5478
5518
|
"required": false,
|
|
5479
5519
|
"type": "object",
|
|
5480
5520
|
"in": "body"
|
|
@@ -5520,7 +5560,7 @@ var routes = {
|
|
|
5520
5560
|
"in": "body"
|
|
5521
5561
|
}, {
|
|
5522
5562
|
"name": "tool_context",
|
|
5523
|
-
"description": "Key-value pairs
|
|
5563
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5524
5564
|
"required": false,
|
|
5525
5565
|
"type": "object",
|
|
5526
5566
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.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.19",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^5.2.1",
|
|
11
|
-
"@soat/sdk": "0.
|
|
11
|
+
"@soat/sdk": "0.17.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.17",
|