@soat/cli 0.47.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.
Files changed (2) hide show
  1. package/dist/index.mjs +25 -7
  2. 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.47.0";
16
+ var version = "0.48.0";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -703,7 +703,7 @@ var routes = {
703
703
  "merge-actor-tags": {
704
704
  serviceClass: "Actors",
705
705
  operationId: "mergeActorTags",
706
- description: "Merges provided tags with existing tags (existing tags are preserved unless overridden)",
706
+ description: "Merges provided tags into the actor's existing tags (existing tags are preserved unless overridden)",
707
707
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/actors",
708
708
  httpMethod: "patch",
709
709
  pathParams: ["actor_id"],
@@ -854,6 +854,12 @@ var routes = {
854
854
  "required": false,
855
855
  "type": "object",
856
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"
857
863
  }, {
858
864
  "name": "max_context_messages",
859
865
  "description": "Maximum number of recent messages included in the context window. Null means no limit.",
@@ -1012,6 +1018,12 @@ var routes = {
1012
1018
  "required": false,
1013
1019
  "type": "object",
1014
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"
1015
1027
  }, {
1016
1028
  "name": "max_context_messages",
1017
1029
  "description": "Maximum number of recent messages included in the context window. Null means no limit.",
@@ -1154,6 +1166,12 @@ var routes = {
1154
1166
  "required": false,
1155
1167
  "type": "object",
1156
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"
1157
1175
  }, {
1158
1176
  "name": "max_context_messages",
1159
1177
  "description": "Maximum number of recent messages included in the context window. Null means no limit.",
@@ -2611,7 +2629,7 @@ var routes = {
2611
2629
  "merge-conversation-tags": {
2612
2630
  serviceClass: "Conversations",
2613
2631
  operationId: "mergeConversationTags",
2614
- description: "Merges provided tags with existing tags",
2632
+ description: "Merges provided tags into the conversation's existing tags (existing tags are preserved unless overridden)",
2615
2633
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/conversations",
2616
2634
  httpMethod: "patch",
2617
2635
  pathParams: ["conversation_id"],
@@ -2995,7 +3013,7 @@ var routes = {
2995
3013
  "merge-document-tags": {
2996
3014
  serviceClass: "Documents",
2997
3015
  operationId: "mergeDocumentTags",
2998
- description: "Merges provided tags with existing tags (existing tags are preserved unless overridden)",
3016
+ description: "Merges provided tags into the document's existing tags (existing tags are preserved unless overridden)",
2999
3017
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
3000
3018
  httpMethod: "patch",
3001
3019
  pathParams: ["document_id"],
@@ -4069,7 +4087,7 @@ var routes = {
4069
4087
  "merge-file-tags": {
4070
4088
  serviceClass: "Files",
4071
4089
  operationId: "mergeFileTags",
4072
- description: "Merges provided tags with existing tags",
4090
+ description: "Merges provided tags into the file's existing tags (existing tags are preserved unless overridden)",
4073
4091
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
4074
4092
  httpMethod: "patch",
4075
4093
  pathParams: ["file_id"],
@@ -5173,7 +5191,7 @@ var routes = {
5173
5191
  "merge-memory-tags": {
5174
5192
  serviceClass: "Memories",
5175
5193
  operationId: "mergeMemoryTags",
5176
- description: "Merges provided tags with existing tags (existing tags are preserved unless overridden)",
5194
+ description: "Merges provided tags into the memory's existing tags (existing tags are preserved unless overridden)",
5177
5195
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memories",
5178
5196
  httpMethod: "patch",
5179
5197
  pathParams: ["memory_id"],
@@ -5373,7 +5391,7 @@ var routes = {
5373
5391
  "merge-memory-entry-tags": {
5374
5392
  serviceClass: "MemoryEntries",
5375
5393
  operationId: "mergeMemoryEntryTags",
5376
- description: "Merges provided tags with existing tags (existing tags are preserved unless overridden)",
5394
+ description: "Merges provided tags into the memory entry's existing tags (existing tags are preserved unless overridden)",
5377
5395
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/memory-entries",
5378
5396
  httpMethod: "patch",
5379
5397
  pathParams: ["entry_id"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.47.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.47.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"