@mastra/server 0.0.0-span-scorring-test-20251124132129 → 0.0.0-standard-schema-20260123120255

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 (399) hide show
  1. package/CHANGELOG.md +1811 -32
  2. package/README.md +2 -2
  3. package/a2a/store.d.ts +1 -0
  4. package/auth.d.ts +1 -0
  5. package/dist/{chunk-SHWNNZBL.js → chunk-24SISJRB.js} +13 -17
  6. package/dist/chunk-24SISJRB.js.map +1 -0
  7. package/dist/{chunk-G7BPNX2V.js → chunk-2JNW2CLE.js} +64 -14
  8. package/dist/chunk-2JNW2CLE.js.map +1 -0
  9. package/dist/chunk-2UHOWYFV.js +184 -0
  10. package/dist/chunk-2UHOWYFV.js.map +1 -0
  11. package/dist/chunk-3W67K7YE.js +13 -0
  12. package/dist/chunk-3W67K7YE.js.map +1 -0
  13. package/dist/chunk-4HFYR562.cjs +82 -0
  14. package/dist/chunk-4HFYR562.cjs.map +1 -0
  15. package/dist/chunk-55TH4ME5.js +170 -0
  16. package/dist/chunk-55TH4ME5.js.map +1 -0
  17. package/dist/{chunk-Z36N2OQA.cjs → chunk-55XIQCGI.cjs} +358 -137
  18. package/dist/chunk-55XIQCGI.cjs.map +1 -0
  19. package/dist/{chunk-QGWCNTG6.cjs → chunk-5NQ3GWUJ.cjs} +493 -172
  20. package/dist/chunk-5NQ3GWUJ.cjs.map +1 -0
  21. package/dist/{chunk-QU6N55W6.cjs → chunk-6G2RQWKA.cjs} +17 -21
  22. package/dist/chunk-6G2RQWKA.cjs.map +1 -0
  23. package/dist/{chunk-KB5NSROG.cjs → chunk-6NLJ5YC3.cjs} +47 -42
  24. package/dist/chunk-6NLJ5YC3.cjs.map +1 -0
  25. package/dist/chunk-6OFKRQQL.js +45 -0
  26. package/dist/chunk-6OFKRQQL.js.map +1 -0
  27. package/dist/{chunk-UXGQZUYZ.js → chunk-7AINN3FK.js} +13 -3
  28. package/dist/chunk-7AINN3FK.js.map +1 -0
  29. package/dist/chunk-7D3UAMQM.cjs +82 -0
  30. package/dist/chunk-7D3UAMQM.cjs.map +1 -0
  31. package/dist/{chunk-I5VZ5SKG.js → chunk-7ERB6H6K.js} +17 -11
  32. package/dist/chunk-7ERB6H6K.js.map +1 -0
  33. package/dist/{chunk-NDFAQBQD.cjs → chunk-AEMLCRS5.cjs} +514 -166
  34. package/dist/chunk-AEMLCRS5.cjs.map +1 -0
  35. package/dist/chunk-BLCHLNBT.js +442 -0
  36. package/dist/chunk-BLCHLNBT.js.map +1 -0
  37. package/dist/{chunk-ZLRTFRL4.js → chunk-BSOLG32W.js} +407 -91
  38. package/dist/chunk-BSOLG32W.js.map +1 -0
  39. package/dist/{chunk-ASZUOBKV.js → chunk-CQUWREB2.js} +42 -20
  40. package/dist/chunk-CQUWREB2.js.map +1 -0
  41. package/dist/chunk-CRCXQW5R.cjs +47 -0
  42. package/dist/chunk-CRCXQW5R.cjs.map +1 -0
  43. package/dist/{chunk-3R5EV3HV.js → chunk-CT7S7VRG.js} +36 -29
  44. package/dist/chunk-CT7S7VRG.js.map +1 -0
  45. package/dist/{chunk-FAQICBMH.js → chunk-D23WBCJ6.js} +70 -7
  46. package/dist/chunk-D23WBCJ6.js.map +1 -0
  47. package/dist/{chunk-R4M3BSUG.js → chunk-DOU5IGJB.js} +26 -10
  48. package/dist/chunk-DOU5IGJB.js.map +1 -0
  49. package/dist/chunk-DUTGH2DM.js +31748 -0
  50. package/dist/chunk-DUTGH2DM.js.map +1 -0
  51. package/dist/{chunk-5PONYNYP.cjs → chunk-E2SZSFGZ.cjs} +20 -17
  52. package/dist/chunk-E2SZSFGZ.cjs.map +1 -0
  53. package/dist/chunk-EH45MGLR.cjs +322 -0
  54. package/dist/chunk-EH45MGLR.cjs.map +1 -0
  55. package/dist/chunk-FRRHYZR6.cjs +88 -0
  56. package/dist/chunk-FRRHYZR6.cjs.map +1 -0
  57. package/dist/{chunk-ZULZ2752.js → chunk-FXW7MD4U.js} +3 -3
  58. package/dist/chunk-FXW7MD4U.js.map +1 -0
  59. package/dist/{chunk-YJ3VDL3Z.cjs → chunk-GGAV65A7.cjs} +37 -31
  60. package/dist/chunk-GGAV65A7.cjs.map +1 -0
  61. package/dist/{chunk-PKRHEXX7.js → chunk-HT4LP3BO.js} +19 -18
  62. package/dist/chunk-HT4LP3BO.js.map +1 -0
  63. package/dist/chunk-HZINLMHL.cjs +252 -0
  64. package/dist/chunk-HZINLMHL.cjs.map +1 -0
  65. package/dist/{chunk-RQK4FQUD.js → chunk-IGXRQWNN.js} +6 -48
  66. package/dist/chunk-IGXRQWNN.js.map +1 -0
  67. package/dist/chunk-IROUDQSO.js +246 -0
  68. package/dist/chunk-IROUDQSO.js.map +1 -0
  69. package/dist/chunk-IS3HHGL4.js +250 -0
  70. package/dist/chunk-IS3HHGL4.js.map +1 -0
  71. package/dist/chunk-JJLEVKG7.js +576 -0
  72. package/dist/chunk-JJLEVKG7.js.map +1 -0
  73. package/dist/{chunk-UJNHKFBR.cjs → chunk-K34R4R2T.cjs} +72 -6
  74. package/dist/chunk-K34R4R2T.cjs.map +1 -0
  75. package/dist/chunk-K4HSW5ZF.js +77 -0
  76. package/dist/chunk-K4HSW5ZF.js.map +1 -0
  77. package/dist/{chunk-ZODCSH2W.cjs → chunk-L2U75ERO.cjs} +54 -32
  78. package/dist/chunk-L2U75ERO.cjs.map +1 -0
  79. package/dist/chunk-L2VZFGWH.cjs +31787 -0
  80. package/dist/chunk-L2VZFGWH.cjs.map +1 -0
  81. package/dist/chunk-L7LB66KK.cjs +450 -0
  82. package/dist/chunk-L7LB66KK.cjs.map +1 -0
  83. package/dist/chunk-LJ6YRVDI.cjs +15 -0
  84. package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
  85. package/dist/{chunk-2NW6POYK.cjs → chunk-MCYD5LW7.cjs} +19 -18
  86. package/dist/chunk-MCYD5LW7.cjs.map +1 -0
  87. package/dist/{chunk-6DTV6NEW.js → chunk-MF4PZE2D.js} +11 -8
  88. package/dist/chunk-MF4PZE2D.js.map +1 -0
  89. package/dist/{chunk-35NT4TMQ.cjs → chunk-MP6TNZXA.cjs} +66 -55
  90. package/dist/chunk-MP6TNZXA.cjs.map +1 -0
  91. package/dist/chunk-MPM2W4IS.js +312 -0
  92. package/dist/chunk-MPM2W4IS.js.map +1 -0
  93. package/dist/chunk-NE4CLM6P.cjs +190 -0
  94. package/dist/chunk-NE4CLM6P.cjs.map +1 -0
  95. package/dist/chunk-NL6ELCFS.cjs +603 -0
  96. package/dist/chunk-NL6ELCFS.cjs.map +1 -0
  97. package/dist/{chunk-MWQQRVQC.cjs → chunk-OD6Y7FEM.cjs} +34 -13
  98. package/dist/chunk-OD6Y7FEM.cjs.map +1 -0
  99. package/dist/chunk-OS7SAIRA.js +250 -0
  100. package/dist/chunk-OS7SAIRA.js.map +1 -0
  101. package/dist/chunk-PWXUI3OG.cjs +252 -0
  102. package/dist/chunk-PWXUI3OG.cjs.map +1 -0
  103. package/dist/{chunk-UOFV2ZCI.js → chunk-QAXO2LQT.js} +316 -96
  104. package/dist/chunk-QAXO2LQT.js.map +1 -0
  105. package/dist/chunk-RIX6WEJ2.js +83 -0
  106. package/dist/chunk-RIX6WEJ2.js.map +1 -0
  107. package/dist/{chunk-FXDZLX2Y.js → chunk-RRVA4RVW.js} +37 -26
  108. package/dist/chunk-RRVA4RVW.js.map +1 -0
  109. package/dist/{chunk-LPM6BBAX.cjs → chunk-SLDAFSKJ.cjs} +5 -56
  110. package/dist/chunk-SLDAFSKJ.cjs.map +1 -0
  111. package/dist/{chunk-2PLXW4ZX.cjs → chunk-T6YYVQHJ.cjs} +74 -74
  112. package/dist/chunk-T6YYVQHJ.cjs.map +1 -0
  113. package/dist/chunk-TF4LSD27.cjs +180 -0
  114. package/dist/chunk-TF4LSD27.cjs.map +1 -0
  115. package/dist/chunk-TM6IOINJ.cjs +252 -0
  116. package/dist/chunk-TM6IOINJ.cjs.map +1 -0
  117. package/dist/{chunk-ICANWSEW.js → chunk-UVE6SV6I.js} +25 -20
  118. package/dist/chunk-UVE6SV6I.js.map +1 -0
  119. package/dist/{chunk-V5WWQN7P.cjs → chunk-UWYAL2Z3.cjs} +13 -2
  120. package/dist/chunk-UWYAL2Z3.cjs.map +1 -0
  121. package/dist/{chunk-UZ6CYAOG.cjs → chunk-VES6QKOW.cjs} +64 -14
  122. package/dist/chunk-VES6QKOW.cjs.map +1 -0
  123. package/dist/{chunk-VQAT5HX6.js → chunk-W7HAZD2A.js} +458 -116
  124. package/dist/chunk-W7HAZD2A.js.map +1 -0
  125. package/dist/{chunk-4ECGVOJZ.cjs → chunk-WNQUNLRT.cjs} +40 -33
  126. package/dist/chunk-WNQUNLRT.cjs.map +1 -0
  127. package/dist/chunk-XKLJYRAA.js +77 -0
  128. package/dist/chunk-XKLJYRAA.js.map +1 -0
  129. package/dist/{dist-G2BYZJOC.cjs → dist-2GQKYJ34.cjs} +28 -28
  130. package/dist/dist-2GQKYJ34.cjs.map +1 -0
  131. package/dist/{dist-X7XR3M3Z.js → dist-C6BUHOEE.js} +3 -3
  132. package/dist/dist-C6BUHOEE.js.map +1 -0
  133. package/dist/dist-DGOEFPQD.cjs +16 -0
  134. package/dist/{dist-P4MXBQ3U.cjs.map → dist-DGOEFPQD.cjs.map} +1 -1
  135. package/dist/dist-FT2OR7OS.js +3 -0
  136. package/dist/{dist-YREX2TJT.js.map → dist-FT2OR7OS.js.map} +1 -1
  137. package/dist/{dist-XVBSOGFK.js → dist-G4CR4WYY.js} +3 -3
  138. package/dist/dist-G4CR4WYY.js.map +1 -0
  139. package/dist/{dist-PQZUVLPC.js → dist-G5QFRYLQ.js} +3 -3
  140. package/dist/dist-G5QFRYLQ.js.map +1 -0
  141. package/dist/{dist-4MVGNSRL.cjs → dist-JPQK5S4K.cjs} +20 -20
  142. package/dist/dist-JPQK5S4K.cjs.map +1 -0
  143. package/dist/{dist-R7WYX6LC.js → dist-MIDN25GT.js} +3 -3
  144. package/dist/dist-MIDN25GT.js.map +1 -0
  145. package/dist/{dist-RFMYFILX.cjs → dist-SNKH6NS2.cjs} +30 -30
  146. package/dist/dist-SNKH6NS2.cjs.map +1 -0
  147. package/dist/{dist-FZYCV3VB.cjs → dist-XBQPKAO4.cjs} +26 -26
  148. package/dist/dist-XBQPKAO4.cjs.map +1 -0
  149. package/dist/docs/README.md +31 -0
  150. package/dist/docs/SKILL.md +32 -0
  151. package/dist/docs/SOURCE_MAP.json +6 -0
  152. package/dist/docs/server/01-custom-adapters.md +380 -0
  153. package/dist/docs/server/02-reference.md +819 -0
  154. package/dist/server/auth/defaults.d.ts +3 -0
  155. package/dist/server/auth/defaults.d.ts.map +1 -0
  156. package/dist/server/auth/helpers.d.ts +14 -0
  157. package/dist/server/auth/helpers.d.ts.map +1 -0
  158. package/dist/server/auth/index.cjs +44 -0
  159. package/dist/server/auth/index.cjs.map +1 -0
  160. package/dist/server/auth/index.d.ts +3 -0
  161. package/dist/server/auth/index.d.ts.map +1 -0
  162. package/dist/server/auth/index.js +3 -0
  163. package/dist/server/auth/index.js.map +1 -0
  164. package/dist/server/auth/path-pattern.d.ts +43 -0
  165. package/dist/server/auth/path-pattern.d.ts.map +1 -0
  166. package/dist/server/handlers/a2a.cjs +9 -9
  167. package/dist/server/handlers/a2a.d.ts +34 -420
  168. package/dist/server/handlers/a2a.d.ts.map +1 -1
  169. package/dist/server/handlers/a2a.js +1 -1
  170. package/dist/server/handlers/agent-builder.cjs +16 -28
  171. package/dist/server/handlers/agent-builder.d.ts +154 -460
  172. package/dist/server/handlers/agent-builder.d.ts.map +1 -1
  173. package/dist/server/handlers/agent-builder.js +1 -1
  174. package/dist/server/handlers/agent-versions.cjs +60 -0
  175. package/dist/server/handlers/agent-versions.cjs.map +1 -0
  176. package/dist/server/handlers/agent-versions.d.ts +425 -0
  177. package/dist/server/handlers/agent-versions.d.ts.map +1 -0
  178. package/dist/server/handlers/agent-versions.js +3 -0
  179. package/dist/server/handlers/agent-versions.js.map +1 -0
  180. package/dist/server/handlers/agents.cjs +43 -23
  181. package/dist/server/handlers/agents.d.ts +362 -2912
  182. package/dist/server/handlers/agents.d.ts.map +1 -1
  183. package/dist/server/handlers/agents.js +1 -1
  184. package/dist/server/handlers/error.cjs +6 -2
  185. package/dist/server/handlers/error.d.ts +22 -0
  186. package/dist/server/handlers/error.d.ts.map +1 -1
  187. package/dist/server/handlers/error.js +1 -1
  188. package/dist/server/handlers/logs.cjs +4 -4
  189. package/dist/server/handlers/logs.d.ts +63 -111
  190. package/dist/server/handlers/logs.d.ts.map +1 -1
  191. package/dist/server/handlers/logs.js +1 -1
  192. package/dist/server/handlers/mcp.cjs +40 -0
  193. package/dist/server/handlers/mcp.cjs.map +1 -0
  194. package/dist/server/handlers/mcp.d.ts +92 -0
  195. package/dist/server/handlers/mcp.d.ts.map +1 -0
  196. package/dist/server/handlers/mcp.js +3 -0
  197. package/dist/server/handlers/mcp.js.map +1 -0
  198. package/dist/server/handlers/memory.cjs +28 -24
  199. package/dist/server/handlers/memory.d.ts +244 -756
  200. package/dist/server/handlers/memory.d.ts.map +1 -1
  201. package/dist/server/handlers/memory.js +1 -1
  202. package/dist/server/handlers/observability.cjs +7 -23
  203. package/dist/server/handlers/observability.d.ts +97 -114
  204. package/dist/server/handlers/observability.d.ts.map +1 -1
  205. package/dist/server/handlers/observability.js +1 -1
  206. package/dist/server/handlers/processors.cjs +20 -0
  207. package/dist/server/handlers/processors.cjs.map +1 -0
  208. package/dist/server/handlers/processors.d.ts +90 -0
  209. package/dist/server/handlers/processors.d.ts.map +1 -0
  210. package/dist/server/handlers/processors.js +3 -0
  211. package/dist/server/handlers/processors.js.map +1 -0
  212. package/dist/server/handlers/scores.cjs +7 -7
  213. package/dist/server/handlers/scores.d.ts +18 -54
  214. package/dist/server/handlers/scores.d.ts.map +1 -1
  215. package/dist/server/handlers/scores.js +1 -1
  216. package/dist/server/handlers/stored-agents.cjs +28 -0
  217. package/dist/server/handlers/stored-agents.cjs.map +1 -0
  218. package/dist/server/handlers/stored-agents.d.ts +214 -0
  219. package/dist/server/handlers/stored-agents.d.ts.map +1 -0
  220. package/dist/server/handlers/stored-agents.js +3 -0
  221. package/dist/server/handlers/stored-agents.js.map +1 -0
  222. package/dist/server/handlers/system.cjs +12 -0
  223. package/dist/server/handlers/system.cjs.map +1 -0
  224. package/dist/server/handlers/system.d.ts +7 -0
  225. package/dist/server/handlers/system.d.ts.map +1 -0
  226. package/dist/server/handlers/system.js +3 -0
  227. package/dist/server/handlers/system.js.map +1 -0
  228. package/dist/server/handlers/test-utils.cjs +2 -2
  229. package/dist/server/handlers/test-utils.cjs.map +1 -1
  230. package/dist/server/handlers/test-utils.d.ts +3 -3
  231. package/dist/server/handlers/test-utils.d.ts.map +1 -1
  232. package/dist/server/handlers/test-utils.js +2 -2
  233. package/dist/server/handlers/test-utils.js.map +1 -1
  234. package/dist/server/handlers/tools.cjs +6 -6
  235. package/dist/server/handlers/tools.d.ts +7 -36
  236. package/dist/server/handlers/tools.d.ts.map +1 -1
  237. package/dist/server/handlers/tools.js +1 -1
  238. package/dist/server/handlers/vector.cjs +13 -13
  239. package/dist/server/handlers/vector.d.ts +16 -57
  240. package/dist/server/handlers/vector.d.ts.map +1 -1
  241. package/dist/server/handlers/vector.js +1 -1
  242. package/dist/server/handlers/voice.cjs +8 -8
  243. package/dist/server/handlers/voice.d.ts +18 -56
  244. package/dist/server/handlers/voice.d.ts.map +1 -1
  245. package/dist/server/handlers/voice.js +1 -1
  246. package/dist/server/handlers/workflows.cjs +46 -26
  247. package/dist/server/handlers/workflows.d.ts +358 -533
  248. package/dist/server/handlers/workflows.d.ts.map +1 -1
  249. package/dist/server/handlers/workflows.js +1 -1
  250. package/dist/server/handlers.cjs +36 -31
  251. package/dist/server/handlers.d.ts +1 -0
  252. package/dist/server/handlers.d.ts.map +1 -1
  253. package/dist/server/handlers.js +12 -11
  254. package/dist/server/schemas/a2a.d.ts +56 -700
  255. package/dist/server/schemas/a2a.d.ts.map +1 -1
  256. package/dist/server/schemas/agent-builder.d.ts +26 -143
  257. package/dist/server/schemas/agent-builder.d.ts.map +1 -1
  258. package/dist/server/schemas/agent-versions.d.ts +379 -0
  259. package/dist/server/schemas/agent-versions.d.ts.map +1 -0
  260. package/dist/server/schemas/agents.d.ts +152 -1031
  261. package/dist/server/schemas/agents.d.ts.map +1 -1
  262. package/dist/server/schemas/common.d.ts +37 -103
  263. package/dist/server/schemas/common.d.ts.map +1 -1
  264. package/dist/server/schemas/logs.d.ts +38 -106
  265. package/dist/server/schemas/logs.d.ts.map +1 -1
  266. package/dist/server/schemas/mcp.d.ts +91 -0
  267. package/dist/server/schemas/mcp.d.ts.map +1 -0
  268. package/dist/server/schemas/memory.d.ts +288 -831
  269. package/dist/server/schemas/memory.d.ts.map +1 -1
  270. package/dist/server/schemas/processors.d.ts +162 -0
  271. package/dist/server/schemas/processors.d.ts.map +1 -0
  272. package/dist/server/schemas/scores.d.ts +31 -213
  273. package/dist/server/schemas/scores.d.ts.map +1 -1
  274. package/dist/server/schemas/stored-agents.d.ts +274 -0
  275. package/dist/server/schemas/stored-agents.d.ts.map +1 -0
  276. package/dist/server/schemas/system.d.ts +14 -0
  277. package/dist/server/schemas/system.d.ts.map +1 -0
  278. package/dist/server/schemas/vectors.d.ts +21 -81
  279. package/dist/server/schemas/vectors.d.ts.map +1 -1
  280. package/dist/server/schemas/workflows.d.ts +248 -382
  281. package/dist/server/schemas/workflows.d.ts.map +1 -1
  282. package/dist/server/server-adapter/index.cjs +441 -137
  283. package/dist/server/server-adapter/index.cjs.map +1 -1
  284. package/dist/server/server-adapter/index.d.ts +94 -16
  285. package/dist/server/server-adapter/index.d.ts.map +1 -1
  286. package/dist/server/server-adapter/index.js +325 -35
  287. package/dist/server/server-adapter/index.js.map +1 -1
  288. package/dist/server/server-adapter/redact.d.ts +26 -0
  289. package/dist/server/server-adapter/redact.d.ts.map +1 -0
  290. package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -1
  291. package/dist/server/server-adapter/routes/agents.d.ts.map +1 -1
  292. package/dist/server/server-adapter/routes/index.d.ts +18 -7
  293. package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
  294. package/dist/server/server-adapter/routes/mcp.d.ts +9 -0
  295. package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -0
  296. package/dist/server/server-adapter/routes/memory.d.ts.map +1 -1
  297. package/dist/server/server-adapter/routes/processors.d.ts +3 -0
  298. package/dist/server/server-adapter/routes/processors.d.ts.map +1 -0
  299. package/dist/server/server-adapter/routes/route-builder.d.ts +66 -6
  300. package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
  301. package/dist/server/server-adapter/routes/stored-agents.d.ts +8 -0
  302. package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -0
  303. package/dist/server/server-adapter/routes/system.d.ts +12 -0
  304. package/dist/server/server-adapter/routes/system.d.ts.map +1 -0
  305. package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -1
  306. package/dist/server/utils.d.ts +1 -1
  307. package/dist/server/utils.d.ts.map +1 -1
  308. package/dist/{token-375W3LEI.cjs → token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs} +11 -12
  309. package/dist/token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs.map +1 -0
  310. package/dist/{token-C3IMNCC4.js → token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js} +8 -9
  311. package/dist/token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js.map +1 -0
  312. package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs +63 -0
  313. package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs.map +1 -0
  314. package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js +61 -0
  315. package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js.map +1 -0
  316. package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs +63 -0
  317. package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs.map +1 -0
  318. package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js +61 -0
  319. package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js.map +1 -0
  320. package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js +8 -0
  321. package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js.map +1 -0
  322. package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs +10 -0
  323. package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs.map +1 -0
  324. package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js +8 -0
  325. package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js.map +1 -0
  326. package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs +10 -0
  327. package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs.map +1 -0
  328. package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs +10 -0
  329. package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs.map +1 -0
  330. package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js +8 -0
  331. package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js.map +1 -0
  332. package/handlers/server/handlers.d.ts +1 -0
  333. package/handlers.d.ts +1 -0
  334. package/package.json +29 -17
  335. package/server-adapter.d.ts +1 -0
  336. package/dist/chunk-2NW6POYK.cjs.map +0 -1
  337. package/dist/chunk-2PLXW4ZX.cjs.map +0 -1
  338. package/dist/chunk-35NT4TMQ.cjs.map +0 -1
  339. package/dist/chunk-3R5EV3HV.js.map +0 -1
  340. package/dist/chunk-4ECGVOJZ.cjs.map +0 -1
  341. package/dist/chunk-5PONYNYP.cjs.map +0 -1
  342. package/dist/chunk-6BISSAIF.js +0 -23494
  343. package/dist/chunk-6BISSAIF.js.map +0 -1
  344. package/dist/chunk-6DTV6NEW.js.map +0 -1
  345. package/dist/chunk-AEO6IHLK.cjs +0 -368
  346. package/dist/chunk-AEO6IHLK.cjs.map +0 -1
  347. package/dist/chunk-ASZUOBKV.js.map +0 -1
  348. package/dist/chunk-ECIVTQ4E.js +0 -354
  349. package/dist/chunk-ECIVTQ4E.js.map +0 -1
  350. package/dist/chunk-FAQICBMH.js.map +0 -1
  351. package/dist/chunk-FXDZLX2Y.js.map +0 -1
  352. package/dist/chunk-G7BPNX2V.js.map +0 -1
  353. package/dist/chunk-I5VZ5SKG.js.map +0 -1
  354. package/dist/chunk-ICANWSEW.js.map +0 -1
  355. package/dist/chunk-KB5NSROG.cjs.map +0 -1
  356. package/dist/chunk-LPM6BBAX.cjs.map +0 -1
  357. package/dist/chunk-MWQQRVQC.cjs.map +0 -1
  358. package/dist/chunk-NDFAQBQD.cjs.map +0 -1
  359. package/dist/chunk-PKRHEXX7.js.map +0 -1
  360. package/dist/chunk-QGWCNTG6.cjs.map +0 -1
  361. package/dist/chunk-QU6N55W6.cjs.map +0 -1
  362. package/dist/chunk-R4M3BSUG.js.map +0 -1
  363. package/dist/chunk-RQK4FQUD.js.map +0 -1
  364. package/dist/chunk-SHWNNZBL.js.map +0 -1
  365. package/dist/chunk-TBVUN4XN.cjs +0 -23536
  366. package/dist/chunk-TBVUN4XN.cjs.map +0 -1
  367. package/dist/chunk-TOCYBDP2.js +0 -46
  368. package/dist/chunk-TOCYBDP2.js.map +0 -1
  369. package/dist/chunk-UJNHKFBR.cjs.map +0 -1
  370. package/dist/chunk-UOFV2ZCI.js.map +0 -1
  371. package/dist/chunk-UXGQZUYZ.js.map +0 -1
  372. package/dist/chunk-UZ6CYAOG.cjs.map +0 -1
  373. package/dist/chunk-V5WWQN7P.cjs.map +0 -1
  374. package/dist/chunk-VQAT5HX6.js.map +0 -1
  375. package/dist/chunk-X6C7BUWN.cjs +0 -48
  376. package/dist/chunk-X6C7BUWN.cjs.map +0 -1
  377. package/dist/chunk-YJ3VDL3Z.cjs.map +0 -1
  378. package/dist/chunk-Z36N2OQA.cjs.map +0 -1
  379. package/dist/chunk-ZLRTFRL4.js.map +0 -1
  380. package/dist/chunk-ZODCSH2W.cjs.map +0 -1
  381. package/dist/chunk-ZULZ2752.js.map +0 -1
  382. package/dist/dist-4MVGNSRL.cjs.map +0 -1
  383. package/dist/dist-FZYCV3VB.cjs.map +0 -1
  384. package/dist/dist-G2BYZJOC.cjs.map +0 -1
  385. package/dist/dist-P4MXBQ3U.cjs +0 -16
  386. package/dist/dist-PQZUVLPC.js.map +0 -1
  387. package/dist/dist-R7WYX6LC.js.map +0 -1
  388. package/dist/dist-RFMYFILX.cjs.map +0 -1
  389. package/dist/dist-X7XR3M3Z.js.map +0 -1
  390. package/dist/dist-XVBSOGFK.js.map +0 -1
  391. package/dist/dist-YREX2TJT.js +0 -3
  392. package/dist/server/schemas/observability.d.ts +0 -402
  393. package/dist/server/schemas/observability.d.ts.map +0 -1
  394. package/dist/token-375W3LEI.cjs.map +0 -1
  395. package/dist/token-C3IMNCC4.js.map +0 -1
  396. package/dist/token-util-CV3RRG6K.cjs +0 -9
  397. package/dist/token-util-CV3RRG6K.cjs.map +0 -1
  398. package/dist/token-util-E5QO2RCL.js +0 -7
  399. package/dist/token-util-E5QO2RCL.js.map +0 -1
