@mastra/server 1.0.4-alpha.2 → 1.0.4

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 (448) hide show
  1. package/CHANGELOG.md +6596 -0
  2. package/LICENSE.md +11 -42
  3. package/README.md +45 -137
  4. package/dist/chunk-2CLS2PYJ.js +1030 -0
  5. package/dist/chunk-2CLS2PYJ.js.map +1 -0
  6. package/dist/chunk-2CYGIE3E.js +1075 -0
  7. package/dist/chunk-2CYGIE3E.js.map +1 -0
  8. package/dist/chunk-33CKPQS4.cjs +175 -0
  9. package/dist/chunk-33CKPQS4.cjs.map +1 -0
  10. package/dist/chunk-3FEYUHHJ.js +116 -0
  11. package/dist/chunk-3FEYUHHJ.js.map +1 -0
  12. package/dist/chunk-3REGEJEN.js +250 -0
  13. package/dist/chunk-3REGEJEN.js.map +1 -0
  14. package/dist/chunk-3W67K7YE.js +13 -0
  15. package/dist/chunk-3W67K7YE.js.map +1 -0
  16. package/dist/chunk-4DJ7EJRB.cjs +186 -0
  17. package/dist/chunk-4DJ7EJRB.cjs.map +1 -0
  18. package/dist/chunk-4EYONQIW.cjs +82 -0
  19. package/dist/chunk-4EYONQIW.cjs.map +1 -0
  20. package/dist/chunk-4R2Z655M.js +1075 -0
  21. package/dist/chunk-4R2Z655M.js.map +1 -0
  22. package/dist/chunk-5NFRDYFN.js +77 -0
  23. package/dist/chunk-5NFRDYFN.js.map +1 -0
  24. package/dist/chunk-5VDI75UV.js +44 -0
  25. package/dist/chunk-5VDI75UV.js.map +1 -0
  26. package/dist/chunk-5W4RPVTK.cjs +49 -0
  27. package/dist/chunk-5W4RPVTK.cjs.map +1 -0
  28. package/dist/{chunk-FV45V6WC.cjs → chunk-64ITUOXI.cjs} +3 -7
  29. package/dist/chunk-64ITUOXI.cjs.map +1 -0
  30. package/dist/chunk-6MP2S6VI.cjs +211 -0
  31. package/dist/chunk-6MP2S6VI.cjs.map +1 -0
  32. package/dist/{chunk-TRDNDNGQ.js → chunk-6QWQZI4Q.js} +4 -7
  33. package/dist/chunk-6QWQZI4Q.js.map +1 -0
  34. package/dist/chunk-7S7ALPCY.js +225 -0
  35. package/dist/chunk-7S7ALPCY.js.map +1 -0
  36. package/dist/chunk-7XPMKW4Y.cjs +447 -0
  37. package/dist/chunk-7XPMKW4Y.cjs.map +1 -0
  38. package/dist/chunk-AQI6GLTN.cjs +2777 -0
  39. package/dist/chunk-AQI6GLTN.cjs.map +1 -0
  40. package/dist/chunk-AV3CN5ZR.cjs +326 -0
  41. package/dist/chunk-AV3CN5ZR.cjs.map +1 -0
  42. package/dist/chunk-AVRO3FIN.cjs +231 -0
  43. package/dist/chunk-AVRO3FIN.cjs.map +1 -0
  44. package/dist/chunk-BRI4GUZ2.cjs +280 -0
  45. package/dist/chunk-BRI4GUZ2.cjs.map +1 -0
  46. package/dist/chunk-CGIGPJRU.js +279 -0
  47. package/dist/chunk-CGIGPJRU.js.map +1 -0
  48. package/dist/chunk-CLAEGIP5.cjs +683 -0
  49. package/dist/chunk-CLAEGIP5.cjs.map +1 -0
  50. package/dist/chunk-DVSCJECS.js +250 -0
  51. package/dist/chunk-DVSCJECS.js.map +1 -0
  52. package/dist/chunk-EUBTCHQC.js +83 -0
  53. package/dist/chunk-EUBTCHQC.js.map +1 -0
  54. package/dist/chunk-FLLJIPD4.cjs +46 -0
  55. package/dist/chunk-FLLJIPD4.cjs.map +1 -0
  56. package/dist/chunk-FWSKVWS7.cjs +88 -0
  57. package/dist/chunk-FWSKVWS7.cjs.map +1 -0
  58. package/dist/chunk-G2AMUTU4.js +250 -0
  59. package/dist/chunk-G2AMUTU4.js.map +1 -0
  60. package/dist/chunk-GHQZIEPS.js +33118 -0
  61. package/dist/chunk-GHQZIEPS.js.map +1 -0
  62. package/dist/chunk-GNCALVLC.js +171 -0
  63. package/dist/chunk-GNCALVLC.js.map +1 -0
  64. package/dist/chunk-GU4EWMZB.cjs +769 -0
  65. package/dist/chunk-GU4EWMZB.cjs.map +1 -0
  66. package/dist/chunk-H34VRYSF.js +196 -0
  67. package/dist/chunk-H34VRYSF.js.map +1 -0
  68. package/dist/chunk-H66LLFDL.js +970 -0
  69. package/dist/chunk-H66LLFDL.js.map +1 -0
  70. package/dist/chunk-HCVDHEDD.cjs +33157 -0
  71. package/dist/chunk-HCVDHEDD.cjs.map +1 -0
  72. package/dist/chunk-HT4LP3BO.js +75 -0
  73. package/dist/chunk-HT4LP3BO.js.map +1 -0
  74. package/dist/chunk-I27H7BEB.js +439 -0
  75. package/dist/chunk-I27H7BEB.js.map +1 -0
  76. package/dist/chunk-IVGQTL3T.js +204 -0
  77. package/dist/chunk-IVGQTL3T.js.map +1 -0
  78. package/dist/chunk-KKY4MSZO.js +314 -0
  79. package/dist/chunk-KKY4MSZO.js.map +1 -0
  80. package/dist/chunk-L2E5RUVT.cjs +252 -0
  81. package/dist/chunk-L2E5RUVT.cjs.map +1 -0
  82. package/dist/chunk-LF2ZLOFP.js +767 -0
  83. package/dist/chunk-LF2ZLOFP.js.map +1 -0
  84. package/dist/chunk-LJ6YRVDI.cjs +15 -0
  85. package/dist/chunk-LJ6YRVDI.cjs.map +1 -0
  86. package/dist/chunk-LOA7RQYO.js +2774 -0
  87. package/dist/chunk-LOA7RQYO.js.map +1 -0
  88. package/dist/chunk-MCYD5LW7.cjs +90 -0
  89. package/dist/chunk-MCYD5LW7.cjs.map +1 -0
  90. package/dist/chunk-MPUVSOEU.cjs +346 -0
  91. package/dist/chunk-MPUVSOEU.cjs.map +1 -0
  92. package/dist/chunk-N4EIZSG2.js +180 -0
  93. package/dist/chunk-N4EIZSG2.js.map +1 -0
  94. package/dist/chunk-NUO7HPOV.cjs +1105 -0
  95. package/dist/chunk-NUO7HPOV.cjs.map +1 -0
  96. package/dist/chunk-O7I5CWRX.cjs +44 -0
  97. package/dist/chunk-O7I5CWRX.cjs.map +1 -0
  98. package/dist/chunk-ONN5EA7E.js +26 -0
  99. package/dist/chunk-ONN5EA7E.js.map +1 -0
  100. package/dist/chunk-P3H4AZKI.cjs +252 -0
  101. package/dist/chunk-P3H4AZKI.cjs.map +1 -0
  102. package/dist/chunk-PNZQCQY4.cjs +252 -0
  103. package/dist/chunk-PNZQCQY4.cjs.map +1 -0
  104. package/dist/chunk-PR4QN5HX.js +39 -0
  105. package/dist/chunk-PR4QN5HX.js.map +1 -0
  106. package/dist/chunk-QPFYN6B5.cjs +125 -0
  107. package/dist/chunk-QPFYN6B5.cjs.map +1 -0
  108. package/dist/chunk-SUKFO7UM.cjs +29 -0
  109. package/dist/chunk-SUKFO7UM.cjs.map +1 -0
  110. package/dist/chunk-T4SPG2GP.cjs +82 -0
  111. package/dist/chunk-T4SPG2GP.cjs.map +1 -0
  112. package/dist/chunk-TMS4LS2J.js +302 -0
  113. package/dist/chunk-TMS4LS2J.js.map +1 -0
  114. package/dist/chunk-UK4FZWNW.cjs +205 -0
  115. package/dist/chunk-UK4FZWNW.cjs.map +1 -0
  116. package/dist/chunk-VX3VN7FN.cjs +992 -0
  117. package/dist/chunk-VX3VN7FN.cjs.map +1 -0
  118. package/dist/chunk-WJ6DNHLW.cjs +312 -0
  119. package/dist/chunk-WJ6DNHLW.cjs.map +1 -0
  120. package/dist/chunk-WLGJVDH4.js +242 -0
  121. package/dist/chunk-WLGJVDH4.js.map +1 -0
  122. package/dist/chunk-XB27LCKO.js +328 -0
  123. package/dist/chunk-XB27LCKO.js.map +1 -0
  124. package/dist/chunk-XCEQ4GQW.cjs +289 -0
  125. package/dist/chunk-XCEQ4GQW.cjs.map +1 -0
  126. package/dist/chunk-XOUK3IYU.js +77 -0
  127. package/dist/chunk-XOUK3IYU.js.map +1 -0
  128. package/dist/chunk-XWGAT2DA.js +44 -0
  129. package/dist/chunk-XWGAT2DA.js.map +1 -0
  130. package/dist/chunk-YK63KHHB.cjs +1059 -0
  131. package/dist/chunk-YK63KHHB.cjs.map +1 -0
  132. package/dist/chunk-YN3FWKVQ.js +669 -0
  133. package/dist/chunk-YN3FWKVQ.js.map +1 -0
  134. package/dist/chunk-ZQ2G6QKS.cjs +1117 -0
  135. package/dist/chunk-ZQ2G6QKS.cjs.map +1 -0
  136. package/dist/dist-7NTDEVLP.cjs +928 -0
  137. package/dist/dist-7NTDEVLP.cjs.map +1 -0
  138. package/dist/dist-B5GMANA6.js +1147 -0
  139. package/dist/dist-B5GMANA6.js.map +1 -0
  140. package/dist/dist-EDO7GEGI.js +3 -0
  141. package/dist/dist-EDO7GEGI.js.map +1 -0
  142. package/dist/dist-OF24ZMHH.cjs +764 -0
  143. package/dist/dist-OF24ZMHH.cjs.map +1 -0
  144. package/dist/dist-P6YSNLL3.cjs +1150 -0
  145. package/dist/dist-P6YSNLL3.cjs.map +1 -0
  146. package/dist/dist-SMBO5KVB.js +937 -0
  147. package/dist/dist-SMBO5KVB.js.map +1 -0
  148. package/dist/dist-THPMW5QR.js +761 -0
  149. package/dist/dist-THPMW5QR.js.map +1 -0
  150. package/dist/dist-VZTG56X2.cjs +940 -0
  151. package/dist/dist-VZTG56X2.cjs.map +1 -0
  152. package/dist/dist-ZLC23RVC.cjs +16 -0
  153. package/dist/dist-ZLC23RVC.cjs.map +1 -0
  154. package/dist/dist-ZOZ6MHJH.js +925 -0
  155. package/dist/dist-ZOZ6MHJH.js.map +1 -0
  156. package/dist/docs/README.md +31 -0
  157. package/dist/docs/SKILL.md +32 -0
  158. package/dist/docs/SOURCE_MAP.json +6 -0
  159. package/dist/docs/server/01-custom-adapters.md +380 -0
  160. package/dist/docs/server/02-reference.md +819 -0
  161. package/dist/index.cjs +6 -0
  162. package/dist/index.cjs.map +1 -0
  163. package/dist/index.d.ts +1 -0
  164. package/dist/index.d.ts.map +1 -0
  165. package/dist/index.js +5 -0
  166. package/dist/index.js.map +1 -0
  167. package/dist/server/a2a/protocol.d.ts +8 -0
  168. package/dist/server/a2a/protocol.d.ts.map +1 -0
  169. package/dist/server/a2a/store.cjs +25 -0
  170. package/dist/server/a2a/store.cjs.map +1 -0
  171. package/dist/server/a2a/store.d.ts +14 -0
  172. package/dist/server/a2a/store.d.ts.map +1 -0
  173. package/dist/server/a2a/store.js +23 -0
  174. package/dist/server/a2a/store.js.map +1 -0
  175. package/dist/server/a2a/tasks.d.ts +20 -0
  176. package/dist/server/a2a/tasks.d.ts.map +1 -0
  177. package/dist/server/auth/defaults.d.ts +3 -0
  178. package/dist/server/auth/defaults.d.ts.map +1 -0
  179. package/dist/server/auth/helpers.d.ts +14 -0
  180. package/dist/server/auth/helpers.d.ts.map +1 -0
  181. package/dist/server/auth/index.cjs +137 -0
  182. package/dist/server/auth/index.cjs.map +1 -0
  183. package/dist/server/auth/index.d.ts +3 -0
  184. package/dist/server/auth/index.d.ts.map +1 -0
  185. package/dist/server/auth/index.js +127 -0
  186. package/dist/server/auth/index.js.map +1 -0
  187. package/dist/server/handlers/a2a.cjs +40 -0
  188. package/dist/server/handlers/a2a.cjs.map +1 -0
  189. package/dist/server/handlers/a2a.d.ts +550 -0
  190. package/dist/server/handlers/a2a.d.ts.map +1 -0
  191. package/dist/server/handlers/a2a.js +3 -0
  192. package/dist/server/handlers/a2a.js.map +1 -0
  193. package/dist/server/handlers/agent-builder.cjs +68 -0
  194. package/dist/server/handlers/agent-builder.cjs.map +1 -0
  195. package/dist/server/handlers/agent-builder.d.ts +632 -0
  196. package/dist/server/handlers/agent-builder.d.ts.map +1 -0
  197. package/dist/server/handlers/agent-builder.js +3 -0
  198. package/dist/server/handlers/agent-builder.js.map +1 -0
  199. package/dist/server/handlers/agents.cjs +99 -13
  200. package/dist/server/handlers/agents.cjs.map +1 -0
  201. package/dist/server/handlers/agents.d.ts +3387 -6
  202. package/dist/server/handlers/agents.d.ts.map +1 -0
  203. package/dist/server/handlers/agents.js +3 -1
  204. package/dist/server/handlers/agents.js.map +1 -0
  205. package/dist/server/handlers/error.cjs +8 -2
  206. package/dist/server/handlers/error.cjs.map +1 -0
  207. package/dist/server/handlers/error.d.ts +14 -1
  208. package/dist/server/handlers/error.d.ts.map +1 -0
  209. package/dist/server/handlers/error.js +3 -1
  210. package/dist/server/handlers/error.js.map +1 -0
  211. package/dist/server/handlers/logs.cjs +9 -7
  212. package/dist/server/handlers/logs.cjs.map +1 -0
  213. package/dist/server/handlers/logs.d.ts +142 -3
  214. package/dist/server/handlers/logs.d.ts.map +1 -0
  215. package/dist/server/handlers/logs.js +3 -1
  216. package/dist/server/handlers/logs.js.map +1 -0
  217. package/dist/server/handlers/mcp.cjs +40 -0
  218. package/dist/server/handlers/mcp.cjs.map +1 -0
  219. package/dist/server/handlers/mcp.d.ts +110 -0
  220. package/dist/server/handlers/mcp.d.ts.map +1 -0
  221. package/dist/server/handlers/mcp.js +3 -0
  222. package/dist/server/handlers/mcp.js.map +1 -0
  223. package/dist/server/handlers/memory.cjs +83 -17
  224. package/dist/server/handlers/memory.cjs.map +1 -0
  225. package/dist/server/handlers/memory.d.ts +1065 -8
  226. package/dist/server/handlers/memory.d.ts.map +1 -0
  227. package/dist/server/handlers/memory.js +3 -1
  228. package/dist/server/handlers/memory.js.map +1 -0
  229. package/dist/server/handlers/observability.cjs +24 -0
  230. package/dist/server/handlers/observability.cjs.map +1 -0
  231. package/dist/server/handlers/observability.d.ts +153 -0
  232. package/dist/server/handlers/observability.d.ts.map +1 -0
  233. package/dist/server/handlers/observability.js +3 -0
  234. package/dist/server/handlers/observability.js.map +1 -0
  235. package/dist/server/handlers/processors.cjs +20 -0
  236. package/dist/server/handlers/processors.cjs.map +1 -0
  237. package/dist/server/handlers/processors.d.ts +181 -0
  238. package/dist/server/handlers/processors.d.ts.map +1 -0
  239. package/dist/server/handlers/processors.js +3 -0
  240. package/dist/server/handlers/processors.js.map +1 -0
  241. package/dist/server/handlers/scores.cjs +32 -0
  242. package/dist/server/handlers/scores.cjs.map +1 -0
  243. package/dist/server/handlers/scores.d.ts +121 -0
  244. package/dist/server/handlers/scores.d.ts.map +1 -0
  245. package/dist/server/handlers/scores.js +3 -0
  246. package/dist/server/handlers/scores.js.map +1 -0
  247. package/dist/server/handlers/stored-agents.cjs +28 -0
  248. package/dist/server/handlers/stored-agents.cjs.map +1 -0
  249. package/dist/server/handlers/stored-agents.d.ts +289 -0
  250. package/dist/server/handlers/stored-agents.d.ts.map +1 -0
  251. package/dist/server/handlers/stored-agents.js +3 -0
  252. package/dist/server/handlers/stored-agents.js.map +1 -0
  253. package/dist/server/handlers/system.cjs +12 -0
  254. package/dist/server/handlers/system.cjs.map +1 -0
  255. package/dist/server/handlers/system.d.ts +7 -0
  256. package/dist/server/handlers/system.d.ts.map +1 -0
  257. package/dist/server/handlers/system.js +3 -0
  258. package/dist/server/handlers/system.js.map +1 -0
  259. package/dist/server/handlers/test-utils.cjs +15 -0
  260. package/dist/server/handlers/test-utils.cjs.map +1 -0
  261. package/dist/server/handlers/test-utils.d.ts +6 -0
  262. package/dist/server/handlers/test-utils.d.ts.map +1 -0
  263. package/dist/server/handlers/test-utils.js +13 -0
  264. package/dist/server/handlers/test-utils.js.map +1 -0
  265. package/dist/server/handlers/tools.cjs +15 -9
  266. package/dist/server/handlers/tools.cjs.map +1 -0
  267. package/dist/server/handlers/tools.d.ts +71 -4
  268. package/dist/server/handlers/tools.d.ts.map +1 -0
  269. package/dist/server/handlers/tools.js +3 -1
  270. package/dist/server/handlers/tools.js.map +1 -0
  271. package/dist/server/handlers/utils.cjs +16 -2
  272. package/dist/server/handlers/utils.cjs.map +1 -0
  273. package/dist/server/handlers/utils.d.ts +13 -1
  274. package/dist/server/handlers/utils.d.ts.map +1 -0
  275. package/dist/server/handlers/utils.js +3 -1
  276. package/dist/server/handlers/utils.js.map +1 -0
  277. package/dist/server/handlers/vector.cjs +33 -7
  278. package/dist/server/handlers/vector.cjs.map +1 -0
  279. package/dist/server/handlers/vector.d.ts +135 -6
  280. package/dist/server/handlers/vector.d.ts.map +1 -0
  281. package/dist/server/handlers/vector.js +3 -1
  282. package/dist/server/handlers/vector.js.map +1 -0
  283. package/dist/server/handlers/voice.cjs +25 -7
  284. package/dist/server/handlers/voice.cjs.map +1 -0
  285. package/dist/server/handlers/voice.d.ts +82 -3
  286. package/dist/server/handlers/voice.d.ts.map +1 -0
  287. package/dist/server/handlers/voice.js +3 -1
  288. package/dist/server/handlers/voice.js.map +1 -0
  289. package/dist/server/handlers/workflows.cjs +75 -21
  290. package/dist/server/handlers/workflows.cjs.map +1 -0
  291. package/dist/server/handlers/workflows.d.ts +994 -10
  292. package/dist/server/handlers/workflows.d.ts.map +1 -0
  293. package/dist/server/handlers/workflows.js +3 -1
  294. package/dist/server/handlers/workflows.js.map +1 -0
  295. package/dist/server/handlers.cjs +41 -24
  296. package/dist/server/handlers.cjs.map +1 -0
  297. package/dist/server/handlers.d.ts +13 -9
  298. package/dist/server/handlers.d.ts.map +1 -0
  299. package/dist/server/handlers.js +14 -9
  300. package/dist/server/handlers.js.map +1 -0
  301. package/dist/server/http-exception.d.ts +82 -0
  302. package/dist/server/http-exception.d.ts.map +1 -0
  303. package/dist/server/schemas/a2a.d.ts +786 -0
  304. package/dist/server/schemas/a2a.d.ts.map +1 -0
  305. package/dist/server/schemas/agent-builder.d.ts +225 -0
  306. package/dist/server/schemas/agent-builder.d.ts.map +1 -0
  307. package/dist/server/schemas/agents.d.ts +1804 -0
  308. package/dist/server/schemas/agents.d.ts.map +1 -0
  309. package/dist/server/schemas/common.d.ts +179 -0
  310. package/dist/server/schemas/common.d.ts.map +1 -0
  311. package/dist/server/schemas/logs.d.ts +124 -0
  312. package/dist/server/schemas/logs.d.ts.map +1 -0
  313. package/dist/server/schemas/mcp.d.ts +299 -0
  314. package/dist/server/schemas/mcp.d.ts.map +1 -0
  315. package/dist/server/schemas/memory.d.ts +1164 -0
  316. package/dist/server/schemas/memory.d.ts.map +1 -0
  317. package/dist/server/schemas/processors.d.ts +519 -0
  318. package/dist/server/schemas/processors.d.ts.map +1 -0
  319. package/dist/server/schemas/scores.d.ts +259 -0
  320. package/dist/server/schemas/scores.d.ts.map +1 -0
  321. package/dist/server/schemas/stored-agents.d.ts +792 -0
  322. package/dist/server/schemas/stored-agents.d.ts.map +1 -0
  323. package/dist/server/schemas/system.d.ts +36 -0
  324. package/dist/server/schemas/system.d.ts.map +1 -0
  325. package/dist/server/schemas/vectors.d.ts +107 -0
  326. package/dist/server/schemas/vectors.d.ts.map +1 -0
  327. package/dist/server/schemas/workflows.d.ts +863 -0
  328. package/dist/server/schemas/workflows.d.ts.map +1 -0
  329. package/dist/server/server-adapter/index.cjs +523 -0
  330. package/dist/server/server-adapter/index.cjs.map +1 -0
  331. package/dist/server/server-adapter/index.d.ts +109 -0
  332. package/dist/server/server-adapter/index.d.ts.map +1 -0
  333. package/dist/server/server-adapter/index.js +495 -0
  334. package/dist/server/server-adapter/index.js.map +1 -0
  335. package/dist/server/server-adapter/openapi-utils.d.ts +59 -0
  336. package/dist/server/server-adapter/openapi-utils.d.ts.map +1 -0
  337. package/dist/server/server-adapter/redact.d.ts +26 -0
  338. package/dist/server/server-adapter/redact.d.ts.map +1 -0
  339. package/dist/server/server-adapter/routes/a2a.d.ts +3 -0
  340. package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -0
  341. package/dist/server/server-adapter/routes/agent-builder.d.ts +3 -0
  342. package/dist/server/server-adapter/routes/agent-builder.d.ts.map +1 -0
  343. package/dist/server/server-adapter/routes/agents.d.ts +3 -0
  344. package/dist/server/server-adapter/routes/agents.d.ts.map +1 -0
  345. package/dist/server/server-adapter/routes/index.d.ts +50 -0
  346. package/dist/server/server-adapter/routes/index.d.ts.map +1 -0
  347. package/dist/server/server-adapter/routes/legacy.d.ts +7 -0
  348. package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -0
  349. package/dist/server/server-adapter/routes/logs.d.ts +3 -0
  350. package/dist/server/server-adapter/routes/logs.d.ts.map +1 -0
  351. package/dist/server/server-adapter/routes/mcp.d.ts +9 -0
  352. package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -0
  353. package/dist/server/server-adapter/routes/memory.d.ts +3 -0
  354. package/dist/server/server-adapter/routes/memory.d.ts.map +1 -0
  355. package/dist/server/server-adapter/routes/observability.d.ts +3 -0
  356. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -0
  357. package/dist/server/server-adapter/routes/processors.d.ts +3 -0
  358. package/dist/server/server-adapter/routes/processors.d.ts.map +1 -0
  359. package/dist/server/server-adapter/routes/route-builder.d.ts +111 -0
  360. package/dist/server/server-adapter/routes/route-builder.d.ts.map +1 -0
  361. package/dist/server/server-adapter/routes/scorers.d.ts +3 -0
  362. package/dist/server/server-adapter/routes/scorers.d.ts.map +1 -0
  363. package/dist/server/server-adapter/routes/stored-agents.d.ts +8 -0
  364. package/dist/server/server-adapter/routes/stored-agents.d.ts.map +1 -0
  365. package/dist/server/server-adapter/routes/stream-types.d.ts +10 -0
  366. package/dist/server/server-adapter/routes/stream-types.d.ts.map +1 -0
  367. package/dist/server/server-adapter/routes/system.d.ts +12 -0
  368. package/dist/server/server-adapter/routes/system.d.ts.map +1 -0
  369. package/dist/server/server-adapter/routes/tools.d.ts +3 -0
  370. package/dist/server/server-adapter/routes/tools.d.ts.map +1 -0
  371. package/dist/server/server-adapter/routes/vectors.d.ts +3 -0
  372. package/dist/server/server-adapter/routes/vectors.d.ts.map +1 -0
  373. package/dist/server/server-adapter/routes/workflows.d.ts +3 -0
  374. package/dist/server/server-adapter/routes/workflows.d.ts.map +1 -0
  375. package/dist/server/types.d.ts +10 -0
  376. package/dist/server/types.d.ts.map +1 -0
  377. package/dist/server/utils.d.ts +45 -0
  378. package/dist/server/utils.d.ts.map +1 -0
  379. package/dist/token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs +63 -0
  380. package/dist/token-6GSAFR2W-K2BTU23I-5WBYUIGY.cjs.map +1 -0
  381. package/dist/token-6GSAFR2W-K2BTU23I-NW33N3NU.js +61 -0
  382. package/dist/token-6GSAFR2W-K2BTU23I-NW33N3NU.js.map +1 -0
  383. package/dist/token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs +63 -0
  384. package/dist/token-6GSAFR2W-KVDFAJ2M-EPLMGMHT.cjs.map +1 -0
  385. package/dist/token-6GSAFR2W-KVDFAJ2M-VW443KIA.js +61 -0
  386. package/dist/token-6GSAFR2W-KVDFAJ2M-VW443KIA.js.map +1 -0
  387. package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js +61 -0
  388. package/dist/token-6GSAFR2W-VLY2XUPA-NCSASMWN.js.map +1 -0
  389. package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs +63 -0
  390. package/dist/token-6GSAFR2W-VLY2XUPA-RKITWXKR.cjs.map +1 -0
  391. package/dist/token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs +10 -0
  392. package/dist/token-util-NEHG7TUY-DJYRKLRD-6TH3ODCN.cjs.map +1 -0
  393. package/dist/token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js +8 -0
  394. package/dist/token-util-NEHG7TUY-DJYRKLRD-EACKYD4V.js.map +1 -0
  395. package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs +10 -0
  396. package/dist/token-util-NEHG7TUY-KSXDO2NO-J6DEINGO.cjs.map +1 -0
  397. package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js +8 -0
  398. package/dist/token-util-NEHG7TUY-KSXDO2NO-WH6I3PH3.js.map +1 -0
  399. package/dist/token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs +10 -0
  400. package/dist/token-util-NEHG7TUY-TIJ3LMSH-ANFISSXX.cjs.map +1 -0
  401. package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js +8 -0
  402. package/dist/token-util-NEHG7TUY-TIJ3LMSH-SGVKOKXF.js.map +1 -0
  403. package/package.json +72 -20
  404. package/dist/_tsup-dts-rollup.d.cts +0 -573
  405. package/dist/_tsup-dts-rollup.d.ts +0 -573
  406. package/dist/chunk-2FJURXCL.cjs +0 -213
  407. package/dist/chunk-3AHQ5RGN.js +0 -11
  408. package/dist/chunk-3EJZQ6TQ.js +0 -49
  409. package/dist/chunk-3RVHWGWO.js +0 -95
  410. package/dist/chunk-4JINXASC.js +0 -120
  411. package/dist/chunk-67WTHYAV.js +0 -156
  412. package/dist/chunk-A7DF4ETD.cjs +0 -100
  413. package/dist/chunk-B64YROKU.cjs +0 -317
  414. package/dist/chunk-CWSDZEZG.cjs +0 -139
  415. package/dist/chunk-DVPP5S6I.js +0 -135
  416. package/dist/chunk-JLDXUWK7.cjs +0 -126
  417. package/dist/chunk-L7XE5QTW.js +0 -16
  418. package/dist/chunk-M56ECCHK.cjs +0 -128
  419. package/dist/chunk-OPP7H5TW.js +0 -305
  420. package/dist/chunk-PDC4ZBQW.cjs +0 -126
  421. package/dist/chunk-QH6XWSXP.cjs +0 -5579
  422. package/dist/chunk-QN4KF3BH.cjs +0 -18
  423. package/dist/chunk-RBQASTUP.js +0 -203
  424. package/dist/chunk-SKBVVI24.cjs +0 -54
  425. package/dist/chunk-UV4WTEH4.js +0 -120
  426. package/dist/chunk-VK6FX47H.js +0 -5576
  427. package/dist/chunk-YANVFOYA.js +0 -120
  428. package/dist/chunk-Z46X3YCB.cjs +0 -164
  429. package/dist/chunk-ZLBRQFDD.cjs +0 -13
  430. package/dist/index.d.cts +0 -1
  431. package/dist/server/handlers/agents.d.cts +0 -6
  432. package/dist/server/handlers/error.d.cts +0 -1
  433. package/dist/server/handlers/logs.d.cts +0 -3
  434. package/dist/server/handlers/memory.d.cts +0 -8
  435. package/dist/server/handlers/network.cjs +0 -22
  436. package/dist/server/handlers/network.d.cts +0 -4
  437. package/dist/server/handlers/network.d.ts +0 -4
  438. package/dist/server/handlers/network.js +0 -1
  439. package/dist/server/handlers/telemetry.cjs +0 -14
  440. package/dist/server/handlers/telemetry.d.cts +0 -2
  441. package/dist/server/handlers/telemetry.d.ts +0 -2
  442. package/dist/server/handlers/telemetry.js +0 -1
  443. package/dist/server/handlers/tools.d.cts +0 -4
  444. package/dist/server/handlers/utils.d.cts +0 -1
  445. package/dist/server/handlers/vector.d.cts +0 -6
  446. package/dist/server/handlers/voice.d.cts +0 -3
  447. package/dist/server/handlers/workflows.d.cts +0 -10
  448. package/dist/server/handlers.d.cts +0 -9
