@mastra/core 1.0.0-beta.5 → 1.0.0-beta.6

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 (384) hide show
  1. package/CHANGELOG.md +273 -0
  2. package/dist/agent/agent-legacy.d.ts +17 -20
  3. package/dist/agent/agent-legacy.d.ts.map +1 -1
  4. package/dist/agent/agent-types.test-d.d.ts +2 -0
  5. package/dist/agent/agent-types.test-d.d.ts.map +1 -0
  6. package/dist/agent/agent.d.ts +4 -4
  7. package/dist/agent/agent.d.ts.map +1 -1
  8. package/dist/agent/agent.types.d.ts +1 -1
  9. package/dist/agent/agent.types.d.ts.map +1 -1
  10. package/dist/agent/index.cjs +9 -9
  11. package/dist/agent/index.js +2 -2
  12. package/dist/agent/message-list/index.cjs +3 -3
  13. package/dist/agent/message-list/index.d.ts +49 -0
  14. package/dist/agent/message-list/index.d.ts.map +1 -1
  15. package/dist/agent/message-list/index.js +1 -1
  16. package/dist/agent/save-queue/index.d.ts +3 -1
  17. package/dist/agent/save-queue/index.d.ts.map +1 -1
  18. package/dist/agent/test-utils.d.ts +37 -0
  19. package/dist/agent/test-utils.d.ts.map +1 -1
  20. package/dist/agent/trip-wire.d.ts.map +1 -1
  21. package/dist/agent/types.d.ts +18 -3
  22. package/dist/agent/types.d.ts.map +1 -1
  23. package/dist/agent/utils.d.ts.map +1 -1
  24. package/dist/agent/workflows/prepare-stream/index.d.ts +10 -10
  25. package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
  26. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +1 -3
  27. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  28. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +4 -4
  29. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  30. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts +4 -4
  31. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
  32. package/dist/agent/workflows/prepare-stream/schema.d.ts +12 -13
  33. package/dist/agent/workflows/prepare-stream/schema.d.ts.map +1 -1
  34. package/dist/base.cjs +2 -2
  35. package/dist/base.js +1 -1
  36. package/dist/bundler/index.cjs +2 -2
  37. package/dist/bundler/index.js +1 -1
  38. package/dist/cache/index.cjs +3 -3
  39. package/dist/cache/index.js +1 -1
  40. package/dist/{chunk-OJNJA5ZI.js → chunk-3CKZSDTQ.js} +3 -3
  41. package/dist/{chunk-OJNJA5ZI.js.map → chunk-3CKZSDTQ.js.map} +1 -1
  42. package/dist/{chunk-TQTAMPSC.js → chunk-3N3QE4ZK.js} +3 -3
  43. package/dist/chunk-3N3QE4ZK.js.map +1 -0
  44. package/dist/{chunk-XJQX54QP.cjs → chunk-3TKNXJES.cjs} +56 -15
  45. package/dist/chunk-3TKNXJES.cjs.map +1 -0
  46. package/dist/{chunk-XBO6W7LZ.js → chunk-45NA5ZD3.js} +6114 -4146
  47. package/dist/chunk-45NA5ZD3.js.map +1 -0
  48. package/dist/{chunk-XIDKHXNR.js → chunk-4F6RAJFU.js} +33 -6
  49. package/dist/chunk-4F6RAJFU.js.map +1 -0
  50. package/dist/{chunk-ISMGVGUM.cjs → chunk-4JKEUSCC.cjs} +4 -4
  51. package/dist/{chunk-ISMGVGUM.cjs.map → chunk-4JKEUSCC.cjs.map} +1 -1
  52. package/dist/{chunk-U3VE2EVB.cjs → chunk-4KUOSXJ7.cjs} +30 -16
  53. package/dist/chunk-4KUOSXJ7.cjs.map +1 -0
  54. package/dist/{chunk-CBAB7GOD.cjs → chunk-6BJ7XHRH.cjs} +2 -2
  55. package/dist/{chunk-CBAB7GOD.cjs.map → chunk-6BJ7XHRH.cjs.map} +1 -1
  56. package/dist/{chunk-3B2OPLGG.js → chunk-6GOLI2EY.js} +13 -7
  57. package/dist/chunk-6GOLI2EY.js.map +1 -0
  58. package/dist/{chunk-VYJXTHII.cjs → chunk-6J4NRNT2.cjs} +183 -12
  59. package/dist/chunk-6J4NRNT2.cjs.map +1 -0
  60. package/dist/{chunk-J7O6WENZ.cjs → chunk-6TBWJV35.js} +5 -5
  61. package/dist/chunk-6TBWJV35.js.map +1 -0
  62. package/dist/{chunk-DSNPWVIG.cjs → chunk-AF74UXR5.cjs} +4 -3
  63. package/dist/chunk-AF74UXR5.cjs.map +1 -0
  64. package/dist/{chunk-YDFX3JR2.js → chunk-APMPOYPI.js} +173 -11
  65. package/dist/chunk-APMPOYPI.js.map +1 -0
  66. package/dist/{chunk-X7F4CSGR.cjs → chunk-AQAIS7FH.cjs} +2 -2
  67. package/dist/chunk-AQAIS7FH.cjs.map +1 -0
  68. package/dist/{chunk-KEXGB7FK.cjs → chunk-DGV2FWB4.cjs} +7 -7
  69. package/dist/{chunk-KEXGB7FK.cjs.map → chunk-DGV2FWB4.cjs.map} +1 -1
  70. package/dist/{chunk-5SA2EZ33.js → chunk-DXMSVGJ6.js} +182 -11
  71. package/dist/chunk-DXMSVGJ6.js.map +1 -0
  72. package/dist/{chunk-Y63IFHEZ.cjs → chunk-EOPEDKLG.cjs} +4 -4
  73. package/dist/chunk-EOPEDKLG.cjs.map +1 -0
  74. package/dist/{chunk-NZAXAFI3.js → chunk-F2GAJSBI.js} +3 -3
  75. package/dist/{chunk-NZAXAFI3.js.map → chunk-F2GAJSBI.js.map} +1 -1
  76. package/dist/{chunk-KIZIOFZC.js → chunk-FYP3AT6W.js} +17 -3
  77. package/dist/chunk-FYP3AT6W.js.map +1 -0
  78. package/dist/{chunk-BMAFVZ2D.cjs → chunk-IWTMMUQY.cjs} +4 -4
  79. package/dist/{chunk-BMAFVZ2D.cjs.map → chunk-IWTMMUQY.cjs.map} +1 -1
  80. package/dist/{chunk-PC6EKOWK.js → chunk-KZLP6TPJ.js} +19 -31
  81. package/dist/chunk-KZLP6TPJ.js.map +1 -0
  82. package/dist/{chunk-556MJ7CL.cjs → chunk-LDWBLENZ.cjs} +43 -37
  83. package/dist/chunk-LDWBLENZ.cjs.map +1 -0
  84. package/dist/{chunk-5O52O25J.js → chunk-LEZIKVRQ.js} +2 -2
  85. package/dist/chunk-LEZIKVRQ.js.map +1 -0
  86. package/dist/{chunk-S6URFGCZ.js → chunk-LSHPJWM5.js} +3 -3
  87. package/dist/{chunk-S6URFGCZ.js.map → chunk-LSHPJWM5.js.map} +1 -1
  88. package/dist/{chunk-E7K4FTLN.cjs → chunk-NHNXIYDG.cjs} +18 -2
  89. package/dist/chunk-NHNXIYDG.cjs.map +1 -0
  90. package/dist/{chunk-T2CJRA6E.js → chunk-NIUEWICQ.js} +145 -19
  91. package/dist/chunk-NIUEWICQ.js.map +1 -0
  92. package/dist/{chunk-KP42JLXE.cjs → chunk-NN3NOFRU.cjs} +6121 -4141
  93. package/dist/chunk-NN3NOFRU.cjs.map +1 -0
  94. package/dist/{chunk-KJ2SW6VA.js → chunk-NRUZYMHE.js} +4 -3
  95. package/dist/chunk-NRUZYMHE.js.map +1 -0
  96. package/dist/{chunk-KWWD3U7G.cjs → chunk-OIMB2SNZ.cjs} +155 -29
  97. package/dist/chunk-OIMB2SNZ.cjs.map +1 -0
  98. package/dist/{chunk-ZTTMSCLU.js → chunk-OPALPWAM.js} +47 -8
  99. package/dist/chunk-OPALPWAM.js.map +1 -0
  100. package/dist/{chunk-X7JMA3IY.js → chunk-PSCMWPLC.js} +2 -2
  101. package/dist/{chunk-X7JMA3IY.js.map → chunk-PSCMWPLC.js.map} +1 -1
  102. package/dist/{chunk-IITXXVYI.cjs → chunk-RHTV5C5D.cjs} +4 -4
  103. package/dist/{chunk-IITXXVYI.cjs.map → chunk-RHTV5C5D.cjs.map} +1 -1
  104. package/dist/{chunk-RROQ46B6.cjs → chunk-RTROJFEU.cjs} +31 -47
  105. package/dist/chunk-RTROJFEU.cjs.map +1 -0
  106. package/dist/{chunk-NHP6ZIDG.cjs → chunk-S5FPOCQF.cjs} +17 -163
  107. package/dist/chunk-S5FPOCQF.cjs.map +1 -0
  108. package/dist/{chunk-OUUPUAGA.cjs → chunk-SQAX4OW6.cjs} +163 -10
  109. package/dist/chunk-SQAX4OW6.cjs.map +1 -0
  110. package/dist/{chunk-D7CJ4HIQ.js → chunk-TARWUQG6.js} +8 -154
  111. package/dist/chunk-TARWUQG6.js.map +1 -0
  112. package/dist/{chunk-76K3IYWM.js → chunk-TS7B26US.js} +3 -3
  113. package/dist/{chunk-76K3IYWM.js.map → chunk-TS7B26US.js.map} +1 -1
  114. package/dist/{chunk-Y6ROD72V.cjs → chunk-UIGRFDO6.cjs} +4 -4
  115. package/dist/{chunk-Y6ROD72V.cjs.map → chunk-UIGRFDO6.cjs.map} +1 -1
  116. package/dist/{chunk-GRBGQ2GE.js → chunk-UVHSM2GU.cjs} +9 -3
  117. package/dist/chunk-UVHSM2GU.cjs.map +1 -0
  118. package/dist/{chunk-DQIZ5FFX.cjs → chunk-VRFSEZBA.cjs} +173 -11
  119. package/dist/chunk-VRFSEZBA.cjs.map +1 -0
  120. package/dist/{chunk-B5J5HYDN.js → chunk-WDRA4WKG.js} +159 -7
  121. package/dist/chunk-WDRA4WKG.js.map +1 -0
  122. package/dist/{chunk-3ZQ7LX73.js → chunk-WMAMOYRR.js} +3 -3
  123. package/dist/{chunk-3ZQ7LX73.js.map → chunk-WMAMOYRR.js.map} +1 -1
  124. package/dist/{chunk-KJIQGPQR.js → chunk-XY337TTF.js} +24 -10
  125. package/dist/chunk-XY337TTF.js.map +1 -0
  126. package/dist/{chunk-V537VSV4.cjs → chunk-Y24HI6ND.cjs} +37 -10
  127. package/dist/chunk-Y24HI6ND.cjs.map +1 -0
  128. package/dist/deployer/index.cjs +2 -2
  129. package/dist/deployer/index.js +1 -1
  130. package/dist/di/index.cjs +10 -2
  131. package/dist/di/index.d.ts +1 -1
  132. package/dist/di/index.d.ts.map +1 -1
  133. package/dist/di/index.js +1 -1
  134. package/dist/evals/base.d.ts +9 -1
  135. package/dist/evals/base.d.ts.map +1 -1
  136. package/dist/evals/index.cjs +9 -9
  137. package/dist/evals/index.js +2 -2
  138. package/dist/evals/scoreTraces/index.cjs +5 -5
  139. package/dist/evals/scoreTraces/index.js +2 -2
  140. package/dist/evals/types.d.ts +8 -8
  141. package/dist/index.cjs +2 -2
  142. package/dist/index.js +1 -1
  143. package/dist/integration/index.cjs +2 -2
  144. package/dist/integration/index.js +1 -1
  145. package/dist/llm/index.cjs +11 -11
  146. package/dist/llm/index.js +3 -3
  147. package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
  148. package/dist/llm/model/model.d.ts.map +1 -1
  149. package/dist/llm/model/model.loop.d.ts +1 -1
  150. package/dist/llm/model/model.loop.d.ts.map +1 -1
  151. package/dist/llm/model/provider-registry.d.ts.map +1 -1
  152. package/dist/llm/model/provider-types.generated.d.ts +53 -1
  153. package/dist/logger/constants.d.ts +1 -0
  154. package/dist/logger/constants.d.ts.map +1 -1
  155. package/dist/logger/index.cjs +11 -11
  156. package/dist/logger/index.js +2 -2
  157. package/dist/logger/transport.d.ts +1 -1
  158. package/dist/logger/transport.d.ts.map +1 -1
  159. package/dist/loop/index.cjs +2 -2
  160. package/dist/loop/index.js +1 -1
  161. package/dist/loop/loop.d.ts.map +1 -1
  162. package/dist/loop/network/index.d.ts +2 -2
  163. package/dist/loop/network/index.d.ts.map +1 -1
  164. package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
  165. package/dist/loop/types.d.ts +5 -2
  166. package/dist/loop/types.d.ts.map +1 -1
  167. package/dist/loop/workflows/agentic-execution/index.d.ts +96 -96
  168. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +65 -65
  169. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  170. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +32 -32
  171. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
  172. package/dist/loop/workflows/agentic-loop/index.d.ts +97 -97
  173. package/dist/loop/workflows/agentic-loop/index.d.ts.map +1 -1
  174. package/dist/loop/workflows/schema.d.ts +32 -32
  175. package/dist/loop/workflows/stream.d.ts +1 -1
  176. package/dist/loop/workflows/stream.d.ts.map +1 -1
  177. package/dist/mastra/index.cjs +2 -2
  178. package/dist/mastra/index.d.ts +55 -0
  179. package/dist/mastra/index.d.ts.map +1 -1
  180. package/dist/mastra/index.js +1 -1
  181. package/dist/mcp/index.cjs +4 -4
  182. package/dist/mcp/index.js +2 -2
  183. package/dist/memory/index.cjs +21 -382
  184. package/dist/memory/index.cjs.map +1 -1
  185. package/dist/memory/index.js +1 -382
  186. package/dist/memory/index.js.map +1 -1
  187. package/dist/memory/memory.d.ts +22 -18
  188. package/dist/memory/memory.d.ts.map +1 -1
  189. package/dist/memory/mock.d.ts +6 -1
  190. package/dist/memory/mock.d.ts.map +1 -1
  191. package/dist/memory/types.d.ts +69 -11
  192. package/dist/memory/types.d.ts.map +1 -1
  193. package/dist/netlify-C2YBIK7A.js +3 -0
  194. package/dist/{netlify-RX3JXCFQ.js.map → netlify-C2YBIK7A.js.map} +1 -1
  195. package/dist/netlify-XWROOTP4.cjs +12 -0
  196. package/dist/{netlify-MXBOGAJR.cjs.map → netlify-XWROOTP4.cjs.map} +1 -1
  197. package/dist/observability/index.cjs +16 -8
  198. package/dist/observability/index.js +1 -1
  199. package/dist/observability/types/tracing.d.ts +165 -3
  200. package/dist/observability/types/tracing.d.ts.map +1 -1
  201. package/dist/observability/utils.d.ts +47 -1
  202. package/dist/observability/utils.d.ts.map +1 -1
  203. package/dist/processors/index.cjs +35 -11
  204. package/dist/processors/index.d.ts +99 -21
  205. package/dist/processors/index.d.ts.map +1 -1
  206. package/dist/processors/index.js +1 -1
  207. package/dist/processors/memory/index.d.ts +7 -0
  208. package/dist/processors/memory/index.d.ts.map +1 -0
  209. package/dist/processors/memory/message-history.d.ts +43 -0
  210. package/dist/processors/memory/message-history.d.ts.map +1 -0
  211. package/dist/processors/memory/semantic-recall.d.ts +152 -0
  212. package/dist/processors/memory/semantic-recall.d.ts.map +1 -0
  213. package/dist/processors/memory/working-memory.d.ts +65 -0
  214. package/dist/processors/memory/working-memory.d.ts.map +1 -0
  215. package/dist/processors/processors/index.d.ts +2 -1
  216. package/dist/processors/processors/index.d.ts.map +1 -1
  217. package/dist/processors/processors/language-detector.d.ts +14 -0
  218. package/dist/processors/processors/language-detector.d.ts.map +1 -1
  219. package/dist/processors/processors/moderation.d.ts +14 -0
  220. package/dist/processors/processors/moderation.d.ts.map +1 -1
  221. package/dist/processors/processors/pii-detector.d.ts +14 -0
  222. package/dist/processors/processors/pii-detector.d.ts.map +1 -1
  223. package/dist/processors/processors/prompt-injection-detector.d.ts +14 -0
  224. package/dist/processors/processors/prompt-injection-detector.d.ts.map +1 -1
  225. package/dist/processors/processors/structured-output.d.ts +2 -1
  226. package/dist/processors/processors/structured-output.d.ts.map +1 -1
  227. package/dist/processors/processors/token-limiter.d.ts +21 -11
  228. package/dist/processors/processors/token-limiter.d.ts.map +1 -1
  229. package/dist/processors/processors/tool-call-filter.d.ts +28 -0
  230. package/dist/processors/processors/tool-call-filter.d.ts.map +1 -0
  231. package/dist/processors/runner.d.ts +35 -4
  232. package/dist/processors/runner.d.ts.map +1 -1
  233. package/dist/provider-registry-BXX7CA3H.cjs +40 -0
  234. package/dist/{provider-registry-NBRXBOQT.cjs.map → provider-registry-BXX7CA3H.cjs.map} +1 -1
  235. package/dist/provider-registry-GRYJWVEM.js +3 -0
  236. package/dist/{provider-registry-3LUCE7FT.js.map → provider-registry-GRYJWVEM.js.map} +1 -1
  237. package/dist/provider-registry.json +147 -3
  238. package/dist/{registry-generator-DEPPRYYJ.cjs → registry-generator-34SC4TAU.cjs} +2 -2
  239. package/dist/registry-generator-34SC4TAU.cjs.map +1 -0
  240. package/dist/{registry-generator-FLW6NV42.js → registry-generator-UMTNPBJX.js} +2 -2
  241. package/dist/registry-generator-UMTNPBJX.js.map +1 -0
  242. package/dist/relevance/index.cjs +2 -2
  243. package/dist/relevance/index.js +1 -1
  244. package/dist/request-context/index.cjs +10 -2
  245. package/dist/request-context/index.d.ts +26 -0
  246. package/dist/request-context/index.d.ts.map +1 -1
  247. package/dist/request-context/index.js +1 -1
  248. package/dist/server/base.d.ts +51 -0
  249. package/dist/server/base.d.ts.map +1 -0
  250. package/dist/server/index.cjs +81 -2
  251. package/dist/server/index.cjs.map +1 -1
  252. package/dist/server/index.d.ts +3 -0
  253. package/dist/server/index.d.ts.map +1 -1
  254. package/dist/server/index.js +79 -2
  255. package/dist/server/index.js.map +1 -1
  256. package/dist/server/simple-auth.d.ts +27 -0
  257. package/dist/server/simple-auth.d.ts.map +1 -0
  258. package/dist/storage/domains/memory/inmemory.d.ts.map +1 -1
  259. package/dist/storage/index.cjs +37 -29
  260. package/dist/storage/index.js +1 -1
  261. package/dist/storage/types.d.ts +1 -1
  262. package/dist/storage/types.d.ts.map +1 -1
  263. package/dist/storage/utils.d.ts +44 -0
  264. package/dist/storage/utils.d.ts.map +1 -1
  265. package/dist/stream/MastraAgentNetworkStream.d.ts +1 -1
  266. package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
  267. package/dist/stream/MastraWorkflowStream.d.ts +1 -1
  268. package/dist/stream/MastraWorkflowStream.d.ts.map +1 -1
  269. package/dist/stream/RunOutput.d.ts +2 -2
  270. package/dist/stream/RunOutput.d.ts.map +1 -1
  271. package/dist/stream/aisdk/v5/output.d.ts +1 -1
  272. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  273. package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
  274. package/dist/stream/base/base.d.ts +1 -1
  275. package/dist/stream/base/base.d.ts.map +1 -1
  276. package/dist/stream/base/output-format-handlers.d.ts +1 -1
  277. package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
  278. package/dist/stream/base/output.d.ts +1 -1
  279. package/dist/stream/base/output.d.ts.map +1 -1
  280. package/dist/stream/index.cjs +11 -11
  281. package/dist/stream/index.js +2 -2
  282. package/dist/stream/types.d.ts +2 -0
  283. package/dist/stream/types.d.ts.map +1 -1
  284. package/dist/test-utils/llm-mock.cjs +36 -2
  285. package/dist/test-utils/llm-mock.cjs.map +1 -1
  286. package/dist/test-utils/llm-mock.d.ts +3 -0
  287. package/dist/test-utils/llm-mock.d.ts.map +1 -1
  288. package/dist/test-utils/llm-mock.js +32 -2
  289. package/dist/test-utils/llm-mock.js.map +1 -1
  290. package/dist/tools/index.cjs +6 -6
  291. package/dist/tools/index.js +2 -2
  292. package/dist/tools/is-vercel-tool.cjs +2 -2
  293. package/dist/tools/is-vercel-tool.js +1 -1
  294. package/dist/tools/stream.d.ts +1 -1
  295. package/dist/tools/stream.d.ts.map +1 -1
  296. package/dist/tools/tool-builder/builder.d.ts.map +1 -1
  297. package/dist/tools/tool.d.ts +13 -0
  298. package/dist/tools/tool.d.ts.map +1 -1
  299. package/dist/tools/types.d.ts +22 -1
  300. package/dist/tools/types.d.ts.map +1 -1
  301. package/dist/tools/validation.d.ts +1 -1
  302. package/dist/tools/validation.d.ts.map +1 -1
  303. package/dist/tts/index.cjs +2 -2
  304. package/dist/tts/index.js +1 -1
  305. package/dist/utils.cjs +22 -22
  306. package/dist/utils.d.ts +1 -1
  307. package/dist/utils.d.ts.map +1 -1
  308. package/dist/utils.js +1 -1
  309. package/dist/vector/index.cjs +2 -2
  310. package/dist/vector/index.js +1 -1
  311. package/dist/voice/index.cjs +6 -6
  312. package/dist/voice/index.js +1 -1
  313. package/dist/workflows/default.d.ts +176 -281
  314. package/dist/workflows/default.d.ts.map +1 -1
  315. package/dist/workflows/evented/index.cjs +10 -10
  316. package/dist/workflows/evented/index.js +1 -1
  317. package/dist/workflows/evented/step-executor.d.ts +1 -1
  318. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  319. package/dist/workflows/execution-engine.d.ts +4 -2
  320. package/dist/workflows/execution-engine.d.ts.map +1 -1
  321. package/dist/workflows/handlers/control-flow.d.ts +135 -0
  322. package/dist/workflows/handlers/control-flow.d.ts.map +1 -0
  323. package/dist/workflows/handlers/entry.d.ts +45 -0
  324. package/dist/workflows/handlers/entry.d.ts.map +1 -0
  325. package/dist/workflows/handlers/sleep.d.ts +62 -0
  326. package/dist/workflows/handlers/sleep.d.ts.map +1 -0
  327. package/dist/workflows/handlers/step.d.ts +60 -0
  328. package/dist/workflows/handlers/step.d.ts.map +1 -0
  329. package/dist/workflows/index.cjs +20 -20
  330. package/dist/workflows/index.js +1 -1
  331. package/dist/workflows/step.d.ts +1 -0
  332. package/dist/workflows/step.d.ts.map +1 -1
  333. package/dist/workflows/types.d.ts +157 -3
  334. package/dist/workflows/types.d.ts.map +1 -1
  335. package/dist/workflows/workflow.d.ts +8 -6
  336. package/dist/workflows/workflow.d.ts.map +1 -1
  337. package/package.json +6 -5
  338. package/src/llm/model/provider-types.generated.d.ts +53 -1
  339. package/dist/chunk-3B2OPLGG.js.map +0 -1
  340. package/dist/chunk-3PSWNGBF.js +0 -3
  341. package/dist/chunk-3PSWNGBF.js.map +0 -1
  342. package/dist/chunk-436FFEF6.js +0 -34
  343. package/dist/chunk-436FFEF6.js.map +0 -1
  344. package/dist/chunk-556MJ7CL.cjs.map +0 -1
  345. package/dist/chunk-5O52O25J.js.map +0 -1
  346. package/dist/chunk-5SA2EZ33.js.map +0 -1
  347. package/dist/chunk-B5J5HYDN.js.map +0 -1
  348. package/dist/chunk-D7CJ4HIQ.js.map +0 -1
  349. package/dist/chunk-DQIZ5FFX.cjs.map +0 -1
  350. package/dist/chunk-DSNPWVIG.cjs.map +0 -1
  351. package/dist/chunk-E7K4FTLN.cjs.map +0 -1
  352. package/dist/chunk-GRBGQ2GE.js.map +0 -1
  353. package/dist/chunk-J7O6WENZ.cjs.map +0 -1
  354. package/dist/chunk-KIZIOFZC.js.map +0 -1
  355. package/dist/chunk-KJ2SW6VA.js.map +0 -1
  356. package/dist/chunk-KJIQGPQR.js.map +0 -1
  357. package/dist/chunk-KP42JLXE.cjs.map +0 -1
  358. package/dist/chunk-KWWD3U7G.cjs.map +0 -1
  359. package/dist/chunk-NHP6ZIDG.cjs.map +0 -1
  360. package/dist/chunk-OUUPUAGA.cjs.map +0 -1
  361. package/dist/chunk-PC6EKOWK.js.map +0 -1
  362. package/dist/chunk-PE3V7GUL.cjs +0 -4
  363. package/dist/chunk-PE3V7GUL.cjs.map +0 -1
  364. package/dist/chunk-RROQ46B6.cjs.map +0 -1
  365. package/dist/chunk-T2CJRA6E.js.map +0 -1
  366. package/dist/chunk-TQTAMPSC.js.map +0 -1
  367. package/dist/chunk-U3VE2EVB.cjs.map +0 -1
  368. package/dist/chunk-V3VLOOSW.cjs +0 -36
  369. package/dist/chunk-V3VLOOSW.cjs.map +0 -1
  370. package/dist/chunk-V537VSV4.cjs.map +0 -1
  371. package/dist/chunk-VYJXTHII.cjs.map +0 -1
  372. package/dist/chunk-X7F4CSGR.cjs.map +0 -1
  373. package/dist/chunk-XBO6W7LZ.js.map +0 -1
  374. package/dist/chunk-XIDKHXNR.js.map +0 -1
  375. package/dist/chunk-XJQX54QP.cjs.map +0 -1
  376. package/dist/chunk-Y63IFHEZ.cjs.map +0 -1
  377. package/dist/chunk-YDFX3JR2.js.map +0 -1
  378. package/dist/chunk-ZTTMSCLU.js.map +0 -1
  379. package/dist/netlify-MXBOGAJR.cjs +0 -12
  380. package/dist/netlify-RX3JXCFQ.js +0 -3
  381. package/dist/provider-registry-3LUCE7FT.js +0 -3
  382. package/dist/provider-registry-NBRXBOQT.cjs +0 -40
  383. package/dist/registry-generator-DEPPRYYJ.cjs.map +0 -1
  384. package/dist/registry-generator-FLW6NV42.js.map +0 -1