@@ -15,492 +15,236 @@ export declare const GET_MEMORY_CONFIG_ROUTE: import("../server-adapter").Server
15
15
  };
16
16
  }, "json">;
17
17
  export declare const LIST_THREADS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
18
- perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
19
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
20
- } & {
21
- agentId: import("zod").ZodString;
22
- resourceId: import("zod").ZodString;
23
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
24
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
25
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
26
- }, "strip", import("zod").ZodTypeAny, {
27
- field?: "createdAt" | "updatedAt" | undefined;
28
- direction?: "ASC" | "DESC" | undefined;
29
- }, {
30
- field?: "createdAt" | "updatedAt" | undefined;
31
- direction?: "ASC" | "DESC" | undefined;
32
- }>>;
33
- }, "strip", import("zod").ZodTypeAny, {
34
- page: number;
35
- perPage: number;
36
- resourceId: string;
37
- agentId: string;
38
- orderBy?: {
39
- field?: "createdAt" | "updatedAt" | undefined;
40
- direction?: "ASC" | "DESC" | undefined;
41
- } | undefined;
42
- }, {
43
- resourceId: string;
44
- agentId: string;
45
- page?: number | undefined;
46
- perPage?: number | undefined;
47
- orderBy?: {
48
- field?: "createdAt" | "updatedAt" | undefined;
49
- direction?: "ASC" | "DESC" | undefined;
50
- } | undefined;
51
- }> | import("zod").ZodObject<{
52
- perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
53
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
54
- } & {
55
- agentId: import("zod").ZodString;
56
- resourceId: import("zod").ZodString;
57
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
58
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
59
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
60
- }, "strip", import("zod").ZodTypeAny, {
61
- field?: "createdAt" | "updatedAt" | undefined;
62
- direction?: "ASC" | "DESC" | undefined;
63
- }, {
64
- field?: "createdAt" | "updatedAt" | undefined;
65
- direction?: "ASC" | "DESC" | undefined;
66
- }>>;
67
- }, "strip", import("zod").ZodTypeAny, {
68
- page: number;
69
- resourceId: string;
70
- agentId: string;
71
- perPage?: number | undefined;
72
- orderBy?: {
73
- field?: "createdAt" | "updatedAt" | undefined;
74
- direction?: "ASC" | "DESC" | undefined;
75
- } | undefined;
76
- }, {
77
- resourceId: string;
78
- agentId: string;
79
- page?: number | undefined;
80
- perPage?: number | undefined;
81
- orderBy?: {
82
- field?: "createdAt" | "updatedAt" | undefined;
83
- direction?: "ASC" | "DESC" | undefined;
84
- } | undefined;
85
- }>, undefined>, {
18
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
19
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
20
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
21
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
22
+ metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
23
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
24
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
25
+ createdAt: "createdAt";
26
+ updatedAt: "updatedAt";
27
+ }>>;
28
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
29
+ ASC: "ASC";
30
+ DESC: "DESC";
31
+ }>>;
32
+ }, import("zod/v4/core").$strip>>>;
33
+ }, import("zod/v4/core").$strip> | import("zod").ZodObject<{
34
+ perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
35
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
36
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
37
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
38
+ metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
39
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
40
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
41
+ createdAt: "createdAt";
42
+ updatedAt: "updatedAt";
43
+ }>>;
44
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
45
+ ASC: "ASC";
46
+ DESC: "DESC";
47
+ }>>;
48
+ }, import("zod/v4/core").$strip>>>;
49
+ }, import("zod/v4/core").$strip>, undefined>, {
86
50
  total: number;
87
51
  page: number;
88
52
  perPage: number | false;
89
53
  hasMore: boolean;
90
54
  threads: {
91
55
  id: string;
56
+ resourceId: string;
92
57
  createdAt: Date;
93
58
  updatedAt: Date;
94
- resourceId: string;
95
- metadata?: Record<string, unknown> | undefined;
96
59
  title?: string | undefined;
60
+ metadata?: Record<string, unknown> | undefined;
97
61
  }[];
98
62
  }, "json">;
