@mastra/server 1.0.4 → 1.1.0-alpha.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 (333) hide show
  1. package/CHANGELOG.md +194 -0
  2. package/a2a/store.d.ts +1 -0
  3. package/auth.d.ts +1 -0
  4. package/dist/{chunk-3REGEJEN.js → chunk-24SISJRB.js} +6 -6
  5. package/dist/chunk-24SISJRB.js.map +1 -0
  6. package/dist/{chunk-MPUVSOEU.cjs → chunk-2HOMKKY4.cjs} +21 -15
  7. package/dist/chunk-2HOMKKY4.cjs.map +1 -0
  8. package/dist/{chunk-HCVDHEDD.cjs → chunk-37DO73XV.cjs} +217 -167
  9. package/dist/chunk-37DO73XV.cjs.map +1 -0
  10. package/dist/{chunk-T4SPG2GP.cjs → chunk-4HFYR562.cjs} +4 -4
  11. package/dist/chunk-4HFYR562.cjs.map +1 -0
  12. package/dist/{chunk-2CYGIE3E.js → chunk-4JAEBN6N.js} +212 -86
  13. package/dist/chunk-4JAEBN6N.js.map +1 -0
  14. package/dist/{chunk-AVRO3FIN.cjs → chunk-4LVJBXI2.cjs} +97 -4
  15. package/dist/chunk-4LVJBXI2.cjs.map +1 -0
  16. package/dist/chunk-4UNYZYBB.cjs +253 -0
  17. package/dist/chunk-4UNYZYBB.cjs.map +1 -0
  18. package/dist/{chunk-CGIGPJRU.js → chunk-5P2VGES5.js} +72 -79
  19. package/dist/chunk-5P2VGES5.js.map +1 -0
  20. package/dist/{chunk-YK63KHHB.cjs → chunk-6DHJKQLP.cjs} +513 -168
  21. package/dist/chunk-6DHJKQLP.cjs.map +1 -0
  22. package/dist/{chunk-PNZQCQY4.cjs → chunk-6G2RQWKA.cjs} +15 -15
  23. package/dist/chunk-6G2RQWKA.cjs.map +1 -0
  24. package/dist/{chunk-4EYONQIW.cjs → chunk-7D3UAMQM.cjs} +4 -4
  25. package/dist/chunk-7D3UAMQM.cjs.map +1 -0
  26. package/dist/{chunk-I27H7BEB.js → chunk-7XIMPDJV.js} +9 -6
  27. package/dist/chunk-7XIMPDJV.js.map +1 -0
  28. package/dist/{chunk-2CLS2PYJ.js → chunk-7YCFHDWX.js} +398 -56
  29. package/dist/chunk-7YCFHDWX.js.map +1 -0
  30. package/dist/{chunk-33CKPQS4.cjs → chunk-A2K5ZL47.cjs} +36 -16
  31. package/dist/chunk-A2K5ZL47.cjs.map +1 -0
  32. package/dist/chunk-AAHPYUEC.cjs +211 -0
  33. package/dist/chunk-AAHPYUEC.cjs.map +1 -0
  34. package/dist/{chunk-NUO7HPOV.cjs → chunk-AN42MFD5.cjs} +235 -109
  35. package/dist/chunk-AN42MFD5.cjs.map +1 -0
  36. package/dist/{chunk-XCEQ4GQW.cjs → chunk-AO7LIZRK.cjs} +88 -99
  37. package/dist/chunk-AO7LIZRK.cjs.map +1 -0
  38. package/dist/{chunk-4DJ7EJRB.cjs → chunk-AV3VZ6S3.cjs} +25 -21
  39. package/dist/chunk-AV3VZ6S3.cjs.map +1 -0
  40. package/dist/{chunk-KKY4MSZO.js → chunk-BWINB344.js} +30 -11
  41. package/dist/chunk-BWINB344.js.map +1 -0
  42. package/dist/{chunk-GHQZIEPS.js → chunk-C4NZAUUW.js} +104 -54
  43. package/dist/chunk-C4NZAUUW.js.map +1 -0
  44. package/dist/{chunk-7S7ALPCY.js → chunk-D5VCL56B.js} +97 -5
  45. package/dist/chunk-D5VCL56B.js.map +1 -0
  46. package/dist/{chunk-XB27LCKO.js → chunk-DHDVJ5II.js} +15 -9
  47. package/dist/chunk-DHDVJ5II.js.map +1 -0
  48. package/dist/{chunk-GNCALVLC.js → chunk-ED6NQBHF.js} +23 -4
  49. package/dist/chunk-ED6NQBHF.js.map +1 -0
  50. package/dist/{chunk-5VDI75UV.js → chunk-EV5H2JQU.js} +5 -4
  51. package/dist/chunk-EV5H2JQU.js.map +1 -0
  52. package/dist/{chunk-4R2Z655M.js → chunk-F2WTCJ5C.js} +145 -67
  53. package/dist/chunk-F2WTCJ5C.js.map +1 -0
  54. package/dist/{chunk-FWSKVWS7.cjs → chunk-FRRHYZR6.cjs} +4 -4
  55. package/dist/chunk-FRRHYZR6.cjs.map +1 -0
  56. package/dist/chunk-GDWZ2R7I.js +220 -0
  57. package/dist/chunk-GDWZ2R7I.js.map +1 -0
  58. package/dist/{chunk-N4EIZSG2.js → chunk-GXUBQJ74.js} +15 -11
  59. package/dist/chunk-GXUBQJ74.js.map +1 -0
  60. package/dist/{chunk-UK4FZWNW.cjs → chunk-H4VFL22H.cjs} +52 -53
  61. package/dist/chunk-H4VFL22H.cjs.map +1 -0
  62. package/dist/chunk-H66LLFDL.js +1 -1
  63. package/dist/chunk-H66LLFDL.js.map +1 -1
  64. package/dist/{chunk-QPFYN6B5.cjs → chunk-HDGF45K7.cjs} +17 -14
  65. package/dist/chunk-HDGF45K7.cjs.map +1 -0
  66. package/dist/{chunk-P3H4AZKI.cjs → chunk-HZINLMHL.cjs} +15 -15
  67. package/dist/chunk-HZINLMHL.cjs.map +1 -0
  68. package/dist/{chunk-AV3CN5ZR.cjs → chunk-I3CJUT6J.cjs} +36 -17
  69. package/dist/chunk-I3CJUT6J.cjs.map +1 -0
  70. package/dist/{chunk-DVSCJECS.js → chunk-IS3HHGL4.js} +6 -6
  71. package/dist/chunk-IS3HHGL4.js.map +1 -0
  72. package/dist/{chunk-WJ6DNHLW.cjs → chunk-JRM3DWRM.cjs} +34 -24
  73. package/dist/chunk-JRM3DWRM.cjs.map +1 -0
  74. package/dist/{chunk-YN3FWKVQ.js → chunk-JUGGEWCR.js} +10 -13
  75. package/dist/chunk-JUGGEWCR.js.map +1 -0
  76. package/dist/{chunk-LF2ZLOFP.js → chunk-K2SXZLA3.cjs} +285 -3
  77. package/dist/chunk-K2SXZLA3.cjs.map +1 -0
  78. package/dist/{chunk-XOUK3IYU.js → chunk-K4HSW5ZF.js} +4 -4
  79. package/dist/chunk-K4HSW5ZF.js.map +1 -0
  80. package/dist/chunk-KPHPNRVH.js +651 -0
  81. package/dist/chunk-KPHPNRVH.js.map +1 -0
  82. package/dist/chunk-L6AKFVEX.cjs +678 -0
  83. package/dist/chunk-L6AKFVEX.cjs.map +1 -0
  84. package/dist/{chunk-GU4EWMZB.cjs → chunk-LFNP3ACE.js} +244 -4
  85. package/dist/chunk-LFNP3ACE.js.map +1 -0
  86. package/dist/chunk-LFTVDHOD.js +200 -0
  87. package/dist/chunk-LFTVDHOD.js.map +1 -0
  88. package/dist/{chunk-ZQ2G6QKS.cjs → chunk-MZRJNOYJ.cjs} +175 -97
  89. package/dist/chunk-MZRJNOYJ.cjs.map +1 -0
  90. package/dist/{chunk-G2AMUTU4.js → chunk-OS7SAIRA.js} +6 -6
  91. package/dist/chunk-OS7SAIRA.js.map +1 -0
  92. package/dist/{chunk-L2E5RUVT.cjs → chunk-PWXUI3OG.cjs} +15 -15
  93. package/dist/chunk-PWXUI3OG.cjs.map +1 -0
  94. package/dist/chunk-QRPQWZZU.cjs +708 -0
  95. package/dist/chunk-QRPQWZZU.cjs.map +1 -0
  96. package/dist/chunk-QWOQET2T.js +689 -0
  97. package/dist/chunk-QWOQET2T.js.map +1 -0
  98. package/dist/{chunk-EUBTCHQC.js → chunk-RIX6WEJ2.js} +4 -4
  99. package/dist/chunk-RIX6WEJ2.js.map +1 -0
  100. package/dist/{chunk-7XPMKW4Y.cjs → chunk-SONAXR2M.cjs} +12 -9
  101. package/dist/chunk-SONAXR2M.cjs.map +1 -0
  102. package/dist/{chunk-FLLJIPD4.cjs → chunk-T5KH32UA.cjs} +6 -5
  103. package/dist/chunk-T5KH32UA.cjs.map +1 -0
  104. package/dist/{chunk-3FEYUHHJ.js → chunk-TCWPL26W.js} +10 -7
  105. package/dist/chunk-TCWPL26W.js.map +1 -0
  106. package/dist/chunk-USR6JK77.js +62 -0
  107. package/dist/chunk-USR6JK77.js.map +1 -0
  108. package/dist/chunk-VX3VN7FN.cjs +1 -1
  109. package/dist/chunk-VX3VN7FN.cjs.map +1 -1
  110. package/dist/{chunk-6MP2S6VI.cjs → chunk-VXPVROQJ.cjs} +56 -48
  111. package/dist/chunk-VXPVROQJ.cjs.map +1 -0
  112. package/dist/{chunk-CLAEGIP5.cjs → chunk-WWVDNKEF.cjs} +14 -17
  113. package/dist/chunk-WWVDNKEF.cjs.map +1 -0
  114. package/dist/{chunk-5NFRDYFN.js → chunk-XKLJYRAA.js} +4 -4
  115. package/dist/chunk-XKLJYRAA.js.map +1 -0
  116. package/dist/{chunk-TMS4LS2J.js → chunk-XUSAKRLX.js} +26 -16
  117. package/dist/chunk-XUSAKRLX.js.map +1 -0
  118. package/dist/{chunk-IVGQTL3T.js → chunk-XXBURIYX.js} +36 -28
  119. package/dist/chunk-XXBURIYX.js.map +1 -0
  120. package/dist/{chunk-H34VRYSF.js → chunk-ZFHZRI6C.js} +26 -27
  121. package/dist/chunk-ZFHZRI6C.js.map +1 -0
  122. package/dist/chunk-ZKMVCV4G.cjs +71 -0
  123. package/dist/chunk-ZKMVCV4G.cjs.map +1 -0
  124. package/dist/docs/README.md +1 -1
  125. package/dist/docs/SKILL.md +1 -1
  126. package/dist/docs/SOURCE_MAP.json +1 -1
  127. package/dist/docs/server/01-custom-adapters.md +10 -10
  128. package/dist/docs/server/02-reference.md +22 -8
  129. package/dist/server/auth/helpers.d.ts +8 -1
  130. package/dist/server/auth/helpers.d.ts.map +1 -1
  131. package/dist/server/auth/index.cjs +42 -131
  132. package/dist/server/auth/index.cjs.map +1 -1
  133. package/dist/server/auth/index.js +1 -125
  134. package/dist/server/auth/index.js.map +1 -1
  135. package/dist/server/auth/path-pattern.d.ts +43 -0
  136. package/dist/server/auth/path-pattern.d.ts.map +1 -0
  137. package/dist/server/constants.d.ts +51 -0
  138. package/dist/server/constants.d.ts.map +1 -0
  139. package/dist/server/handlers/a2a.cjs +9 -9
  140. package/dist/server/handlers/a2a.d.ts.map +1 -1
  141. package/dist/server/handlers/a2a.js +1 -1
  142. package/dist/server/handlers/agent-builder.cjs +16 -16
  143. package/dist/server/handlers/agent-builder.d.ts.map +1 -1
  144. package/dist/server/handlers/agent-builder.js +1 -1
  145. package/dist/server/handlers/agent-versions.cjs +60 -0
  146. package/dist/server/handlers/agent-versions.cjs.map +1 -0
  147. package/dist/server/handlers/agent-versions.d.ts +457 -0
  148. package/dist/server/handlers/agent-versions.d.ts.map +1 -0
  149. package/dist/server/handlers/agent-versions.js +3 -0
  150. package/dist/server/handlers/agent-versions.js.map +1 -0
  151. package/dist/server/handlers/agents.cjs +40 -28
  152. package/dist/server/handlers/agents.d.ts +58 -5
  153. package/dist/server/handlers/agents.d.ts.map +1 -1
  154. package/dist/server/handlers/agents.js +1 -1
  155. package/dist/server/handlers/logs.cjs +4 -4
  156. package/dist/server/handlers/logs.d.ts.map +1 -1
  157. package/dist/server/handlers/logs.js +1 -1
  158. package/dist/server/handlers/mcp.cjs +9 -9
  159. package/dist/server/handlers/mcp.d.ts +22 -0
  160. package/dist/server/handlers/mcp.d.ts.map +1 -1
  161. package/dist/server/handlers/mcp.js +1 -1
  162. package/dist/server/handlers/memory.cjs +25 -25
  163. package/dist/server/handlers/memory.d.ts +25 -1
  164. package/dist/server/handlers/memory.d.ts.map +1 -1
  165. package/dist/server/handlers/memory.js +1 -1
  166. package/dist/server/handlers/observability.cjs +5 -5
  167. package/dist/server/handlers/observability.d.ts +1 -0
  168. package/dist/server/handlers/observability.d.ts.map +1 -1
  169. package/dist/server/handlers/observability.js +1 -1
  170. package/dist/server/handlers/processors.cjs +4 -4
  171. package/dist/server/handlers/processors.d.ts.map +1 -1
  172. package/dist/server/handlers/processors.js +1 -1
  173. package/dist/server/handlers/scores.cjs +7 -7
  174. package/dist/server/handlers/scores.d.ts.map +1 -1
  175. package/dist/server/handlers/scores.js +1 -1
  176. package/dist/server/handlers/stored-agents.cjs +6 -6
  177. package/dist/server/handlers/stored-agents.d.ts +51 -14
  178. package/dist/server/handlers/stored-agents.d.ts.map +1 -1
  179. package/dist/server/handlers/stored-agents.js +1 -1
  180. package/dist/server/handlers/system.cjs +2 -2
  181. package/dist/server/handlers/system.d.ts.map +1 -1
  182. package/dist/server/handlers/system.js +1 -1
  183. package/dist/server/handlers/tools.cjs +6 -6
  184. package/dist/server/handlers/tools.d.ts +3 -3
  185. package/dist/server/handlers/tools.d.ts.map +1 -1
  186. package/dist/server/handlers/tools.js +1 -1
  187. package/dist/server/handlers/utils.cjs +21 -5
  188. package/dist/server/handlers/utils.d.ts +26 -0
  189. package/dist/server/handlers/utils.d.ts.map +1 -1
  190. package/dist/server/handlers/utils.js +1 -1
  191. package/dist/server/handlers/vector.cjs +13 -13
  192. package/dist/server/handlers/vector.d.ts.map +1 -1
  193. package/dist/server/handlers/vector.js +1 -1
  194. package/dist/server/handlers/voice.cjs +8 -8
  195. package/dist/server/handlers/voice.d.ts.map +1 -1
  196. package/dist/server/handlers/voice.js +1 -1
  197. package/dist/server/handlers/workflows.cjs +24 -24
  198. package/dist/server/handlers/workflows.d.ts +2 -0
  199. package/dist/server/handlers/workflows.d.ts.map +1 -1
  200. package/dist/server/handlers/workflows.js +1 -1
  201. package/dist/server/handlers/workspace.cjs +80 -0
  202. package/dist/server/handlers/workspace.cjs.map +1 -0
  203. package/dist/server/handlers/workspace.d.ts +591 -0
  204. package/dist/server/handlers/workspace.d.ts.map +1 -0
  205. package/dist/server/handlers/workspace.js +3 -0
  206. package/dist/server/handlers/workspace.js.map +1 -0
  207. package/dist/server/handlers.cjs +24 -24
  208. package/dist/server/handlers.js +12 -12
  209. package/dist/server/schemas/agent-versions.d.ts +1073 -0
  210. package/dist/server/schemas/agent-versions.d.ts.map +1 -0
  211. package/dist/server/schemas/agents.d.ts +30 -19
  212. package/dist/server/schemas/agents.d.ts.map +1 -1
  213. package/dist/server/schemas/memory.d.ts +83 -31
  214. package/dist/server/schemas/memory.d.ts.map +1 -1
  215. package/dist/server/schemas/stored-agents.d.ts +270 -60
  216. package/dist/server/schemas/stored-agents.d.ts.map +1 -1
  217. package/dist/server/schemas/workspace.d.ts +1107 -0
  218. package/dist/server/schemas/workspace.d.ts.map +1 -0
  219. package/dist/server/server-adapter/index.cjs +298 -160
  220. package/dist/server/server-adapter/index.cjs.map +1 -1
  221. package/dist/server/server-adapter/index.d.ts +56 -2
  222. package/dist/server/server-adapter/index.d.ts.map +1 -1
  223. package/dist/server/server-adapter/index.js +158 -23
  224. package/dist/server/server-adapter/index.js.map +1 -1
  225. package/dist/server/server-adapter/openapi-utils.d.ts +10 -0
  226. package/dist/server/server-adapter/openapi-utils.d.ts.map +1 -1
  227. package/dist/server/server-adapter/routes/agents.d.ts.map +1 -1
  228. package/dist/server/server-adapter/routes/index.d.ts +3 -1
  229. package/dist/server/server-adapter/routes/index.d.ts.map +1 -1
  230. package/dist/server/server-adapter/routes/route-builder.d.ts +2 -1
  231. package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -1
  232. package/dist/server/server-adapter/routes/stored-agents.d.ts +1 -1
  233. package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -1
  234. package/dist/server/server-adapter/routes/workspace.d.ts +8 -0
  235. package/dist/server/server-adapter/routes/workspace.d.ts.map +1 -0
  236. package/dist/server/utils.d.ts +13 -0
  237. package/dist/server/utils.d.ts.map +1 -1
  238. package/dist/{token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs → token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs} +9 -9
  239. package/dist/token-6GSAFR2W-ABXTQD64-MC4IMVOB.cjs.map +1 -0
  240. package/dist/{token-6GSAFR2W-VLY2XUPA-NCSASMWN.js → token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js} +6 -6
  241. package/dist/token-6GSAFR2W-ABXTQD64-Z6U2TA2C.js.map +1 -0
  242. package/dist/{token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs → token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs} +9 -9
  243. package/dist/token-6GSAFR2W-F2L44NEJ-B3QIV63M.cjs.map +1 -0
  244. package/dist/{token-6GSAFR2W-KVDFAJ2M-VW443KIA.js → token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js} +6 -6
  245. package/dist/token-6GSAFR2W-F2L44NEJ-GFZ37A2V.js.map +1 -0
  246. package/dist/{token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs → token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs} +9 -9
  247. package/dist/token-6GSAFR2W-WGTMOPEU-6HSZQUFZ.cjs.map +1 -0
  248. package/dist/{token-6GSAFR2W-K2BTU23I-NW33N3NU.js → token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js} +6 -6
  249. package/dist/token-6GSAFR2W-WGTMOPEU-JKP67ZX4.js.map +1 -0
  250. package/dist/token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js +8 -0
  251. package/dist/{token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js.map → token-util-NEHG7TUY-4YJ4EPCL-MBTAVIJ3.js.map} +1 -1
  252. package/dist/token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs +10 -0
  253. package/dist/{token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs.map → token-util-NEHG7TUY-4YJ4EPCL-SQ4NADRW.cjs.map} +1 -1
  254. package/dist/token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js +8 -0
  255. package/dist/{token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js.map → token-util-NEHG7TUY-TV2H7N56-GGCGMPDG.js.map} +1 -1
  256. package/dist/token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs +10 -0
  257. package/dist/{token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs.map → token-util-NEHG7TUY-TV2H7N56-R7OENTCJ.cjs.map} +1 -1
  258. package/dist/token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs +10 -0
  259. package/dist/{token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs.map → token-util-NEHG7TUY-XQP3QSPX-BL5O5N7R.cjs.map} +1 -1
  260. package/dist/token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js +8 -0
  261. package/dist/{token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js.map → token-util-NEHG7TUY-XQP3QSPX-YCJRRNXO.js.map} +1 -1
  262. package/handlers/server/handlers.d.ts +1 -0
  263. package/handlers.d.ts +1 -0
  264. package/package.json +10 -8
  265. package/server-adapter.d.ts +1 -0
  266. package/dist/chunk-2CLS2PYJ.js.map +0 -1
  267. package/dist/chunk-2CYGIE3E.js.map +0 -1
  268. package/dist/chunk-33CKPQS4.cjs.map +0 -1
  269. package/dist/chunk-3FEYUHHJ.js.map +0 -1
  270. package/dist/chunk-3REGEJEN.js.map +0 -1
  271. package/dist/chunk-4DJ7EJRB.cjs.map +0 -1
  272. package/dist/chunk-4EYONQIW.cjs.map +0 -1
  273. package/dist/chunk-4R2Z655M.js.map +0 -1
  274. package/dist/chunk-5NFRDYFN.js.map +0 -1
  275. package/dist/chunk-5VDI75UV.js.map +0 -1
  276. package/dist/chunk-5W4RPVTK.cjs +0 -49
  277. package/dist/chunk-5W4RPVTK.cjs.map +0 -1
  278. package/dist/chunk-6MP2S6VI.cjs.map +0 -1
  279. package/dist/chunk-7S7ALPCY.js.map +0 -1
  280. package/dist/chunk-7XPMKW4Y.cjs.map +0 -1
  281. package/dist/chunk-AV3CN5ZR.cjs.map +0 -1
  282. package/dist/chunk-AVRO3FIN.cjs.map +0 -1
  283. package/dist/chunk-BRI4GUZ2.cjs +0 -280
  284. package/dist/chunk-BRI4GUZ2.cjs.map +0 -1
  285. package/dist/chunk-CGIGPJRU.js.map +0 -1
  286. package/dist/chunk-CLAEGIP5.cjs.map +0 -1
  287. package/dist/chunk-DVSCJECS.js.map +0 -1
  288. package/dist/chunk-EUBTCHQC.js.map +0 -1
  289. package/dist/chunk-FLLJIPD4.cjs.map +0 -1
  290. package/dist/chunk-FWSKVWS7.cjs.map +0 -1
  291. package/dist/chunk-G2AMUTU4.js.map +0 -1
  292. package/dist/chunk-GHQZIEPS.js.map +0 -1
  293. package/dist/chunk-GNCALVLC.js.map +0 -1
  294. package/dist/chunk-GU4EWMZB.cjs.map +0 -1
  295. package/dist/chunk-H34VRYSF.js.map +0 -1
  296. package/dist/chunk-HCVDHEDD.cjs.map +0 -1
  297. package/dist/chunk-I27H7BEB.js.map +0 -1
  298. package/dist/chunk-IVGQTL3T.js.map +0 -1
  299. package/dist/chunk-KKY4MSZO.js.map +0 -1
  300. package/dist/chunk-L2E5RUVT.cjs.map +0 -1
  301. package/dist/chunk-LF2ZLOFP.js.map +0 -1
  302. package/dist/chunk-MPUVSOEU.cjs.map +0 -1
  303. package/dist/chunk-N4EIZSG2.js.map +0 -1
  304. package/dist/chunk-NUO7HPOV.cjs.map +0 -1
  305. package/dist/chunk-P3H4AZKI.cjs.map +0 -1
  306. package/dist/chunk-PNZQCQY4.cjs.map +0 -1
  307. package/dist/chunk-QPFYN6B5.cjs.map +0 -1
  308. package/dist/chunk-T4SPG2GP.cjs.map +0 -1
  309. package/dist/chunk-TMS4LS2J.js.map +0 -1
  310. package/dist/chunk-UK4FZWNW.cjs.map +0 -1
  311. package/dist/chunk-WJ6DNHLW.cjs.map +0 -1
  312. package/dist/chunk-WLGJVDH4.js +0 -242
  313. package/dist/chunk-WLGJVDH4.js.map +0 -1
  314. package/dist/chunk-XB27LCKO.js.map +0 -1
  315. package/dist/chunk-XCEQ4GQW.cjs.map +0 -1
  316. package/dist/chunk-XOUK3IYU.js.map +0 -1
  317. package/dist/chunk-XWGAT2DA.js +0 -44
  318. package/dist/chunk-XWGAT2DA.js.map +0 -1
  319. package/dist/chunk-YK63KHHB.cjs.map +0 -1
  320. package/dist/chunk-YN3FWKVQ.js.map +0 -1
  321. package/dist/chunk-ZQ2G6QKS.cjs.map +0 -1
  322. package/dist/token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs.map +0 -1
  323. package/dist/token-6GSAFR2W-K2BTU23I-NW33N3NU.js.map +0 -1
  324. package/dist/token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs.map +0 -1
  325. package/dist/token-6GSAFR2W-KVDFAJ2M-VW443KIA.js.map +0 -1
  326. package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js.map +0 -1
  327. package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs.map +0 -1
  328. package/dist/token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs +0 -10
  329. package/dist/token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js +0 -8
  330. package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs +0 -10
  331. package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js +0 -8
  332. package/dist/token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs +0 -10
  333. package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js +0 -8
