@soat/cli 0.49.1 → 0.50.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 +132 -126
- 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.50.0";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1308,13 +1308,13 @@ var routes = {
|
|
|
1308
1308
|
"in": "body"
|
|
1309
1309
|
}, {
|
|
1310
1310
|
"name": "extract",
|
|
1311
|
-
"description": "Per-turn override of the agent's `knowledge_config.extraction` default. Omit to follow the agent's stored config. Set `false` to suppress automatic memory extraction for this turn (e.g. an operational or tool-listing turn that would only add noise to a curated memory). Set `true` to force extraction on for this turn even when the agent does not enable it by default, provided the agent has a `
|
|
1311
|
+
"description": "Per-turn override of the agent's `knowledge_config.extraction` default. Omit to follow the agent's stored config. Set `false` to suppress automatic memory store extraction for this turn (e.g. an operational or tool-listing turn that would only add noise to a curated memory store). Set `true` to force extraction on for this turn even when the agent does not enable it by default, provided the agent has a `write_memory_store_id`. Has no effect on streaming or `requires_action` turns, which never extract.",
|
|
1312
1312
|
"required": false,
|
|
1313
1313
|
"type": "boolean",
|
|
1314
1314
|
"in": "body"
|
|
1315
1315
|
}, {
|
|
1316
1316
|
"name": "knowledge_config",
|
|
1317
|
-
"description": "Per-generation knowledge retrieval override. Array filters (
|
|
1317
|
+
"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.",
|
|
1318
1318
|
"required": false,
|
|
1319
1319
|
"type": "object",
|
|
1320
1320
|
"in": "body"
|
|
@@ -4967,7 +4967,7 @@ var routes = {
|
|
|
4967
4967
|
"search-knowledge": {
|
|
4968
4968
|
serviceClass: "Knowledge",
|
|
4969
4969
|
operationId: "searchKnowledge",
|
|
4970
|
-
description: "Searches across documents and
|
|
4970
|
+
description: "Searches across documents and memories using hybrid retrieval — a vector query and a full-text query per source, fused by reciprocal rank — or by file paths, document IDs, memory store IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_store_ids` must be provided.",
|
|
4971
4971
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/knowledge",
|
|
4972
4972
|
httpMethod: "post",
|
|
4973
4973
|
pathParams: [],
|
|
@@ -5004,7 +5004,7 @@ var routes = {
|
|
|
5004
5004
|
"in": "body"
|
|
5005
5005
|
}, {
|
|
5006
5006
|
"name": "recency_half_life_days",
|
|
5007
|
-
"description": "Half-life, in days, of a recency decay applied to **memory** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided.",
|
|
5007
|
+
"description": "Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided.",
|
|
5008
5008
|
"required": false,
|
|
5009
5009
|
"type": "number",
|
|
5010
5010
|
"in": "body"
|
|
@@ -5015,8 +5015,8 @@ var routes = {
|
|
|
5015
5015
|
"type": "integer",
|
|
5016
5016
|
"in": "body"
|
|
5017
5017
|
}, {
|
|
5018
|
-
"name": "
|
|
5019
|
-
"description": "Search
|
|
5018
|
+
"name": "memory_store_ids",
|
|
5019
|
+
"description": "Search memories within these specific memory stores",
|
|
5020
5020
|
"required": false,
|
|
5021
5021
|
"type": "array",
|
|
5022
5022
|
"in": "body"
|
|
@@ -5034,7 +5034,7 @@ var routes = {
|
|
|
5034
5034
|
"in": "body"
|
|
5035
5035
|
}, {
|
|
5036
5036
|
"name": "tags",
|
|
5037
|
-
"description": "Filter results to documents and
|
|
5037
|
+
"description": "Filter results to documents and memories 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 memories it matches at memory granularity: a memory is returned when its parent memory store's tags match or its own do.",
|
|
5038
5038
|
"required": false,
|
|
5039
5039
|
"type": "object",
|
|
5040
5040
|
"in": "body"
|
|
@@ -5043,15 +5043,15 @@ var routes = {
|
|
|
5043
5043
|
"list-memories": {
|
|
5044
5044
|
serviceClass: "Memories",
|
|
5045
5045
|
operationId: "listMemories",
|
|
5046
|
-
description: "Returns
|
|
5046
|
+
description: "Returns all memories in a memory store",
|
|
5047
5047
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5048
5048
|
httpMethod: "get",
|
|
5049
5049
|
pathParams: [],
|
|
5050
|
-
queryParams: ["
|
|
5050
|
+
queryParams: ["memory_store_id", "tags", "limit", "offset", "include_invalidated"],
|
|
5051
5051
|
flags: [{
|
|
5052
|
-
"name": "
|
|
5053
|
-
"description": "
|
|
5054
|
-
"required":
|
|
5052
|
+
"name": "memory_store_id",
|
|
5053
|
+
"description": "Memory store to list memories from (mstore_...)",
|
|
5054
|
+
"required": true,
|
|
5055
5055
|
"type": "string",
|
|
5056
5056
|
"in": "query"
|
|
5057
5057
|
}, {
|
|
@@ -5072,46 +5072,70 @@ var routes = {
|
|
|
5072
5072
|
"required": false,
|
|
5073
5073
|
"type": "integer",
|
|
5074
5074
|
"in": "query"
|
|
5075
|
+
}, {
|
|
5076
|
+
"name": "include_invalidated",
|
|
5077
|
+
"description": "Include invalidated (superseded) memories. They are excluded by default; set this to audit the supersede history.",
|
|
5078
|
+
"required": false,
|
|
5079
|
+
"type": "boolean",
|
|
5080
|
+
"in": "query"
|
|
5075
5081
|
}]
|
|
5076
5082
|
},
|
|
5077
5083
|
"create-memory": {
|
|
5078
5084
|
serviceClass: "Memories",
|
|
5079
5085
|
operationId: "createMemory",
|
|
5080
|
-
description: "Creates a new memory
|
|
5086
|
+
description: "Creates a new memory in the specified memory store. Automatically generates an embedding for semantic search, and skips the write when an existing memory is a near-duplicate (see `duplicate_threshold`). A merely similar fact is stored as its own memory: this path has no agent context and therefore no model to consolidate two facts into one.",
|
|
5081
5087
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5082
5088
|
httpMethod: "post",
|
|
5083
5089
|
pathParams: [],
|
|
5084
5090
|
queryParams: [],
|
|
5085
5091
|
flags: [{
|
|
5086
|
-
"name": "
|
|
5087
|
-
"description": "
|
|
5088
|
-
"required":
|
|
5092
|
+
"name": "memory_store_id",
|
|
5093
|
+
"description": "Memory store to add the memory to (mstore_...)",
|
|
5094
|
+
"required": true,
|
|
5089
5095
|
"type": "string",
|
|
5090
5096
|
"in": "body"
|
|
5091
5097
|
}, {
|
|
5092
|
-
"name": "
|
|
5093
|
-
"description": "
|
|
5098
|
+
"name": "content",
|
|
5099
|
+
"description": "The text content of the memory",
|
|
5094
5100
|
"required": true,
|
|
5095
5101
|
"type": "string",
|
|
5096
5102
|
"in": "body"
|
|
5097
5103
|
}, {
|
|
5098
|
-
"name": "
|
|
5099
|
-
"description": "
|
|
5104
|
+
"name": "source_type",
|
|
5105
|
+
"description": "Whether there is a source to point at. `conversation` requires `source_id`; `manual` rejects it.",
|
|
5106
|
+
"required": false,
|
|
5107
|
+
"type": "string",
|
|
5108
|
+
"in": "body"
|
|
5109
|
+
}, {
|
|
5110
|
+
"name": "source_id",
|
|
5111
|
+
"description": "The conversation this fact was learned in. Required when `source_type` is `conversation`, and rejected otherwise.",
|
|
5100
5112
|
"required": false,
|
|
5101
5113
|
"type": "string",
|
|
5102
5114
|
"in": "body"
|
|
5103
5115
|
}, {
|
|
5104
5116
|
"name": "tags",
|
|
5105
|
-
"description": "
|
|
5117
|
+
"description": "Per-memory key-value tags, used for memory-granularity filtering by `tags` in search-knowledge.",
|
|
5106
5118
|
"required": false,
|
|
5107
5119
|
"type": "object",
|
|
5108
5120
|
"in": "body"
|
|
5121
|
+
}, {
|
|
5122
|
+
"name": "metadata",
|
|
5123
|
+
"description": "Arbitrary structured metadata attached to the memory",
|
|
5124
|
+
"required": false,
|
|
5125
|
+
"type": "object",
|
|
5126
|
+
"in": "body"
|
|
5127
|
+
}, {
|
|
5128
|
+
"name": "duplicate_threshold",
|
|
5129
|
+
"description": "Cosine similarity score at or above which the incoming content is considered a duplicate of an existing memory and skipped (default 0.95). Below it the memory is always created.",
|
|
5130
|
+
"required": false,
|
|
5131
|
+
"type": "number",
|
|
5132
|
+
"in": "body"
|
|
5109
5133
|
}]
|
|
5110
5134
|
},
|
|
5111
5135
|
"get-memory": {
|
|
5112
5136
|
serviceClass: "Memories",
|
|
5113
5137
|
operationId: "getMemory",
|
|
5114
|
-
description: "Returns a single memory
|
|
5138
|
+
description: "Returns a single memory by ID",
|
|
5115
5139
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5116
5140
|
httpMethod: "get",
|
|
5117
5141
|
pathParams: ["memory_id"],
|
|
@@ -5127,7 +5151,7 @@ var routes = {
|
|
|
5127
5151
|
"update-memory": {
|
|
5128
5152
|
serviceClass: "Memories",
|
|
5129
5153
|
operationId: "updateMemory",
|
|
5130
|
-
description: "Updates an existing memory
|
|
5154
|
+
description: "Updates an existing memory. Regenerates the embedding if content changes.",
|
|
5131
5155
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5132
5156
|
httpMethod: "put",
|
|
5133
5157
|
pathParams: ["memory_id"],
|
|
@@ -5139,20 +5163,20 @@ var routes = {
|
|
|
5139
5163
|
"type": "string",
|
|
5140
5164
|
"in": "path"
|
|
5141
5165
|
}, {
|
|
5142
|
-
"name": "
|
|
5143
|
-
"description": "
|
|
5166
|
+
"name": "content",
|
|
5167
|
+
"description": "Updated text content",
|
|
5144
5168
|
"required": false,
|
|
5145
5169
|
"type": "string",
|
|
5146
5170
|
"in": "body"
|
|
5147
5171
|
}, {
|
|
5148
|
-
"name": "
|
|
5149
|
-
"description": "
|
|
5172
|
+
"name": "tags",
|
|
5173
|
+
"description": "Replaces the memory's tags. Pass null or an empty object to clear.",
|
|
5150
5174
|
"required": false,
|
|
5151
|
-
"type": "
|
|
5175
|
+
"type": "object",
|
|
5152
5176
|
"in": "body"
|
|
5153
5177
|
}, {
|
|
5154
|
-
"name": "
|
|
5155
|
-
"description": "
|
|
5178
|
+
"name": "metadata",
|
|
5179
|
+
"description": "Replaces the memory's metadata. Pass null to clear.",
|
|
5156
5180
|
"required": false,
|
|
5157
5181
|
"type": "object",
|
|
5158
5182
|
"in": "body"
|
|
@@ -5161,7 +5185,7 @@ var routes = {
|
|
|
5161
5185
|
"delete-memory": {
|
|
5162
5186
|
serviceClass: "Memories",
|
|
5163
5187
|
operationId: "deleteMemory",
|
|
5164
|
-
description: "Deletes a memory
|
|
5188
|
+
description: "Deletes a memory",
|
|
5165
5189
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
|
|
5166
5190
|
httpMethod: "delete",
|
|
5167
5191
|
pathParams: ["memory_id"],
|
|
@@ -5222,18 +5246,18 @@ var routes = {
|
|
|
5222
5246
|
"in": "path"
|
|
5223
5247
|
}]
|
|
5224
5248
|
},
|
|
5225
|
-
"list-memory-
|
|
5226
|
-
serviceClass: "
|
|
5227
|
-
operationId: "
|
|
5228
|
-
description: "Returns
|
|
5229
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5249
|
+
"list-memory-stores": {
|
|
5250
|
+
serviceClass: "MemoryStores",
|
|
5251
|
+
operationId: "listMemoryStores",
|
|
5252
|
+
description: "Returns a list of memory store configurations for a project",
|
|
5253
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5230
5254
|
httpMethod: "get",
|
|
5231
5255
|
pathParams: [],
|
|
5232
|
-
queryParams: ["
|
|
5256
|
+
queryParams: ["project_id", "tags", "limit", "offset"],
|
|
5233
5257
|
flags: [{
|
|
5234
|
-
"name": "
|
|
5235
|
-
"description": "
|
|
5236
|
-
"required":
|
|
5258
|
+
"name": "project_id",
|
|
5259
|
+
"description": "Project ID (required if not using project key auth)",
|
|
5260
|
+
"required": false,
|
|
5237
5261
|
"type": "string",
|
|
5238
5262
|
"in": "query"
|
|
5239
5263
|
}, {
|
|
@@ -5254,169 +5278,151 @@ var routes = {
|
|
|
5254
5278
|
"required": false,
|
|
5255
5279
|
"type": "integer",
|
|
5256
5280
|
"in": "query"
|
|
5257
|
-
}, {
|
|
5258
|
-
"name": "include_invalidated",
|
|
5259
|
-
"description": "Include invalidated (superseded) entries. They are excluded by default; set this to audit the supersede history.",
|
|
5260
|
-
"required": false,
|
|
5261
|
-
"type": "boolean",
|
|
5262
|
-
"in": "query"
|
|
5263
5281
|
}]
|
|
5264
5282
|
},
|
|
5265
|
-
"create-memory-
|
|
5266
|
-
serviceClass: "
|
|
5267
|
-
operationId: "
|
|
5268
|
-
description: "Creates a new
|
|
5269
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5283
|
+
"create-memory-store": {
|
|
5284
|
+
serviceClass: "MemoryStores",
|
|
5285
|
+
operationId: "createMemoryStore",
|
|
5286
|
+
description: "Creates a new memory store configuration in a project",
|
|
5287
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5270
5288
|
httpMethod: "post",
|
|
5271
5289
|
pathParams: [],
|
|
5272
5290
|
queryParams: [],
|
|
5273
5291
|
flags: [{
|
|
5274
|
-
"name": "
|
|
5275
|
-
"description": "
|
|
5276
|
-
"required":
|
|
5292
|
+
"name": "project_id",
|
|
5293
|
+
"description": "Project ID (required if not using project key auth)",
|
|
5294
|
+
"required": false,
|
|
5277
5295
|
"type": "string",
|
|
5278
5296
|
"in": "body"
|
|
5279
5297
|
}, {
|
|
5280
|
-
"name": "
|
|
5281
|
-
"description": "
|
|
5298
|
+
"name": "name",
|
|
5299
|
+
"description": "Memory store name",
|
|
5282
5300
|
"required": true,
|
|
5283
5301
|
"type": "string",
|
|
5284
5302
|
"in": "body"
|
|
5285
5303
|
}, {
|
|
5286
|
-
"name": "
|
|
5287
|
-
"description": "
|
|
5304
|
+
"name": "description",
|
|
5305
|
+
"description": "Optional description",
|
|
5288
5306
|
"required": false,
|
|
5289
5307
|
"type": "string",
|
|
5290
5308
|
"in": "body"
|
|
5291
5309
|
}, {
|
|
5292
5310
|
"name": "tags",
|
|
5293
|
-
"description": "
|
|
5294
|
-
"required": false,
|
|
5295
|
-
"type": "object",
|
|
5296
|
-
"in": "body"
|
|
5297
|
-
}, {
|
|
5298
|
-
"name": "metadata",
|
|
5299
|
-
"description": "Arbitrary structured metadata attached to the entry",
|
|
5311
|
+
"description": "Optional key-value tags. Scopes the memory store in knowledge search, where every requested pair must match exactly.",
|
|
5300
5312
|
"required": false,
|
|
5301
5313
|
"type": "object",
|
|
5302
5314
|
"in": "body"
|
|
5303
|
-
}, {
|
|
5304
|
-
"name": "duplicate_threshold",
|
|
5305
|
-
"description": "Cosine similarity score at or above which the incoming content is considered a duplicate of an existing entry and skipped (default 0.95). Below it the entry is always created.",
|
|
5306
|
-
"required": false,
|
|
5307
|
-
"type": "number",
|
|
5308
|
-
"in": "body"
|
|
5309
5315
|
}]
|
|
5310
5316
|
},
|
|
5311
|
-
"get-memory-
|
|
5312
|
-
serviceClass: "
|
|
5313
|
-
operationId: "
|
|
5314
|
-
description: "Returns a single memory
|
|
5315
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5317
|
+
"get-memory-store": {
|
|
5318
|
+
serviceClass: "MemoryStores",
|
|
5319
|
+
operationId: "getMemoryStore",
|
|
5320
|
+
description: "Returns a single memory store configuration by ID",
|
|
5321
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5316
5322
|
httpMethod: "get",
|
|
5317
|
-
pathParams: ["
|
|
5323
|
+
pathParams: ["memory_store_id"],
|
|
5318
5324
|
queryParams: [],
|
|
5319
5325
|
flags: [{
|
|
5320
|
-
"name": "
|
|
5326
|
+
"name": "memory_store_id",
|
|
5321
5327
|
"description": "",
|
|
5322
5328
|
"required": true,
|
|
5323
5329
|
"type": "string",
|
|
5324
5330
|
"in": "path"
|
|
5325
5331
|
}]
|
|
5326
5332
|
},
|
|
5327
|
-
"update-memory-
|
|
5328
|
-
serviceClass: "
|
|
5329
|
-
operationId: "
|
|
5330
|
-
description: "Updates an existing memory
|
|
5331
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5333
|
+
"update-memory-store": {
|
|
5334
|
+
serviceClass: "MemoryStores",
|
|
5335
|
+
operationId: "updateMemoryStore",
|
|
5336
|
+
description: "Updates an existing memory store configuration",
|
|
5337
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5332
5338
|
httpMethod: "put",
|
|
5333
|
-
pathParams: ["
|
|
5339
|
+
pathParams: ["memory_store_id"],
|
|
5334
5340
|
queryParams: [],
|
|
5335
5341
|
flags: [{
|
|
5336
|
-
"name": "
|
|
5342
|
+
"name": "memory_store_id",
|
|
5337
5343
|
"description": "",
|
|
5338
5344
|
"required": true,
|
|
5339
5345
|
"type": "string",
|
|
5340
5346
|
"in": "path"
|
|
5341
5347
|
}, {
|
|
5342
|
-
"name": "
|
|
5343
|
-
"description": "
|
|
5348
|
+
"name": "name",
|
|
5349
|
+
"description": "Memory store name",
|
|
5344
5350
|
"required": false,
|
|
5345
5351
|
"type": "string",
|
|
5346
5352
|
"in": "body"
|
|
5347
5353
|
}, {
|
|
5348
|
-
"name": "
|
|
5349
|
-
"description": "
|
|
5354
|
+
"name": "description",
|
|
5355
|
+
"description": "Optional description",
|
|
5350
5356
|
"required": false,
|
|
5351
|
-
"type": "
|
|
5357
|
+
"type": "string",
|
|
5352
5358
|
"in": "body"
|
|
5353
5359
|
}, {
|
|
5354
|
-
"name": "
|
|
5355
|
-
"description": "Replaces the
|
|
5360
|
+
"name": "tags",
|
|
5361
|
+
"description": "Optional key-value tags. Replaces the stored bag; `null` clears it.",
|
|
5356
5362
|
"required": false,
|
|
5357
5363
|
"type": "object",
|
|
5358
5364
|
"in": "body"
|
|
5359
5365
|
}]
|
|
5360
5366
|
},
|
|
5361
|
-
"delete-memory-
|
|
5362
|
-
serviceClass: "
|
|
5363
|
-
operationId: "
|
|
5364
|
-
description: "Deletes a memory
|
|
5365
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5367
|
+
"delete-memory-store": {
|
|
5368
|
+
serviceClass: "MemoryStores",
|
|
5369
|
+
operationId: "deleteMemoryStore",
|
|
5370
|
+
description: "Deletes a memory store configuration",
|
|
5371
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5366
5372
|
httpMethod: "delete",
|
|
5367
|
-
pathParams: ["
|
|
5373
|
+
pathParams: ["memory_store_id"],
|
|
5368
5374
|
queryParams: [],
|
|
5369
5375
|
flags: [{
|
|
5370
|
-
"name": "
|
|
5376
|
+
"name": "memory_store_id",
|
|
5371
5377
|
"description": "",
|
|
5372
5378
|
"required": true,
|
|
5373
5379
|
"type": "string",
|
|
5374
5380
|
"in": "path"
|
|
5375
5381
|
}]
|
|
5376
5382
|
},
|
|
5377
|
-
"get-memory-
|
|
5378
|
-
serviceClass: "
|
|
5379
|
-
operationId: "
|
|
5380
|
-
description: "Returns all tags attached to the memory
|
|
5381
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5383
|
+
"get-memory-store-tags": {
|
|
5384
|
+
serviceClass: "MemoryStores",
|
|
5385
|
+
operationId: "getMemoryStoreTags",
|
|
5386
|
+
description: "Returns all tags attached to the memory store",
|
|
5387
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5382
5388
|
httpMethod: "get",
|
|
5383
|
-
pathParams: ["
|
|
5389
|
+
pathParams: ["memory_store_id"],
|
|
5384
5390
|
queryParams: [],
|
|
5385
5391
|
flags: [{
|
|
5386
|
-
"name": "
|
|
5387
|
-
"description": "Memory
|
|
5392
|
+
"name": "memory_store_id",
|
|
5393
|
+
"description": "Memory store ID",
|
|
5388
5394
|
"required": true,
|
|
5389
5395
|
"type": "string",
|
|
5390
5396
|
"in": "path"
|
|
5391
5397
|
}]
|
|
5392
5398
|
},
|
|
5393
|
-
"replace-memory-
|
|
5394
|
-
serviceClass: "
|
|
5395
|
-
operationId: "
|
|
5396
|
-
description: "Replaces all tags on the memory
|
|
5397
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5399
|
+
"replace-memory-store-tags": {
|
|
5400
|
+
serviceClass: "MemoryStores",
|
|
5401
|
+
operationId: "replaceMemoryStoreTags",
|
|
5402
|
+
description: "Replaces all tags on the memory store with the provided tags (not merged)",
|
|
5403
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5398
5404
|
httpMethod: "put",
|
|
5399
|
-
pathParams: ["
|
|
5405
|
+
pathParams: ["memory_store_id"],
|
|
5400
5406
|
queryParams: [],
|
|
5401
5407
|
flags: [{
|
|
5402
|
-
"name": "
|
|
5403
|
-
"description": "Memory
|
|
5408
|
+
"name": "memory_store_id",
|
|
5409
|
+
"description": "Memory store ID",
|
|
5404
5410
|
"required": true,
|
|
5405
5411
|
"type": "string",
|
|
5406
5412
|
"in": "path"
|
|
5407
5413
|
}]
|
|
5408
5414
|
},
|
|
5409
|
-
"merge-memory-
|
|
5410
|
-
serviceClass: "
|
|
5411
|
-
operationId: "
|
|
5412
|
-
description: "Merges provided tags into the memory
|
|
5413
|
-
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-
|
|
5415
|
+
"merge-memory-store-tags": {
|
|
5416
|
+
serviceClass: "MemoryStores",
|
|
5417
|
+
operationId: "mergeMemoryStoreTags",
|
|
5418
|
+
description: "Merges provided tags into the memory store's existing tags (existing tags are preserved unless overridden)",
|
|
5419
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-stores",
|
|
5414
5420
|
httpMethod: "patch",
|
|
5415
|
-
pathParams: ["
|
|
5421
|
+
pathParams: ["memory_store_id"],
|
|
5416
5422
|
queryParams: [],
|
|
5417
5423
|
flags: [{
|
|
5418
|
-
"name": "
|
|
5419
|
-
"description": "Memory
|
|
5424
|
+
"name": "memory_store_id",
|
|
5425
|
+
"description": "Memory store ID",
|
|
5420
5426
|
"required": true,
|
|
5421
5427
|
"type": "string",
|
|
5422
5428
|
"in": "path"
|
|
@@ -6299,7 +6305,7 @@ var routes = {
|
|
|
6299
6305
|
"delete-project": {
|
|
6300
6306
|
serviceClass: "Projects",
|
|
6301
6307
|
operationId: "deleteProject",
|
|
6302
|
-
description: "Deletes a project. Requires admin role. Fails with `409` if the project has any dependent resource, unless `force=true` is passed, in which case those resources are deleted along with the project. Every project-scoped resource counts: agents, ai providers, model routes, tools, ingestion rules, actors, chats, conversations, sessions, generations, traces, datasets, evals, workflows, tasks, triggers, orchestrations and their runs, formations,
|
|
6308
|
+
description: "Deletes a project. Requires admin role. Fails with `409` if the project has any dependent resource, unless `force=true` is passed, in which case those resources are deleted along with the project. Every project-scoped resource counts: agents, ai providers, model routes, tools, ingestion rules, actors, chats, conversations, sessions, generations, traces, datasets, evals, workflows, tasks, triggers, orchestrations and their runs, formations, memory stores, secrets, files, guardrails, quotas, usage history — and the activity, approval, exception and guardrail-evaluation records a project accumulates while it runs. Audit log entries are the one exception: they outlive the project, keeping their record with `project_id` cleared.",
|
|
6303
6309
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
6304
6310
|
httpMethod: "delete",
|
|
6305
6311
|
pathParams: ["project_id"],
|
|
@@ -6387,7 +6393,7 @@ var routes = {
|
|
|
6387
6393
|
"create-quota": {
|
|
6388
6394
|
serviceClass: "Quotas",
|
|
6389
6395
|
operationId: "createQuota",
|
|
6390
|
-
description: "Creates a project-scoped quota. `requests` is valid for `scope: project`/`api_key`; `tokens` and `cost_usd` are valid for `scope: project`/`agent`/`actor`; `storage_bytes` is valid for `scope: project` only. Any other scope/metric pair is rejected with 400 (no attribution exists to enforce it). An `actor` quota caps one end user's spend, matched from the generation's session; a null `scope_ref` means one budget *per* actor rather than a pooled project total. A `cost_usd` quota may name one `meter_type` to cap; omitting it caps every priced meter. A duplicate quota (same project, scope, scope_ref, metric, window, meter_type) is rejected with 409. `storage_bytes` caps a stored total rather than a windowed one, so it takes `window: current` and every other metric refuses that value (400 either way). It is enforced at the corpus write paths — file upload and create, document create, document ingest and re-ingest, memory
|
|
6396
|
+
description: "Creates a project-scoped quota. `requests` is valid for `scope: project`/`api_key`; `tokens` and `cost_usd` are valid for `scope: project`/`agent`/`actor`; `storage_bytes` is valid for `scope: project` only. Any other scope/metric pair is rejected with 400 (no attribution exists to enforce it). An `actor` quota caps one end user's spend, matched from the generation's session; a null `scope_ref` means one budget *per* actor rather than a pooled project total. A `cost_usd` quota may name one `meter_type` to cap; omitting it caps every priced meter. A duplicate quota (same project, scope, scope_ref, metric, window, meter_type) is rejected with 409. `storage_bytes` caps a stored total rather than a windowed one, so it takes `window: current` and every other metric refuses that value (400 either way). It is enforced at the corpus write paths — file upload and create, document create, document ingest and re-ingest, memory create — with `409 QUOTA_STORAGE_EXCEEDED` and no `Retry-After`, since no window reset clears a footprint.",
|
|
6391
6397
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/quotas",
|
|
6392
6398
|
httpMethod: "post",
|
|
6393
6399
|
pathParams: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.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.50.0",
|
|
26
26
|
"@ttoss/logger": "^0.8.20",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
28
|
"js-yaml": "^5.4.2"
|