99
63
  export declare const GET_THREAD_BY_ID_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
100
64
  threadId: import("zod").ZodString;
101
- }, "strip", import("zod").ZodTypeAny, {
102
- threadId: string;
103
- }, {
104
- threadId: string;
105
- }>, import("zod").ZodObject<{
106
- agentId: import("zod").ZodString;
107
- }, "strip", import("zod").ZodTypeAny, {
108
- agentId: string;
109
- }, {
110
- agentId: string;
111
- }>, undefined>, {
65
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
66
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
67
+ }, import("zod/v4/core").$strip>, undefined>, {
112
68
  id: string;
69
+ resourceId: string;
113
70
  createdAt: Date;
114
71
  updatedAt: Date;
115
- resourceId: string;
116
- metadata?: Record<string, unknown> | undefined;
117
72
  title?: string | undefined;
73
+ metadata?: Record<string, unknown> | undefined;
118
74
  }, "json">;
119
75
  export declare const LIST_MESSAGES_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
120
76
  threadId: import("zod").ZodString;
121
- }, "strip", import("zod").ZodTypeAny, {
122
- threadId: string;
123
- }, {
124
- threadId: string;
125
- }>, import("zod").ZodObject<{
126
- perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
127
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
128
- } & {
129
- agentId: import("zod").ZodString;
77
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
78
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
79
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
80
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
130
81
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
131
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
132
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
133
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
134
- }, "strip", import("zod").ZodTypeAny, {
135
- field?: "createdAt" | "updatedAt" | undefined;
136
- direction?: "ASC" | "DESC" | undefined;
137
- }, {
138
- field?: "createdAt" | "updatedAt" | undefined;
139
- direction?: "ASC" | "DESC" | undefined;
140
- }>>;
141
- include: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
82
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
83
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
84
+ createdAt: "createdAt";
85
+ }>>;
86
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
87
+ ASC: "ASC";
88
+ DESC: "DESC";
89
+ }>>;
90
+ }, import("zod/v4/core").$strip>>>;
91
+ include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
142
92
  id: import("zod").ZodString;
