@soat/cli 0.55.0 → 0.57.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.
- package/dist/index.mjs +28 -4
- 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.
|
|
16
|
+
var version = "0.57.0";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1326,7 +1326,7 @@ var routes = {
|
|
|
1326
1326
|
"in": "body"
|
|
1327
1327
|
}, {
|
|
1328
1328
|
"name": "knowledge_config",
|
|
1329
|
-
"description": "Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, limit) use the per-generation value when present.",
|
|
1329
|
+
"description": "Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, rrf_k, recency_half_life_days, limit) use the per-generation value when present.",
|
|
1330
1330
|
"required": false,
|
|
1331
1331
|
"type": "object",
|
|
1332
1332
|
"in": "body"
|
|
@@ -6310,7 +6310,7 @@ var routes = {
|
|
|
6310
6310
|
"in": "body"
|
|
6311
6311
|
}, {
|
|
6312
6312
|
"name": "tool_context",
|
|
6313
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `builtin` tool call made by an agent node of this run — including the agents of any child run a `loop` or `sub_orchestration` node starts. The header name is `X-Soat-Context-` plus the key verbatim; no character is re-cased.\n\nThe bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. 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` and no run is created.\n\nThe reserved identity keys (`session_id`, `actor_id`, `actor_external_id`) are stripped at generation time — a caller cannot address them from here.",
|
|
6313
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `builtin` tool call made by an agent node of this run — including the agents of any child run a `loop` or `sub_orchestration` node starts. The header name is `X-Soat-Context-` plus the key verbatim; no character is re-cased.\n\nThe bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. It is **write-only**: a run is a record every principal who may read runs can read, and a credential in it is not theirs to see, so it is never returned on one. 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` and no run is created.\n\nThe reserved identity keys (`session_id`, `actor_id`, `actor_external_id`) are stripped at generation time — a caller cannot address them from here.",
|
|
6314
6314
|
"required": false,
|
|
6315
6315
|
"type": "object",
|
|
6316
6316
|
"in": "body"
|
|
@@ -6611,7 +6611,7 @@ var routes = {
|
|
|
6611
6611
|
"update-project": {
|
|
6612
6612
|
serviceClass: "Projects",
|
|
6613
6613
|
operationId: "updateProject",
|
|
6614
|
-
description: "Updates a project's name, its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project), its orchestration concurrency limit (`max_concurrent_runs`), its continuation-chain ceiling (`max_chain_generations`), its orchestration nesting bound (`max_orchestration_run_depth`), its inherited model route (`default_model_route_id`), its read-auditing opt-in (`audit_reads_enabled`), its trace-content retention window (`trace_content_retention_days`), and/or its zero-retention setting (`trace_content_mode`). At least one field is required. Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.",
|
|
6614
|
+
description: "Updates a project's name, its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project), its orchestration concurrency limit (`max_concurrent_runs`), its continuation-chain ceiling (`max_chain_generations`), its orchestration nesting bound (`max_orchestration_run_depth`), its inherited model route (`default_model_route_id`), its read-auditing opt-in (`audit_reads_enabled`), its priced-model requirement (`require_priced_model`), its trace-content retention window (`trace_content_retention_days`), and/or its zero-retention setting (`trace_content_mode`). At least one field is required. Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.",
|
|
6615
6615
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
6616
6616
|
httpMethod: "patch",
|
|
6617
6617
|
pathParams: ["project_id"],
|
|
@@ -6664,6 +6664,12 @@ var routes = {
|
|
|
6664
6664
|
"required": false,
|
|
6665
6665
|
"type": "boolean",
|
|
6666
6666
|
"in": "body"
|
|
6667
|
+
}, {
|
|
6668
|
+
"name": "require_priced_model",
|
|
6669
|
+
"description": "Refuse a generation whose model carries no price row for every billable token component, with `409 MODEL_NOT_PRICED`. Defaults to `false`, where an unpriced model runs and meters at `cost_usd: null`. The check runs before the provider is called, so a refused turn spends nothing, and covers every target of a model route the turn may fail over to.",
|
|
6670
|
+
"required": false,
|
|
6671
|
+
"type": "boolean",
|
|
6672
|
+
"in": "body"
|
|
6667
6673
|
}, {
|
|
6668
6674
|
"name": "default_conversation_retrieval",
|
|
6669
6675
|
"description": "What a conversation that names no `retrieval` of its own does. `none` by default: a turn is embedded because someone asked for the conversation to be retrievable, never merely because it was said. Turns are stored and chunked on both settings.",
|
|
@@ -8166,6 +8172,12 @@ var routes = {
|
|
|
8166
8172
|
"required": false,
|
|
8167
8173
|
"type": "object",
|
|
8168
8174
|
"in": "body"
|
|
8175
|
+
}, {
|
|
8176
|
+
"name": "tool_context",
|
|
8177
|
+
"description": "Caller context every firing forwards to the run it starts, so an agent whose tools authorize through `{{context:<key>}}` can be put on a schedule — a firing has no request to carry one. Each key is forwarded as one `X-Soat-Context-<key>` header.\n\n**Write-only.** It is accepted here and never returned on a read, so the record cannot be used to recover a value.\n\nA value may be a `{{secret:...}}` reference, which keeps the credential in the [secret](/docs/modules/secrets) store and leaves only its name on the trigger; it is resolved at fire time, so rotating the secret changes the next firing without touching the trigger. A reference naming a secret that does not exist in this project is refused here rather than at fire time.\n",
|
|
8178
|
+
"required": false,
|
|
8179
|
+
"type": "object",
|
|
8180
|
+
"in": "body"
|
|
8169
8181
|
}, {
|
|
8170
8182
|
"name": "cron",
|
|
8171
8183
|
"description": "5-field cron expression (UTC). Required when type is schedule",
|
|
@@ -8258,6 +8270,12 @@ var routes = {
|
|
|
8258
8270
|
"required": false,
|
|
8259
8271
|
"type": "object",
|
|
8260
8272
|
"in": "body"
|
|
8273
|
+
}, {
|
|
8274
|
+
"name": "tool_context",
|
|
8275
|
+
"description": "Replaces the stored bag; `null` clears it. Write-only and resolved at fire time — see `CreateTriggerRequest.tool_context`.\n",
|
|
8276
|
+
"required": false,
|
|
8277
|
+
"type": "object",
|
|
8278
|
+
"in": "body"
|
|
8261
8279
|
}, {
|
|
8262
8280
|
"name": "cron",
|
|
8263
8281
|
"description": "",
|
|
@@ -8320,6 +8338,12 @@ var routes = {
|
|
|
8320
8338
|
"required": false,
|
|
8321
8339
|
"type": "object",
|
|
8322
8340
|
"in": "body"
|
|
8341
|
+
}, {
|
|
8342
|
+
"name": "tool_context",
|
|
8343
|
+
"description": "Fire-time caller context, shallow-merged per key over the trigger's stored `tool_context`. A manual fire has a caller, so this is the one path that can supply a value without storing it.\n\nForwarded exactly as written: a `{{secret:...}}` reference is resolved only in the trigger's stored bag, never in one supplied here.\n",
|
|
8344
|
+
"required": false,
|
|
8345
|
+
"type": "object",
|
|
8346
|
+
"in": "body"
|
|
8323
8347
|
}]
|
|
8324
8348
|
},
|
|
8325
8349
|
"get-trigger-secret": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.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.6",
|
|
24
24
|
"@inquirer/password": "^5.2.2",
|
|
25
|
-
"@soat/sdk": "0.
|
|
25
|
+
"@soat/sdk": "0.57.0",
|
|
26
26
|
"@ttoss/logger": "^0.8.20",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
28
|
"js-yaml": "^5.4.2"
|