@redis-iris/agent-memory 0.1.1 → 0.2.1

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 (264) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -20
  3. package/dist/commonjs/funcs/get-session-memory.d.ts +1 -1
  4. package/dist/commonjs/funcs/get-session-memory.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/get-session-memory.js +8 -3
  6. package/dist/commonjs/funcs/get-session-memory.js.map +1 -1
  7. package/dist/commonjs/funcs/store-health.d.ts +16 -0
  8. package/dist/commonjs/funcs/store-health.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/store-health.js +114 -0
  10. package/dist/commonjs/funcs/store-health.js.map +1 -0
  11. package/dist/commonjs/funcs/update-long-term-memory-fields.d.ts +15 -0
  12. package/dist/commonjs/funcs/update-long-term-memory-fields.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/update-long-term-memory-fields.js +132 -0
  14. package/dist/commonjs/funcs/update-long-term-memory-fields.js.map +1 -0
  15. package/dist/commonjs/lib/config.d.ts +3 -3
  16. package/dist/commonjs/lib/config.js +3 -3
  17. package/dist/commonjs/lib/http.d.ts +1 -1
  18. package/dist/commonjs/lib/http.d.ts.map +1 -1
  19. package/dist/commonjs/lib/http.js +1 -1
  20. package/dist/commonjs/lib/http.js.map +1 -1
  21. package/dist/commonjs/lib/security.d.ts +5 -4
  22. package/dist/commonjs/lib/security.d.ts.map +1 -1
  23. package/dist/commonjs/lib/security.js +6 -7
  24. package/dist/commonjs/lib/security.js.map +1 -1
  25. package/dist/commonjs/models/add-session-event-request-content.d.ts +9 -0
  26. package/dist/commonjs/models/add-session-event-request-content.d.ts.map +1 -1
  27. package/dist/commonjs/models/add-session-event-request-content.js +1 -0
  28. package/dist/commonjs/models/add-session-event-request-content.js.map +1 -1
  29. package/dist/commonjs/models/attribute-filter-clause.d.ts +63 -0
  30. package/dist/commonjs/models/attribute-filter-clause.d.ts.map +1 -0
  31. package/dist/commonjs/models/attribute-filter-clause.js +85 -0
  32. package/dist/commonjs/models/attribute-filter-clause.js.map +1 -0
  33. package/dist/commonjs/models/create-memory-record.d.ts +14 -6
  34. package/dist/commonjs/models/create-memory-record.d.ts.map +1 -1
  35. package/dist/commonjs/models/create-memory-record.js +3 -3
  36. package/dist/commonjs/models/create-memory-record.js.map +1 -1
  37. package/dist/commonjs/models/get-long-term-memory-response-content.d.ts +9 -4
  38. package/dist/commonjs/models/get-long-term-memory-response-content.d.ts.map +1 -1
  39. package/dist/commonjs/models/get-long-term-memory-response-content.js +2 -2
  40. package/dist/commonjs/models/get-long-term-memory-response-content.js.map +1 -1
  41. package/dist/commonjs/models/get-session-memory-response-content.d.ts +14 -1
  42. package/dist/commonjs/models/get-session-memory-response-content.d.ts.map +1 -1
  43. package/dist/commonjs/models/get-session-memory-response-content.js +3 -0
  44. package/dist/commonjs/models/get-session-memory-response-content.js.map +1 -1
  45. package/dist/commonjs/models/index.d.ts +6 -1
  46. package/dist/commonjs/models/index.d.ts.map +1 -1
  47. package/dist/commonjs/models/index.js +6 -1
  48. package/dist/commonjs/models/index.js.map +1 -1
  49. package/dist/commonjs/models/long-term-memory-filter.d.ts +21 -5
  50. package/dist/commonjs/models/long-term-memory-filter.d.ts.map +1 -1
  51. package/dist/commonjs/models/long-term-memory-filter.js +2 -0
  52. package/dist/commonjs/models/long-term-memory-filter.js.map +1 -1
  53. package/dist/commonjs/models/memory-record.d.ts +9 -4
  54. package/dist/commonjs/models/memory-record.d.ts.map +1 -1
  55. package/dist/commonjs/models/memory-record.js +2 -2
  56. package/dist/commonjs/models/memory-record.js.map +1 -1
  57. package/dist/commonjs/models/memory-type-filter.d.ts +1 -1
  58. package/dist/commonjs/models/namespace-filter.d.ts +7 -1
  59. package/dist/commonjs/models/namespace-filter.d.ts.map +1 -1
  60. package/dist/commonjs/models/namespace-filter.js.map +1 -1
  61. package/dist/commonjs/models/operations/get-session-memory.d.ts +5 -0
  62. package/dist/commonjs/models/operations/get-session-memory.d.ts.map +1 -1
  63. package/dist/commonjs/models/operations/get-session-memory.js +1 -0
  64. package/dist/commonjs/models/operations/get-session-memory.js.map +1 -1
  65. package/dist/commonjs/models/operations/index.d.ts +2 -0
  66. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  67. package/dist/commonjs/models/operations/index.js +2 -0
  68. package/dist/commonjs/models/operations/index.js.map +1 -1
  69. package/dist/commonjs/models/operations/list-sessions.d.ts +1 -1
  70. package/dist/commonjs/models/operations/store-health.d.ts +11 -0
  71. package/dist/commonjs/models/operations/store-health.d.ts.map +1 -0
  72. package/dist/commonjs/models/operations/store-health.js +48 -0
  73. package/dist/commonjs/models/operations/store-health.js.map +1 -0
  74. package/dist/commonjs/models/operations/update-long-term-memory-fields.d.ts +21 -0
  75. package/dist/commonjs/models/operations/update-long-term-memory-fields.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/update-long-term-memory-fields.js +52 -0
  77. package/dist/commonjs/models/operations/update-long-term-memory-fields.js.map +1 -0
  78. package/dist/commonjs/models/owner-id-filter.d.ts +1 -1
  79. package/dist/commonjs/models/session-id-filter.d.ts +1 -1
  80. package/dist/commonjs/models/session-summary.d.ts +40 -0
  81. package/dist/commonjs/models/session-summary.d.ts.map +1 -0
  82. package/dist/commonjs/models/session-summary.js +56 -0
  83. package/dist/commonjs/models/session-summary.js.map +1 -0
  84. package/dist/commonjs/models/store-health-feature.d.ts +17 -0
  85. package/dist/commonjs/models/store-health-feature.d.ts.map +1 -0
  86. package/dist/commonjs/models/store-health-feature.js +52 -0
  87. package/dist/commonjs/models/store-health-feature.js.map +1 -0
  88. package/dist/commonjs/models/store-health-response-content.d.ts +21 -0
  89. package/dist/commonjs/models/store-health-response-content.d.ts.map +1 -0
  90. package/dist/commonjs/models/store-health-response-content.js +54 -0
  91. package/dist/commonjs/models/store-health-response-content.js.map +1 -0
  92. package/dist/commonjs/models/store-health-status.d.ts +17 -0
  93. package/dist/commonjs/models/store-health-status.d.ts.map +1 -0
  94. package/dist/commonjs/models/{memory-type.js → store-health-status.js} +9 -11
  95. package/dist/commonjs/models/store-health-status.js.map +1 -0
  96. package/dist/commonjs/models/topics-filter.d.ts +1 -1
  97. package/dist/commonjs/models/update-long-term-memory-fields-request-content.d.ts +41 -0
  98. package/dist/commonjs/models/update-long-term-memory-fields-request-content.d.ts.map +1 -0
  99. package/dist/commonjs/models/update-long-term-memory-fields-request-content.js +53 -0
  100. package/dist/commonjs/models/update-long-term-memory-fields-request-content.js.map +1 -0
  101. package/dist/commonjs/models/update-long-term-memory-request-content.d.ts +7 -4
  102. package/dist/commonjs/models/update-long-term-memory-request-content.d.ts.map +1 -1
  103. package/dist/commonjs/models/update-long-term-memory-request-content.js +1 -2
  104. package/dist/commonjs/models/update-long-term-memory-request-content.js.map +1 -1
  105. package/dist/commonjs/models/update-long-term-memory-response-content.d.ts +9 -4
  106. package/dist/commonjs/models/update-long-term-memory-response-content.d.ts.map +1 -1
  107. package/dist/commonjs/models/update-long-term-memory-response-content.js +2 -2
  108. package/dist/commonjs/models/update-long-term-memory-response-content.js.map +1 -1
  109. package/dist/commonjs/sdk/sdk.d.ts +10 -1
  110. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  111. package/dist/commonjs/sdk/sdk.js +16 -2
  112. package/dist/commonjs/sdk/sdk.js.map +1 -1
  113. package/dist/esm/funcs/get-session-memory.d.ts +1 -1
  114. package/dist/esm/funcs/get-session-memory.d.ts.map +1 -1
  115. package/dist/esm/funcs/get-session-memory.js +9 -4
  116. package/dist/esm/funcs/get-session-memory.js.map +1 -1
  117. package/dist/esm/funcs/store-health.d.ts +16 -0
  118. package/dist/esm/funcs/store-health.d.ts.map +1 -0
  119. package/dist/esm/funcs/store-health.js +78 -0
  120. package/dist/esm/funcs/store-health.js.map +1 -0
  121. package/dist/esm/funcs/update-long-term-memory-fields.d.ts +15 -0
  122. package/dist/esm/funcs/update-long-term-memory-fields.d.ts.map +1 -0
  123. package/dist/esm/funcs/update-long-term-memory-fields.js +96 -0
  124. package/dist/esm/funcs/update-long-term-memory-fields.js.map +1 -0
  125. package/dist/esm/lib/config.d.ts +3 -3
  126. package/dist/esm/lib/config.js +3 -3
  127. package/dist/esm/lib/http.d.ts +1 -1
  128. package/dist/esm/lib/http.d.ts.map +1 -1
  129. package/dist/esm/lib/http.js +1 -1
  130. package/dist/esm/lib/http.js.map +1 -1
  131. package/dist/esm/lib/security.d.ts +5 -4
  132. package/dist/esm/lib/security.d.ts.map +1 -1
  133. package/dist/esm/lib/security.js +4 -6
  134. package/dist/esm/lib/security.js.map +1 -1
  135. package/dist/esm/models/add-session-event-request-content.d.ts +9 -0
  136. package/dist/esm/models/add-session-event-request-content.d.ts.map +1 -1
  137. package/dist/esm/models/add-session-event-request-content.js +1 -0
  138. package/dist/esm/models/add-session-event-request-content.js.map +1 -1
  139. package/dist/esm/models/attribute-filter-clause.d.ts +63 -0
  140. package/dist/esm/models/attribute-filter-clause.d.ts.map +1 -0
  141. package/dist/esm/models/attribute-filter-clause.js +44 -0
  142. package/dist/esm/models/attribute-filter-clause.js.map +1 -0
  143. package/dist/esm/models/create-memory-record.d.ts +14 -6
  144. package/dist/esm/models/create-memory-record.d.ts.map +1 -1
  145. package/dist/esm/models/create-memory-record.js +3 -3
  146. package/dist/esm/models/create-memory-record.js.map +1 -1
  147. package/dist/esm/models/get-long-term-memory-response-content.d.ts +9 -4
  148. package/dist/esm/models/get-long-term-memory-response-content.d.ts.map +1 -1
  149. package/dist/esm/models/get-long-term-memory-response-content.js +2 -2
  150. package/dist/esm/models/get-long-term-memory-response-content.js.map +1 -1
  151. package/dist/esm/models/get-session-memory-response-content.d.ts +14 -1
  152. package/dist/esm/models/get-session-memory-response-content.d.ts.map +1 -1
  153. package/dist/esm/models/get-session-memory-response-content.js +3 -0
  154. package/dist/esm/models/get-session-memory-response-content.js.map +1 -1
  155. package/dist/esm/models/index.d.ts +6 -1
  156. package/dist/esm/models/index.d.ts.map +1 -1
  157. package/dist/esm/models/index.js +6 -1
  158. package/dist/esm/models/index.js.map +1 -1
  159. package/dist/esm/models/long-term-memory-filter.d.ts +21 -5
  160. package/dist/esm/models/long-term-memory-filter.d.ts.map +1 -1
  161. package/dist/esm/models/long-term-memory-filter.js +2 -0
  162. package/dist/esm/models/long-term-memory-filter.js.map +1 -1
  163. package/dist/esm/models/memory-record.d.ts +9 -4
  164. package/dist/esm/models/memory-record.d.ts.map +1 -1
  165. package/dist/esm/models/memory-record.js +2 -2
  166. package/dist/esm/models/memory-record.js.map +1 -1
  167. package/dist/esm/models/memory-type-filter.d.ts +1 -1
  168. package/dist/esm/models/namespace-filter.d.ts +7 -1
  169. package/dist/esm/models/namespace-filter.d.ts.map +1 -1
  170. package/dist/esm/models/namespace-filter.js.map +1 -1
  171. package/dist/esm/models/operations/get-session-memory.d.ts +5 -0
  172. package/dist/esm/models/operations/get-session-memory.d.ts.map +1 -1
  173. package/dist/esm/models/operations/get-session-memory.js +1 -0
  174. package/dist/esm/models/operations/get-session-memory.js.map +1 -1
  175. package/dist/esm/models/operations/index.d.ts +2 -0
  176. package/dist/esm/models/operations/index.d.ts.map +1 -1
  177. package/dist/esm/models/operations/index.js +2 -0
  178. package/dist/esm/models/operations/index.js.map +1 -1
  179. package/dist/esm/models/operations/list-sessions.d.ts +1 -1
  180. package/dist/esm/models/operations/store-health.d.ts +11 -0
  181. package/dist/esm/models/operations/store-health.d.ts.map +1 -0
  182. package/dist/esm/models/operations/store-health.js +11 -0
  183. package/dist/esm/models/operations/store-health.js.map +1 -0
  184. package/dist/esm/models/operations/update-long-term-memory-fields.d.ts +21 -0
  185. package/dist/esm/models/operations/update-long-term-memory-fields.d.ts.map +1 -0
  186. package/dist/esm/models/operations/update-long-term-memory-fields.js +15 -0
  187. package/dist/esm/models/operations/update-long-term-memory-fields.js.map +1 -0
  188. package/dist/esm/models/owner-id-filter.d.ts +1 -1
  189. package/dist/esm/models/session-id-filter.d.ts +1 -1
  190. package/dist/esm/models/session-summary.d.ts +40 -0
  191. package/dist/esm/models/session-summary.d.ts.map +1 -0
  192. package/dist/esm/models/session-summary.js +19 -0
  193. package/dist/esm/models/session-summary.js.map +1 -0
  194. package/dist/esm/models/store-health-feature.d.ts +17 -0
  195. package/dist/esm/models/store-health-feature.d.ts.map +1 -0
  196. package/dist/esm/models/store-health-feature.js +15 -0
  197. package/dist/esm/models/store-health-feature.js.map +1 -0
  198. package/dist/esm/models/store-health-response-content.d.ts +21 -0
  199. package/dist/esm/models/store-health-response-content.d.ts.map +1 -0
  200. package/dist/esm/models/store-health-response-content.js +17 -0
  201. package/dist/esm/models/store-health-response-content.js.map +1 -0
  202. package/dist/esm/models/store-health-status.d.ts +17 -0
  203. package/dist/esm/models/store-health-status.d.ts.map +1 -0
  204. package/dist/esm/models/store-health-status.js +16 -0
  205. package/dist/esm/models/store-health-status.js.map +1 -0
  206. package/dist/esm/models/topics-filter.d.ts +1 -1
  207. package/dist/esm/models/update-long-term-memory-fields-request-content.d.ts +41 -0
  208. package/dist/esm/models/update-long-term-memory-fields-request-content.d.ts.map +1 -0
  209. package/dist/esm/models/update-long-term-memory-fields-request-content.js +16 -0
  210. package/dist/esm/models/update-long-term-memory-fields-request-content.js.map +1 -0
  211. package/dist/esm/models/update-long-term-memory-request-content.d.ts +7 -4
  212. package/dist/esm/models/update-long-term-memory-request-content.d.ts.map +1 -1
  213. package/dist/esm/models/update-long-term-memory-request-content.js +1 -2
  214. package/dist/esm/models/update-long-term-memory-request-content.js.map +1 -1
  215. package/dist/esm/models/update-long-term-memory-response-content.d.ts +9 -4
  216. package/dist/esm/models/update-long-term-memory-response-content.d.ts.map +1 -1
  217. package/dist/esm/models/update-long-term-memory-response-content.js +2 -2
  218. package/dist/esm/models/update-long-term-memory-response-content.js.map +1 -1
  219. package/dist/esm/sdk/sdk.d.ts +10 -1
  220. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  221. package/dist/esm/sdk/sdk.js +16 -2
  222. package/dist/esm/sdk/sdk.js.map +1 -1
  223. package/jsr.json +1 -1
  224. package/package.json +4 -3
  225. package/src/funcs/get-session-memory.ts +10 -1
  226. package/src/funcs/store-health.ts +194 -0
  227. package/src/funcs/update-long-term-memory-fields.ts +220 -0
  228. package/src/lib/config.ts +3 -3
  229. package/src/lib/http.ts +3 -1
  230. package/src/lib/security.ts +10 -5
  231. package/src/models/add-session-event-request-content.ts +10 -0
  232. package/src/models/attribute-filter-clause.ts +135 -0
  233. package/src/models/create-memory-record.ts +13 -8
  234. package/src/models/get-long-term-memory-response-content.ts +9 -5
  235. package/src/models/get-session-memory-response-content.ts +19 -1
  236. package/src/models/index.ts +6 -1
  237. package/src/models/long-term-memory-filter.ts +22 -5
  238. package/src/models/memory-record.ts +9 -5
  239. package/src/models/memory-type-filter.ts +1 -1
  240. package/src/models/namespace-filter.ts +7 -1
  241. package/src/models/operations/get-session-memory.ts +6 -0
  242. package/src/models/operations/index.ts +2 -0
  243. package/src/models/operations/list-sessions.ts +1 -1
  244. package/src/models/operations/store-health.ts +30 -0
  245. package/src/models/operations/update-long-term-memory-fields.ts +45 -0
  246. package/src/models/owner-id-filter.ts +1 -1
  247. package/src/models/session-id-filter.ts +1 -1
  248. package/src/models/session-summary.ts +67 -0
  249. package/src/models/store-health-feature.ts +42 -0
  250. package/src/models/store-health-response-content.ts +48 -0
  251. package/src/models/store-health-status.ts +28 -0
  252. package/src/models/topics-filter.ts +1 -1
  253. package/src/models/update-long-term-memory-fields-request-content.ts +63 -0
  254. package/src/models/update-long-term-memory-request-content.ts +8 -5
  255. package/src/models/update-long-term-memory-response-content.ts +9 -5
  256. package/src/sdk/sdk.ts +35 -0
  257. package/dist/commonjs/models/memory-type.d.ts +0 -19
  258. package/dist/commonjs/models/memory-type.d.ts.map +0 -1
  259. package/dist/commonjs/models/memory-type.js.map +0 -1
  260. package/dist/esm/models/memory-type.d.ts +0 -19
  261. package/dist/esm/models/memory-type.d.ts.map +0 -1
  262. package/dist/esm/models/memory-type.js +0 -18
  263. package/dist/esm/models/memory-type.js.map +0 -1
  264. package/src/models/memory-type.ts +0 -34