143
93
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
144
94
  withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
145
95
  withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
146
- }, "strip", import("zod").ZodTypeAny, {
147
- id: string;
148
- threadId?: string | undefined;
149
- withPreviousMessages?: number | undefined;
150
- withNextMessages?: number | undefined;
151
- }, {
152
- id: string;
153
- threadId?: string | undefined;
154
- withPreviousMessages?: number | undefined;
155
- withNextMessages?: number | undefined;
156
- }>, "many">>, {
157
- id: string;
158
- threadId?: string | undefined;
159
- withPreviousMessages?: number | undefined;
160
- withNextMessages?: number | undefined;
161
- }[] | undefined, unknown>;
162
- filter: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodObject<{
96
+ }, import("zod/v4/core").$strip>>>>;
97
+ filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
163
98
  dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
164
- start: import("zod").ZodOptional<import("zod").ZodDate>;
165
- end: import("zod").ZodOptional<import("zod").ZodDate>;
166
- }, "strip", import("zod").ZodTypeAny, {
167
- start?: Date | undefined;
168
- end?: Date | undefined;
169
- }, {
170
- start?: Date | undefined;
171
- end?: Date | undefined;
172
- }>>;
173
- }, "strip", import("zod").ZodTypeAny, {
174
- dateRange?: {
175
- start?: Date | undefined;
176
- end?: Date | undefined;
177
- } | undefined;
178
- }, {
179
- dateRange?: {
180
- start?: Date | undefined;
181
- end?: Date | undefined;
182
- } | undefined;
183
- }>>, {
184
- dateRange?: {
185
- start?: Date | undefined;
186
- end?: Date | undefined;
187
- } | undefined;
188
- } | undefined, unknown>;
189
- }, "strip", import("zod").ZodTypeAny, {
190
- page: number;
191
- perPage: number;
192
- agentId: string;
193
- filter?: {
194
- dateRange?: {
195
- start?: Date | undefined;
196
- end?: Date | undefined;
197
- } | undefined;
198
- } | undefined;
199
- resourceId?: string | undefined;
200
- orderBy?: {
201
- field?: "createdAt" | "updatedAt" | undefined;
202
- direction?: "ASC" | "DESC" | undefined;
203
- } | undefined;
204
- include?: {
205
- id: string;
206
- threadId?: string | undefined;
207
- withPreviousMessages?: number | undefined;
208
- withNextMessages?: number | undefined;
209
- }[] | undefined;
210
- }, {
211
- agentId: string;
212
- filter?: unknown;
213
- page?: number | undefined;
214
- perPage?: number | undefined;
215
- resourceId?: string | undefined;
216
- orderBy?: {
217
- field?: "createdAt" | "updatedAt" | undefined;
218
- direction?: "ASC" | "DESC" | undefined;
219
- } | undefined;
220
- include?: unknown;
221
- }> | import("zod").ZodObject<{
222
- perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
223
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
224
- } & {
225
- agentId: import("zod").ZodString;
99
+ start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
100
+ end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
101
+ }, import("zod/v4/core").$strip>>;
102
+ roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
103
+ }, import("zod/v4/core").$strip>>>;
104
+ }, import("zod/v4/core").$strip> | import("zod").ZodObject<{
105
+ perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
106
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
107
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
226
108
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
227
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
228
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
229
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
230
- }, "strip", import("zod").ZodTypeAny, {
231
- field?: "createdAt" | "updatedAt" | undefined;
232
- direction?: "ASC" | "DESC" | undefined;
233
- }, {
234
- field?: "createdAt" | "updatedAt" | undefined;
235
- direction?: "ASC" | "DESC" | undefined;
236
- }>>;
237
- include: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
109
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
110
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
111
+ createdAt: "createdAt";
112
+ }>>;
113
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
114
+ ASC: "ASC";
115
+ DESC: "DESC";
116
+ }>>;
117
+ }, import("zod/v4/core").$strip>>>;
118
+ include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
238
119
  id: import("zod").ZodString;