@@ -0,0 +1,632 @@
1
+ export declare const LIST_AGENT_BUILDER_ACTIONS_ROUTE: import("../server-adapter").ServerRoute<{}, Record<string, {
2
+ steps: Record<string, {
3
+ id: string;
4
+ description?: string | undefined;
5
+ stateSchema?: string | undefined;
6
+ inputSchema?: string | undefined;
7
+ outputSchema?: string | undefined;
8
+ resumeSchema?: string | undefined;
9
+ suspendSchema?: string | undefined;
10
+ component?: string | undefined;
11
+ isWorkflow?: boolean | undefined;
12
+ }>;
13
+ allSteps: Record<string, {
14
+ id: string;
15
+ description?: string | undefined;
16
+ stateSchema?: string | undefined;
17
+ inputSchema?: string | undefined;
18
+ outputSchema?: string | undefined;
19
+ resumeSchema?: string | undefined;
20
+ suspendSchema?: string | undefined;
21
+ component?: string | undefined;
22
+ isWorkflow?: boolean | undefined;
23
+ }>;
24
+ stepGraph: {
25
+ type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
26
+ }[];
27
+ options?: {} | undefined;
28
+ name?: string | undefined;
29
+ description?: string | undefined;
30
+ stateSchema?: string | undefined;
31
+ inputSchema?: string | undefined;
32
+ outputSchema?: string | undefined;
33
+ isProcessorWorkflow?: boolean | undefined;
34
+ }>, "json">;
35
+ export declare const GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE: import("../server-adapter").ServerRoute<{
36
+ actionId: string;
37
+ }, {
38
+ steps: Record<string, {
39
+ id: string;
40
+ description?: string | undefined;
41
+ stateSchema?: string | undefined;
42
+ inputSchema?: string | undefined;
43
+ outputSchema?: string | undefined;
44
+ resumeSchema?: string | undefined;
45
+ suspendSchema?: string | undefined;
46
+ component?: string | undefined;
47
+ isWorkflow?: boolean | undefined;
48
+ }>;
49
+ allSteps: Record<string, {
50
+ id: string;
51
+ description?: string | undefined;
52
+ stateSchema?: string | undefined;
53
+ inputSchema?: string | undefined;
54
+ outputSchema?: string | undefined;
55
+ resumeSchema?: string | undefined;
56
+ suspendSchema?: string | undefined;
57
+ component?: string | undefined;
58
+ isWorkflow?: boolean | undefined;
59
+ }>;
60
+ stepGraph: {
61
+ type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
62
+ }[];
63
+ options?: {} | undefined;
64
+ name?: string | undefined;
65
+ description?: string | undefined;
66
+ stateSchema?: string | undefined;
67
+ inputSchema?: string | undefined;
68
+ outputSchema?: string | undefined;
69
+ isProcessorWorkflow?: boolean | undefined;
70
+ }, "json">;
71
+ export declare const LIST_AGENT_BUILDER_ACTION_RUNS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
72
+ actionId: import("zod").ZodString;
73
+ }, "strip", import("zod").ZodTypeAny, {
74
+ actionId: string;
75
+ }, {
76
+ actionId: string;
77
+ }>, import("zod").ZodObject<{
78
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
79
+ perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
80
+ offset: import("zod").ZodOptional<import("zod").ZodNumber>;
81
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
82
+ } & {
83
+ fromDate: import("zod").ZodOptional<import("zod").ZodDate>;
84
+ toDate: import("zod").ZodOptional<import("zod").ZodDate>;
85
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
86
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["running", "waiting", "suspended", "success", "failed", "canceled", "pending", "bailed", "tripwire", "paused"]>>;
87
+ }, "strip", import("zod").ZodTypeAny, {
88
+ status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
89
+ page?: number | undefined;
90
+ perPage?: number | undefined;
91
+ offset?: number | undefined;
92
+ limit?: number | undefined;
93
+ resourceId?: string | undefined;
94
+ fromDate?: Date | undefined;
95
+ toDate?: Date | undefined;
96
+ }, {
97
+ status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
98
+ page?: number | undefined;
99
+ perPage?: number | undefined;
100
+ offset?: number | undefined;
101
+ limit?: number | undefined;
102
+ resourceId?: string | undefined;
103
+ fromDate?: Date | undefined;
104
+ toDate?: Date | undefined;
105
+ }>, undefined>, {
106
+ total: number;
107
+ runs: {
108
+ runId: string;
109
+ workflowName: string;
110
+ snapshot: string | {};
111
+ createdAt: Date;
112
+ updatedAt: Date;
113
+ resourceId?: string | undefined;
114
+ }[];
115
+ }, "json">;
116
+ export declare const GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
117
+ actionId: import("zod").ZodString;
118
+ runId: import("zod").ZodString;
119
+ }, "strip", import("zod").ZodTypeAny, {
120
+ runId: string;
121
+ actionId: string;
122
+ }, {
123
+ runId: string;
124
+ actionId: string;
125
+ }>, import("zod").ZodObject<{
126
+ fields: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, string | undefined, string | undefined>;
127
+ withNestedWorkflows: import("zod").ZodOptional<import("zod").ZodEnum<["true", "false"]>>;
128
+ }, "strip", import("zod").ZodTypeAny, {
129
+ fields?: string | undefined;
130
+ withNestedWorkflows?: "true" | "false" | undefined;
131
+ }, {
132
+ fields?: string | undefined;
133
+ withNestedWorkflows?: "true" | "false" | undefined;
134
+ }>, undefined>, {
135
+ runId: string;
136
+ status: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused";
137
+ workflowName: string;
138
+ createdAt: Date;
139
+ updatedAt: Date;
140
+ error?: unknown;
141
+ steps?: Record<string, any> | undefined;
142
+ resourceId?: string | undefined;
143
+ initialState?: Record<string, any> | undefined;
144
+ result?: unknown;
145
+ payload?: unknown;
146
+ activeStepsPath?: Record<string, number[]> | undefined;
147
+ serializedStepGraph?: {
148
+ type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
149
+ }[] | undefined;
150
+ }, "json">;
151
+ export declare const CREATE_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
152
+ actionId: import("zod").ZodString;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ actionId: string;
155
+ }, {
156
+ actionId: string;
157
+ }>, import("zod").ZodObject<{
158
+ runId: import("zod").ZodOptional<import("zod").ZodString>;
159
+ }, "strip", import("zod").ZodTypeAny, {
160
+ runId?: string | undefined;
161
+ }, {
162
+ runId?: string | undefined;
163
+ }>, undefined>, {
164
+ runId: string;
165
+ }, "json">;
166
+ export declare const STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
167
+ actionId: import("zod").ZodString;
168
+ }, "strip", import("zod").ZodTypeAny, {
169
+ actionId: string;
170
+ }, {
171
+ actionId: string;
172
+ }>, import("zod").ZodObject<{
173
+ runId: import("zod").ZodString;
174
+ }, "strip", import("zod").ZodTypeAny, {
175
+ runId: string;
176
+ }, {
177
+ runId: string;
178
+ }>, import("zod").ZodObject<{
179
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
180
+ inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
181
+ initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
182
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
183
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
184
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
185
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
186
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
187
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
188
+ }, "strip", import("zod").ZodTypeAny, {
189
+ metadata?: Record<string, unknown> | undefined;
190
+ requestContextKeys?: string[] | undefined;
191
+ traceId?: string | undefined;
192
+ parentSpanId?: string | undefined;
193
+ }, {
194
+ metadata?: Record<string, unknown> | undefined;
195
+ requestContextKeys?: string[] | undefined;
196
+ traceId?: string | undefined;
197
+ parentSpanId?: string | undefined;
198
+ }>>;
199
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
200
+ } & {
201
+ closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
202
+ }, "strip", import("zod").ZodTypeAny, {
203
+ resourceId?: string | undefined;
204
+ inputData?: unknown;
205
+ initialState?: unknown;
206
+ requestContext?: Record<string, unknown> | undefined;
207
+ tracingOptions?: {
208
+ metadata?: Record<string, unknown> | undefined;
209
+ requestContextKeys?: string[] | undefined;
210
+ traceId?: string | undefined;
211
+ parentSpanId?: string | undefined;
212
+ } | undefined;
213
+ perStep?: boolean | undefined;
214
+ closeOnSuspend?: boolean | undefined;
215
+ }, {
216
+ resourceId?: string | undefined;
217
+ inputData?: unknown;
218
+ initialState?: unknown;
219
+ requestContext?: Record<string, unknown> | undefined;
220
+ tracingOptions?: {
221
+ metadata?: Record<string, unknown> | undefined;
222
+ requestContextKeys?: string[] | undefined;
223
+ traceId?: string | undefined;
224
+ parentSpanId?: string | undefined;
225
+ } | undefined;
226
+ perStep?: boolean | undefined;
227
+ closeOnSuspend?: boolean | undefined;
228
+ }>>, any, "stream">;
229
+ export declare const START_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
230
+ actionId: import("zod").ZodString;
231
+ }, "strip", import("zod").ZodTypeAny, {
232
+ actionId: string;
233
+ }, {
234
+ actionId: string;
235
+ }>, import("zod").ZodObject<{
236
+ runId: import("zod").ZodOptional<import("zod").ZodString>;
237
+ }, "strip", import("zod").ZodTypeAny, {
238
+ runId?: string | undefined;
239
+ }, {
240
+ runId?: string | undefined;
241
+ }>, import("zod").ZodObject<{
242
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
243
+ inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
244
+ initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
245
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
246
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
247
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
248
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
249
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
250
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
251
+ }, "strip", import("zod").ZodTypeAny, {
252
+ metadata?: Record<string, unknown> | undefined;
253
+ requestContextKeys?: string[] | undefined;
254
+ traceId?: string | undefined;
255
+ parentSpanId?: string | undefined;
256
+ }, {
257
+ metadata?: Record<string, unknown> | undefined;
258
+ requestContextKeys?: string[] | undefined;
259
+ traceId?: string | undefined;
260
+ parentSpanId?: string | undefined;
261
+ }>>;
262
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
263
+ }, "strip", import("zod").ZodTypeAny, {
264
+ resourceId?: string | undefined;
265
+ inputData?: unknown;
266
+ initialState?: unknown;
267
+ requestContext?: Record<string, unknown> | undefined;
268
+ tracingOptions?: {
269
+ metadata?: Record<string, unknown> | undefined;
270
+ requestContextKeys?: string[] | undefined;
271
+ traceId?: string | undefined;
272
+ parentSpanId?: string | undefined;
273
+ } | undefined;
274
+ perStep?: boolean | undefined;
275
+ }, {
276
+ resourceId?: string | undefined;
277
+ inputData?: unknown;
278
+ initialState?: unknown;
279
+ requestContext?: Record<string, unknown> | undefined;
280
+ tracingOptions?: {
281
+ metadata?: Record<string, unknown> | undefined;
282
+ requestContextKeys?: string[] | undefined;
283
+ traceId?: string | undefined;
284
+ parentSpanId?: string | undefined;
285
+ } | undefined;
286
+ perStep?: boolean | undefined;
287
+ }>>, {
288
+ status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
289
+ error?: unknown;
290
+ steps?: Record<string, any> | undefined;
291
+ initialState?: unknown;
292
+ result?: unknown;
293
+ payload?: unknown;
294
+ activeStepsPath?: Record<string, number[]> | undefined;
295
+ serializedStepGraph?: {
296
+ type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
297
+ }[] | undefined;
298
+ }, "json">;
299
+ export declare const START_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
300
+ actionId: import("zod").ZodString;
301
+ }, "strip", import("zod").ZodTypeAny, {
302
+ actionId: string;
303
+ }, {
304
+ actionId: string;
305
+ }>, import("zod").ZodObject<{
306
+ runId: import("zod").ZodString;
307
+ }, "strip", import("zod").ZodTypeAny, {
308
+ runId: string;
309
+ }, {
310
+ runId: string;
311
+ }>, import("zod").ZodObject<{
312
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
313
+ inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
314
+ initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
315
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
316
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
317
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
318
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
319
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
320
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
321
+ }, "strip", import("zod").ZodTypeAny, {
322
+ metadata?: Record<string, unknown> | undefined;
323
+ requestContextKeys?: string[] | undefined;
324
+ traceId?: string | undefined;
325
+ parentSpanId?: string | undefined;
326
+ }, {
327
+ metadata?: Record<string, unknown> | undefined;
328
+ requestContextKeys?: string[] | undefined;
329
+ traceId?: string | undefined;
330
+ parentSpanId?: string | undefined;
331
+ }>>;
332
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
333
+ }, "strip", import("zod").ZodTypeAny, {
334
+ resourceId?: string | undefined;
335
+ inputData?: unknown;
336
+ initialState?: unknown;
337
+ requestContext?: Record<string, unknown> | undefined;
338
+ tracingOptions?: {
339
+ metadata?: Record<string, unknown> | undefined;
340
+ requestContextKeys?: string[] | undefined;
341
+ traceId?: string | undefined;
342
+ parentSpanId?: string | undefined;
343
+ } | undefined;
344
+ perStep?: boolean | undefined;
345
+ }, {
346
+ resourceId?: string | undefined;
347
+ inputData?: unknown;
348
+ initialState?: unknown;
349
+ requestContext?: Record<string, unknown> | undefined;
350
+ tracingOptions?: {
351
+ metadata?: Record<string, unknown> | undefined;
352
+ requestContextKeys?: string[] | undefined;
353
+ traceId?: string | undefined;
354
+ parentSpanId?: string | undefined;
355
+ } | undefined;
356
+ perStep?: boolean | undefined;
357
+ }>>, {
358
+ message: string;
359
+ }, "json">;
360
+ export declare const OBSERVE_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
361
+ actionId: import("zod").ZodString;
362
+ }, "strip", import("zod").ZodTypeAny, {
363
+ actionId: string;
364
+ }, {
365
+ actionId: string;
366
+ }>, import("zod").ZodObject<{
367
+ runId: import("zod").ZodString;
368
+ }, "strip", import("zod").ZodTypeAny, {
369
+ runId: string;
370
+ }, {
371
+ runId: string;
372
+ }>, undefined>, any, "stream">;
373
+ export declare const RESUME_ASYNC_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
374
+ actionId: import("zod").ZodString;
375
+ }, "strip", import("zod").ZodTypeAny, {
376
+ actionId: string;
377
+ }, {
378
+ actionId: string;
379
+ }>, import("zod").ZodObject<{
380
+ runId: import("zod").ZodString;
381
+ }, "strip", import("zod").ZodTypeAny, {
382
+ runId: string;
383
+ }, {
384
+ runId: string;
385
+ }>, import("zod").ZodObject<{
386
+ step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
387
+ resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
388
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
389
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
390
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
391
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
392
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
393
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
394
+ }, "strip", import("zod").ZodTypeAny, {
395
+ metadata?: Record<string, unknown> | undefined;
396
+ requestContextKeys?: string[] | undefined;
397
+ traceId?: string | undefined;
398
+ parentSpanId?: string | undefined;
399
+ }, {
400
+ metadata?: Record<string, unknown> | undefined;
401
+ requestContextKeys?: string[] | undefined;
402
+ traceId?: string | undefined;
403
+ parentSpanId?: string | undefined;
404
+ }>>;
405
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
406
+ }, "strip", import("zod").ZodTypeAny, {
407
+ step?: string | string[] | undefined;
408
+ requestContext?: Record<string, unknown> | undefined;
409
+ tracingOptions?: {
410
+ metadata?: Record<string, unknown> | undefined;
411
+ requestContextKeys?: string[] | undefined;
412
+ traceId?: string | undefined;
413
+ parentSpanId?: string | undefined;
414
+ } | undefined;
415
+ perStep?: boolean | undefined;
416
+ resumeData?: unknown;
417
+ }, {
418
+ step?: string | string[] | undefined;
419
+ requestContext?: Record<string, unknown> | undefined;
420
+ tracingOptions?: {
421
+ metadata?: Record<string, unknown> | undefined;
422
+ requestContextKeys?: string[] | undefined;
423
+ traceId?: string | undefined;
424
+ parentSpanId?: string | undefined;
425
+ } | undefined;
426
+ perStep?: boolean | undefined;
427
+ resumeData?: unknown;
428
+ }>>, {
429
+ status?: "success" | "running" | "waiting" | "suspended" | "failed" | "canceled" | "pending" | "bailed" | "tripwire" | "paused" | undefined;
430
+ error?: unknown;
431
+ steps?: Record<string, any> | undefined;
432
+ initialState?: unknown;
433
+ result?: unknown;
434
+ payload?: unknown;
435
+ activeStepsPath?: Record<string, number[]> | undefined;
436
+ serializedStepGraph?: {
437
+ type: "step" | "sleep" | "sleepUntil" | "waitForEvent" | "parallel" | "conditional" | "loop" | "foreach";
438
+ }[] | undefined;
439
+ }, "json">;
440
+ export declare const RESUME_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
441
+ actionId: import("zod").ZodString;
442
+ }, "strip", import("zod").ZodTypeAny, {
443
+ actionId: string;
444
+ }, {
445
+ actionId: string;
446
+ }>, import("zod").ZodObject<{
447
+ runId: import("zod").ZodString;
448
+ }, "strip", import("zod").ZodTypeAny, {
449
+ runId: string;
450
+ }, {
451
+ runId: string;
452
+ }>, import("zod").ZodObject<{
453
+ step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
454
+ resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
455
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
456
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
457
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
458
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
459
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
460
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
461
+ }, "strip", import("zod").ZodTypeAny, {
462
+ metadata?: Record<string, unknown> | undefined;
463
+ requestContextKeys?: string[] | undefined;
464
+ traceId?: string | undefined;
465
+ parentSpanId?: string | undefined;
466
+ }, {
467
+ metadata?: Record<string, unknown> | undefined;
468
+ requestContextKeys?: string[] | undefined;
469
+ traceId?: string | undefined;
470
+ parentSpanId?: string | undefined;
471
+ }>>;
472
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
473
+ }, "strip", import("zod").ZodTypeAny, {
474
+ step?: string | string[] | undefined;
475
+ requestContext?: Record<string, unknown> | undefined;
476
+ tracingOptions?: {
477
+ metadata?: Record<string, unknown> | undefined;
478
+ requestContextKeys?: string[] | undefined;
479
+ traceId?: string | undefined;
480
+ parentSpanId?: string | undefined;
481
+ } | undefined;
482
+ perStep?: boolean | undefined;
483
+ resumeData?: unknown;
484
+ }, {
485
+ step?: string | string[] | undefined;
486
+ requestContext?: Record<string, unknown> | undefined;
487
+ tracingOptions?: {
488
+ metadata?: Record<string, unknown> | undefined;
489
+ requestContextKeys?: string[] | undefined;
490
+ traceId?: string | undefined;
491
+ parentSpanId?: string | undefined;
492
+ } | undefined;
493
+ perStep?: boolean | undefined;
494
+ resumeData?: unknown;
495
+ }>>, {
496
+ message: string;
497
+ }, "json">;
498
+ export declare const RESUME_STREAM_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
499
+ actionId: import("zod").ZodString;
500
+ }, "strip", import("zod").ZodTypeAny, {
501
+ actionId: string;
502
+ }, {
503
+ actionId: string;
504
+ }>, import("zod").ZodObject<{
505
+ runId: import("zod").ZodString;
506
+ }, "strip", import("zod").ZodTypeAny, {
507
+ runId: string;
508
+ }, {
509
+ runId: string;
510
+ }>, import("zod").ZodObject<{
511
+ step: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
512
+ resumeData: import("zod").ZodOptional<import("zod").ZodUnknown>;
513
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
514
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
515
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
516
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
517
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
518
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
519
+ }, "strip", import("zod").ZodTypeAny, {
520
+ metadata?: Record<string, unknown> | undefined;
521
+ requestContextKeys?: string[] | undefined;
522
+ traceId?: string | undefined;
523
+ parentSpanId?: string | undefined;
524
+ }, {
525
+ metadata?: Record<string, unknown> | undefined;
526
+ requestContextKeys?: string[] | undefined;
527
+ traceId?: string | undefined;
528
+ parentSpanId?: string | undefined;
529
+ }>>;
530
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
531
+ }, "strip", import("zod").ZodTypeAny, {
532
+ step?: string | string[] | undefined;
533
+ requestContext?: Record<string, unknown> | undefined;
534
+ tracingOptions?: {
535
+ metadata?: Record<string, unknown> | undefined;
536
+ requestContextKeys?: string[] | undefined;
537
+ traceId?: string | undefined;
538
+ parentSpanId?: string | undefined;
539
+ } | undefined;
540
+ perStep?: boolean | undefined;
541
+ resumeData?: unknown;
542
+ }, {
543
+ step?: string | string[] | undefined;
544
+ requestContext?: Record<string, unknown> | undefined;
545
+ tracingOptions?: {
546
+ metadata?: Record<string, unknown> | undefined;
547
+ requestContextKeys?: string[] | undefined;
548
+ traceId?: string | undefined;
549
+ parentSpanId?: string | undefined;
550
+ } | undefined;
551
+ perStep?: boolean | undefined;
552
+ resumeData?: unknown;
553
+ }>>, any, "stream">;
554
+ export declare const CANCEL_AGENT_BUILDER_ACTION_RUN_ROUTE: import("../server-adapter").ServerRoute<{
555
+ runId: string;
556
+ actionId: string;
557
+ }, {
558
+ message: string;
559
+ }, "json">;
560
+ export declare const STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
561
+ actionId: import("zod").ZodString;
562
+ }, "strip", import("zod").ZodTypeAny, {
563
+ actionId: string;
564
+ }, {
565
+ actionId: string;
566
+ }>, import("zod").ZodObject<{
567
+ runId: import("zod").ZodString;
568
+ }, "strip", import("zod").ZodTypeAny, {
569
+ runId: string;
570
+ }, {
571
+ runId: string;
572
+ }>, import("zod").ZodObject<{
573
+ resourceId: import("zod").ZodOptional<import("zod").ZodString>;
574
+ inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
575
+ initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
576
+ requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
577
+ tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
578
+ metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
579
+ requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
580
+ traceId: import("zod").ZodOptional<import("zod").ZodString>;
581
+ parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
582
+ }, "strip", import("zod").ZodTypeAny, {
583
+ metadata?: Record<string, unknown> | undefined;
584
+ requestContextKeys?: string[] | undefined;
585
+ traceId?: string | undefined;
586
+ parentSpanId?: string | undefined;
587
+ }, {
588
+ metadata?: Record<string, unknown> | undefined;
589
+ requestContextKeys?: string[] | undefined;
590
+ traceId?: string | undefined;
591
+ parentSpanId?: string | undefined;
592
+ }>>;
593
+ perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
594
+ }, "strip", import("zod").ZodTypeAny, {
595
+ resourceId?: string | undefined;
596
+ inputData?: unknown;
597
+ initialState?: unknown;
598
+ requestContext?: Record<string, unknown> | undefined;
599
+ tracingOptions?: {
600
+ metadata?: Record<string, unknown> | undefined;
601
+ requestContextKeys?: string[] | undefined;
602
+ traceId?: string | undefined;
603
+ parentSpanId?: string | undefined;
604
+ } | undefined;
605
+ perStep?: boolean | undefined;
606
+ }, {
607
+ resourceId?: string | undefined;
608
+ inputData?: unknown;
609
+ initialState?: unknown;
610
+ requestContext?: Record<string, unknown> | undefined;
611
+ tracingOptions?: {
612
+ metadata?: Record<string, unknown> | undefined;
613
+ requestContextKeys?: string[] | undefined;
614
+ traceId?: string | undefined;
615
+ parentSpanId?: string | undefined;
616
+ } | undefined;
617
+ perStep?: boolean | undefined;
618
+ }>>, any, "stream">;
619
+ export declare const OBSERVE_STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
620
+ actionId: import("zod").ZodString;
621
+ }, "strip", import("zod").ZodTypeAny, {
622
+ actionId: string;
623
+ }, {
624
+ actionId: string;
625
+ }>, import("zod").ZodObject<{
626
+ runId: import("zod").ZodString;
627
+ }, "strip", import("zod").ZodTypeAny, {
628
+ runId: string;
629
+ }, {
630
+ runId: string;
631
+ }>, undefined>, any, "stream">;
632
+ //# sourceMappingURL=agent-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-builder.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/agent-builder.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwB3C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA+B/C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAiC/C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAkCnD,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;UAiChD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmC5C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmCjD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmC/C,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;8BAiCpD,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmClD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmC5C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmCnD,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;UAgChD,CAAC;AAGH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAoCnD,CAAC;AAEH,eAAO,MAAM,gDAAgD;;;;;;;;;;;;8BAkC3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { CANCEL_AGENT_BUILDER_ACTION_RUN_ROUTE, CREATE_AGENT_BUILDER_ACTION_RUN_ROUTE, GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE, GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE, LIST_AGENT_BUILDER_ACTIONS_ROUTE, LIST_AGENT_BUILDER_ACTION_RUNS_ROUTE, OBSERVE_STREAM_AGENT_BUILDER_ACTION_ROUTE, OBSERVE_STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE, RESUME_AGENT_BUILDER_ACTION_ROUTE, RESUME_ASYNC_AGENT_BUILDER_ACTION_ROUTE, RESUME_STREAM_AGENT_BUILDER_ACTION_ROUTE, START_AGENT_BUILDER_ACTION_RUN_ROUTE, START_ASYNC_AGENT_BUILDER_ACTION_ROUTE, STREAM_AGENT_BUILDER_ACTION_ROUTE, STREAM_LEGACY_AGENT_BUILDER_ACTION_ROUTE } from '../../chunk-GHQZIEPS.js';
2
+ //# sourceMappingURL=agent-builder.js.map
3
+ //# sourceMappingURL=agent-builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"agent-builder.js"}