@@ -8,5 +8,7 @@ export * from "./get-session-event.js";
8
8
  export * from "./get-session-memory.js";
9
9
  export * from "./list-sessions.js";
10
10
  export * from "./search-long-term-memory.js";
11
+ export * from "./store-health.js";
12
+ export * from "./update-long-term-memory-fields.js";
11
13
  export * from "./update-long-term-memory.js";
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC"}
@@ -12,5 +12,7 @@ export * from "./get-session-event.js";
12
12
  export * from "./get-session-memory.js";
13
13
  export * from "./list-sessions.js";
14
14
  export * from "./search-long-term-memory.js";
15
+ export * from "./store-health.js";
16
+ export * from "./update-long-term-memory-fields.js";
15
17
  export * from "./update-long-term-memory.js";
16
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC"}
@@ -12,7 +12,7 @@ export type ListSessionsRequest = {
12
12
  */
13
13
  pageToken?: string | undefined;
14
14
  /**
15
- * Filter sessions by owner. Mutually exclusive with includeAll.
15
+ * Filter sessions by owner. Matching is case-sensitive. Mutually exclusive with includeAll.
16
16
  */
17
17
  filterOwnerId?: string | undefined;
18
18
  /**
@@ -0,0 +1,11 @@
1
+ import * as z from "zod/v3";
2
+ export type StoreHealthGlobals = {
3
+ storeId?: string | undefined;
4
+ };
5
+ export type StoreHealthRequest = {};
6
+ /** @internal */
7
+ export type StoreHealthRequest$Outbound = {};
8
+ /** @internal */
9
+ export declare const StoreHealthRequest$outboundSchema: z.ZodType<StoreHealthRequest$Outbound, z.ZodTypeDef, StoreHealthRequest>;
10
+ export declare function storeHealthRequestToJSON(storeHealthRequest: StoreHealthRequest): string;
11
+ //# sourceMappingURL=store-health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/store-health.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CACJ,CAAC;AAEjB,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3740112e1f1e
4
+ */
5
+ import * as z from "zod/v3";
6
+ /** @internal */
7
+ export const StoreHealthRequest$outboundSchema = z.object({});
8
+ export function storeHealthRequestToJSON(storeHealthRequest) {
9
+ return JSON.stringify(StoreHealthRequest$outboundSchema.parse(storeHealthRequest));
10
+ }
11
+ //# sourceMappingURL=store-health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health.js","sourceRoot":"","sources":["../../../../src/models/operations/store-health.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAW5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,MAAM,UAAU,wBAAwB,CACtC,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH"}
@@ -0,0 +1,21 @@
1
+ import * as z from "zod/v3";
2
+ import * as models from "../index.js";
3
+ export type UpdateLongTermMemoryFieldsGlobals = {
4
+ storeId?: string | undefined;
5
+ };
6
+ export type UpdateLongTermMemoryFieldsRequest = {
7
+ /**
8
+ * The memory record ID.
9
+ */
10
+ memoryId: string;
11
+ body: models.UpdateLongTermMemoryFieldsRequestContent;
12
+ };
13
+ /** @internal */
14
+ export type UpdateLongTermMemoryFieldsRequest$Outbound = {
15
+ memoryId: string;
16
+ body: models.UpdateLongTermMemoryFieldsRequestContent$Outbound;
17
+ };
18
+ /** @internal */
19
+ export declare const UpdateLongTermMemoryFieldsRequest$outboundSchema: z.ZodType<UpdateLongTermMemoryFieldsRequest$Outbound, z.ZodTypeDef, UpdateLongTermMemoryFieldsRequest>;
20
+ export declare function updateLongTermMemoryFieldsRequestToJSON(updateLongTermMemoryFieldsRequest: UpdateLongTermMemoryFieldsRequest): string;
21
+ //# sourceMappingURL=update-long-term-memory-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-long-term-memory-fields.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/update-long-term-memory-fields.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,wCAAwC,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,iDAAiD,CAAC;CAChE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAIjC,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR"}
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 16560932b47d
4
+ */
5
+ import * as z from "zod/v3";
6
+ import * as models from "../index.js";
7
+ /** @internal */
8
+ export const UpdateLongTermMemoryFieldsRequest$outboundSchema = z.object({
9
+ memoryId: z.string(),
10
+ body: models.UpdateLongTermMemoryFieldsRequestContent$outboundSchema,
11
+ });
12
+ export function updateLongTermMemoryFieldsRequestToJSON(updateLongTermMemoryFieldsRequest) {
13
+ return JSON.stringify(UpdateLongTermMemoryFieldsRequest$outboundSchema.parse(updateLongTermMemoryFieldsRequest));
14
+ }
15
+ //# sourceMappingURL=update-long-term-memory-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-long-term-memory-fields.js","sourceRoot":"","sources":["../../../../src/models/operations/update-long-term-memory-fields.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAoBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,MAAM,CAAC,uDAAuD;CACrE,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,iCAAoE,EAC5D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AAAA,CACH"}
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  /**
3
- * Filter by the long-term memory ownerId field.
3
+ * Filter by the long-term memory ownerId field. Matching is case-sensitive.
4
4
  */
5
5
  export type OwnerIdFilter = {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  /**
3
- * Filter by the long-term memory sessionId field.
3
+ * Filter by the long-term memory sessionId field. Matching is case-sensitive.
4
4
  */
5
5
  export type SessionIdFilter = {
6
6
  /**
@@ -0,0 +1,40 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ /**
5
+ * Compacted summary of older session history for a session.
6
+ *
7
+ * @remarks
8
+ *
9
+ * This is derived session state maintained by the background summarization workflow, not a conversation event. It is present only after at least one summarization cycle has completed.
10
+ */
11
+ export type SessionSummary = {
12
+ /**
13
+ * The summary text, a single coherent block.
14
+ */
15
+ text: string;
16
+ /**
17
+ * Boundary event ID. This event and all events before it (by array position) are covered by the summary; `events` contains the retained turns after this boundary.
18
+ */
19
+ summarizedUpToEventId: string;
20
+ /**
21
+ * Timestamp when the summary was first created (UTC). Preserved across re-summarization cycles.
22
+ */
23
+ createdAt: Date;
24
+ /**
25
+ * Timestamp when the summary was last regenerated (UTC). Updated on every summarization cycle. Equal to createdAt on the first cycle.
26
+ */
27
+ updatedAt: Date;
28
+ /**
29
+ * Metadata as a JSON object (e.g., model name, token count). Always present; defaults to an empty object when no metadata was supplied.
30
+ */
31
+ metadata?: any | undefined;
32
+ /**
33
+ * Cumulative number of session events folded into this summary across all summarization cycles. Always positive. A value of 1 may indicate a summary created before this field was tracked; it self-corrects to a real count on the next summarization cycle.
34
+ */
35
+ summarizedEvents: number;
36
+ };
37
+ /** @internal */
38
+ export declare const SessionSummary$inboundSchema: z.ZodType<SessionSummary, z.ZodTypeDef, unknown>;
39
+ export declare function sessionSummaryFromJSON(jsonString: string): SafeParseResult<SessionSummary, SDKValidationError>;
40
+ //# sourceMappingURL=session-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-summary.d.ts","sourceRoot":"","sources":["../../../src/models/session-summary.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 1dc482213cab
4
+ */
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ /** @internal */
8
+ export const SessionSummary$inboundSchema = z.object({
9
+ text: z.string(),
10
+ summarizedUpToEventId: z.string(),
11
+ createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
12
+ updatedAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
13
+ metadata: z.any().optional(),
14
+ summarizedEvents: z.number().int(),
15
+ });
16
+ export function sessionSummaryFromJSON(jsonString) {
17
+ return safeParse(jsonString, (x) => SessionSummary$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SessionSummary' from JSON`);
18
+ }
19
+ //# sourceMappingURL=session-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-summary.js","sourceRoot":"","sources":["../../../src/models/session-summary.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAsC9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC5B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACnC,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,UAAkB,EACmC;IACrD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AAAA,CACH"}
@@ -0,0 +1,17 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ import { StoreHealthStatus } from "./store-health-status.js";
5
+ /**
6
+ * Feature-level store health.
7
+ */
8
+ export type StoreHealthFeature = {
9
+ /**
10
+ * Store health status.
11
+ */
12
+ status: StoreHealthStatus;
13
+ };
14
+ /** @internal */
15
+ export declare const StoreHealthFeature$inboundSchema: z.ZodType<StoreHealthFeature, z.ZodTypeDef, unknown>;
16
+ export declare function storeHealthFeatureFromJSON(jsonString: string): SafeParseResult<StoreHealthFeature, SDKValidationError>;
17
+ //# sourceMappingURL=store-health-feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-feature.d.ts","sourceRoot":"","sources":["../../../src/models/store-health-feature.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b5d2d2b8c673
4
+ */
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { StoreHealthStatus$inboundSchema, } from "./store-health-status.js";
8
+ /** @internal */
9
+ export const StoreHealthFeature$inboundSchema = z.object({
10
+ status: StoreHealthStatus$inboundSchema,
11
+ });
12
+ export function storeHealthFeatureFromJSON(jsonString) {
13
+ return safeParse(jsonString, (x) => StoreHealthFeature$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StoreHealthFeature' from JSON`);
14
+ }
15
+ //# sourceMappingURL=store-health-feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-feature.js","sourceRoot":"","sources":["../../../src/models/store-health-feature.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAYlC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,+BAA+B;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EACuC;IACzD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
@@ -0,0 +1,21 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ import { StoreHealthFeature } from "./store-health-feature.js";
5
+ import { StoreHealthStatus } from "./store-health-status.js";
6
+ /**
7
+ * Store-scoped RAM feature health.
8
+ */
9
+ export type StoreHealthResponseContent = {
10
+ /**
11
+ * Store health status.
12
+ */
13
+ status: StoreHealthStatus;
14
+ features: {
15
+ [k: string]: StoreHealthFeature;
16
+ };
17
+ };
18
+ /** @internal */
19
+ export declare const StoreHealthResponseContent$inboundSchema: z.ZodType<StoreHealthResponseContent, z.ZodTypeDef, unknown>;
20
+ export declare function storeHealthResponseContentFromJSON(jsonString: string): SafeParseResult<StoreHealthResponseContent, SDKValidationError>;
21
+ //# sourceMappingURL=store-health-response-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-response-content.d.ts","sourceRoot":"","sources":["../../../src/models/store-health-response-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAA;KAAE,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b8bf87d488ff
4
+ */
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { StoreHealthFeature$inboundSchema, } from "./store-health-feature.js";
8
+ import { StoreHealthStatus$inboundSchema, } from "./store-health-status.js";
9
+ /** @internal */
10
+ export const StoreHealthResponseContent$inboundSchema = z.object({
11
+ status: StoreHealthStatus$inboundSchema,
12
+ features: z.record(StoreHealthFeature$inboundSchema),
13
+ });
14
+ export function storeHealthResponseContentFromJSON(jsonString) {
15
+ return safeParse(jsonString, (x) => StoreHealthResponseContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StoreHealthResponseContent' from JSON`);
16
+ }
17
+ //# sourceMappingURL=store-health-response-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-response-content.js","sourceRoot":"","sources":["../../../src/models/store-health-response-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAEL,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAalC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,+BAA+B;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,gCAAgC,CAAC;CACrD,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
@@ -0,0 +1,17 @@
1
+ import * as z from "zod/v3";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ /**
4
+ * Store health status.
5
+ */
6
+ export declare const StoreHealthStatus: {
7
+ readonly Healthy: "healthy";
8
+ readonly Degraded: "degraded";
9
+ readonly Unavailable: "unavailable";
10
+ };
11
+ /**
12
+ * Store health status.
13
+ */
14
+ export type StoreHealthStatus = OpenEnum<typeof StoreHealthStatus>;
15
+ /** @internal */
16
+ export declare const StoreHealthStatus$inboundSchema: z.ZodType<StoreHealthStatus, z.ZodTypeDef, unknown>;
17
+ //# sourceMappingURL=store-health-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-status.d.ts","sourceRoot":"","sources":["../../../src/models/store-health-status.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CACqC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: d59e984c90e9
4
+ */
5
+ import * as openEnums from "../types/enums.js";
6
+ /**
7
+ * Store health status.
8
+ */
9
+ export const StoreHealthStatus = {
10
+ Healthy: "healthy",
11
+ Degraded: "degraded",
12
+ Unavailable: "unavailable",
13
+ };
14
+ /** @internal */
15
+ export const StoreHealthStatus$inboundSchema = openEnums.inboundSchema(StoreHealthStatus);
16
+ //# sourceMappingURL=store-health-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-health-status.js","sourceRoot":"","sources":["../../../src/models/store-health-status.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CAClB,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAIxC,SAAS,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  /**
3
- * Filter by topics.
3
+ * Filter by topics. Matching is case-insensitive.
4
4
  */
5
5
  export type TopicsFilter = {
6
6
  /**
@@ -0,0 +1,41 @@
1
+ import * as z from "zod/v3";
2
+ /**
3
+ * Type- and namespace-scoped field update request for a custom-typed long-term memory record.
4
+ */
5
+ export type UpdateLongTermMemoryFieldsRequestContent = {
6
+ /**
7
+ * The caller's bound memory type. The update is rejected unless the record's stored memoryType matches.
8
+ */
9
+ memoryType: string;
10
+ /**
11
+ * The caller's namespace. The update is rejected with 409 unless the record's stored namespace matches exactly.
12
+ *
13
+ * @remarks
14
+ *
15
+ * Omit it to assert that the record has no namespace — an omitted value matches only records stored without one, it does not mean "any namespace". The check is applied atomically with the update, so a record cannot be re-filed into another namespace between the check and the write.
16
+ */
17
+ namespace?: string | undefined;
18
+ /**
19
+ * Updated text content (1-50000 chars). Omit to leave the text unchanged.
20
+ */
21
+ text?: string | undefined;
22
+ /**
23
+ * Structured record attributes: a map from the custom memory type's field name to that field's value. Values are arbitrary JSON matching the field's declared type (str, int, float, bool, list[str], list[float], or object).
24
+ */
25
+ attributes?: {
26
+ [k: string]: any;
27
+ } | undefined;
28
+ };
29
+ /** @internal */
30
+ export type UpdateLongTermMemoryFieldsRequestContent$Outbound = {
31
+ memoryType: string;
32
+ namespace?: string | undefined;
33
+ text?: string | undefined;
34
+ attributes?: {
35
+ [k: string]: any;
36
+ } | undefined;
37
+ };
38
+ /** @internal */
39
+ export declare const UpdateLongTermMemoryFieldsRequestContent$outboundSchema: z.ZodType<UpdateLongTermMemoryFieldsRequestContent$Outbound, z.ZodTypeDef, UpdateLongTermMemoryFieldsRequestContent>;
40
+ export declare function updateLongTermMemoryFieldsRequestContentToJSON(updateLongTermMemoryFieldsRequestContent: UpdateLongTermMemoryFieldsRequestContent): string;
41
+ //# sourceMappingURL=update-long-term-memory-fields-request-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-long-term-memory-fields-request-content.d.ts","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-fields-request-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iDAAiD,GAAG;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,iDAAiD,EACjD,CAAC,CAAC,UAAU,EACZ,wCAAwC,CAMxC,CAAC;AAEH,wBAAgB,8CAA8C,CAC5D,wCAAwC,EACtC,wCAAwC,GACzC,MAAM,CAMR"}
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3e5d9fd9c7a3
4
+ */
5
+ import * as z from "zod/v3";
6
+ /** @internal */
7
+ export const UpdateLongTermMemoryFieldsRequestContent$outboundSchema = z.object({
8
+ memoryType: z.string(),
9
+ namespace: z.string().optional(),
10
+ text: z.string().optional(),
11
+ attributes: z.record(z.any()).optional(),
12
+ });
13
+ export function updateLongTermMemoryFieldsRequestContentToJSON(updateLongTermMemoryFieldsRequestContent) {
14
+ return JSON.stringify(UpdateLongTermMemoryFieldsRequestContent$outboundSchema.parse(updateLongTermMemoryFieldsRequestContent));
15
+ }
16
+ //# sourceMappingURL=update-long-term-memory-fields-request-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-long-term-memory-fields-request-content.js","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-fields-request-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAoC5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,uDAAuD,GAIhE,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH,MAAM,UAAU,8CAA8C,CAC5D,wCAC0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,uDAAuD,CAAC,KAAK,CAC3D,wCAAwC,CACzC,CACF,CAAC;AAAA,CACH"}
@@ -1,5 +1,4 @@
1
1
  import * as z from "zod/v3";
2
- import { MemoryType } from "./memory-type.js";
3
2
  /**
4
3
  * Partial update request for a long-term memory record.
5
4
  */
@@ -9,19 +8,23 @@ export type UpdateLongTermMemoryRequestContent = {
9
8
  */
10
9
  text?: string | undefined;
11
10
  /**
12
- * Type of long-term memory.
11
+ * Updated memory type. Built-in or a custom type registered on the store.
13
12
  */
14
- memoryType?: MemoryType | undefined;
13
+ memoryType?: string | undefined;
15
14
  /**
16
15
  * Updated topics (max 50 topics, each 1-100 chars).
17
16
  */
18
17
  topics?: Array<string> | undefined;
19
18
  /**
20
19
  * Updated namespace. When provided, must be 1-64 chars alphanumeric and dashes; omit the field or send an empty string to clear.
20
+ *
21
+ * @remarks
22
+ *
23
+ * This is the only way to change the namespace of an existing record, including one produced by extraction: a record inherits its session's namespace at creation and is not revised afterwards, so use this to re-file a record or to add a namespace to one created before the session had any.
21
24
  */
22
25
  namespace?: string | undefined;
23
26
  /**
24
- * Updated owner ID. When provided, must be 1-64 chars alphanumeric and dashes; omit the field or send an empty string to clear.
27
+ * Updated owner ID. When provided, must be 1-64 chars alphanumeric and dashes and non-empty; omit the field to leave unchanged. Clearing is not supported because ownerId is required.
25
28
  */
26
29
  ownerId?: string | undefined;
27
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"update-long-term-memory-request-content.d.ts","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-request-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,kCAAkC,CAQlC,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,kCAAkC,EAAE,kCAAkC,GACrE,MAAM,CAMR"}
1
+ {"version":3,"file":"update-long-term-memory-request-content.d.ts","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-request-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,kCAAkC,CAQlC,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,kCAAkC,EAAE,kCAAkC,GACrE,MAAM,CAMR"}
@@ -3,11 +3,10 @@
3
3
  * @generated-id: 0ffd43d2530f
4
4
  */
5
5
  import * as z from "zod/v3";
6
- import { MemoryType$outboundSchema } from "./memory-type.js";
7
6
  /** @internal */
8
7
  export const UpdateLongTermMemoryRequestContent$outboundSchema = z.object({
9
8
  text: z.string().optional(),
10
- memoryType: MemoryType$outboundSchema.optional(),
9
+ memoryType: z.string().optional(),
11
10
  topics: z.array(z.string()).optional(),
12
11
  namespace: z.string().optional(),
13
12
  ownerId: z.string().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-long-term-memory-request-content.js","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-request-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAc,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AA0CzE,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,yBAAyB,CAAC,QAAQ,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,UAAU,wCAAwC,CACtD,kCAAsE,EAC9D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"update-long-term-memory-request-content.js","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-request-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AA8C5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,UAAU,wCAAwC,CACtD,kCAAsE,EAC9D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AAAA,CACH"}
@@ -1,7 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
- import { MemoryType } from "./memory-type.js";
5
4
  /**
6
5
  * A long-term memory record.
7
6
  */
@@ -15,9 +14,9 @@ export type UpdateLongTermMemoryResponseContent = {
15
14
  */
16
15
  text: string;
17
16
  /**
18
- * Type of long-term memory.
17
+ * Type of memory. Built-in or a custom type registered on the store.
19
18
  */
20
- memoryType?: MemoryType | undefined;
19
+ memoryType?: string | undefined;
21
20
  /**
22
21
  * Session ID associated with this memory.
23
22
  */
@@ -27,13 +26,19 @@ export type UpdateLongTermMemoryResponseContent = {
27
26
  */
28
27
  ownerId?: string | undefined;
29
28
  /**
30
- * Namespace for logical grouping.
29
+ * Namespace for logical grouping. Absent when the record has none: either it was written directly without one, or it was extracted from a session that has no namespace.
31
30
  */
32
31
  namespace?: string | undefined;
33
32
  /**
34
33
  * Topic tags for categorization.
35
34
  */
36
35
  topics?: Array<string> | undefined;
36
+ /**
37
+ * Structured record attributes: a map from the custom memory type's field name to that field's value. Values are arbitrary JSON matching the field's declared type (str, int, float, bool, list[str], list[float], or object).
38
+ */
39
+ attributes?: {
40
+ [k: string]: any;
41
+ } | undefined;
37
42
  /**
38
43
  * Timestamp when the memory was created (UTC).
39
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"update-long-term-memory-response-content.d.ts","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-response-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
1
+ {"version":3,"file":"update-long-term-memory-response-content.d.ts","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-response-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -4,16 +4,16 @@
4
4
  */
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../lib/schemas.js";
7
- import { MemoryType$inboundSchema } from "./memory-type.js";
8
7
  /** @internal */
9
8
  export const UpdateLongTermMemoryResponseContent$inboundSchema = z.object({
10
9
  id: z.string(),
11
10
  text: z.string(),
12
- memoryType: MemoryType$inboundSchema.optional(),
11
+ memoryType: z.string().optional(),
13
12
  sessionId: z.string().optional(),
14
13
  ownerId: z.string().optional(),
15
14
  namespace: z.string().optional(),
16
15
  topics: z.array(z.string()).optional(),
16
+ attributes: z.record(z.any()).optional(),
17
17
  createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
18
18
  updatedAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-long-term-memory-response-content.js","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-response-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAc,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AA4CxE,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,wBAAwB,CAAC,QAAQ,EAAE;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"update-long-term-memory-response-content.js","sourceRoot":"","sources":["../../../src/models/update-long-term-memory-response-content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAkD9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
@@ -1,10 +1,15 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as models from "../models/index.js";
3
+ import * as operations from "../models/operations/index.js";
3
4
  export declare class AgentMemory extends ClientSDK {
4
5
  /**
5
6
  * Return information about the operational status of the service.
6
7
  */
7
8
  health(options?: RequestOptions): Promise<models.HealthResponseContent>;
9
+ /**
10
+ * Returns read-only health for applicable store-scoped RAM features.
11
+ */
12
+ storeHealth(request?: operations.StoreHealthRequest | undefined, options?: RequestOptions): Promise<models.StoreHealthResponseContent>;
8
13
  /**
9
14
  * Deletes long-term memories in bulk by their IDs.
10
15
  */
@@ -25,6 +30,10 @@ export declare class AgentMemory extends ClientSDK {
25
30
  * Partially updates a long-term memory by its ID.
26
31
  */
27
32
  updateLongTermMemory(memoryId: string, body?: models.UpdateLongTermMemoryRequestContent | undefined, options?: RequestOptions): Promise<models.UpdateLongTermMemoryResponseContent>;
33
+ /**
34
+ * Atomically updates a custom-typed long-term memory's text and/or attributes, scoped to the caller's bound memory type. Used by the custom-extraction worker.
35
+ */
36
+ updateLongTermMemoryFields(memoryId: string, body: models.UpdateLongTermMemoryFieldsRequestContent, options?: RequestOptions): Promise<void>;
28
37
  /**
29
38
  * Returns a paginated list of session IDs for a store.
30
39
  */
@@ -40,7 +49,7 @@ export declare class AgentMemory extends ClientSDK {
40
49
  /**
41
50
  * Returns the session memory for a session.
42
51
  */
43
- getSessionMemory(sessionId: string, options?: RequestOptions): Promise<models.GetSessionMemoryResponseContent>;
52
+ getSessionMemory(sessionId: string, includeSummarisedEvents?: boolean | undefined, options?: RequestOptions): Promise<models.GetSessionMemoryResponseContent>;
44
53
  /**
45
54
  * Deletes a single event from a session by event ID.
46
55
  */