239
120
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
240
121
  withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
241
122
  withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
242
- }, "strip", import("zod").ZodTypeAny, {
243
- id: string;
244
- threadId?: string | undefined;
245
- withPreviousMessages?: number | undefined;
246
- withNextMessages?: number | undefined;
247
- }, {
248
- id: string;
249
- threadId?: string | undefined;
250
- withPreviousMessages?: number | undefined;
251
- withNextMessages?: number | undefined;
252
- }>, "many">>, {
253
- id: string;
254
- threadId?: string | undefined;
255
- withPreviousMessages?: number | undefined;
256
- withNextMessages?: number | undefined;
257
- }[] | undefined, unknown>;
258
- filter: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodObject<{
123
+ }, import("zod/v4/core").$strip>>>>;
124
+ filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
259
125
  dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
260
- start: import("zod").ZodOptional<import("zod").ZodDate>;
261
- end: import("zod").ZodOptional<import("zod").ZodDate>;
262
- }, "strip", import("zod").ZodTypeAny, {
263
- start?: Date | undefined;
264
- end?: Date | undefined;
265
- }, {
266
- start?: Date | undefined;
267
- end?: Date | undefined;
268
- }>>;
269
- }, "strip", import("zod").ZodTypeAny, {
270
- dateRange?: {
271
- start?: Date | undefined;
272
- end?: Date | undefined;
273
- } | undefined;
274
- }, {
275
- dateRange?: {
276
- start?: Date | undefined;
277
- end?: Date | undefined;
278
- } | undefined;
279
- }>>, {
280
- dateRange?: {
281
- start?: Date | undefined;
282
- end?: Date | undefined;
283
- } | undefined;
284
- } | undefined, unknown>;
285
- }, "strip", import("zod").ZodTypeAny, {
286
- page: number;
287
- agentId: string;
288
- filter?: {
289
- dateRange?: {
290
- start?: Date | undefined;
291
- end?: Date | undefined;
292
- } | undefined;
293
- } | undefined;
294
- perPage?: number | undefined;
295
- resourceId?: string | undefined;
296
- orderBy?: {
297
- field?: "createdAt" | "updatedAt" | undefined;
298
- direction?: "ASC" | "DESC" | undefined;
299
- } | undefined;
300
- include?: {
301
- id: string;
302
- threadId?: string | undefined;
303
- withPreviousMessages?: number | undefined;
304
- withNextMessages?: number | undefined;
305
- }[] | undefined;
306
- }, {
307
- agentId: string;
308
- filter?: unknown;
309
- page?: number | undefined;
310
- perPage?: number | undefined;
311
- resourceId?: string | undefined;
312
- orderBy?: {
313
- field?: "createdAt" | "updatedAt" | undefined;
314
- direction?: "ASC" | "DESC" | undefined;
315
- } | undefined;
316
- include?: unknown;
317
- }>, undefined>, {
126
+ start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
127
+ end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
128
+ }, import("zod/v4/core").$strip>>;
129
+ roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
130
+ }, import("zod/v4/core").$strip>>>;
131
+ }, import("zod/v4/core").$strip>, undefined>, {
318
132
  messages: any[];
319
- uiMessages?: unknown;
133
+ uiMessages: unknown;
320
134
  }, "json">;
321
135
  export declare const GET_WORKING_MEMORY_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
322
136
  threadId: import("zod").ZodString;
323
- }, "strip", import("zod").ZodTypeAny, {
324
- threadId: string;
325
- }, {
326
- threadId: string;
327
- }>, import("zod").ZodObject<{
137
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
328
138
  agentId: import("zod").ZodString;
329
139
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
330
- memoryConfig: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
331
- }, "strip", import("zod").ZodTypeAny, {
332
- agentId: string;
333
- resourceId?: string | undefined;
334
- memoryConfig?: Record<string, unknown> | undefined;
335
- }, {
336
- agentId: string;
337
- resourceId?: string | undefined;
338
- memoryConfig?: Record<string, unknown> | undefined;
339
- }>, undefined>, {
140
+ memoryConfig: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
141
+ }, import("zod/v4/core").$strip>, undefined>, {
142
+ workingMemory: unknown;
340
143
  source: "thread" | "resource";
144
+ workingMemoryTemplate: unknown;
341
145
  threadExists: boolean;
342
- workingMemory?: unknown;
343
- workingMemoryTemplate?: unknown;
344
146
  }, "json">;
345
147
  export declare const SAVE_MESSAGES_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
346
148
  agentId: import("zod").ZodString;