@@ -0,0 +1,1073 @@
1
+ import z from 'zod';
2
+ /**
3
+ * Path parameters for agent version routes
4
+ */
5
+ export declare const agentVersionPathParams: z.ZodObject<{
6
+ agentId: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ agentId: string;
9
+ }, {
10
+ agentId: string;
11
+ }>;
12
+ /**
13
+ * Path parameters for specific version routes
14
+ */
15
+ export declare const versionIdPathParams: z.ZodObject<{
16
+ agentId: z.ZodString;
17
+ versionId: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ agentId: string;
20
+ versionId: string;
21
+ }, {
22
+ agentId: string;
23
+ versionId: string;
24
+ }>;
25
+ /**
26
+ * GET /stored/agents/:agentId/versions - List versions query params
27
+ */
28
+ export declare const listVersionsQuerySchema: z.ZodObject<{
29
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
30
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
31
+ } & {
32
+ orderBy: z.ZodOptional<z.ZodObject<{
33
+ field: z.ZodOptional<z.ZodEnum<["versionNumber", "createdAt"]>>;
34
+ direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ field?: "createdAt" | "versionNumber" | undefined;
37
+ direction?: "ASC" | "DESC" | undefined;
38
+ }, {
39
+ field?: "createdAt" | "versionNumber" | undefined;
40
+ direction?: "ASC" | "DESC" | undefined;
41
+ }>>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ page: number;
44
+ perPage: number;
45
+ orderBy?: {
46
+ field?: "createdAt" | "versionNumber" | undefined;
47
+ direction?: "ASC" | "DESC" | undefined;
48
+ } | undefined;
49
+ }, {
50
+ page?: number | undefined;
51
+ perPage?: number | undefined;
52
+ orderBy?: {
53
+ field?: "createdAt" | "versionNumber" | undefined;
54
+ direction?: "ASC" | "DESC" | undefined;
55
+ } | undefined;
56
+ }> | z.ZodObject<{
57
+ perPage: z.ZodOptional<z.ZodNumber>;
58
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
59
+ } & {
60
+ orderBy: z.ZodOptional<z.ZodObject<{
61
+ field: z.ZodOptional<z.ZodEnum<["versionNumber", "createdAt"]>>;
62
+ direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ field?: "createdAt" | "versionNumber" | undefined;
65
+ direction?: "ASC" | "DESC" | undefined;
66
+ }, {
67
+ field?: "createdAt" | "versionNumber" | undefined;
68
+ direction?: "ASC" | "DESC" | undefined;
69
+ }>>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ page: number;
72
+ perPage?: number | undefined;
73
+ orderBy?: {
74
+ field?: "createdAt" | "versionNumber" | undefined;
75
+ direction?: "ASC" | "DESC" | undefined;
76
+ } | undefined;
77
+ }, {
78
+ page?: number | undefined;
79
+ perPage?: number | undefined;
80
+ orderBy?: {
81
+ field?: "createdAt" | "versionNumber" | undefined;
82
+ direction?: "ASC" | "DESC" | undefined;
83
+ } | undefined;
84
+ }>;
85
+ /**
86
+ * GET /stored/agents/:agentId/versions/compare - Compare versions query params
87
+ */
88
+ export declare const compareVersionsQuerySchema: z.ZodObject<{
89
+ from: z.ZodString;
90
+ to: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ from: string;
93
+ to: string;
94
+ }, {
95
+ from: string;
96
+ to: string;
97
+ }>;
98
+ /**
99
+ * POST /stored/agents/:agentId/versions - Create version body
100
+ * No vanity name -- the config `name` is part of the snapshot config fields.
101
+ */
102
+ export declare const createVersionBodySchema: z.ZodObject<{
103
+ changeMessage: z.ZodOptional<z.ZodString>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ changeMessage?: string | undefined;
106
+ }, {
107
+ changeMessage?: string | undefined;
108
+ }>;
109
+ /**
110
+ * Agent version object schema (full response)
111
+ * Config fields are top-level on the version (no nested snapshot object).
112
+ * Extends StorageAgentSnapshotType fields.
113
+ */
114
+ export declare const agentVersionSchema: z.ZodObject<{
115
+ id: z.ZodString;
116
+ agentId: z.ZodString;
117
+ versionNumber: z.ZodNumber;
118
+ name: z.ZodString;
119
+ description: z.ZodOptional<z.ZodString>;
120
+ instructions: z.ZodString;
121
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
122
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
124
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
127
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
128
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
129
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
130
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
131
+ sampling: z.ZodOptional<z.ZodObject<{
132
+ type: z.ZodEnum<["ratio", "count"]>;
133
+ rate: z.ZodOptional<z.ZodNumber>;
134
+ count: z.ZodOptional<z.ZodNumber>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ type: "count" | "ratio";
137
+ count?: number | undefined;
138
+ rate?: number | undefined;
139
+ }, {
140
+ type: "count" | "ratio";
141
+ count?: number | undefined;
142
+ rate?: number | undefined;
143
+ }>>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ sampling?: {
146
+ type: "count" | "ratio";
147
+ count?: number | undefined;
148
+ rate?: number | undefined;
149
+ } | undefined;
150
+ }, {
151
+ sampling?: {
152
+ type: "count" | "ratio";
153
+ count?: number | undefined;
154
+ rate?: number | undefined;
155
+ } | undefined;
156
+ }>>>;
157
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
158
+ changeMessage: z.ZodOptional<z.ZodString>;
159
+ createdAt: z.ZodDate;
160
+ }, "strip", z.ZodTypeAny, {
161
+ name: string;
162
+ id: string;
163
+ createdAt: Date;
164
+ agentId: string;
165
+ model: Record<string, unknown>;
166
+ instructions: string;
167
+ versionNumber: number;
168
+ description?: string | undefined;
169
+ tools?: string[] | undefined;
170
+ agents?: string[] | undefined;
171
+ workflows?: string[] | undefined;
172
+ inputProcessors?: Record<string, unknown>[] | undefined;
173
+ outputProcessors?: Record<string, unknown>[] | undefined;
174
+ defaultOptions?: Record<string, unknown> | undefined;
175
+ memory?: Record<string, unknown> | undefined;
176
+ scorers?: Record<string, {
177
+ sampling?: {
178
+ type: "count" | "ratio";
179
+ count?: number | undefined;
180
+ rate?: number | undefined;
181
+ } | undefined;
182
+ }> | undefined;
183
+ integrationTools?: string[] | undefined;
184
+ changeMessage?: string | undefined;
185
+ changedFields?: string[] | undefined;
186
+ }, {
187
+ name: string;
188
+ id: string;
189
+ createdAt: Date;
190
+ agentId: string;
191
+ model: Record<string, unknown>;
192
+ instructions: string;
193
+ versionNumber: number;
194
+ description?: string | undefined;
195
+ tools?: string[] | undefined;
196
+ agents?: string[] | undefined;
197
+ workflows?: string[] | undefined;
198
+ inputProcessors?: Record<string, unknown>[] | undefined;
199
+ outputProcessors?: Record<string, unknown>[] | undefined;
200
+ defaultOptions?: Record<string, unknown> | undefined;
201
+ memory?: Record<string, unknown> | undefined;
202
+ scorers?: Record<string, {
203
+ sampling?: {
204
+ type: "count" | "ratio";
205
+ count?: number | undefined;
206
+ rate?: number | undefined;
207
+ } | undefined;
208
+ }> | undefined;
209
+ integrationTools?: string[] | undefined;
210
+ changeMessage?: string | undefined;
211
+ changedFields?: string[] | undefined;
212
+ }>;
213
+ /**
214
+ * Response for GET /stored/agents/:agentId/versions
215
+ */
216
+ export declare const listVersionsResponseSchema: z.ZodObject<{
217
+ total: z.ZodNumber;
218
+ page: z.ZodNumber;
219
+ perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
220
+ hasMore: z.ZodBoolean;
221
+ } & {
222
+ versions: z.ZodArray<z.ZodObject<{
223
+ id: z.ZodString;
224
+ agentId: z.ZodString;
225
+ versionNumber: z.ZodNumber;
226
+ name: z.ZodString;
227
+ description: z.ZodOptional<z.ZodString>;
228
+ instructions: z.ZodString;
229
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
230
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
231
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
232
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
233
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
234
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
236
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
237
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
238
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
239
+ sampling: z.ZodOptional<z.ZodObject<{
240
+ type: z.ZodEnum<["ratio", "count"]>;
241
+ rate: z.ZodOptional<z.ZodNumber>;
242
+ count: z.ZodOptional<z.ZodNumber>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ type: "count" | "ratio";
245
+ count?: number | undefined;
246
+ rate?: number | undefined;
247
+ }, {
248
+ type: "count" | "ratio";
249
+ count?: number | undefined;
250
+ rate?: number | undefined;
251
+ }>>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ sampling?: {
254
+ type: "count" | "ratio";
255
+ count?: number | undefined;
256
+ rate?: number | undefined;
257
+ } | undefined;
258
+ }, {
259
+ sampling?: {
260
+ type: "count" | "ratio";
261
+ count?: number | undefined;
262
+ rate?: number | undefined;
263
+ } | undefined;
264
+ }>>>;
265
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
+ changeMessage: z.ZodOptional<z.ZodString>;
267
+ createdAt: z.ZodDate;
268
+ }, "strip", z.ZodTypeAny, {
269
+ name: string;
270
+ id: string;
271
+ createdAt: Date;
272
+ agentId: string;
273
+ model: Record<string, unknown>;
274
+ instructions: string;
275
+ versionNumber: number;
276
+ description?: string | undefined;
277
+ tools?: string[] | undefined;
278
+ agents?: string[] | undefined;
279
+ workflows?: string[] | undefined;
280
+ inputProcessors?: Record<string, unknown>[] | undefined;
281
+ outputProcessors?: Record<string, unknown>[] | undefined;
282
+ defaultOptions?: Record<string, unknown> | undefined;
283
+ memory?: Record<string, unknown> | undefined;
284
+ scorers?: Record<string, {
285
+ sampling?: {
286
+ type: "count" | "ratio";
287
+ count?: number | undefined;
288
+ rate?: number | undefined;
289
+ } | undefined;
290
+ }> | undefined;
291
+ integrationTools?: string[] | undefined;
292
+ changeMessage?: string | undefined;
293
+ changedFields?: string[] | undefined;
294
+ }, {
295
+ name: string;
296
+ id: string;
297
+ createdAt: Date;
298
+ agentId: string;
299
+ model: Record<string, unknown>;
300
+ instructions: string;
301
+ versionNumber: number;
302
+ description?: string | undefined;
303
+ tools?: string[] | undefined;
304
+ agents?: string[] | undefined;
305
+ workflows?: string[] | undefined;
306
+ inputProcessors?: Record<string, unknown>[] | undefined;
307
+ outputProcessors?: Record<string, unknown>[] | undefined;
308
+ defaultOptions?: Record<string, unknown> | undefined;
309
+ memory?: Record<string, unknown> | undefined;
310
+ scorers?: Record<string, {
311
+ sampling?: {
312
+ type: "count" | "ratio";
313
+ count?: number | undefined;
314
+ rate?: number | undefined;
315
+ } | undefined;
316
+ }> | undefined;
317
+ integrationTools?: string[] | undefined;
318
+ changeMessage?: string | undefined;
319
+ changedFields?: string[] | undefined;
320
+ }>, "many">;
321
+ }, "strip", z.ZodTypeAny, {
322
+ total: number;
323
+ page: number;
324
+ perPage: number | false;
325
+ hasMore: boolean;
326
+ versions: {
327
+ name: string;
328
+ id: string;
329
+ createdAt: Date;
330
+ agentId: string;
331
+ model: Record<string, unknown>;
332
+ instructions: string;
333
+ versionNumber: number;
334
+ description?: string | undefined;
335
+ tools?: string[] | undefined;
336
+ agents?: string[] | undefined;
337
+ workflows?: string[] | undefined;
338
+ inputProcessors?: Record<string, unknown>[] | undefined;
339
+ outputProcessors?: Record<string, unknown>[] | undefined;
340
+ defaultOptions?: Record<string, unknown> | undefined;
341
+ memory?: Record<string, unknown> | undefined;
342
+ scorers?: Record<string, {
343
+ sampling?: {
344
+ type: "count" | "ratio";
345
+ count?: number | undefined;
346
+ rate?: number | undefined;
347
+ } | undefined;
348
+ }> | undefined;
349
+ integrationTools?: string[] | undefined;
350
+ changeMessage?: string | undefined;
351
+ changedFields?: string[] | undefined;
352
+ }[];
353
+ }, {
354
+ total: number;
355
+ page: number;
356
+ perPage: number | false;
357
+ hasMore: boolean;
358
+ versions: {
359
+ name: string;
360
+ id: string;
361
+ createdAt: Date;
362
+ agentId: string;
363
+ model: Record<string, unknown>;
364
+ instructions: string;
365
+ versionNumber: number;
366
+ description?: string | undefined;
367
+ tools?: string[] | undefined;
368
+ agents?: string[] | undefined;
369
+ workflows?: string[] | undefined;
370
+ inputProcessors?: Record<string, unknown>[] | undefined;
371
+ outputProcessors?: Record<string, unknown>[] | undefined;
372
+ defaultOptions?: Record<string, unknown> | undefined;
373
+ memory?: Record<string, unknown> | undefined;
374
+ scorers?: Record<string, {
375
+ sampling?: {
376
+ type: "count" | "ratio";
377
+ count?: number | undefined;
378
+ rate?: number | undefined;
379
+ } | undefined;
380
+ }> | undefined;
381
+ integrationTools?: string[] | undefined;
382
+ changeMessage?: string | undefined;
383
+ changedFields?: string[] | undefined;
384
+ }[];
385
+ }>;
386
+ /**
387
+ * Response for GET /stored/agents/:agentId/versions/:versionId
388
+ */
389
+ export declare const getVersionResponseSchema: z.ZodObject<{
390
+ id: z.ZodString;
391
+ agentId: z.ZodString;
392
+ versionNumber: z.ZodNumber;
393
+ name: z.ZodString;
394
+ description: z.ZodOptional<z.ZodString>;
395
+ instructions: z.ZodString;
396
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
397
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
398
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
399
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
400
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
401
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
402
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
403
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
404
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
405
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
406
+ sampling: z.ZodOptional<z.ZodObject<{
407
+ type: z.ZodEnum<["ratio", "count"]>;
408
+ rate: z.ZodOptional<z.ZodNumber>;
409
+ count: z.ZodOptional<z.ZodNumber>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ type: "count" | "ratio";
412
+ count?: number | undefined;
413
+ rate?: number | undefined;
414
+ }, {
415
+ type: "count" | "ratio";
416
+ count?: number | undefined;
417
+ rate?: number | undefined;
418
+ }>>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ sampling?: {
421
+ type: "count" | "ratio";
422
+ count?: number | undefined;
423
+ rate?: number | undefined;
424
+ } | undefined;
425
+ }, {
426
+ sampling?: {
427
+ type: "count" | "ratio";
428
+ count?: number | undefined;
429
+ rate?: number | undefined;
430
+ } | undefined;
431
+ }>>>;
432
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
433
+ changeMessage: z.ZodOptional<z.ZodString>;
434
+ createdAt: z.ZodDate;
435
+ }, "strip", z.ZodTypeAny, {
436
+ name: string;
437
+ id: string;
438
+ createdAt: Date;
439
+ agentId: string;
440
+ model: Record<string, unknown>;
441
+ instructions: string;
442
+ versionNumber: number;
443
+ description?: string | undefined;
444
+ tools?: string[] | undefined;
445
+ agents?: string[] | undefined;
446
+ workflows?: string[] | undefined;
447
+ inputProcessors?: Record<string, unknown>[] | undefined;
448
+ outputProcessors?: Record<string, unknown>[] | undefined;
449
+ defaultOptions?: Record<string, unknown> | undefined;
450
+ memory?: Record<string, unknown> | undefined;
451
+ scorers?: Record<string, {
452
+ sampling?: {
453
+ type: "count" | "ratio";
454
+ count?: number | undefined;
455
+ rate?: number | undefined;
456
+ } | undefined;
457
+ }> | undefined;
458
+ integrationTools?: string[] | undefined;
459
+ changeMessage?: string | undefined;
460
+ changedFields?: string[] | undefined;
461
+ }, {
462
+ name: string;
463
+ id: string;
464
+ createdAt: Date;
465
+ agentId: string;
466
+ model: Record<string, unknown>;
467
+ instructions: string;
468
+ versionNumber: number;
469
+ description?: string | undefined;
470
+ tools?: string[] | undefined;
471
+ agents?: string[] | undefined;
472
+ workflows?: string[] | undefined;
473
+ inputProcessors?: Record<string, unknown>[] | undefined;
474
+ outputProcessors?: Record<string, unknown>[] | undefined;
475
+ defaultOptions?: Record<string, unknown> | undefined;
476
+ memory?: Record<string, unknown> | undefined;
477
+ scorers?: Record<string, {
478
+ sampling?: {
479
+ type: "count" | "ratio";
480
+ count?: number | undefined;
481
+ rate?: number | undefined;
482
+ } | undefined;
483
+ }> | undefined;
484
+ integrationTools?: string[] | undefined;
485
+ changeMessage?: string | undefined;
486
+ changedFields?: string[] | undefined;
487
+ }>;
488
+ /**
489
+ * Response for POST /stored/agents/:agentId/versions
490
+ */
491
+ export declare const createVersionResponseSchema: z.ZodObject<{
492
+ id: z.ZodString;
493
+ agentId: z.ZodString;
494
+ versionNumber: z.ZodNumber;
495
+ name: z.ZodString;
496
+ description: z.ZodOptional<z.ZodString>;
497
+ instructions: z.ZodString;
498
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
499
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
500
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
501
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
503
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
505
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
506
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
507
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
508
+ sampling: z.ZodOptional<z.ZodObject<{
509
+ type: z.ZodEnum<["ratio", "count"]>;
510
+ rate: z.ZodOptional<z.ZodNumber>;
511
+ count: z.ZodOptional<z.ZodNumber>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ type: "count" | "ratio";
514
+ count?: number | undefined;
515
+ rate?: number | undefined;
516
+ }, {
517
+ type: "count" | "ratio";
518
+ count?: number | undefined;
519
+ rate?: number | undefined;
520
+ }>>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ sampling?: {
523
+ type: "count" | "ratio";
524
+ count?: number | undefined;
525
+ rate?: number | undefined;
526
+ } | undefined;
527
+ }, {
528
+ sampling?: {
529
+ type: "count" | "ratio";
530
+ count?: number | undefined;
531
+ rate?: number | undefined;
532
+ } | undefined;
533
+ }>>>;
534
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
535
+ changeMessage: z.ZodOptional<z.ZodString>;
536
+ createdAt: z.ZodDate;
537
+ }, "strip", z.ZodTypeAny, {
538
+ name: string;
539
+ id: string;
540
+ createdAt: Date;
541
+ agentId: string;
542
+ model: Record<string, unknown>;
543
+ instructions: string;
544
+ versionNumber: number;
545
+ description?: string | undefined;
546
+ tools?: string[] | undefined;
547
+ agents?: string[] | undefined;
548
+ workflows?: string[] | undefined;
549
+ inputProcessors?: Record<string, unknown>[] | undefined;
550
+ outputProcessors?: Record<string, unknown>[] | undefined;
551
+ defaultOptions?: Record<string, unknown> | undefined;
552
+ memory?: Record<string, unknown> | undefined;
553
+ scorers?: Record<string, {
554
+ sampling?: {
555
+ type: "count" | "ratio";
556
+ count?: number | undefined;
557
+ rate?: number | undefined;
558
+ } | undefined;
559
+ }> | undefined;
560
+ integrationTools?: string[] | undefined;
561
+ changeMessage?: string | undefined;
562
+ changedFields?: string[] | undefined;
563
+ }, {
564
+ name: string;
565
+ id: string;
566
+ createdAt: Date;
567
+ agentId: string;
568
+ model: Record<string, unknown>;
569
+ instructions: string;
570
+ versionNumber: number;
571
+ description?: string | undefined;
572
+ tools?: string[] | undefined;
573
+ agents?: string[] | undefined;
574
+ workflows?: string[] | undefined;
575
+ inputProcessors?: Record<string, unknown>[] | undefined;
576
+ outputProcessors?: Record<string, unknown>[] | undefined;
577
+ defaultOptions?: Record<string, unknown> | undefined;
578
+ memory?: Record<string, unknown> | undefined;
579
+ scorers?: Record<string, {
580
+ sampling?: {
581
+ type: "count" | "ratio";
582
+ count?: number | undefined;
583
+ rate?: number | undefined;
584
+ } | undefined;
585
+ }> | undefined;
586
+ integrationTools?: string[] | undefined;
587
+ changeMessage?: string | undefined;
588
+ changedFields?: string[] | undefined;
589
+ }>;
590
+ /**
591
+ * Response for POST /stored/agents/:agentId/versions/:versionId/activate
592
+ */
593
+ export declare const activateVersionResponseSchema: z.ZodObject<{
594
+ success: z.ZodBoolean;
595
+ message: z.ZodString;
596
+ activeVersionId: z.ZodString;
597
+ }, "strip", z.ZodTypeAny, {
598
+ message: string;
599
+ success: boolean;
600
+ activeVersionId: string;
601
+ }, {
602
+ message: string;
603
+ success: boolean;
604
+ activeVersionId: string;
605
+ }>;
606
+ /**
607
+ * Response for POST /stored/agents/:agentId/versions/:versionId/restore
608
+ */
609
+ export declare const restoreVersionResponseSchema: z.ZodObject<{
610
+ id: z.ZodString;
611
+ agentId: z.ZodString;
612
+ versionNumber: z.ZodNumber;
613
+ name: z.ZodString;
614
+ description: z.ZodOptional<z.ZodString>;
615
+ instructions: z.ZodString;
616
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
617
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
618
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
619
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
620
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
621
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
622
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
623
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
624
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
625
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
626
+ sampling: z.ZodOptional<z.ZodObject<{
627
+ type: z.ZodEnum<["ratio", "count"]>;
628
+ rate: z.ZodOptional<z.ZodNumber>;
629
+ count: z.ZodOptional<z.ZodNumber>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ type: "count" | "ratio";
632
+ count?: number | undefined;
633
+ rate?: number | undefined;
634
+ }, {
635
+ type: "count" | "ratio";
636
+ count?: number | undefined;
637
+ rate?: number | undefined;
638
+ }>>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ sampling?: {
641
+ type: "count" | "ratio";
642
+ count?: number | undefined;
643
+ rate?: number | undefined;
644
+ } | undefined;
645
+ }, {
646
+ sampling?: {
647
+ type: "count" | "ratio";
648
+ count?: number | undefined;
649
+ rate?: number | undefined;
650
+ } | undefined;
651
+ }>>>;
652
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
653
+ changeMessage: z.ZodOptional<z.ZodString>;
654
+ createdAt: z.ZodDate;
655
+ }, "strip", z.ZodTypeAny, {
656
+ name: string;
657
+ id: string;
658
+ createdAt: Date;
659
+ agentId: string;
660
+ model: Record<string, unknown>;
661
+ instructions: string;
662
+ versionNumber: number;
663
+ description?: string | undefined;
664
+ tools?: string[] | undefined;
665
+ agents?: string[] | undefined;
666
+ workflows?: string[] | undefined;
667
+ inputProcessors?: Record<string, unknown>[] | undefined;
668
+ outputProcessors?: Record<string, unknown>[] | undefined;
669
+ defaultOptions?: Record<string, unknown> | undefined;
670
+ memory?: Record<string, unknown> | undefined;
671
+ scorers?: Record<string, {
672
+ sampling?: {
673
+ type: "count" | "ratio";
674
+ count?: number | undefined;
675
+ rate?: number | undefined;
676
+ } | undefined;
677
+ }> | undefined;
678
+ integrationTools?: string[] | undefined;
679
+ changeMessage?: string | undefined;
680
+ changedFields?: string[] | undefined;
681
+ }, {
682
+ name: string;
683
+ id: string;
684
+ createdAt: Date;
685
+ agentId: string;
686
+ model: Record<string, unknown>;
687
+ instructions: string;
688
+ versionNumber: number;
689
+ description?: string | undefined;
690
+ tools?: string[] | undefined;
691
+ agents?: string[] | undefined;
692
+ workflows?: string[] | undefined;
693
+ inputProcessors?: Record<string, unknown>[] | undefined;
694
+ outputProcessors?: Record<string, unknown>[] | undefined;
695
+ defaultOptions?: Record<string, unknown> | undefined;
696
+ memory?: Record<string, unknown> | undefined;
697
+ scorers?: Record<string, {
698
+ sampling?: {
699
+ type: "count" | "ratio";
700
+ count?: number | undefined;
701
+ rate?: number | undefined;
702
+ } | undefined;
703
+ }> | undefined;
704
+ integrationTools?: string[] | undefined;
705
+ changeMessage?: string | undefined;
706
+ changedFields?: string[] | undefined;
707
+ }>;
708
+ /**
709
+ * Response for DELETE /stored/agents/:agentId/versions/:versionId
710
+ */
711
+ export declare const deleteVersionResponseSchema: z.ZodObject<{
712
+ success: z.ZodBoolean;
713
+ message: z.ZodString;
714
+ }, "strip", z.ZodTypeAny, {
715
+ message: string;
716
+ success: boolean;
717
+ }, {
718
+ message: string;
719
+ success: boolean;
720
+ }>;
721
+ /**
722
+ * Single diff entry for version comparison
723
+ */
724
+ export declare const versionDiffEntrySchema: z.ZodObject<{
725
+ field: z.ZodString;
726
+ previousValue: z.ZodUnknown;
727
+ currentValue: z.ZodUnknown;
728
+ }, "strip", z.ZodTypeAny, {
729
+ field: string;
730
+ previousValue?: unknown;
731
+ currentValue?: unknown;
732
+ }, {
733
+ field: string;
734
+ previousValue?: unknown;
735
+ currentValue?: unknown;
736
+ }>;
737
+ /**
738
+ * Response for GET /stored/agents/:agentId/versions/compare
739
+ */
740
+ export declare const compareVersionsResponseSchema: z.ZodObject<{
741
+ diffs: z.ZodArray<z.ZodObject<{
742
+ field: z.ZodString;
743
+ previousValue: z.ZodUnknown;
744
+ currentValue: z.ZodUnknown;
745
+ }, "strip", z.ZodTypeAny, {
746
+ field: string;
747
+ previousValue?: unknown;
748
+ currentValue?: unknown;
749
+ }, {
750
+ field: string;
751
+ previousValue?: unknown;
752
+ currentValue?: unknown;
753
+ }>, "many">;
754
+ fromVersion: z.ZodObject<{
755
+ id: z.ZodString;
756
+ agentId: z.ZodString;
757
+ versionNumber: z.ZodNumber;
758
+ name: z.ZodString;
759
+ description: z.ZodOptional<z.ZodString>;
760
+ instructions: z.ZodString;
761
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
762
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
763
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
764
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
765
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
766
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
767
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
768
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
769
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
770
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
771
+ sampling: z.ZodOptional<z.ZodObject<{
772
+ type: z.ZodEnum<["ratio", "count"]>;
773
+ rate: z.ZodOptional<z.ZodNumber>;
774
+ count: z.ZodOptional<z.ZodNumber>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ type: "count" | "ratio";
777
+ count?: number | undefined;
778
+ rate?: number | undefined;
779
+ }, {
780
+ type: "count" | "ratio";
781
+ count?: number | undefined;
782
+ rate?: number | undefined;
783
+ }>>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ sampling?: {
786
+ type: "count" | "ratio";
787
+ count?: number | undefined;
788
+ rate?: number | undefined;
789
+ } | undefined;
790
+ }, {
791
+ sampling?: {
792
+ type: "count" | "ratio";
793
+ count?: number | undefined;
794
+ rate?: number | undefined;
795
+ } | undefined;
796
+ }>>>;
797
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
798
+ changeMessage: z.ZodOptional<z.ZodString>;
799
+ createdAt: z.ZodDate;
800
+ }, "strip", z.ZodTypeAny, {
801
+ name: string;
802
+ id: string;
803
+ createdAt: Date;
804
+ agentId: string;
805
+ model: Record<string, unknown>;
806
+ instructions: string;
807
+ versionNumber: number;
808
+ description?: string | undefined;
809
+ tools?: string[] | undefined;
810
+ agents?: string[] | undefined;
811
+ workflows?: string[] | undefined;
812
+ inputProcessors?: Record<string, unknown>[] | undefined;
813
+ outputProcessors?: Record<string, unknown>[] | undefined;
814
+ defaultOptions?: Record<string, unknown> | undefined;
815
+ memory?: Record<string, unknown> | undefined;
816
+ scorers?: Record<string, {
817
+ sampling?: {
818
+ type: "count" | "ratio";
819
+ count?: number | undefined;
820
+ rate?: number | undefined;
821
+ } | undefined;
822
+ }> | undefined;
823
+ integrationTools?: string[] | undefined;
824
+ changeMessage?: string | undefined;
825
+ changedFields?: string[] | undefined;
826
+ }, {
827
+ name: string;
828
+ id: string;
829
+ createdAt: Date;
830
+ agentId: string;
831
+ model: Record<string, unknown>;
832
+ instructions: string;
833
+ versionNumber: number;
834
+ description?: string | undefined;
835
+ tools?: string[] | undefined;
836
+ agents?: string[] | undefined;
837
+ workflows?: string[] | undefined;
838
+ inputProcessors?: Record<string, unknown>[] | undefined;
839
+ outputProcessors?: Record<string, unknown>[] | undefined;
840
+ defaultOptions?: Record<string, unknown> | undefined;
841
+ memory?: Record<string, unknown> | undefined;
842
+ scorers?: Record<string, {
843
+ sampling?: {
844
+ type: "count" | "ratio";
845
+ count?: number | undefined;
846
+ rate?: number | undefined;
847
+ } | undefined;
848
+ }> | undefined;
849
+ integrationTools?: string[] | undefined;
850
+ changeMessage?: string | undefined;
851
+ changedFields?: string[] | undefined;
852
+ }>;
853
+ toVersion: z.ZodObject<{
854
+ id: z.ZodString;
855
+ agentId: z.ZodString;
856
+ versionNumber: z.ZodNumber;
857
+ name: z.ZodString;
858
+ description: z.ZodOptional<z.ZodString>;
859
+ instructions: z.ZodString;
860
+ model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
861
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
862
+ defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
863
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
864
+ agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
865
+ integrationTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
866
+ inputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
867
+ outputProcessors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
868
+ memory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
869
+ scorers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
870
+ sampling: z.ZodOptional<z.ZodObject<{
871
+ type: z.ZodEnum<["ratio", "count"]>;
872
+ rate: z.ZodOptional<z.ZodNumber>;
873
+ count: z.ZodOptional<z.ZodNumber>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ type: "count" | "ratio";
876
+ count?: number | undefined;
877
+ rate?: number | undefined;
878
+ }, {
879
+ type: "count" | "ratio";
880
+ count?: number | undefined;
881
+ rate?: number | undefined;
882
+ }>>;
883
+ }, "strip", z.ZodTypeAny, {
884
+ sampling?: {
885
+ type: "count" | "ratio";
886
+ count?: number | undefined;
887
+ rate?: number | undefined;
888
+ } | undefined;
889
+ }, {
890
+ sampling?: {
891
+ type: "count" | "ratio";
892
+ count?: number | undefined;
893
+ rate?: number | undefined;
894
+ } | undefined;
895
+ }>>>;
896
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
897
+ changeMessage: z.ZodOptional<z.ZodString>;
898
+ createdAt: z.ZodDate;
899
+ }, "strip", z.ZodTypeAny, {
900
+ name: string;
901
+ id: string;
902
+ createdAt: Date;
903
+ agentId: string;
904
+ model: Record<string, unknown>;
905
+ instructions: string;
906
+ versionNumber: number;
907
+ description?: string | undefined;
908
+ tools?: string[] | undefined;
909
+ agents?: string[] | undefined;
910
+ workflows?: string[] | undefined;
911
+ inputProcessors?: Record<string, unknown>[] | undefined;
912
+ outputProcessors?: Record<string, unknown>[] | undefined;
913
+ defaultOptions?: Record<string, unknown> | undefined;
914
+ memory?: Record<string, unknown> | undefined;
915
+ scorers?: Record<string, {
916
+ sampling?: {
917
+ type: "count" | "ratio";
918
+ count?: number | undefined;
919
+ rate?: number | undefined;
920
+ } | undefined;
921
+ }> | undefined;
922
+ integrationTools?: string[] | undefined;
923
+ changeMessage?: string | undefined;
924
+ changedFields?: string[] | undefined;
925
+ }, {
926
+ name: string;
927
+ id: string;
928
+ createdAt: Date;
929
+ agentId: string;
930
+ model: Record<string, unknown>;
931
+ instructions: string;
932
+ versionNumber: number;
933
+ description?: string | undefined;
934
+ tools?: string[] | undefined;
935
+ agents?: string[] | undefined;
936
+ workflows?: string[] | undefined;
937
+ inputProcessors?: Record<string, unknown>[] | undefined;
938
+ outputProcessors?: Record<string, unknown>[] | undefined;
939
+ defaultOptions?: Record<string, unknown> | undefined;
940
+ memory?: Record<string, unknown> | undefined;
941
+ scorers?: Record<string, {
942
+ sampling?: {
943
+ type: "count" | "ratio";
944
+ count?: number | undefined;
945
+ rate?: number | undefined;
946
+ } | undefined;
947
+ }> | undefined;
948
+ integrationTools?: string[] | undefined;
949
+ changeMessage?: string | undefined;
950
+ changedFields?: string[] | undefined;
951
+ }>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ diffs: {
954
+ field: string;
955
+ previousValue?: unknown;
956
+ currentValue?: unknown;
957
+ }[];
958
+ fromVersion: {
959
+ name: string;
960
+ id: string;
961
+ createdAt: Date;
962
+ agentId: string;
963
+ model: Record<string, unknown>;
964
+ instructions: string;
965
+ versionNumber: number;
966
+ description?: string | undefined;
967
+ tools?: string[] | undefined;
968
+ agents?: string[] | undefined;
969
+ workflows?: string[] | undefined;
970
+ inputProcessors?: Record<string, unknown>[] | undefined;
971
+ outputProcessors?: Record<string, unknown>[] | undefined;
972
+ defaultOptions?: Record<string, unknown> | undefined;
973
+ memory?: Record<string, unknown> | undefined;
974
+ scorers?: Record<string, {
975
+ sampling?: {
976
+ type: "count" | "ratio";
977
+ count?: number | undefined;
978
+ rate?: number | undefined;
979
+ } | undefined;
980
+ }> | undefined;
981
+ integrationTools?: string[] | undefined;
982
+ changeMessage?: string | undefined;
983
+ changedFields?: string[] | undefined;
984
+ };
985
+ toVersion: {
986
+ name: string;
987
+ id: string;
988
+ createdAt: Date;
989
+ agentId: string;
990
+ model: Record<string, unknown>;
991
+ instructions: string;
992
+ versionNumber: number;
993
+ description?: string | undefined;
994
+ tools?: string[] | undefined;
995
+ agents?: string[] | undefined;
996
+ workflows?: string[] | undefined;
997
+ inputProcessors?: Record<string, unknown>[] | undefined;
998
+ outputProcessors?: Record<string, unknown>[] | undefined;
999
+ defaultOptions?: Record<string, unknown> | undefined;
1000
+ memory?: Record<string, unknown> | undefined;
1001
+ scorers?: Record<string, {
1002
+ sampling?: {
1003
+ type: "count" | "ratio";
1004
+ count?: number | undefined;
1005
+ rate?: number | undefined;
1006
+ } | undefined;
1007
+ }> | undefined;
1008
+ integrationTools?: string[] | undefined;
1009
+ changeMessage?: string | undefined;
1010
+ changedFields?: string[] | undefined;
1011
+ };
1012
+ }, {
1013
+ diffs: {
1014
+ field: string;
1015
+ previousValue?: unknown;
1016
+ currentValue?: unknown;
1017
+ }[];
1018
+ fromVersion: {
1019
+ name: string;
1020
+ id: string;
1021
+ createdAt: Date;
1022
+ agentId: string;
1023
+ model: Record<string, unknown>;
1024
+ instructions: string;
1025
+ versionNumber: number;
1026
+ description?: string | undefined;
1027
+ tools?: string[] | undefined;
1028
+ agents?: string[] | undefined;
1029
+ workflows?: string[] | undefined;
1030
+ inputProcessors?: Record<string, unknown>[] | undefined;
1031
+ outputProcessors?: Record<string, unknown>[] | undefined;
1032
+ defaultOptions?: Record<string, unknown> | undefined;
1033
+ memory?: Record<string, unknown> | undefined;
1034
+ scorers?: Record<string, {
1035
+ sampling?: {
1036
+ type: "count" | "ratio";
1037
+ count?: number | undefined;
1038
+ rate?: number | undefined;
1039
+ } | undefined;
1040
+ }> | undefined;
1041
+ integrationTools?: string[] | undefined;
1042
+ changeMessage?: string | undefined;
1043
+ changedFields?: string[] | undefined;
1044
+ };
1045
+ toVersion: {
1046
+ name: string;
1047
+ id: string;
1048
+ createdAt: Date;
1049
+ agentId: string;
1050
+ model: Record<string, unknown>;
1051
+ instructions: string;
1052
+ versionNumber: number;
1053
+ description?: string | undefined;
1054
+ tools?: string[] | undefined;
1055
+ agents?: string[] | undefined;
1056
+ workflows?: string[] | undefined;
1057
+ inputProcessors?: Record<string, unknown>[] | undefined;
1058
+ outputProcessors?: Record<string, unknown>[] | undefined;
1059
+ defaultOptions?: Record<string, unknown> | undefined;
1060
+ memory?: Record<string, unknown> | undefined;
1061
+ scorers?: Record<string, {
1062
+ sampling?: {
1063
+ type: "count" | "ratio";
1064
+ count?: number | undefined;
1065
+ rate?: number | undefined;
1066
+ } | undefined;
1067
+ }> | undefined;
1068
+ integrationTools?: string[] | undefined;
1069
+ changeMessage?: string | undefined;
1070
+ changedFields?: string[] | undefined;
1071
+ };
1072
+ }>;
1073
+ //# sourceMappingURL=agent-versions.d.ts.map