@soat/cli 0.16.2 → 0.17.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 +12 -12
  2. 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.2";
16
+ var version = "0.17.0";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -1094,7 +1094,7 @@ var routes = {
1094
1094
  "in": "body"
1095
1095
  }, {
1096
1096
  "name": "tool_context",
1097
- "description": "Key-value pairs injected as context headers into all tool call requests made during this generation.",
1097
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this generation. Each key's first character is uppercased and the rest is used verbatim. 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
1098
  "required": false,
1099
1099
  "type": "object",
1100
1100
  "in": "body"
@@ -2164,7 +2164,7 @@ var routes = {
2164
2164
  "in": "body"
2165
2165
  }, {
2166
2166
  "name": "tool_context",
2167
- "description": "Key-value pairs injected as context headers into all tool call requests made during this generation.",
2167
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this generation. Each key's first character is uppercased and the rest is used verbatim; keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
2168
2168
  "required": false,
2169
2169
  "type": "object",
2170
2170
  "in": "body"
@@ -4643,7 +4643,7 @@ var routes = {
4643
4643
  "start-orchestration-run": {
4644
4644
  serviceClass: "Orchestrations",
4645
4645
  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).",
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 \"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
4647
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
4648
4648
  httpMethod: "post",
4649
4649
  pathParams: [],
@@ -4662,7 +4662,7 @@ var routes = {
4662
4662
  "in": "body"
4663
4663
  }, {
4664
4664
  "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 \"running\" and execute the run in the background.",
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 \"queued\" and execute the run in the background.",
4666
4666
  "required": false,
4667
4667
  "type": "boolean",
4668
4668
  "in": "body"
@@ -4715,7 +4715,7 @@ var routes = {
4715
4715
  "resume-orchestration-run": {
4716
4716
  serviceClass: "Orchestrations",
4717
4717
  operationId: "resumeOrchestrationRun",
4718
- description: "Resumes an awaiting_input orchestration run from its last checkpoint.",
4718
+ 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
4719
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/orchestrations",
4720
4720
  httpMethod: "post",
4721
4721
  pathParams: ["run_id"],
@@ -5319,7 +5319,7 @@ var routes = {
5319
5319
  "create-session": {
5320
5320
  serviceClass: "Sessions",
5321
5321
  operationId: "createSession",
5322
- description: "Creates a new session for the specified agent. Internally creates a conversation and two actors (agent + user) so the caller only needs this single call to start interacting with the agent.",
5322
+ 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
5323
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/sessions",
5324
5324
  httpMethod: "post",
5325
5325
  pathParams: [],
@@ -5338,7 +5338,7 @@ var routes = {
5338
5338
  "in": "body"
5339
5339
  }, {
5340
5340
  "name": "actor_id",
5341
- "description": "Optional public ID of an existing actor to use as the user actor",
5341
+ "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
5342
  "required": false,
5343
5343
  "type": "string",
5344
5344
  "in": "body"
@@ -5350,7 +5350,7 @@ var routes = {
5350
5350
  "in": "body"
5351
5351
  }, {
5352
5352
  "name": "tool_context",
5353
- "description": "Key-value pairs injected as context headers into all tool call requests made during this session.",
5353
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this session. Each key's first character is uppercased and the rest is used verbatim. 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
5354
  "required": false,
5355
5355
  "type": "object",
5356
5356
  "in": "body"
@@ -5418,7 +5418,7 @@ var routes = {
5418
5418
  "in": "body"
5419
5419
  }, {
5420
5420
  "name": "tool_context",
5421
- "description": "Key-value pairs injected as context headers into all tool call requests made during this session.",
5421
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this session. Each key's first character is uppercased and the rest is used verbatim. 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
5422
  "required": false,
5423
5423
  "type": "object",
5424
5424
  "in": "body"
@@ -5474,7 +5474,7 @@ var routes = {
5474
5474
  "in": "body"
5475
5475
  }, {
5476
5476
  "name": "tool_context",
5477
- "description": "Key-value pairs injected as context headers into all tool call requests made during this generation.",
5477
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this generation. Each key's first character is uppercased and the rest is used verbatim. 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
5478
  "required": false,
5479
5479
  "type": "object",
5480
5480
  "in": "body"
@@ -5520,7 +5520,7 @@ var routes = {
5520
5520
  "in": "body"
5521
5521
  }, {
5522
5522
  "name": "tool_context",
5523
- "description": "Key-value pairs injected as context headers into all tool call requests made during this generation.",
5523
+ "description": "Key-value pairs forwarded as `X-Soat-Context-<Key>` headers on every `http`, `mcp` and `soat` tool call in this generation. Each key's first character is uppercased and the rest is used verbatim. 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
5524
  "required": false,
5525
5525
  "type": "object",
5526
5526
  "in": "body"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.16.2",
3
+ "version": "0.17.0",
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.16.2"
11
+ "@soat/sdk": "0.17.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@ttoss/config": "^1.37.17",