347
- }, "strip", import("zod").ZodTypeAny, {
348
- agentId: string;
349
- }, {
350
- agentId: string;
351
- }>, import("zod").ZodObject<{
352
- messages: import("zod").ZodArray<import("zod").ZodAny, "many">;
353
- }, "strip", import("zod").ZodTypeAny, {
354
- messages: any[];
355
- }, {
356
- messages: any[];
357
- }>>, {
149
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
150
+ messages: import("zod").ZodArray<import("zod").ZodAny>;
151
+ }, import("zod/v4/core").$strip>>, {
358
152
  messages: any[];
359
153
  }, "json">;
360
154
  export declare const CREATE_THREAD_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
361
155
  agentId: import("zod").ZodString;
362
- }, "strip", import("zod").ZodTypeAny, {
363
- agentId: string;
364
- }, {
365
- agentId: string;
366
- }>, import("zod").ZodObject<{
156
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
367
157
  resourceId: import("zod").ZodString;
368
158
  title: import("zod").ZodOptional<import("zod").ZodString>;
369
159
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
370
160
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
371
- }, "strip", import("zod").ZodTypeAny, {
372
- resourceId: string;
373
- metadata?: Record<string, unknown> | undefined;
374
- threadId?: string | undefined;
375
- title?: string | undefined;
376
- }, {
377
- resourceId: string;
378
- metadata?: Record<string, unknown> | undefined;
379
- threadId?: string | undefined;
380
- title?: string | undefined;
381
- }>>, {
161
+ }, import("zod/v4/core").$strip>>, {
382
162
  id: string;
163
+ resourceId: string;
383
164
  createdAt: Date;
384
165
  updatedAt: Date;
385
- resourceId: string;
386
- metadata?: Record<string, unknown> | undefined;
387
166
  title?: string | undefined;
167
+ metadata?: Record<string, unknown> | undefined;
388
168
  }, "json">;
389
169
  export declare const UPDATE_THREAD_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
390
170
  threadId: import("zod").ZodString;
391
- }, "strip", import("zod").ZodTypeAny, {
392
- threadId: string;
393
- }, {
394
- threadId: string;
395
- }>, import("zod").ZodObject<{
171
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
396
172
  agentId: import("zod").ZodString;
397
- }, "strip", import("zod").ZodTypeAny, {
398
- agentId: string;
399
- }, {
400
- agentId: string;
401
- }>, import("zod").ZodObject<{
173
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
402
174
  title: import("zod").ZodOptional<import("zod").ZodString>;
403
175
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
404
176
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
405
- }, "strip", import("zod").ZodTypeAny, {
406
- metadata?: Record<string, unknown> | undefined;
407
- resourceId?: string | undefined;
408
- title?: string | undefined;
409
- }, {
410
- metadata?: Record<string, unknown> | undefined;
411
- resourceId?: string | undefined;
412
- title?: string | undefined;
413
- }>>, {
177
+ }, import("zod/v4/core").$strip>>, {
414
178
  id: string;
179
+ resourceId: string;
415
180
  createdAt: Date;
416
181
  updatedAt: Date;
417
- resourceId: string;
418
- metadata?: Record<string, unknown> | undefined;
419
182
  title?: string | undefined;
183
+ metadata?: Record<string, unknown> | undefined;
420
184
  }, "json">;
421
185
  export declare const DELETE_THREAD_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
422
186
  threadId: import("zod").ZodString;
423
- }, "strip", import("zod").ZodTypeAny, {
424
- threadId: string;
425
- }, {
426
- threadId: string;
427
- }>, import("zod").ZodObject<{
187
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
428
188
  agentId: import("zod").ZodString;
429
- }, "strip", import("zod").ZodTypeAny, {
430
- agentId: string;
431
- }, {
432
- agentId: string;
433
- }>, undefined>, {
189
+ }, import("zod/v4/core").$strip>, undefined>, {
434
190
  result: string;
435
191
  }, "json">;
192
+ export declare const CLONE_THREAD_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
193
+ threadId: import("zod").ZodString;
194
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
195
+ agentId: import("zod").ZodString;
196
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
197
+ newThreadId: import("zod").ZodOptional<import("zod").ZodString>;
198
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
199
+ title: import("zod").ZodOptional<import("zod").ZodString>;
200
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
201
+ options: import("zod").ZodOptional<import("zod").ZodObject<{
202
+ messageLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
203
+ messageFilter: import("zod").ZodOptional<import("zod").ZodObject<{
204
+ startDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
205
+ endDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
206
+ messageIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
207
+ }, import("zod/v4/core").$strip>>;
208
+ }, import("zod/v4/core").$strip>>;
209
+ }, import("zod/v4/core").$strip>>, {
210
+ thread: {
211
+ id: string;
212
+ resourceId: string;
213
+ createdAt: Date;
214
+ updatedAt: Date;
215
+ title?: string | undefined;
216
+ metadata?: Record<string, unknown> | undefined;
217
+ };
218
+ clonedMessages: any[];
219
+ }, "json">;
436
220
  export declare const UPDATE_WORKING_MEMORY_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
437
221
  threadId: import("zod").ZodString;
438
- }, "strip", import("zod").ZodTypeAny, {
439
- threadId: string;
440
- }, {
441
- threadId: string;
442
- }>, import("zod").ZodObject<{
222
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
443
223
  agentId: import("zod").ZodString;
444
- }, "strip", import("zod").ZodTypeAny, {
445
- agentId: string;
446
- }, {
447
- agentId: string;
448
- }>, import("zod").ZodObject<{
224
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
449
225
  workingMemory: import("zod").ZodString;
450
226
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
451
227
  memoryConfig: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
452
- }, "strip", import("zod").ZodTypeAny, {
453
- workingMemory: string;
454
- resourceId?: string | undefined;
455
- memoryConfig?: Record<string, unknown> | undefined;
456
- }, {
457
- workingMemory: string;
458
- resourceId?: string | undefined;
459
- memoryConfig?: Record<string, unknown> | undefined;
460
- }>>, {
228
+ }, import("zod/v4/core").$strip>>, {
461
229
  success: boolean;
462
230
  }, "json">;
463
231
  export declare const DELETE_MESSAGES_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
464
232
  agentId: import("zod").ZodString;
465
- }, "strip", import("zod").ZodTypeAny, {
466
- agentId: string;
467
- }, {
468
- agentId: string;
469
- }>, import("zod").ZodObject<{
470
- messageIds: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodObject<{
233
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
234
+ messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
471
235
  id: import("zod").ZodString;
472
- }, "strip", import("zod").ZodTypeAny, {
473
- id: string;
474
- }, {
475
- id: string;
476
- }>, import("zod").ZodArray<import("zod").ZodObject<{
236
+ }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
477
237
  id: import("zod").ZodString;
478
- }, "strip", import("zod").ZodTypeAny, {
479
- id: string;
480
- }, {
481
- id: string;
482
- }>, "many">]>;
483
- }, "strip", import("zod").ZodTypeAny, {
484
- messageIds: string | string[] | {
485
- id: string;
486
- } | {
487
- id: string;
488
- }[];
489
- }, {
490
- messageIds: string | string[] | {
491
- id: string;
492
- } | {
493
- id: string;
494
- }[];
495
- }>>, {
496
- message: string;
238
+ }, import("zod/v4/core").$strip>>]>;
239
+ }, import("zod/v4/core").$strip>>, {
497
240
  success: boolean;
241
+ message: string;
498
242
  }, "json">;
