@soat/cli 0.13.8 → 0.13.10
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 +89 -17
- 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.10";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -389,6 +389,12 @@ var routes = {
|
|
|
389
389
|
"required": false,
|
|
390
390
|
"type": "string",
|
|
391
391
|
"in": "body"
|
|
392
|
+
}, {
|
|
393
|
+
"name": "instructions",
|
|
394
|
+
"description": "Persona-specific instructions composed into the effective system prompt during conversation generation.",
|
|
395
|
+
"required": false,
|
|
396
|
+
"type": "string",
|
|
397
|
+
"in": "body"
|
|
392
398
|
}, {
|
|
393
399
|
"name": "agent_id",
|
|
394
400
|
"description": "Agent to link this actor to. Mutually exclusive with chat_id.",
|
|
@@ -449,12 +455,30 @@ var routes = {
|
|
|
449
455
|
"required": false,
|
|
450
456
|
"type": "string",
|
|
451
457
|
"in": "body"
|
|
458
|
+
}, {
|
|
459
|
+
"name": "external_id",
|
|
460
|
+
"description": "External identifier (e.g. WhatsApp phone number)",
|
|
461
|
+
"required": false,
|
|
462
|
+
"type": "string",
|
|
463
|
+
"in": "body"
|
|
452
464
|
}, {
|
|
453
465
|
"name": "instructions",
|
|
454
466
|
"description": "Persona-specific instructions",
|
|
455
467
|
"required": false,
|
|
456
468
|
"type": "string",
|
|
457
469
|
"in": "body"
|
|
470
|
+
}, {
|
|
471
|
+
"name": "agent_id",
|
|
472
|
+
"description": "Agent to link this actor to. Mutually exclusive with chat_id.",
|
|
473
|
+
"required": false,
|
|
474
|
+
"type": "string",
|
|
475
|
+
"in": "body"
|
|
476
|
+
}, {
|
|
477
|
+
"name": "chat_id",
|
|
478
|
+
"description": "Chat to link this actor to. Mutually exclusive with agent_id.",
|
|
479
|
+
"required": false,
|
|
480
|
+
"type": "string",
|
|
481
|
+
"in": "body"
|
|
458
482
|
}, {
|
|
459
483
|
"name": "memory_id",
|
|
460
484
|
"description": "Memory ID to link to this actor. Set to null to unlink.",
|
|
@@ -641,6 +665,12 @@ var routes = {
|
|
|
641
665
|
"required": false,
|
|
642
666
|
"type": "object",
|
|
643
667
|
"in": "body"
|
|
668
|
+
}, {
|
|
669
|
+
"name": "output_schema",
|
|
670
|
+
"description": "JSON Schema describing the structured object the model must return. When set, non-streaming generations use the AI SDK to constrain output to this schema; the parsed value is returned as `output.object` in the generation response. See the Structured Output section in the Agents module docs.",
|
|
671
|
+
"required": false,
|
|
672
|
+
"type": "object",
|
|
673
|
+
"in": "body"
|
|
644
674
|
}, {
|
|
645
675
|
"name": "max_context_messages",
|
|
646
676
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -767,6 +797,12 @@ var routes = {
|
|
|
767
797
|
"required": false,
|
|
768
798
|
"type": "object",
|
|
769
799
|
"in": "body"
|
|
800
|
+
}, {
|
|
801
|
+
"name": "output_schema",
|
|
802
|
+
"description": "JSON Schema describing the structured object the model must return. When set, non-streaming generations use the AI SDK to constrain output to this schema; the parsed value is returned as `output.object` in the generation response. See the Structured Output section in the Agents module docs.",
|
|
803
|
+
"required": false,
|
|
804
|
+
"type": "object",
|
|
805
|
+
"in": "body"
|
|
770
806
|
}, {
|
|
771
807
|
"name": "max_context_messages",
|
|
772
808
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -878,6 +914,12 @@ var routes = {
|
|
|
878
914
|
"required": false,
|
|
879
915
|
"type": "object",
|
|
880
916
|
"in": "body"
|
|
917
|
+
}, {
|
|
918
|
+
"name": "output_schema",
|
|
919
|
+
"description": "JSON Schema describing the structured object the model must return. When set, non-streaming generations use the AI SDK to constrain output to this schema; the parsed value is returned as `output.object` in the generation response. See the Structured Output section in the Agents module docs.",
|
|
920
|
+
"required": false,
|
|
921
|
+
"type": "object",
|
|
922
|
+
"in": "body"
|
|
881
923
|
}, {
|
|
882
924
|
"name": "max_context_messages",
|
|
883
925
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -1109,6 +1151,12 @@ var routes = {
|
|
|
1109
1151
|
"required": false,
|
|
1110
1152
|
"type": "string",
|
|
1111
1153
|
"in": "body"
|
|
1154
|
+
}, {
|
|
1155
|
+
"name": "provider",
|
|
1156
|
+
"description": "LLM provider",
|
|
1157
|
+
"required": false,
|
|
1158
|
+
"type": "string",
|
|
1159
|
+
"in": "body"
|
|
1112
1160
|
}, {
|
|
1113
1161
|
"name": "default_model",
|
|
1114
1162
|
"description": "",
|
|
@@ -1153,7 +1201,7 @@ var routes = {
|
|
|
1153
1201
|
"list-api-keys": {
|
|
1154
1202
|
serviceClass: "APIKeys",
|
|
1155
1203
|
operationId: "listApiKeys",
|
|
1156
|
-
description: "Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key
|
|
1204
|
+
description: "Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key: returns only API keys scoped to the key's project.",
|
|
1157
1205
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/api-keys",
|
|
1158
1206
|
pathParams: [],
|
|
1159
1207
|
queryParams: [],
|
|
@@ -1162,7 +1210,7 @@ var routes = {
|
|
|
1162
1210
|
"create-api-key": {
|
|
1163
1211
|
serviceClass: "APIKeys",
|
|
1164
1212
|
operationId: "createApiKey",
|
|
1165
|
-
description: "Creates a new API key for the authenticated user. -
|
|
1213
|
+
description: "Creates a new API key for the authenticated user. - `project_id` is required: every key is scoped to exactly one project. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - Otherwise the key inherits the user's permissions, confined to the key's project.",
|
|
1166
1214
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/api-keys",
|
|
1167
1215
|
pathParams: [],
|
|
1168
1216
|
queryParams: [],
|
|
@@ -1174,8 +1222,8 @@ var routes = {
|
|
|
1174
1222
|
"in": "body"
|
|
1175
1223
|
}, {
|
|
1176
1224
|
"name": "project_id",
|
|
1177
|
-
"description": "
|
|
1178
|
-
"required":
|
|
1225
|
+
"description": "Project ID this key is scoped to. Required — keys cannot span projects.",
|
|
1226
|
+
"required": true,
|
|
1179
1227
|
"type": "string",
|
|
1180
1228
|
"in": "body"
|
|
1181
1229
|
}, {
|
|
@@ -1204,7 +1252,7 @@ var routes = {
|
|
|
1204
1252
|
"update-api-key": {
|
|
1205
1253
|
serviceClass: "APIKeys",
|
|
1206
1254
|
operationId: "updateApiKey",
|
|
1207
|
-
description: "Updates an API key's name, project scope, or policies. Only the owner or an admin can update it.",
|
|
1255
|
+
description: "Updates an API key's name, project scope, or policies. The project scope can be changed to another project but never cleared. Only the owner or an admin can update it.",
|
|
1208
1256
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/api-keys",
|
|
1209
1257
|
pathParams: ["api_key_id"],
|
|
1210
1258
|
queryParams: [],
|
|
@@ -1222,7 +1270,7 @@ var routes = {
|
|
|
1222
1270
|
"in": "body"
|
|
1223
1271
|
}, {
|
|
1224
1272
|
"name": "project_id",
|
|
1225
|
-
"description": "
|
|
1273
|
+
"description": "Re-scope the key to a different project. Cannot be null — keys are always project-scoped.",
|
|
1226
1274
|
"required": false,
|
|
1227
1275
|
"type": "string",
|
|
1228
1276
|
"in": "body"
|
|
@@ -1496,7 +1544,13 @@ var routes = {
|
|
|
1496
1544
|
}, {
|
|
1497
1545
|
"name": "status",
|
|
1498
1546
|
"description": "New conversation status",
|
|
1499
|
-
"required":
|
|
1547
|
+
"required": false,
|
|
1548
|
+
"type": "string",
|
|
1549
|
+
"in": "body"
|
|
1550
|
+
}, {
|
|
1551
|
+
"name": "name",
|
|
1552
|
+
"description": "New conversation name",
|
|
1553
|
+
"required": false,
|
|
1500
1554
|
"type": "string",
|
|
1501
1555
|
"in": "body"
|
|
1502
1556
|
}]
|
|
@@ -1739,6 +1793,24 @@ var routes = {
|
|
|
1739
1793
|
"required": false,
|
|
1740
1794
|
"type": "string",
|
|
1741
1795
|
"in": "body"
|
|
1796
|
+
}, {
|
|
1797
|
+
"name": "title",
|
|
1798
|
+
"description": "Document title",
|
|
1799
|
+
"required": false,
|
|
1800
|
+
"type": "string",
|
|
1801
|
+
"in": "body"
|
|
1802
|
+
}, {
|
|
1803
|
+
"name": "metadata",
|
|
1804
|
+
"description": "Arbitrary metadata object",
|
|
1805
|
+
"required": false,
|
|
1806
|
+
"type": "object",
|
|
1807
|
+
"in": "body"
|
|
1808
|
+
}, {
|
|
1809
|
+
"name": "tags",
|
|
1810
|
+
"description": "Key-value tags",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
"type": "object",
|
|
1813
|
+
"in": "body"
|
|
1742
1814
|
}, {
|
|
1743
1815
|
"name": "chunk_strategy",
|
|
1744
1816
|
"description": "How to split the content into embeddable chunks. `whole` (default) stores the content as a single chunk; `size` splits into fixed-size character windows with overlap. `page` is equivalent to `whole` for plain text.",
|
|
@@ -2102,7 +2174,7 @@ var routes = {
|
|
|
2102
2174
|
flags: [{
|
|
2103
2175
|
"name": "project_id",
|
|
2104
2176
|
"description": "Public ID of the project",
|
|
2105
|
-
"required":
|
|
2177
|
+
"required": false,
|
|
2106
2178
|
"type": "string",
|
|
2107
2179
|
"in": "body"
|
|
2108
2180
|
}, {
|
|
@@ -2173,7 +2245,7 @@ var routes = {
|
|
|
2173
2245
|
"upload-file-with-token": {
|
|
2174
2246
|
serviceClass: "Files",
|
|
2175
2247
|
operationId: "uploadFileWithToken",
|
|
2176
|
-
description: "Uploads file content authorized by a single-use token from `POST /api/v1/files/presigned-url`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field.
|
|
2248
|
+
description: "Uploads file content authorized by a single-use token from `POST /api/v1/files/presigned-url`. No bearer credential is required — the token is the credential. Accepts either multipart/form-data (field `file`) or JSON with a base64-encoded `content` field.",
|
|
2177
2249
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
|
|
2178
2250
|
pathParams: ["token"],
|
|
2179
2251
|
queryParams: [],
|
|
@@ -2185,8 +2257,8 @@ var routes = {
|
|
|
2185
2257
|
"in": "path"
|
|
2186
2258
|
}, {
|
|
2187
2259
|
"name": "content",
|
|
2188
|
-
"description": "Base64-encoded file content",
|
|
2189
|
-
"required":
|
|
2260
|
+
"description": "Base64-encoded file content (alternative to multipart `file`)",
|
|
2261
|
+
"required": false,
|
|
2190
2262
|
"type": "string",
|
|
2191
2263
|
"in": "body"
|
|
2192
2264
|
}, {
|
|
@@ -2357,7 +2429,7 @@ var routes = {
|
|
|
2357
2429
|
flags: [{
|
|
2358
2430
|
"name": "template",
|
|
2359
2431
|
"description": "",
|
|
2360
|
-
"required":
|
|
2432
|
+
"required": false,
|
|
2361
2433
|
"type": "string",
|
|
2362
2434
|
"in": "body"
|
|
2363
2435
|
}]
|
|
@@ -2389,7 +2461,7 @@ var routes = {
|
|
|
2389
2461
|
"in": "body"
|
|
2390
2462
|
}, {
|
|
2391
2463
|
"name": "parameters",
|
|
2392
|
-
"description": "Runtime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in `template.parameters
|
|
2464
|
+
"description": "Runtime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in `template.parameters`. A parameter declared with `use_previous_value: true` may be omitted to reuse its stored value.\n",
|
|
2393
2465
|
"required": false,
|
|
2394
2466
|
"type": "object",
|
|
2395
2467
|
"in": "body"
|
|
@@ -2485,7 +2557,7 @@ var routes = {
|
|
|
2485
2557
|
"in": "body"
|
|
2486
2558
|
}, {
|
|
2487
2559
|
"name": "parameters",
|
|
2488
|
-
"description": "Runtime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in `template.parameters`. Required parameters (those without a default) must be provided here.\n",
|
|
2560
|
+
"description": "Runtime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in `template.parameters`. Required parameters (those without a default) must be provided here, unless the parameter is declared with `use_previous_value: true`, in which case omitting it reuses the previously stored value.\n",
|
|
2489
2561
|
"required": false,
|
|
2490
2562
|
"type": "object",
|
|
2491
2563
|
"in": "body"
|
|
@@ -2942,13 +3014,13 @@ var routes = {
|
|
|
2942
3014
|
flags: [{
|
|
2943
3015
|
"name": "nodes",
|
|
2944
3016
|
"description": "",
|
|
2945
|
-
"required":
|
|
3017
|
+
"required": false,
|
|
2946
3018
|
"type": "array",
|
|
2947
3019
|
"in": "body"
|
|
2948
3020
|
}, {
|
|
2949
3021
|
"name": "edges",
|
|
2950
3022
|
"description": "",
|
|
2951
|
-
"required":
|
|
3023
|
+
"required": false,
|
|
2952
3024
|
"type": "array",
|
|
2953
3025
|
"in": "body"
|
|
2954
3026
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.10",
|
|
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.10"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|