@@ -63,8 +63,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
63
63
  steps: any[];
64
64
  text?: string | undefined;
65
65
  reasoning?: any[] | undefined;
66
- files?: any[] | undefined;
67
66
  sources?: any[] | undefined;
67
+ files?: any[] | undefined;
68
68
  toolCalls?: any[] | undefined;
69
69
  toolResults?: any[] | undefined;
70
70
  reasoningText?: string | undefined;
@@ -83,8 +83,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
83
83
  steps: any[];
84
84
  text?: string | undefined;
85
85
  reasoning?: any[] | undefined;
86
- files?: any[] | undefined;
87
86
  sources?: any[] | undefined;
87
+ files?: any[] | undefined;
88
88
  toolCalls?: any[] | undefined;
89
89
  toolResults?: any[] | undefined;
90
90
  reasoningText?: string | undefined;
@@ -200,6 +200,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
200
200
  } | undefined;
201
201
  }>;
202
202
  }, "strip", import("zod").ZodTypeAny, {
203
+ metadata: {
204
+ id?: string | undefined;
205
+ providerMetadata?: Record<string, any> | undefined;
206
+ modelId?: string | undefined;
207
+ model?: string | undefined;
208
+ headers?: Record<string, string> | undefined;
209
+ request?: Record<string, any> | undefined;
210
+ timestamp?: Date | undefined;
211
+ modelMetadata?: {
212
+ modelId: string;
213
+ modelVersion: string;
214
+ modelProvider: string;
215
+ } | undefined;
216
+ };
203
217
  output: {
204
218
  usage: {
205
219
  inputTokens: number;
@@ -211,8 +225,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
211
225
  steps: any[];
212
226
  text?: string | undefined;
213
227
  reasoning?: any[] | undefined;
214
- files?: any[] | undefined;
215
228
  sources?: any[] | undefined;
229
+ files?: any[] | undefined;
216
230
  toolCalls?: any[] | undefined;
217
231
  toolResults?: any[] | undefined;
218
232
  reasoningText?: string | undefined;
@@ -227,20 +241,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
227
241
  all: any[];
228
242
  nonUser: any[];
229
243
  };
230
- metadata: {
231
- id?: string | undefined;
232
- providerMetadata?: Record<string, any> | undefined;
233
- modelId?: string | undefined;
234
- model?: string | undefined;
235
- headers?: Record<string, string> | undefined;
236
- request?: Record<string, any> | undefined;
237
- timestamp?: Date | undefined;
238
- modelMetadata?: {
239
- modelId: string;
240
- modelVersion: string;
241
- modelProvider: string;
242
- } | undefined;
243
- };
244
244
  stepResult: {
245
245
  reason: string;
246
246
  isContinued: boolean;
@@ -258,6 +258,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
258
258
  } | undefined;
259
259
  };
260
260
  }, {
261
+ metadata: {
262
+ id?: string | undefined;
263
+ providerMetadata?: Record<string, any> | undefined;
264
+ modelId?: string | undefined;
265
+ model?: string | undefined;
266
+ headers?: Record<string, string> | undefined;
267
+ request?: Record<string, any> | undefined;
268
+ timestamp?: Date | undefined;
269
+ modelMetadata?: {
270
+ modelId: string;
271
+ modelVersion: string;
272
+ modelProvider: string;
273
+ } | undefined;
274
+ };
261
275
  output: {
262
276
  usage: {
263
277
  inputTokens: number;
@@ -269,8 +283,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
269
283
  steps: any[];
270
284
  text?: string | undefined;
271
285
  reasoning?: any[] | undefined;
272
- files?: any[] | undefined;
273
286
  sources?: any[] | undefined;
287
+ files?: any[] | undefined;
274
288
  toolCalls?: any[] | undefined;
275
289
  toolResults?: any[] | undefined;
276
290
  reasoningText?: string | undefined;
@@ -285,20 +299,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
285
299
  all: any[];
286
300
  nonUser: any[];
287
301
  };
288
- metadata: {
289
- id?: string | undefined;
290
- providerMetadata?: Record<string, any> | undefined;
291
- modelId?: string | undefined;
292
- model?: string | undefined;
293
- headers?: Record<string, string> | undefined;
294
- request?: Record<string, any> | undefined;
295
- timestamp?: Date | undefined;
296
- modelMetadata?: {
297
- modelId: string;
298
- modelVersion: string;
299
- modelProvider: string;
300
- } | undefined;
301
- };
302
302
  stepResult: {
303
303
  reason: string;
304
304
  isContinued: boolean;
@@ -373,8 +373,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
373
373
  steps: any[];
374
374
  text?: string | undefined;
375
375
  reasoning?: any[] | undefined;
376
- files?: any[] | undefined;
377
376
  sources?: any[] | undefined;
377
+ files?: any[] | undefined;
378
378
  toolCalls?: any[] | undefined;
379
379
  toolResults?: any[] | undefined;
380
380
  reasoningText?: string | undefined;
@@ -393,8 +393,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
393
393
  steps: any[];
394
394
  text?: string | undefined;
395
395
  reasoning?: any[] | undefined;
396
- files?: any[] | undefined;
397
396
  sources?: any[] | undefined;
397
+ files?: any[] | undefined;
398
398
  toolCalls?: any[] | undefined;
399
399
  toolResults?: any[] | undefined;
400
400
  reasoningText?: string | undefined;
@@ -510,6 +510,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
510
510
  } | undefined;
511
511
  }>;
512
512
  }, "strip", import("zod").ZodTypeAny, {
513
+ metadata: {
514
+ id?: string | undefined;
515
+ providerMetadata?: Record<string, any> | undefined;
516
+ modelId?: string | undefined;
517
+ model?: string | undefined;
518
+ headers?: Record<string, string> | undefined;
519
+ request?: Record<string, any> | undefined;
520
+ timestamp?: Date | undefined;
521
+ modelMetadata?: {
522
+ modelId: string;
523
+ modelVersion: string;
524
+ modelProvider: string;
525
+ } | undefined;
526
+ };
513
527
  output: {
514
528
  usage: {
515
529
  inputTokens: number;
@@ -521,8 +535,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
521
535
  steps: any[];
522
536
  text?: string | undefined;
523
537
  reasoning?: any[] | undefined;
524
- files?: any[] | undefined;
525
538
  sources?: any[] | undefined;
539
+ files?: any[] | undefined;
526
540
  toolCalls?: any[] | undefined;
527
541
  toolResults?: any[] | undefined;
528
542
  reasoningText?: string | undefined;
@@ -537,20 +551,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
537
551
  all: any[];
538
552
  nonUser: any[];
539
553
  };
540
- metadata: {
541
- id?: string | undefined;
542
- providerMetadata?: Record<string, any> | undefined;
543
- modelId?: string | undefined;
544
- model?: string | undefined;
545
- headers?: Record<string, string> | undefined;
546
- request?: Record<string, any> | undefined;
547
- timestamp?: Date | undefined;
548
- modelMetadata?: {
549
- modelId: string;
550
- modelVersion: string;
551
- modelProvider: string;
552
- } | undefined;
553
- };
554
554
  stepResult: {
555
555
  reason: string;
556
556
  isContinued: boolean;
@@ -568,6 +568,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
568
568
  } | undefined;
569
569
  };
570
570
  }, {
571
+ metadata: {
572
+ id?: string | undefined;
573
+ providerMetadata?: Record<string, any> | undefined;
574
+ modelId?: string | undefined;
575
+ model?: string | undefined;
576
+ headers?: Record<string, string> | undefined;
577
+ request?: Record<string, any> | undefined;
578
+ timestamp?: Date | undefined;
579
+ modelMetadata?: {
580
+ modelId: string;
581
+ modelVersion: string;
582
+ modelProvider: string;
583
+ } | undefined;
584
+ };
571
585
  output: {
572
586
  usage: {
573
587
  inputTokens: number;
@@ -579,8 +593,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
579
593
  steps: any[];
580
594
  text?: string | undefined;
581
595
  reasoning?: any[] | undefined;
582
- files?: any[] | undefined;
583
596
  sources?: any[] | undefined;
597
+ files?: any[] | undefined;
584
598
  toolCalls?: any[] | undefined;
585
599
  toolResults?: any[] | undefined;
586
600
  reasoningText?: string | undefined;
@@ -595,20 +609,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
595
609
  all: any[];
596
610
  nonUser: any[];
597
611
  };
598
- metadata: {
599
- id?: string | undefined;
600
- providerMetadata?: Record<string, any> | undefined;
601
- modelId?: string | undefined;
602
- model?: string | undefined;
603
- headers?: Record<string, string> | undefined;
604
- request?: Record<string, any> | undefined;
605
- timestamp?: Date | undefined;
606
- modelMetadata?: {
607
- modelId: string;
608
- modelVersion: string;
609
- modelProvider: string;
610
- } | undefined;
611
- };
612
612
  stepResult: {
613
613
  reason: string;
614
614
  isContinued: boolean;
@@ -683,8 +683,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
683
683
  steps: any[];
684
684
  text?: string | undefined;
685
685
  reasoning?: any[] | undefined;
686
- files?: any[] | undefined;
687
686
  sources?: any[] | undefined;
687
+ files?: any[] | undefined;
688
688
  toolCalls?: any[] | undefined;
689
689
  toolResults?: any[] | undefined;
690
690
  reasoningText?: string | undefined;
@@ -703,8 +703,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
703
703
  steps: any[];
704
704
  text?: string | undefined;
705
705
  reasoning?: any[] | undefined;
706
- files?: any[] | undefined;
707
706
  sources?: any[] | undefined;
707
+ files?: any[] | undefined;
708
708
  toolCalls?: any[] | undefined;
709
709
  toolResults?: any[] | undefined;
710
710
  reasoningText?: string | undefined;
@@ -820,6 +820,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
820
820
  } | undefined;
821
821
  }>;
822
822
  }, "strip", import("zod").ZodTypeAny, {
823
+ metadata: {
824
+ id?: string | undefined;
825
+ providerMetadata?: Record<string, any> | undefined;
826
+ modelId?: string | undefined;
827
+ model?: string | undefined;
828
+ headers?: Record<string, string> | undefined;
829
+ request?: Record<string, any> | undefined;
830
+ timestamp?: Date | undefined;
831
+ modelMetadata?: {
832
+ modelId: string;
833
+ modelVersion: string;
834
+ modelProvider: string;
835
+ } | undefined;
836
+ };
823
837
  output: {
824
838
  usage: {
825
839
  inputTokens: number;
@@ -831,8 +845,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
831
845
  steps: any[];
832
846
  text?: string | undefined;
833
847
  reasoning?: any[] | undefined;
834
- files?: any[] | undefined;
835
848
  sources?: any[] | undefined;
849
+ files?: any[] | undefined;
836
850
  toolCalls?: any[] | undefined;
837
851
  toolResults?: any[] | undefined;
838
852
  reasoningText?: string | undefined;
@@ -847,20 +861,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
847
861
  all: any[];
848
862
  nonUser: any[];
849
863
  };
850
- metadata: {
851
- id?: string | undefined;
852
- providerMetadata?: Record<string, any> | undefined;
853
- modelId?: string | undefined;
854
- model?: string | undefined;
855
- headers?: Record<string, string> | undefined;
856
- request?: Record<string, any> | undefined;
857
- timestamp?: Date | undefined;
858
- modelMetadata?: {
859
- modelId: string;
860
- modelVersion: string;
861
- modelProvider: string;
862
- } | undefined;
863
- };
864
864
  stepResult: {
865
865
  reason: string;
866
866
  isContinued: boolean;
@@ -878,6 +878,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
878
878
  } | undefined;
879
879
  };
880
880
  }, {
881
+ metadata: {
882
+ id?: string | undefined;
883
+ providerMetadata?: Record<string, any> | undefined;
884
+ modelId?: string | undefined;
885
+ model?: string | undefined;
886
+ headers?: Record<string, string> | undefined;
887
+ request?: Record<string, any> | undefined;
888
+ timestamp?: Date | undefined;
889
+ modelMetadata?: {
890
+ modelId: string;
891
+ modelVersion: string;
892
+ modelProvider: string;
893
+ } | undefined;
894
+ };
881
895
  output: {
882
896
  usage: {
883
897
  inputTokens: number;
@@ -889,8 +903,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
889
903
  steps: any[];
890
904
  text?: string | undefined;
891
905
  reasoning?: any[] | undefined;
892
- files?: any[] | undefined;
893
906
  sources?: any[] | undefined;
907
+ files?: any[] | undefined;
894
908
  toolCalls?: any[] | undefined;
895
909
  toolResults?: any[] | undefined;
896
910
  reasoningText?: string | undefined;
@@ -905,20 +919,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
905
919
  all: any[];
906
920
  nonUser: any[];
907
921
  };
908
- metadata: {
909
- id?: string | undefined;
910
- providerMetadata?: Record<string, any> | undefined;
911
- modelId?: string | undefined;
912
- model?: string | undefined;
913
- headers?: Record<string, string> | undefined;
914
- request?: Record<string, any> | undefined;
915
- timestamp?: Date | undefined;
916
- modelMetadata?: {
917
- modelId: string;
918
- modelVersion: string;
919
- modelProvider: string;
920
- } | undefined;
921
- };
922
922
  stepResult: {
923
923
  reason: string;
924
924
  isContinued: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { ToolSet } from 'ai-v5';
2
2
  import type { OutputSchema } from '../../../stream/base/schema.js';
3
3
  import type { OuterLLMRun } from '../../types.js';
4
- export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, structuredOutput, outputProcessors, headers, downloadRetries, downloadConcurrency, processorStates, methodType, }: OuterLLMRun<Tools, OUTPUT>): import("../../../workflows").Step<"llm-execution", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
4
+ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, structuredOutput, outputProcessors, inputProcessors, logger, agentId, headers, downloadRetries, downloadConcurrency, processorStates, requestContext, methodType, modelSpanTracker, }: OuterLLMRun<Tools, OUTPUT>): import("../../../workflows").Step<"llm-execution", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
5
5
  [x: string]: any;