499
243
  export declare const SEARCH_MEMORY_ROUTE: import("../server-adapter").ServerRoute<{
500
- limit: number;
501
- resourceId: string;
502
244
  agentId: string;
503
245
  searchQuery: string;
246
+ resourceId: string;
247
+ limit: number;
504
248
  threadId?: string | undefined;
505
249
  memoryConfig?: Record<string, unknown> | undefined;
506
250
  }, {
@@ -516,434 +260,178 @@ export declare const GET_MEMORY_STATUS_NETWORK_ROUTE: import("../server-adapter"
516
260
  result: boolean;
517
261
  }, "json">;
518
262
  export declare const LIST_THREADS_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
519
- perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
520
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
521
- } & {
522
- agentId: import("zod").ZodString;
523
- resourceId: import("zod").ZodString;
524
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
525
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
526
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
527
- }, "strip", import("zod").ZodTypeAny, {
528
- field?: "createdAt" | "updatedAt" | undefined;
529
- direction?: "ASC" | "DESC" | undefined;
530
- }, {
531
- field?: "createdAt" | "updatedAt" | undefined;
532
- direction?: "ASC" | "DESC" | undefined;
533
- }>>;
534
- }, "strip", import("zod").ZodTypeAny, {
535
- page: number;
536
- perPage: number;
537
- resourceId: string;
538
- agentId: string;
539
- orderBy?: {
540
- field?: "createdAt" | "updatedAt" | undefined;
541
- direction?: "ASC" | "DESC" | undefined;
542
- } | undefined;
543
- }, {
544
- resourceId: string;
545
- agentId: string;
546
- page?: number | undefined;
547
- perPage?: number | undefined;
548
- orderBy?: {
549
- field?: "createdAt" | "updatedAt" | undefined;
550
- direction?: "ASC" | "DESC" | undefined;
551
- } | undefined;
552
- }> | import("zod").ZodObject<{
553
- perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
554
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
555
- } & {
556
- agentId: import("zod").ZodString;
557
- resourceId: import("zod").ZodString;
558
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
559
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
560
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
561
- }, "strip", import("zod").ZodTypeAny, {
562
- field?: "createdAt" | "updatedAt" | undefined;
563
- direction?: "ASC" | "DESC" | undefined;
564
- }, {
565
- field?: "createdAt" | "updatedAt" | undefined;
566
- direction?: "ASC" | "DESC" | undefined;
567
- }>>;
568
- }, "strip", import("zod").ZodTypeAny, {
569
- page: number;
570
- resourceId: string;
571
- agentId: string;
572
- perPage?: number | undefined;
573
- orderBy?: {
574
- field?: "createdAt" | "updatedAt" | undefined;
575
- direction?: "ASC" | "DESC" | undefined;
576
- } | undefined;
577
- }, {
578
- resourceId: string;
579
- agentId: string;
580
- page?: number | undefined;
581
- perPage?: number | undefined;
582
- orderBy?: {
583
- field?: "createdAt" | "updatedAt" | undefined;
584
- direction?: "ASC" | "DESC" | undefined;
585
- } | undefined;
586
- }>, undefined>, {
263
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
264
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
265
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
266
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
267
+ metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
268
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
269
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
270
+ createdAt: "createdAt";
271
+ updatedAt: "updatedAt";
272
+ }>>;
273
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
274
+ ASC: "ASC";
275
+ DESC: "DESC";
276
+ }>>;
277
+ }, import("zod/v4/core").$strip>>>;
278
+ }, import("zod/v4/core").$strip> | import("zod").ZodObject<{
279
+ perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
280
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
281
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
282
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
283
+ metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
284
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
285
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
286
+ createdAt: "createdAt";
287
+ updatedAt: "updatedAt";
288
+ }>>;
289
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
290
+ ASC: "ASC";
291
+ DESC: "DESC";
292
+ }>>;
293
+ }, import("zod/v4/core").$strip>>>;
294
+ }, import("zod/v4/core").$strip>, undefined>, {
587
295
  total: number;
588
296
  page: number;
589
297
  perPage: number | false;
590
298
  hasMore: boolean;
591
299
  threads: {
592
300
  id: string;
301
+ resourceId: string;
593
302
  createdAt: Date;
594
303
  updatedAt: Date;
595
- resourceId: string;
596
- metadata?: Record<string, unknown> | undefined;
597
304
  title?: string | undefined;
305
+ metadata?: Record<string, unknown> | undefined;
598
306
  }[];
599
307
  }, "json">;
600
308
  export declare const GET_THREAD_BY_ID_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
601
309
  threadId: import("zod").ZodString;
602
- }, "strip", import("zod").ZodTypeAny, {
603
- threadId: string;
604
- }, {
605
- threadId: string;
606
- }>, import("zod").ZodObject<{
607
- agentId: import("zod").ZodString;
608
- }, "strip", import("zod").ZodTypeAny, {
609
- agentId: string;
610
- }, {
611
- agentId: string;
612
- }>, undefined>, {
310
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
311
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
312
+ }, import("zod/v4/core").$strip>, undefined>, {
613
313
  id: string;
314
+ resourceId: string;
614
315
  createdAt: Date;
615
316
  updatedAt: Date;
616
- resourceId: string;
617
- metadata?: Record<string, unknown> | undefined;
618
317
  title?: string | undefined;
318
+ metadata?: Record<string, unknown> | undefined;
619
319
  }, "json">;
620
320
  export declare const LIST_MESSAGES_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
621
321
  threadId: import("zod").ZodString;
622
- }, "strip", import("zod").ZodTypeAny, {
623
- threadId: string;
624
- }, {
625
- threadId: string;
626
- }>, import("zod").ZodObject<{
627
- perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
628
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
629
- } & {
630
- agentId: import("zod").ZodString;
322
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
323
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
324
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
325
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
631
326
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
632
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
633
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
634
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
635
- }, "strip", import("zod").ZodTypeAny, {
636
- field?: "createdAt" | "updatedAt" | undefined;
637
- direction?: "ASC" | "DESC" | undefined;
638
- }, {
639
- field?: "createdAt" | "updatedAt" | undefined;
640
- direction?: "ASC" | "DESC" | undefined;
641
- }>>;
642
- include: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
327
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
328
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
329
+ createdAt: "createdAt";
330
+ }>>;
331
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
332
+ ASC: "ASC";
333
+ DESC: "DESC";
334
+ }>>;
335
+ }, import("zod/v4/core").$strip>>>;
336
+ include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
643
337
  id: import("zod").ZodString;
644
338
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
645
339
  withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
646
340
  withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
647
- }, "strip", import("zod").ZodTypeAny, {
648
- id: string;
649
- threadId?: string | undefined;
650
- withPreviousMessages?: number | undefined;
651
- withNextMessages?: number | undefined;
652
- }, {
653
- id: string;
654
- threadId?: string | undefined;
655
- withPreviousMessages?: number | undefined;
656
- withNextMessages?: number | undefined;
657
- }>, "many">>, {
658
- id: string;
659
- threadId?: string | undefined;
660
- withPreviousMessages?: number | undefined;
661
- withNextMessages?: number | undefined;
662
- }[] | undefined, unknown>;
663
- filter: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodObject<{
341
+ }, import("zod/v4/core").$strip>>>>;
342
+ filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
664
343
  dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
665
- start: import("zod").ZodOptional<import("zod").ZodDate>;
666
- end: import("zod").ZodOptional<import("zod").ZodDate>;
667
- }, "strip", import("zod").ZodTypeAny, {
668
- start?: Date | undefined;
669
- end?: Date | undefined;
670
- }, {
671
- start?: Date | undefined;
672
- end?: Date | undefined;
673
- }>>;
674
- }, "strip", import("zod").ZodTypeAny, {
675
- dateRange?: {
676
- start?: Date | undefined;
677
- end?: Date | undefined;
678
- } | undefined;
679
- }, {
680
- dateRange?: {
681
- start?: Date | undefined;
682
- end?: Date | undefined;
683
- } | undefined;
684
- }>>, {
685
- dateRange?: {
686
- start?: Date | undefined;
687
- end?: Date | undefined;
688
- } | undefined;
689
- } | undefined, unknown>;
690
- }, "strip", import("zod").ZodTypeAny, {
691
- page: number;
692
- perPage: number;
693
- agentId: string;
694
- filter?: {
695
- dateRange?: {
696
- start?: Date | undefined;
697
- end?: Date | undefined;
698
- } | undefined;
699
- } | undefined;
700
- resourceId?: string | undefined;
701
- orderBy?: {
702
- field?: "createdAt" | "updatedAt" | undefined;
703
- direction?: "ASC" | "DESC" | undefined;
704
- } | undefined;
705
- include?: {
706
- id: string;
707
- threadId?: string | undefined;
708
- withPreviousMessages?: number | undefined;
709
- withNextMessages?: number | undefined;
710
- }[] | undefined;
711
- }, {
712
- agentId: string;
713
- filter?: unknown;
714
- page?: number | undefined;
715
- perPage?: number | undefined;
716
- resourceId?: string | undefined;
717
- orderBy?: {
718
- field?: "createdAt" | "updatedAt" | undefined;
719
- direction?: "ASC" | "DESC" | undefined;
720
- } | undefined;
721
- include?: unknown;
722
- }> | import("zod").ZodObject<{
723
- perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
724
- page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
725
- } & {
726
- agentId: import("zod").ZodString;
344
+ start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
345
+ end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
346
+ }, import("zod/v4/core").$strip>>;
347
+ roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
348
+ }, import("zod/v4/core").$strip>>>;
349
+ }, import("zod/v4/core").$strip> | import("zod").ZodObject<{
350
+ perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
351
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
352
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
727
353
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
728
- orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
729
- field: import("zod").ZodOptional<import("zod").ZodEnum<["createdAt", "updatedAt"]>>;
730
- direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
731
- }, "strip", import("zod").ZodTypeAny, {
732
- field?: "createdAt" | "updatedAt" | undefined;
733
- direction?: "ASC" | "DESC" | undefined;
734
- }, {
735
- field?: "createdAt" | "updatedAt" | undefined;
736
- direction?: "ASC" | "DESC" | undefined;
737
- }>>;
738
- include: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
354
+ orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
355
+ field: import("zod").ZodOptional<import("zod").ZodEnum<{
356
+ createdAt: "createdAt";
357
+ }>>;
358
+ direction: import("zod").ZodOptional<import("zod").ZodEnum<{
359
+ ASC: "ASC";
360
+ DESC: "DESC";
361
+ }>>;
362
+ }, import("zod/v4/core").$strip>>>;
363
+ include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
739
364
  id: import("zod").ZodString;
