@soat/cli 0.46.0 → 0.48.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 +189 -33
- 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.48.0";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -481,7 +481,7 @@ var routes = {
|
|
|
481
481
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/actors",
|
|
482
482
|
httpMethod: "get",
|
|
483
483
|
pathParams: [],
|
|
484
|
-
queryParams: ["project_id", "external_id", "name", "agent_id", "chat_id", "conversation_id", "limit", "offset"],
|
|
484
|
+
queryParams: ["project_id", "external_id", "name", "agent_id", "chat_id", "conversation_id", "tags", "limit", "offset"],
|
|
485
485
|
flags: [{
|
|
486
486
|
"name": "project_id",
|
|
487
487
|
"description": "Project ID (optional)",
|
|
@@ -518,6 +518,12 @@ var routes = {
|
|
|
518
518
|
"required": false,
|
|
519
519
|
"type": "string",
|
|
520
520
|
"in": "query"
|
|
521
|
+
}, {
|
|
522
|
+
"name": "tags",
|
|
523
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
524
|
+
"required": false,
|
|
525
|
+
"type": "array",
|
|
526
|
+
"in": "query"
|
|
521
527
|
}, {
|
|
522
528
|
"name": "limit",
|
|
523
529
|
"description": "Maximum number of results to return",
|
|
@@ -640,7 +646,7 @@ var routes = {
|
|
|
640
646
|
"in": "body"
|
|
641
647
|
}, {
|
|
642
648
|
"name": "tags",
|
|
643
|
-
"description": "",
|
|
649
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
644
650
|
"required": false,
|
|
645
651
|
"type": "object",
|
|
646
652
|
"in": "body"
|
|
@@ -697,7 +703,7 @@ var routes = {
|
|
|
697
703
|
"merge-actor-tags": {
|
|
698
704
|
serviceClass: "Actors",
|
|
699
705
|
operationId: "mergeActorTags",
|
|
700
|
-
description: "Merges provided tags
|
|
706
|
+
description: "Merges provided tags into the actor's existing tags (existing tags are preserved unless overridden)",
|
|
701
707
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/actors",
|
|
702
708
|
httpMethod: "patch",
|
|
703
709
|
pathParams: ["actor_id"],
|
|
@@ -848,6 +854,12 @@ var routes = {
|
|
|
848
854
|
"required": false,
|
|
849
855
|
"type": "object",
|
|
850
856
|
"in": "body"
|
|
857
|
+
}, {
|
|
858
|
+
"name": "prompt_caching",
|
|
859
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.",
|
|
860
|
+
"required": false,
|
|
861
|
+
"type": "object",
|
|
862
|
+
"in": "body"
|
|
851
863
|
}, {
|
|
852
864
|
"name": "max_context_messages",
|
|
853
865
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -1006,6 +1018,12 @@ var routes = {
|
|
|
1006
1018
|
"required": false,
|
|
1007
1019
|
"type": "object",
|
|
1008
1020
|
"in": "body"
|
|
1021
|
+
}, {
|
|
1022
|
+
"name": "prompt_caching",
|
|
1023
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.",
|
|
1024
|
+
"required": false,
|
|
1025
|
+
"type": "object",
|
|
1026
|
+
"in": "body"
|
|
1009
1027
|
}, {
|
|
1010
1028
|
"name": "max_context_messages",
|
|
1011
1029
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -1148,6 +1166,12 @@ var routes = {
|
|
|
1148
1166
|
"required": false,
|
|
1149
1167
|
"type": "object",
|
|
1150
1168
|
"in": "body"
|
|
1169
|
+
}, {
|
|
1170
|
+
"name": "prompt_caching",
|
|
1171
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.",
|
|
1172
|
+
"required": false,
|
|
1173
|
+
"type": "object",
|
|
1174
|
+
"in": "body"
|
|
1151
1175
|
}, {
|
|
1152
1176
|
"name": "max_context_messages",
|
|
1153
1177
|
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
@@ -1290,7 +1314,7 @@ var routes = {
|
|
|
1290
1314
|
"in": "body"
|
|
1291
1315
|
}, {
|
|
1292
1316
|
"name": "knowledge_config",
|
|
1293
|
-
"description": "Per-generation knowledge retrieval override. Array filters (memory_ids,
|
|
1317
|
+
"description": "Per-generation knowledge retrieval override. Array filters (memory_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.",
|
|
1294
1318
|
"required": false,
|
|
1295
1319
|
"type": "object",
|
|
1296
1320
|
"in": "body"
|
|
@@ -2301,7 +2325,7 @@ var routes = {
|
|
|
2301
2325
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/conversations",
|
|
2302
2326
|
httpMethod: "get",
|
|
2303
2327
|
pathParams: [],
|
|
2304
|
-
queryParams: ["project_id", "actor_id", "limit", "offset"],
|
|
2328
|
+
queryParams: ["project_id", "actor_id", "tags", "limit", "offset"],
|
|
2305
2329
|
flags: [{
|
|
2306
2330
|
"name": "project_id",
|
|
2307
2331
|
"description": "Project ID (optional)",
|
|
@@ -2314,6 +2338,12 @@ var routes = {
|
|
|
2314
2338
|
"required": false,
|
|
2315
2339
|
"type": "string",
|
|
2316
2340
|
"in": "query"
|
|
2341
|
+
}, {
|
|
2342
|
+
"name": "tags",
|
|
2343
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
2344
|
+
"required": false,
|
|
2345
|
+
"type": "array",
|
|
2346
|
+
"in": "query"
|
|
2317
2347
|
}, {
|
|
2318
2348
|
"name": "limit",
|
|
2319
2349
|
"description": "Maximum number of results to return",
|
|
@@ -2599,7 +2629,7 @@ var routes = {
|
|
|
2599
2629
|
"merge-conversation-tags": {
|
|
2600
2630
|
serviceClass: "Conversations",
|
|
2601
2631
|
operationId: "mergeConversationTags",
|
|
2602
|
-
description: "Merges provided tags
|
|
2632
|
+
description: "Merges provided tags into the conversation's existing tags (existing tags are preserved unless overridden)",
|
|
2603
2633
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/conversations",
|
|
2604
2634
|
httpMethod: "patch",
|
|
2605
2635
|
pathParams: ["conversation_id"],
|
|
@@ -2619,7 +2649,7 @@ var routes = {
|
|
|
2619
2649
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
|
|
2620
2650
|
httpMethod: "get",
|
|
2621
2651
|
pathParams: [],
|
|
2622
|
-
queryParams: ["project_id", "path_prefix", "limit", "offset"],
|
|
2652
|
+
queryParams: ["project_id", "path_prefix", "tags", "limit", "offset"],
|
|
2623
2653
|
flags: [{
|
|
2624
2654
|
"name": "project_id",
|
|
2625
2655
|
"description": "Project ID (optional)",
|
|
@@ -2632,6 +2662,12 @@ var routes = {
|
|
|
2632
2662
|
"required": false,
|
|
2633
2663
|
"type": "string",
|
|
2634
2664
|
"in": "query"
|
|
2665
|
+
}, {
|
|
2666
|
+
"name": "tags",
|
|
2667
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
2668
|
+
"required": false,
|
|
2669
|
+
"type": "array",
|
|
2670
|
+
"in": "query"
|
|
2635
2671
|
}, {
|
|
2636
2672
|
"name": "limit",
|
|
2637
2673
|
"description": "Maximum number of results to return",
|
|
@@ -2692,7 +2728,7 @@ var routes = {
|
|
|
2692
2728
|
"in": "body"
|
|
2693
2729
|
}, {
|
|
2694
2730
|
"name": "tags",
|
|
2695
|
-
"description": "Key-value tags",
|
|
2731
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2696
2732
|
"required": false,
|
|
2697
2733
|
"type": "object",
|
|
2698
2734
|
"in": "body"
|
|
@@ -2750,7 +2786,7 @@ var routes = {
|
|
|
2750
2786
|
"in": "body"
|
|
2751
2787
|
}, {
|
|
2752
2788
|
"name": "tags",
|
|
2753
|
-
"description": "Key-value tags
|
|
2789
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2754
2790
|
"required": false,
|
|
2755
2791
|
"type": "object",
|
|
2756
2792
|
"in": "body"
|
|
@@ -2830,7 +2866,7 @@ var routes = {
|
|
|
2830
2866
|
"in": "body"
|
|
2831
2867
|
}, {
|
|
2832
2868
|
"name": "tags",
|
|
2833
|
-
"description": "Key-value tags",
|
|
2869
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2834
2870
|
"required": false,
|
|
2835
2871
|
"type": "object",
|
|
2836
2872
|
"in": "body"
|
|
@@ -2977,7 +3013,7 @@ var routes = {
|
|
|
2977
3013
|
"merge-document-tags": {
|
|
2978
3014
|
serviceClass: "Documents",
|
|
2979
3015
|
operationId: "mergeDocumentTags",
|
|
2980
|
-
description: "Merges provided tags
|
|
3016
|
+
description: "Merges provided tags into the document's existing tags (existing tags are preserved unless overridden)",
|
|
2981
3017
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
|
|
2982
3018
|
httpMethod: "patch",
|
|
2983
3019
|
pathParams: ["document_id"],
|
|
@@ -3703,13 +3739,19 @@ var routes = {
|
|
|
3703
3739
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
|
|
3704
3740
|
httpMethod: "get",
|
|
3705
3741
|
pathParams: [],
|
|
3706
|
-
queryParams: ["project_id", "limit", "offset"],
|
|
3742
|
+
queryParams: ["project_id", "tags", "limit", "offset"],
|
|
3707
3743
|
flags: [{
|
|
3708
3744
|
"name": "project_id",
|
|
3709
3745
|
"description": "Filter files by project ID",
|
|
3710
3746
|
"required": false,
|
|
3711
3747
|
"type": "string",
|
|
3712
3748
|
"in": "query"
|
|
3749
|
+
}, {
|
|
3750
|
+
"name": "tags",
|
|
3751
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
3752
|
+
"required": false,
|
|
3753
|
+
"type": "array",
|
|
3754
|
+
"in": "query"
|
|
3713
3755
|
}, {
|
|
3714
3756
|
"name": "limit",
|
|
3715
3757
|
"description": "Maximum number of results to return",
|
|
@@ -4045,7 +4087,7 @@ var routes = {
|
|
|
4045
4087
|
"merge-file-tags": {
|
|
4046
4088
|
serviceClass: "Files",
|
|
4047
4089
|
operationId: "mergeFileTags",
|
|
4048
|
-
description: "Merges provided tags
|
|
4090
|
+
description: "Merges provided tags into the file's existing tags (existing tags are preserved unless overridden)",
|
|
4049
4091
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
|
|
4050
4092
|
httpMethod: "patch",
|
|
4051
4093
|
pathParams: ["file_id"],
|
|
@@ -4925,7 +4967,7 @@ var routes = {
|
|
|
4925
4967
|
"search-knowledge": {
|
|
4926
4968
|
serviceClass: "Knowledge",
|
|
4927
4969
|
operationId: "searchKnowledge",
|
|
4928
|
-
description: "Searches across documents and memory entries using semantic search, file paths, document IDs,
|
|
4970
|
+
description: "Searches across documents and memory entries using semantic search, file paths, document IDs, memory IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_ids` must be provided.",
|
|
4929
4971
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/knowledge",
|
|
4930
4972
|
httpMethod: "post",
|
|
4931
4973
|
pathParams: [],
|
|
@@ -4960,12 +5002,6 @@ var routes = {
|
|
|
4960
5002
|
"required": false,
|
|
4961
5003
|
"type": "array",
|
|
4962
5004
|
"in": "body"
|
|
4963
|
-
}, {
|
|
4964
|
-
"name": "memory_tags",
|
|
4965
|
-
"description": "Search entries in memories whose tags match any of these patterns (glob supported)",
|
|
4966
|
-
"required": false,
|
|
4967
|
-
"type": "array",
|
|
4968
|
-
"in": "body"
|
|
4969
5005
|
}, {
|
|
4970
5006
|
"name": "document_paths",
|
|
4971
5007
|
"description": "Filter results to documents whose file path starts with one of these prefixes",
|
|
@@ -4978,6 +5014,12 @@ var routes = {
|
|
|
4978
5014
|
"required": false,
|
|
4979
5015
|
"type": "array",
|
|
4980
5016
|
"in": "body"
|
|
5017
|
+
}, {
|
|
5018
|
+
"name": "tags",
|
|
5019
|
+
"description": "Filter results to documents and memory entries whose `tags` contain every one of these key-value pairs (exact, case-sensitive match). The only filter that scopes both stores, so passing it alone searches both. For memory it matches at entry granularity: an entry is returned when its parent memory's tags match or its own do.",
|
|
5020
|
+
"required": false,
|
|
5021
|
+
"type": "object",
|
|
5022
|
+
"in": "body"
|
|
4981
5023
|
}]
|
|
4982
5024
|
},
|
|
4983
5025
|
"list-memories": {
|
|
@@ -4996,7 +5038,7 @@ var routes = {
|
|
|
4996
5038
|
"in": "query"
|
|
4997
5039
|
}, {
|
|
4998
5040
|
"name": "tags",
|
|
4999
|
-
"description": "Filter
|
|
5041
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
5000
5042
|
"required": false,
|
|
5001
5043
|
"type": "array",
|
|
5002
5044
|
"in": "query"
|
|
@@ -5042,9 +5084,9 @@ var routes = {
|
|
|
5042
5084
|
"in": "body"
|
|
5043
5085
|
}, {
|
|
5044
5086
|
"name": "tags",
|
|
5045
|
-
"description": "Optional
|
|
5087
|
+
"description": "Optional key-value tags. Scopes the memory in knowledge search, where every requested pair must match exactly.",
|
|
5046
5088
|
"required": false,
|
|
5047
|
-
"type": "
|
|
5089
|
+
"type": "object",
|
|
5048
5090
|
"in": "body"
|
|
5049
5091
|
}]
|
|
5050
5092
|
},
|
|
@@ -5092,9 +5134,9 @@ var routes = {
|
|
|
5092
5134
|
"in": "body"
|
|
5093
5135
|
}, {
|
|
5094
5136
|
"name": "tags",
|
|
5095
|
-
"description": "Optional
|
|
5137
|
+
"description": "Optional key-value tags. Replaces the stored bag; `null` clears it.",
|
|
5096
5138
|
"required": false,
|
|
5097
|
-
"type": "
|
|
5139
|
+
"type": "object",
|
|
5098
5140
|
"in": "body"
|
|
5099
5141
|
}]
|
|
5100
5142
|
},
|
|
@@ -5114,6 +5156,54 @@ var routes = {
|
|
|
5114
5156
|
"in": "path"
|
|
5115
5157
|
}]
|
|
5116
5158
|
},
|
|
5159
|
+
"get-memory-tags": {
|
|
5160
|
+
serviceClass: "Memories",
|
|
5161
|
+
operationId: "getMemoryTags",
|
|
5162
|
+
description: "Returns all tags attached to the memory",
|
|
5163
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5164
|
+
httpMethod: "get",
|
|
5165
|
+
pathParams: ["memory_id"],
|
|
5166
|
+
queryParams: [],
|
|
5167
|
+
flags: [{
|
|
5168
|
+
"name": "memory_id",
|
|
5169
|
+
"description": "Memory ID",
|
|
5170
|
+
"required": true,
|
|
5171
|
+
"type": "string",
|
|
5172
|
+
"in": "path"
|
|
5173
|
+
}]
|
|
5174
|
+
},
|
|
5175
|
+
"replace-memory-tags": {
|
|
5176
|
+
serviceClass: "Memories",
|
|
5177
|
+
operationId: "replaceMemoryTags",
|
|
5178
|
+
description: "Replaces all tags on the memory with the provided tags (not merged)",
|
|
5179
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5180
|
+
httpMethod: "put",
|
|
5181
|
+
pathParams: ["memory_id"],
|
|
5182
|
+
queryParams: [],
|
|
5183
|
+
flags: [{
|
|
5184
|
+
"name": "memory_id",
|
|
5185
|
+
"description": "Memory ID",
|
|
5186
|
+
"required": true,
|
|
5187
|
+
"type": "string",
|
|
5188
|
+
"in": "path"
|
|
5189
|
+
}]
|
|
5190
|
+
},
|
|
5191
|
+
"merge-memory-tags": {
|
|
5192
|
+
serviceClass: "Memories",
|
|
5193
|
+
operationId: "mergeMemoryTags",
|
|
5194
|
+
description: "Merges provided tags into the memory's existing tags (existing tags are preserved unless overridden)",
|
|
5195
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5196
|
+
httpMethod: "patch",
|
|
5197
|
+
pathParams: ["memory_id"],
|
|
5198
|
+
queryParams: [],
|
|
5199
|
+
flags: [{
|
|
5200
|
+
"name": "memory_id",
|
|
5201
|
+
"description": "Memory ID",
|
|
5202
|
+
"required": true,
|
|
5203
|
+
"type": "string",
|
|
5204
|
+
"in": "path"
|
|
5205
|
+
}]
|
|
5206
|
+
},
|
|
5117
5207
|
"list-memory-entries": {
|
|
5118
5208
|
serviceClass: "MemoryEntries",
|
|
5119
5209
|
operationId: "listMemoryEntries",
|
|
@@ -5121,13 +5211,19 @@ var routes = {
|
|
|
5121
5211
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-entries",
|
|
5122
5212
|
httpMethod: "get",
|
|
5123
5213
|
pathParams: [],
|
|
5124
|
-
queryParams: ["memory_id", "limit", "offset", "include_invalidated"],
|
|
5214
|
+
queryParams: ["memory_id", "tags", "limit", "offset", "include_invalidated"],
|
|
5125
5215
|
flags: [{
|
|
5126
5216
|
"name": "memory_id",
|
|
5127
5217
|
"description": "Memory container to list entries from (mem_...)",
|
|
5128
5218
|
"required": true,
|
|
5129
5219
|
"type": "string",
|
|
5130
5220
|
"in": "query"
|
|
5221
|
+
}, {
|
|
5222
|
+
"name": "tags",
|
|
5223
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
5224
|
+
"required": false,
|
|
5225
|
+
"type": "array",
|
|
5226
|
+
"in": "query"
|
|
5131
5227
|
}, {
|
|
5132
5228
|
"name": "limit",
|
|
5133
5229
|
"description": "Maximum number of results to return",
|
|
@@ -5176,9 +5272,9 @@ var routes = {
|
|
|
5176
5272
|
"in": "body"
|
|
5177
5273
|
}, {
|
|
5178
5274
|
"name": "tags",
|
|
5179
|
-
"description": "Per-entry
|
|
5275
|
+
"description": "Per-entry key-value tags, used for entry-granularity filtering by `tags` in search-knowledge.",
|
|
5180
5276
|
"required": false,
|
|
5181
|
-
"type": "
|
|
5277
|
+
"type": "object",
|
|
5182
5278
|
"in": "body"
|
|
5183
5279
|
}, {
|
|
5184
5280
|
"name": "metadata",
|
|
@@ -5232,9 +5328,9 @@ var routes = {
|
|
|
5232
5328
|
"in": "body"
|
|
5233
5329
|
}, {
|
|
5234
5330
|
"name": "tags",
|
|
5235
|
-
"description": "Replaces the entry's tags. Pass null or an empty
|
|
5331
|
+
"description": "Replaces the entry's tags. Pass null or an empty object to clear.",
|
|
5236
5332
|
"required": false,
|
|
5237
|
-
"type": "
|
|
5333
|
+
"type": "object",
|
|
5238
5334
|
"in": "body"
|
|
5239
5335
|
}, {
|
|
5240
5336
|
"name": "metadata",
|
|
@@ -5260,6 +5356,54 @@ var routes = {
|
|
|
5260
5356
|
"in": "path"
|
|
5261
5357
|
}]
|
|
5262
5358
|
},
|
|
5359
|
+
"get-memory-entry-tags": {
|
|
5360
|
+
serviceClass: "MemoryEntries",
|
|
5361
|
+
operationId: "getMemoryEntryTags",
|
|
5362
|
+
description: "Returns all tags attached to the memory entry",
|
|
5363
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-entries",
|
|
5364
|
+
httpMethod: "get",
|
|
5365
|
+
pathParams: ["entry_id"],
|
|
5366
|
+
queryParams: [],
|
|
5367
|
+
flags: [{
|
|
5368
|
+
"name": "entry_id",
|
|
5369
|
+
"description": "Memory entry ID",
|
|
5370
|
+
"required": true,
|
|
5371
|
+
"type": "string",
|
|
5372
|
+
"in": "path"
|
|
5373
|
+
}]
|
|
5374
|
+
},
|
|
5375
|
+
"replace-memory-entry-tags": {
|
|
5376
|
+
serviceClass: "MemoryEntries",
|
|
5377
|
+
operationId: "replaceMemoryEntryTags",
|
|
5378
|
+
description: "Replaces all tags on the memory entry with the provided tags (not merged)",
|
|
5379
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-entries",
|
|
5380
|
+
httpMethod: "put",
|
|
5381
|
+
pathParams: ["entry_id"],
|
|
5382
|
+
queryParams: [],
|
|
5383
|
+
flags: [{
|
|
5384
|
+
"name": "entry_id",
|
|
5385
|
+
"description": "Memory entry ID",
|
|
5386
|
+
"required": true,
|
|
5387
|
+
"type": "string",
|
|
5388
|
+
"in": "path"
|
|
5389
|
+
}]
|
|
5390
|
+
},
|
|
5391
|
+
"merge-memory-entry-tags": {
|
|
5392
|
+
serviceClass: "MemoryEntries",
|
|
5393
|
+
operationId: "mergeMemoryEntryTags",
|
|
5394
|
+
description: "Merges provided tags into the memory entry's existing tags (existing tags are preserved unless overridden)",
|
|
5395
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-entries",
|
|
5396
|
+
httpMethod: "patch",
|
|
5397
|
+
pathParams: ["entry_id"],
|
|
5398
|
+
queryParams: [],
|
|
5399
|
+
flags: [{
|
|
5400
|
+
"name": "entry_id",
|
|
5401
|
+
"description": "Memory entry ID",
|
|
5402
|
+
"required": true,
|
|
5403
|
+
"type": "string",
|
|
5404
|
+
"in": "path"
|
|
5405
|
+
}]
|
|
5406
|
+
},
|
|
5263
5407
|
"list-model-routes": {
|
|
5264
5408
|
serviceClass: "ModelRoutes",
|
|
5265
5409
|
operationId: "listModelRoutes",
|
|
@@ -6481,8 +6625,14 @@ var routes = {
|
|
|
6481
6625
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/sessions",
|
|
6482
6626
|
httpMethod: "get",
|
|
6483
6627
|
pathParams: [],
|
|
6484
|
-
queryParams: ["agent_id", "actor_id", "status", "limit", "offset"],
|
|
6628
|
+
queryParams: ["project_id", "agent_id", "actor_id", "status", "tags", "limit", "offset"],
|
|
6485
6629
|
flags: [{
|
|
6630
|
+
"name": "project_id",
|
|
6631
|
+
"description": "Filter by project public ID. Required for `soat:ResourceTag` policy conditions to narrow the listing: a policy is read per project, so without it the listing is scoped to the projects the caller can access and nothing further.\n",
|
|
6632
|
+
"required": false,
|
|
6633
|
+
"type": "string",
|
|
6634
|
+
"in": "query"
|
|
6635
|
+
}, {
|
|
6486
6636
|
"name": "agent_id",
|
|
6487
6637
|
"description": "Filter by agent public ID",
|
|
6488
6638
|
"required": false,
|
|
@@ -6500,6 +6650,12 @@ var routes = {
|
|
|
6500
6650
|
"required": false,
|
|
6501
6651
|
"type": "string",
|
|
6502
6652
|
"in": "query"
|
|
6653
|
+
}, {
|
|
6654
|
+
"name": "tags",
|
|
6655
|
+
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
6656
|
+
"required": false,
|
|
6657
|
+
"type": "array",
|
|
6658
|
+
"in": "query"
|
|
6503
6659
|
}, {
|
|
6504
6660
|
"name": "limit",
|
|
6505
6661
|
"description": "",
|
|
@@ -6786,7 +6942,7 @@ var routes = {
|
|
|
6786
6942
|
"in": "body"
|
|
6787
6943
|
}, {
|
|
6788
6944
|
"name": "tags",
|
|
6789
|
-
"description": "
|
|
6945
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
6790
6946
|
"required": false,
|
|
6791
6947
|
"type": "object",
|
|
6792
6948
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.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.2",
|
|
24
24
|
"@inquirer/password": "^5.1.1",
|
|
25
|
-
"@soat/sdk": "0.
|
|
25
|
+
"@soat/sdk": "0.48.0",
|
|
26
26
|
"@ttoss/logger": "^0.8.19",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
28
|
"js-yaml": "^5.2.1"
|