6
6
  }, {
7
7
  [x: string]: any;
@@ -63,8 +63,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
63
63
  steps: any[];
64
64
  text?: string | undefined;
65
65
  reasoning?: any[] | undefined;
66
- files?: any[] | undefined;
67
66
  sources?: any[] | undefined;
67
+ files?: any[] | undefined;
68
68
  toolCalls?: any[] | undefined;
69
69
  toolResults?: any[] | undefined;
70
70
  reasoningText?: string | undefined;
@@ -83,8 +83,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
83
83
  steps: any[];
84
84
  text?: string | undefined;
85
85
  reasoning?: any[] | undefined;
86
- files?: any[] | undefined;
87
86
  sources?: any[] | undefined;
87
+ files?: any[] | undefined;
88
88
  toolCalls?: any[] | undefined;
89
89
  toolResults?: any[] | undefined;
90
90
  reasoningText?: string | undefined;
@@ -200,6 +200,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
200
200
  } | undefined;
201
201
  }>;
202
202
  }, "strip", import("zod").ZodTypeAny, {
203
+ metadata: {
204
+ id?: string | undefined;
205
+ providerMetadata?: Record<string, any> | undefined;
206
+ modelId?: string | undefined;
207
+ model?: string | undefined;
208
+ headers?: Record<string, string> | undefined;
209
+ request?: Record<string, any> | undefined;
210
+ timestamp?: Date | undefined;
211
+ modelMetadata?: {
212
+ modelId: string;
213
+ modelVersion: string;
214
+ modelProvider: string;
215
+ } | undefined;
216
+ };
203
217
  output: {
204
218
  usage: {
205
219
  inputTokens: number;
@@ -211,8 +225,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
211
225
  steps: any[];
212
226
  text?: string | undefined;
213
227
  reasoning?: any[] | undefined;
214
- files?: any[] | undefined;
215
228
  sources?: any[] | undefined;
229
+ files?: any[] | undefined;
216
230
  toolCalls?: any[] | undefined;
217
231
  toolResults?: any[] | undefined;
218
232
  reasoningText?: string | undefined;
@@ -227,20 +241,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
227
241
  all: any[];
228
242
  nonUser: any[];
229
243
  };
230
- metadata: {
231
- id?: string | undefined;
232
- providerMetadata?: Record<string, any> | undefined;
233
- modelId?: string | undefined;
234
- model?: string | undefined;
235
- headers?: Record<string, string> | undefined;
236
- request?: Record<string, any> | undefined;
237
- timestamp?: Date | undefined;
238
- modelMetadata?: {
239
- modelId: string;
240
- modelVersion: string;
241
- modelProvider: string;
242
- } | undefined;
243
- };
244
244
  stepResult: {
245
245
  reason: string;
246
246
  isContinued: boolean;
@@ -258,6 +258,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
258
258
  } | undefined;
259
259
  };
260
260
  }, {
261
+ metadata: {
262
+ id?: string | undefined;
263
+ providerMetadata?: Record<string, any> | undefined;
264
+ modelId?: string | undefined;
265
+ model?: string | undefined;
266
+ headers?: Record<string, string> | undefined;
267
+ request?: Record<string, any> | undefined;
268
+ timestamp?: Date | undefined;
269
+ modelMetadata?: {
270
+ modelId: string;
271
+ modelVersion: string;
272
+ modelProvider: string;
273
+ } | undefined;
274
+ };
261
275
  output: {
262
276
  usage: {
263
277
  inputTokens: number;
@@ -269,8 +283,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
269
283
  steps: any[];
270
284
  text?: string | undefined;
271
285
  reasoning?: any[] | undefined;
272
- files?: any[] | undefined;
273
286
  sources?: any[] | undefined;
287
+ files?: any[] | undefined;
274
288
  toolCalls?: any[] | undefined;
275
289
  toolResults?: any[] | undefined;
276
290
  reasoningText?: string | undefined;
@@ -285,20 +299,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
285
299
  all: any[];
286
300
  nonUser: any[];
287
301
  };
288
- metadata: {
289
- id?: string | undefined;
290
- providerMetadata?: Record<string, any> | undefined;
291
- modelId?: string | undefined;
292
- model?: string | undefined;
293
- headers?: Record<string, string> | undefined;
294
- request?: Record<string, any> | undefined;
295
- timestamp?: Date | undefined;
296
- modelMetadata?: {
297
- modelId: string;
298
- modelVersion: string;
299
- modelProvider: string;
300
- } | undefined;
301
- };
302
302
  stepResult: {
303
303
  reason: string;
304
304
  isContinued: boolean;
@@ -373,8 +373,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
373
373
  steps: any[];
374
374
  text?: string | undefined;
375
375
  reasoning?: any[] | undefined;
376
- files?: any[] | undefined;
377
376
  sources?: any[] | undefined;
377
+ files?: any[] | undefined;
378
378
  toolCalls?: any[] | undefined;
379
379
  toolResults?: any[] | undefined;
380
380
  reasoningText?: string | undefined;
@@ -393,8 +393,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
393
393
  steps: any[];
394
394
  text?: string | undefined;
395
395
  reasoning?: any[] | undefined;
396
- files?: any[] | undefined;
397
396
  sources?: any[] | undefined;
397
+ files?: any[] | undefined;
398
398
  toolCalls?: any[] | undefined;
399
399
  toolResults?: any[] | undefined;
400
400
  reasoningText?: string | undefined;
@@ -510,6 +510,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
510
510
  } | undefined;
511
511
  }>;
512
512
  }, "strip", import("zod").ZodTypeAny, {
513
+ metadata: {
514
+ id?: string | undefined;
515
+ providerMetadata?: Record<string, any> | undefined;
516
+ modelId?: string | undefined;
517
+ model?: string | undefined;
518
+ headers?: Record<string, string> | undefined;
519
+ request?: Record<string, any> | undefined;
520
+ timestamp?: Date | undefined;
521
+ modelMetadata?: {
522
+ modelId: string;
523
+ modelVersion: string;
524
+ modelProvider: string;
525
+ } | undefined;
526
+ };
513
527
  output: {
514
528
  usage: {
515
529
  inputTokens: number;
@@ -521,8 +535,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
521
535
  steps: any[];
522
536
  text?: string | undefined;
523
537
  reasoning?: any[] | undefined;
524
- files?: any[] | undefined;
525
538
  sources?: any[] | undefined;
539
+ files?: any[] | undefined;
526
540
  toolCalls?: any[] | undefined;
527
541
  toolResults?: any[] | undefined;
528
542
  reasoningText?: string | undefined;
@@ -537,20 +551,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
537
551
  all: any[];
538
552
  nonUser: any[];
539
553
  };
540
- metadata: {
541
- id?: string | undefined;
542
- providerMetadata?: Record<string, any> | undefined;
543
- modelId?: string | undefined;
544
- model?: string | undefined;
545
- headers?: Record<string, string> | undefined;
546
- request?: Record<string, any> | undefined;
547
- timestamp?: Date | undefined;
548
- modelMetadata?: {
549
- modelId: string;
550
- modelVersion: string;
551
- modelProvider: string;
552
- } | undefined;
553
- };
554
554
  stepResult: {
555
555
  reason: string;
556
556
  isContinued: boolean;
@@ -568,6 +568,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
568
568
  } | undefined;
569
569
  };
570
570
  }, {
571
+ metadata: {
572
+ id?: string | undefined;
573
+ providerMetadata?: Record<string, any> | undefined;
574
+ modelId?: string | undefined;
575
+ model?: string | undefined;
576
+ headers?: Record<string, string> | undefined;
577
+ request?: Record<string, any> | undefined;
578
+ timestamp?: Date | undefined;
579
+ modelMetadata?: {
580
+ modelId: string;
581
+ modelVersion: string;
582
+ modelProvider: string;
583
+ } | undefined;
584
+ };
571
585
  output: {
572
586
  usage: {
573
587
  inputTokens: number;
@@ -579,8 +593,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
579
593
  steps: any[];
580
594
  text?: string | undefined;
581
595
  reasoning?: any[] | undefined;
582
- files?: any[] | undefined;
583
596
  sources?: any[] | undefined;
597
+ files?: any[] | undefined;
584
598
  toolCalls?: any[] | undefined;
585
599
  toolResults?: any[] | undefined;
586
600
  reasoningText?: string | undefined;
@@ -595,20 +609,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
595
609
  all: any[];
596
610
  nonUser: any[];
597
611
  };
598
- metadata: {
599
- id?: string | undefined;
600
- providerMetadata?: Record<string, any> | undefined;
601
- modelId?: string | undefined;
602
- model?: string | undefined;
603
- headers?: Record<string, string> | undefined;
604
- request?: Record<string, any> | undefined;
605
- timestamp?: Date | undefined;
606
- modelMetadata?: {
607
- modelId: string;
608
- modelVersion: string;
609
- modelProvider: string;
610
- } | undefined;
611
- };
612
612
  stepResult: {
613
613
  reason: string;
614
614
  isContinued: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAQrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAShE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAwa3D,wBAAgB,sBAAsB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAAE,EAC/G,MAAM,EACN,SAAS,EACT,SAAS,EACT,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,UAAU,GACX,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0KAsV5B"}
1
+ {"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAWrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAShE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAua3D,wBAAgB,sBAAsB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAAE,EAC/G,MAAM,EACN,SAAS,EACT,SAAS,EACT,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,MAAM,EACN,OAAO,EACP,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,gBAAgB,GACjB,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0KAwX5B"}