740
365
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
741
366
  withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
742
367
  withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
743
- }, "strip", import("zod").ZodTypeAny, {
744
- id: string;
745
- threadId?: string | undefined;
746
- withPreviousMessages?: number | undefined;
747
- withNextMessages?: number | undefined;
748
- }, {
749
- id: string;
750
- threadId?: string | undefined;
751
- withPreviousMessages?: number | undefined;
752
- withNextMessages?: number | undefined;
753
- }>, "many">>, {
754
- id: string;
755
- threadId?: string | undefined;
756
- withPreviousMessages?: number | undefined;
757
- withNextMessages?: number | undefined;
758
- }[] | undefined, unknown>;
759
- filter: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodObject<{
368
+ }, import("zod/v4/core").$strip>>>>;
369
+ filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
760
370
  dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
761
- start: import("zod").ZodOptional<import("zod").ZodDate>;
762
- end: import("zod").ZodOptional<import("zod").ZodDate>;
763
- }, "strip", import("zod").ZodTypeAny, {
764
- start?: Date | undefined;
765
- end?: Date | undefined;
766
- }, {
767
- start?: Date | undefined;
768
- end?: Date | undefined;
769
- }>>;
770
- }, "strip", import("zod").ZodTypeAny, {
771
- dateRange?: {
772
- start?: Date | undefined;
773
- end?: Date | undefined;
774
- } | undefined;
775
- }, {
776
- dateRange?: {
777
- start?: Date | undefined;
778
- end?: Date | undefined;
779
- } | undefined;
780
- }>>, {
781
- dateRange?: {
782
- start?: Date | undefined;
783
- end?: Date | undefined;
784
- } | undefined;
785
- } | undefined, unknown>;
786
- }, "strip", import("zod").ZodTypeAny, {
787
- page: number;
788
- agentId: string;
789
- filter?: {
790
- dateRange?: {
791
- start?: Date | undefined;
792
- end?: Date | undefined;
793
- } | undefined;
794
- } | undefined;
795
- perPage?: number | undefined;
796
- resourceId?: string | undefined;
797
- orderBy?: {
798
- field?: "createdAt" | "updatedAt" | undefined;
799
- direction?: "ASC" | "DESC" | undefined;
800
- } | undefined;
801
- include?: {
802
- id: string;
803
- threadId?: string | undefined;
804
- withPreviousMessages?: number | undefined;
805
- withNextMessages?: number | undefined;
806
- }[] | undefined;
807
- }, {
808
- agentId: string;
809
- filter?: unknown;
810
- page?: number | undefined;
811
- perPage?: number | undefined;
812
- resourceId?: string | undefined;
813
- orderBy?: {
814
- field?: "createdAt" | "updatedAt" | undefined;
815
- direction?: "ASC" | "DESC" | undefined;
816
- } | undefined;
817
- include?: unknown;
818
- }>, undefined>, {
371
+ start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
372
+ end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
373
+ }, import("zod/v4/core").$strip>>;
374
+ roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
375
+ }, import("zod/v4/core").$strip>>>;
376
+ }, import("zod/v4/core").$strip>, undefined>, {
819
377
  messages: any[];
820
- uiMessages?: unknown;
378
+ uiMessages: unknown;
821
379
  }, "json">;
822
380
  export declare const SAVE_MESSAGES_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
823
381
  agentId: import("zod").ZodString;
824
- }, "strip", import("zod").ZodTypeAny, {
825
- agentId: string;
826
- }, {
827
- agentId: string;
828
- }>, import("zod").ZodObject<{
829
- messages: import("zod").ZodArray<import("zod").ZodAny, "many">;
830
- }, "strip", import("zod").ZodTypeAny, {
831
- messages: any[];
832
- }, {
833
- messages: any[];
834
- }>>, {
382
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
383
+ messages: import("zod").ZodArray<import("zod").ZodAny>;
384
+ }, import("zod/v4/core").$strip>>, {
835
385
  messages: any[];
836
386
  }, "json">;
837
387
  export declare const CREATE_THREAD_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
838
388
  agentId: import("zod").ZodString;
839
- }, "strip", import("zod").ZodTypeAny, {
840
- agentId: string;
841
- }, {
842
- agentId: string;
843
- }>, import("zod").ZodObject<{
389
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
844
390
  resourceId: import("zod").ZodString;
845
391
  title: import("zod").ZodOptional<import("zod").ZodString>;
846
392
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
847
393
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
848
- }, "strip", import("zod").ZodTypeAny, {
849
- resourceId: string;
850
- metadata?: Record<string, unknown> | undefined;
851
- threadId?: string | undefined;
852
- title?: string | undefined;
853
- }, {
854
- resourceId: string;
855
- metadata?: Record<string, unknown> | undefined;
856
- threadId?: string | undefined;
857
- title?: string | undefined;
858
- }>>, {
394
+ }, import("zod/v4/core").$strip>>, {
859
395
  id: string;
396
+ resourceId: string;
860
397
  createdAt: Date;
861
398
  updatedAt: Date;
862
- resourceId: string;
863
- metadata?: Record<string, unknown> | undefined;
864
399
  title?: string | undefined;
400
+ metadata?: Record<string, unknown> | undefined;
865
401
  }, "json">;
866
402
  export declare const UPDATE_THREAD_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
867
403
  threadId: import("zod").ZodString;
868
- }, "strip", import("zod").ZodTypeAny, {
869
- threadId: string;
870
- }, {
871
- threadId: string;
872
- }>, import("zod").ZodObject<{
404
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
873
405
  agentId: import("zod").ZodString;
874
- }, "strip", import("zod").ZodTypeAny, {
875
- agentId: string;
876
- }, {
877
- agentId: string;
878
- }>, import("zod").ZodObject<{
406
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
879
407
  title: import("zod").ZodOptional<import("zod").ZodString>;
880
408
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
881
409
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
882
- }, "strip", import("zod").ZodTypeAny, {
883
- metadata?: Record<string, unknown> | undefined;
884
- resourceId?: string | undefined;
885
- title?: string | undefined;
886
- }, {
887
- metadata?: Record<string, unknown> | undefined;
888
- resourceId?: string | undefined;
889
- title?: string | undefined;
890
- }>>, {
410
+ }, import("zod/v4/core").$strip>>, {
891
411
  id: string;
412
+ resourceId: string;
892
413
  createdAt: Date;
893
414
  updatedAt: Date;
894
- resourceId: string;
895
- metadata?: Record<string, unknown> | undefined;
896
415
  title?: string | undefined;
416
+ metadata?: Record<string, unknown> | undefined;
897
417
  }, "json">;
898
418
  export declare const DELETE_THREAD_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
899
419
  threadId: import("zod").ZodString;
900
- }, "strip", import("zod").ZodTypeAny, {
901
- threadId: string;
902
- }, {
903
- threadId: string;
904
- }>, import("zod").ZodObject<{
420
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
905
421
  agentId: import("zod").ZodString;
906
- }, "strip", import("zod").ZodTypeAny, {
907
- agentId: string;
908
- }, {
909
- agentId: string;
910
- }>, undefined>, {
422
+ }, import("zod/v4/core").$strip>, undefined>, {
911
423
  result: string;
912
424
  }, "json">;
913
425
  export declare const DELETE_MESSAGES_NETWORK_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<undefined, import("zod").ZodObject<{
914
426
  agentId: import("zod").ZodString;
915
- }, "strip", import("zod").ZodTypeAny, {
916
- agentId: string;
917
- }, {
918
- agentId: string;
919
- }>, import("zod").ZodObject<{
920
- messageIds: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodObject<{
427
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
428
+ messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
921
429
  id: import("zod").ZodString;
922
- }, "strip", import("zod").ZodTypeAny, {
923
- id: string;
924
- }, {
925
- id: string;
926
- }>, import("zod").ZodArray<import("zod").ZodObject<{
430
+ }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
927
431
  id: import("zod").ZodString;
928
- }, "strip", import("zod").ZodTypeAny, {
929
- id: string;
930
- }, {
931
- id: string;
932
- }>, "many">]>;
933
- }, "strip", import("zod").ZodTypeAny, {
934
- messageIds: string | string[] | {
935
- id: string;
936
- } | {
937
- id: string;
938
- }[];
939
- }, {
940
- messageIds: string | string[] | {
941
- id: string;
942
- } | {
943
- id: string;
944
- }[];
945
- }>>, {
946
- message: string;
432
+ }, import("zod/v4/core").$strip>>]>;
433
+ }, import("zod/v4/core").$strip>>, {
947
434
  success: boolean;
435
+ message: string;
948
436
  }, "json">;
949
437
  //# sourceMappingURL=memory.d.ts.map