@mastra/core 1.0.0-beta.21 → 1.0.0-beta.22

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 (362) hide show
  1. package/CHANGELOG.md +356 -0
  2. package/dist/action/index.d.ts +7 -7
  3. package/dist/action/index.d.ts.map +1 -1
  4. package/dist/agent/agent-legacy.d.ts.map +1 -1
  5. package/dist/agent/agent.d.ts +100 -18
  6. package/dist/agent/agent.d.ts.map +1 -1
  7. package/dist/agent/agent.types.d.ts +22 -18
  8. package/dist/agent/agent.types.d.ts.map +1 -1
  9. package/dist/agent/index.cjs +13 -13
  10. package/dist/agent/index.d.ts +1 -1
  11. package/dist/agent/index.d.ts.map +1 -1
  12. package/dist/agent/index.js +2 -2
  13. package/dist/agent/message-list/adapters/AIV4Adapter.d.ts.map +1 -1
  14. package/dist/agent/message-list/index.cjs +18 -18
  15. package/dist/agent/message-list/index.js +1 -1
  16. package/dist/agent/message-list/message-list.d.ts +2 -1
  17. package/dist/agent/message-list/message-list.d.ts.map +1 -1
  18. package/dist/agent/trip-wire.d.ts +1 -2
  19. package/dist/agent/trip-wire.d.ts.map +1 -1
  20. package/dist/agent/types.d.ts +9 -10
  21. package/dist/agent/types.d.ts.map +1 -1
  22. package/dist/agent/utils.d.ts +7 -42
  23. package/dist/agent/utils.d.ts.map +1 -1
  24. package/dist/agent/workflows/prepare-stream/index.d.ts +6 -118
  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 +7 -11
  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 -68
  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 +3 -45
  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 +10 -10
  33. package/dist/agent/workflows/prepare-stream/stream-step.d.ts +2 -8
  34. package/dist/agent/workflows/prepare-stream/stream-step.d.ts.map +1 -1
  35. package/dist/{chunk-HJXEZSNI.js → chunk-3XY64RAM.js} +5 -5
  36. package/dist/{chunk-HJXEZSNI.js.map → chunk-3XY64RAM.js.map} +1 -1
  37. package/dist/{chunk-XSJNTLM7.js → chunk-453NPBJ7.js} +479 -47
  38. package/dist/chunk-453NPBJ7.js.map +1 -0
  39. package/dist/{chunk-3CZ42NBZ.js → chunk-5UVSKF5L.js} +17 -14
  40. package/dist/chunk-5UVSKF5L.js.map +1 -0
  41. package/dist/{chunk-XKDVT3ZH.cjs → chunk-67ZKOPA4.cjs} +480 -48
  42. package/dist/chunk-67ZKOPA4.cjs.map +1 -0
  43. package/dist/{chunk-YLP5IWH2.js → chunk-7IYWOBLG.js} +4 -4
  44. package/dist/{chunk-YLP5IWH2.js.map → chunk-7IYWOBLG.js.map} +1 -1
  45. package/dist/{chunk-3RCMDLCG.cjs → chunk-ALQFYWAR.cjs} +12 -12
  46. package/dist/{chunk-3RCMDLCG.cjs.map → chunk-ALQFYWAR.cjs.map} +1 -1
  47. package/dist/{chunk-PC3FBUWH.js → chunk-C4CIC3LZ.js} +2 -2
  48. package/dist/chunk-C4CIC3LZ.js.map +1 -0
  49. package/dist/{chunk-7JGQWNV5.js → chunk-CPLRD2VP.js} +3 -3
  50. package/dist/{chunk-7JGQWNV5.js.map → chunk-CPLRD2VP.js.map} +1 -1
  51. package/dist/{chunk-AHN7K3VE.js → chunk-CQ2E577C.js} +5 -5
  52. package/dist/chunk-CQ2E577C.js.map +1 -0
  53. package/dist/{chunk-A4MCHA5L.cjs → chunk-CVLIEFWM.cjs} +100 -819
  54. package/dist/chunk-CVLIEFWM.cjs.map +1 -0
  55. package/dist/{chunk-XBZWAUZ3.js → chunk-IFPQ2MLB.js} +25 -12
  56. package/dist/chunk-IFPQ2MLB.js.map +1 -0
  57. package/dist/{chunk-DVJZZAZA.cjs → chunk-IHD36QFA.cjs} +7 -7
  58. package/dist/{chunk-DVJZZAZA.cjs.map → chunk-IHD36QFA.cjs.map} +1 -1
  59. package/dist/{chunk-WMJEP45F.cjs → chunk-J4KVR4DZ.cjs} +25 -18
  60. package/dist/chunk-J4KVR4DZ.cjs.map +1 -0
  61. package/dist/{chunk-3RFSIHFR.js → chunk-K2LPTKSY.js} +4 -720
  62. package/dist/chunk-K2LPTKSY.js.map +1 -0
  63. package/dist/{chunk-FY3PYSMK.cjs → chunk-KHO4KFXW.cjs} +5 -5
  64. package/dist/{chunk-FY3PYSMK.cjs.map → chunk-KHO4KFXW.cjs.map} +1 -1
  65. package/dist/{chunk-W7R7GPNN.cjs → chunk-MGPIVG2O.cjs} +9 -9
  66. package/dist/chunk-MGPIVG2O.cjs.map +1 -0
  67. package/dist/{chunk-KGE3KAM7.js → chunk-N3PAHTKU.js} +23 -3
  68. package/dist/chunk-N3PAHTKU.js.map +1 -0
  69. package/dist/{chunk-O4H44CMA.js → chunk-N7TDP7ZE.js} +586 -117
  70. package/dist/chunk-N7TDP7ZE.js.map +1 -0
  71. package/dist/{chunk-I5GMA5UM.cjs → chunk-NPIYNC5A.cjs} +9 -9
  72. package/dist/{chunk-I5GMA5UM.cjs.map → chunk-NPIYNC5A.cjs.map} +1 -1
  73. package/dist/{chunk-AW7FISLD.cjs → chunk-OZ75PBBK.cjs} +27 -7
  74. package/dist/chunk-OZ75PBBK.cjs.map +1 -0
  75. package/dist/{chunk-JMAPJWVG.cjs → chunk-OZCUIZRA.cjs} +2021 -1426
  76. package/dist/chunk-OZCUIZRA.cjs.map +1 -0
  77. package/dist/{chunk-6OPEMI2Q.cjs → chunk-PM3UIIBK.cjs} +2 -3
  78. package/dist/{chunk-6OPEMI2Q.cjs.map → chunk-PM3UIIBK.cjs.map} +1 -1
  79. package/dist/{chunk-CISH55FP.js → chunk-PSIJ6OSV.js} +16 -9
  80. package/dist/chunk-PSIJ6OSV.js.map +1 -0
  81. package/dist/{chunk-UOZ3GJY2.cjs → chunk-PTK74KG4.cjs} +2 -2
  82. package/dist/chunk-PTK74KG4.cjs.map +1 -0
  83. package/dist/{chunk-O5IPTMEH.cjs → chunk-Q5QQDMSD.cjs} +32 -29
  84. package/dist/chunk-Q5QQDMSD.cjs.map +1 -0
  85. package/dist/{chunk-UVHSM2GU.cjs → chunk-SMM2C4KH.cjs} +6 -4
  86. package/dist/chunk-SMM2C4KH.cjs.map +1 -0
  87. package/dist/{chunk-UXLQEGIN.cjs → chunk-SVPXZEU7.cjs} +35 -22
  88. package/dist/chunk-SVPXZEU7.cjs.map +1 -0
  89. package/dist/{chunk-SOSXN7X4.cjs → chunk-TU6MNGBB.cjs} +619 -151
  90. package/dist/chunk-TU6MNGBB.cjs.map +1 -0
  91. package/dist/{chunk-EK7E4ETB.js → chunk-TX5GUG5Q.js} +3 -3
  92. package/dist/{chunk-EK7E4ETB.js.map → chunk-TX5GUG5Q.js.map} +1 -1
  93. package/dist/{chunk-SQ7T6FWC.cjs → chunk-UAH236P2.cjs} +13 -13
  94. package/dist/{chunk-SQ7T6FWC.cjs.map → chunk-UAH236P2.cjs.map} +1 -1
  95. package/dist/{chunk-AIJ6HPJG.js → chunk-UL7TJCKA.js} +4 -4
  96. package/dist/{chunk-AIJ6HPJG.js.map → chunk-UL7TJCKA.js.map} +1 -1
  97. package/dist/{chunk-IC2MIQBW.js → chunk-UVOQLIWL.js} +1922 -1326
  98. package/dist/chunk-UVOQLIWL.js.map +1 -0
  99. package/dist/{chunk-IMLORTHO.js → chunk-WANKWENG.js} +5 -5
  100. package/dist/{chunk-IMLORTHO.js.map → chunk-WANKWENG.js.map} +1 -1
  101. package/dist/{chunk-ICU4Z5MO.cjs → chunk-X7DR353F.cjs} +8 -8
  102. package/dist/{chunk-ICU4Z5MO.cjs.map → chunk-X7DR353F.cjs.map} +1 -1
  103. package/dist/{chunk-6TBWJV35.js → chunk-Y22QMA7S.js} +6 -4
  104. package/dist/chunk-Y22QMA7S.js.map +1 -0
  105. package/dist/{chunk-FT7DFPAL.js → chunk-YYNZEEOO.js} +5 -5
  106. package/dist/{chunk-FT7DFPAL.js.map → chunk-YYNZEEOO.js.map} +1 -1
  107. package/dist/di/index.cjs +4 -4
  108. package/dist/di/index.js +1 -1
  109. package/dist/docs/README.md +6 -5
  110. package/dist/docs/SKILL.md +6 -5
  111. package/dist/docs/SOURCE_MAP.json +288 -293
  112. package/dist/docs/agents/01-overview.md +2 -2
  113. package/dist/docs/agents/02-using-tools.md +5 -0
  114. package/dist/docs/agents/04-structured-output.md +24 -4
  115. package/dist/docs/agents/06-processors.md +65 -1
  116. package/dist/docs/agents/08-agent-approval.md +5 -6
  117. package/dist/docs/agents/09-network-approval.md +274 -0
  118. package/dist/docs/agents/{10-reference.md → 11-reference.md} +1 -1
  119. package/dist/docs/ai-sdk/01-reference.md +1 -1
  120. package/dist/docs/cli/01-reference.md +1 -1
  121. package/dist/docs/client-js/01-reference.md +10 -5
  122. package/dist/docs/configuration.mdx/01-reference.md +750 -0
  123. package/dist/docs/core/01-reference.md +9 -35
  124. package/dist/docs/deployer/01-reference.md +19 -6
  125. package/dist/docs/evals/01-overview.md +5 -5
  126. package/dist/docs/evals/02-custom-scorers.md +49 -6
  127. package/dist/docs/evals/04-reference.md +10 -4
  128. package/dist/docs/mcp/01-overview.md +26 -16
  129. package/dist/docs/mcp/02-publishing-mcp-server.md +2 -2
  130. package/dist/docs/memory/01-overview.md +2 -2
  131. package/dist/docs/memory/02-storage.md +59 -25
  132. package/dist/docs/memory/03-working-memory.md +10 -6
  133. package/dist/docs/memory/04-semantic-recall.md +2 -4
  134. package/dist/docs/memory/05-memory-processors.md +2 -3
  135. package/dist/docs/memory/06-reference.md +2 -4
  136. package/dist/docs/observability/01-overview.md +1 -1
  137. package/dist/docs/observability/02-logging.md +4 -5
  138. package/dist/docs/observability/03-overview.md +69 -13
  139. package/dist/docs/observability/09-datadog.md +169 -0
  140. package/dist/docs/observability/10-laminar.md +95 -0
  141. package/dist/docs/observability/{11-otel.md → 13-otel.md} +12 -7
  142. package/dist/docs/observability/{13-reference.md → 15-reference.md} +125 -1
  143. package/dist/docs/processors/01-reference.md +23 -0
  144. package/dist/docs/rag/01-overview.md +1 -1
  145. package/dist/docs/rag/02-chunking-and-embedding.md +0 -1
  146. package/dist/docs/rag/03-vector-databases.md +10 -5
  147. package/dist/docs/rag/04-retrieval.md +5 -6
  148. package/dist/docs/rag/06-reference.md +4 -5
  149. package/dist/docs/server/01-mastra-server.md +32 -49
  150. package/dist/docs/server/02-custom-adapters.md +5 -2
  151. package/dist/docs/server/04-request-context.md +50 -11
  152. package/dist/docs/server/05-custom-api-routes.md +1 -1
  153. package/dist/docs/server/06-mastra-client.md +2 -2
  154. package/dist/docs/storage/01-reference.md +99 -23
  155. package/dist/docs/streaming/04-reference.md +6 -1
  156. package/dist/docs/tools/01-reference.md +380 -25
  157. package/dist/docs/tools-mcp/01-mcp-overview.md +10 -2
  158. package/dist/docs/tools-mcp/02-overview.md +4 -4
  159. package/dist/docs/vectors/01-reference.md +24 -11
  160. package/dist/docs/voice/01-overview.md +2 -2
  161. package/dist/docs/voice/05-reference.md +2 -2
  162. package/dist/docs/workflows/01-overview.md +5 -5
  163. package/dist/docs/workflows/04-agents-and-tools.md +4 -6
  164. package/dist/docs/workflows/06-suspend-and-resume.md +5 -7
  165. package/dist/docs/workflows/11-reference.md +1 -91
  166. package/dist/evals/base.d.ts.map +1 -1
  167. package/dist/evals/index.cjs +20 -20
  168. package/dist/evals/index.js +3 -3
  169. package/dist/evals/scoreTraces/index.cjs +5 -5
  170. package/dist/evals/scoreTraces/index.js +2 -2
  171. package/dist/evals/scoreTraces/scoreTracesWorkflow.d.ts +4 -67
  172. package/dist/evals/scoreTraces/scoreTracesWorkflow.d.ts.map +1 -1
  173. package/dist/index.cjs +2 -2
  174. package/dist/index.js +1 -1
  175. package/dist/integration/index.cjs +2 -2
  176. package/dist/integration/index.js +1 -1
  177. package/dist/llm/index.cjs +9 -9
  178. package/dist/llm/index.js +2 -2
  179. package/dist/llm/model/model.loop.d.ts +1 -2
  180. package/dist/llm/model/model.loop.d.ts.map +1 -1
  181. package/dist/llm/model/model.loop.types.d.ts +1 -2
  182. package/dist/llm/model/model.loop.types.d.ts.map +1 -1
  183. package/dist/llm/model/provider-types.generated.d.ts +224 -18
  184. package/dist/loop/index.cjs +12 -12
  185. package/dist/loop/index.js +1 -1
  186. package/dist/loop/loop.d.ts +1 -2
  187. package/dist/loop/loop.d.ts.map +1 -1
  188. package/dist/loop/network/index.d.ts +21 -80
  189. package/dist/loop/network/index.d.ts.map +1 -1
  190. package/dist/loop/network/run-command-tool.d.ts +14 -11
  191. package/dist/loop/network/run-command-tool.d.ts.map +1 -1
  192. package/dist/loop/network/validation.d.ts +3 -4
  193. package/dist/loop/network/validation.d.ts.map +1 -1
  194. package/dist/loop/test-utils/options.d.ts.map +1 -1
  195. package/dist/loop/types.d.ts +4 -5
  196. package/dist/loop/types.d.ts.map +1 -1
  197. package/dist/loop/workflows/agentic-execution/index.d.ts +31 -804
  198. package/dist/loop/workflows/agentic-execution/index.d.ts.map +1 -1
  199. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +22 -539
  200. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  201. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +13 -294
  202. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
  203. package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts +2 -41
  204. package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
  205. package/dist/loop/workflows/agentic-loop/index.d.ts +32 -805
  206. package/dist/loop/workflows/agentic-loop/index.d.ts.map +1 -1
  207. package/dist/loop/workflows/schema.d.ts +90 -91
  208. package/dist/loop/workflows/schema.d.ts.map +1 -1
  209. package/dist/loop/workflows/stream.d.ts +1 -2
  210. package/dist/loop/workflows/stream.d.ts.map +1 -1
  211. package/dist/mastra/index.cjs +2 -2
  212. package/dist/mastra/index.d.ts +28 -9
  213. package/dist/mastra/index.d.ts.map +1 -1
  214. package/dist/mastra/index.js +1 -1
  215. package/dist/memory/index.cjs +11 -11
  216. package/dist/memory/index.js +1 -1
  217. package/dist/memory/memory.d.ts +4 -2
  218. package/dist/memory/memory.d.ts.map +1 -1
  219. package/dist/observability/index.cjs +11 -11
  220. package/dist/observability/index.js +1 -1
  221. package/dist/observability/types/tracing.d.ts +45 -7
  222. package/dist/observability/types/tracing.d.ts.map +1 -1
  223. package/dist/processors/index.cjs +38 -38
  224. package/dist/processors/index.d.ts +3 -3
  225. package/dist/processors/index.d.ts.map +1 -1
  226. package/dist/processors/index.js +1 -1
  227. package/dist/processors/memory/semantic-recall.d.ts +2 -0
  228. package/dist/processors/memory/semantic-recall.d.ts.map +1 -1
  229. package/dist/processors/processors/structured-output.d.ts +2 -2
  230. package/dist/processors/processors/structured-output.d.ts.map +1 -1
  231. package/dist/processors/processors/token-limiter.d.ts +16 -10
  232. package/dist/processors/processors/token-limiter.d.ts.map +1 -1
  233. package/dist/processors/runner.d.ts +4 -4
  234. package/dist/processors/runner.d.ts.map +1 -1
  235. package/dist/processors/step-schema.d.ts +66 -67
  236. package/dist/processors/step-schema.d.ts.map +1 -1
  237. package/dist/provider-registry-C3IAGLLU.js +3 -0
  238. package/dist/{provider-registry-6DWM3X3I.js.map → provider-registry-C3IAGLLU.js.map} +1 -1
  239. package/dist/provider-registry-YH4FCTT2.cjs +40 -0
  240. package/dist/{provider-registry-DCECMUCQ.cjs.map → provider-registry-YH4FCTT2.cjs.map} +1 -1
  241. package/dist/provider-registry.json +477 -45
  242. package/dist/relevance/index.cjs +3 -3
  243. package/dist/relevance/index.js +1 -1
  244. package/dist/request-context/index.cjs +4 -4
  245. package/dist/request-context/index.d.ts +10 -9
  246. package/dist/request-context/index.d.ts.map +1 -1
  247. package/dist/request-context/index.js +1 -1
  248. package/dist/server/types.d.ts +1 -1
  249. package/dist/storage/constants.cjs +14 -14
  250. package/dist/storage/constants.d.ts +1 -1
  251. package/dist/storage/constants.js +1 -1
  252. package/dist/storage/domains/observability/types.d.ts +90 -90
  253. package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
  254. package/dist/storage/index.cjs +93 -93
  255. package/dist/storage/index.js +2 -2
  256. package/dist/stream/MastraAgentNetworkStream.d.ts +8 -12
  257. package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
  258. package/dist/stream/aisdk/v5/compat/prepare-tools.d.ts.map +1 -1
  259. package/dist/stream/aisdk/v5/execute.d.ts +2 -3
  260. package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
  261. package/dist/stream/aisdk/v5/transform.d.ts +2 -3
  262. package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
  263. package/dist/stream/base/output-format-handlers.d.ts +2 -2
  264. package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
  265. package/dist/stream/base/output.d.ts +76 -50
  266. package/dist/stream/base/output.d.ts.map +1 -1
  267. package/dist/stream/base/schema.d.ts +7 -2
  268. package/dist/stream/base/schema.d.ts.map +1 -1
  269. package/dist/stream/index.cjs +11 -15
  270. package/dist/stream/index.d.ts +2 -2
  271. package/dist/stream/index.d.ts.map +1 -1
  272. package/dist/stream/index.js +2 -2
  273. package/dist/stream/types.d.ts +72 -26
  274. package/dist/stream/types.d.ts.map +1 -1
  275. package/dist/test-utils/llm-mock.cjs +4 -4
  276. package/dist/test-utils/llm-mock.js +1 -1
  277. package/dist/tool-loop-agent/index.cjs +4 -4
  278. package/dist/tool-loop-agent/index.d.ts +1 -1
  279. package/dist/tool-loop-agent/index.d.ts.map +1 -1
  280. package/dist/tool-loop-agent/index.js +1 -1
  281. package/dist/tool-loop-agent/tool-loop-processor.d.ts +1 -2
  282. package/dist/tool-loop-agent/tool-loop-processor.d.ts.map +1 -1
  283. package/dist/tools/index.cjs +4 -4
  284. package/dist/tools/index.js +1 -1
  285. package/dist/tools/is-vercel-tool.cjs +2 -2
  286. package/dist/tools/is-vercel-tool.js +1 -1
  287. package/dist/tools/tool-builder/builder.d.ts.map +1 -1
  288. package/dist/tools/tool.d.ts +27 -14
  289. package/dist/tools/tool.d.ts.map +1 -1
  290. package/dist/tools/types.d.ts +76 -20
  291. package/dist/tools/types.d.ts.map +1 -1
  292. package/dist/tools/ui-types.d.ts +3 -4
  293. package/dist/tools/ui-types.d.ts.map +1 -1
  294. package/dist/tools/validation.d.ts +4 -4
  295. package/dist/tools/validation.d.ts.map +1 -1
  296. package/dist/types/dynamic-argument.d.ts +61 -1
  297. package/dist/types/dynamic-argument.d.ts.map +1 -1
  298. package/dist/types/zod-compat.d.ts +3 -11
  299. package/dist/types/zod-compat.d.ts.map +1 -1
  300. package/dist/utils.cjs +22 -22
  301. package/dist/utils.d.ts +1 -1
  302. package/dist/utils.d.ts.map +1 -1
  303. package/dist/utils.js +1 -1
  304. package/dist/vector/index.cjs +2 -2
  305. package/dist/vector/index.js +1 -1
  306. package/dist/voice/index.cjs +6 -6
  307. package/dist/voice/index.js +1 -1
  308. package/dist/workflows/default.d.ts +114 -2
  309. package/dist/workflows/default.d.ts.map +1 -1
  310. package/dist/workflows/evented/index.cjs +10 -10
  311. package/dist/workflows/evented/index.js +1 -1
  312. package/dist/workflows/evented/step-executor.d.ts +1 -1
  313. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  314. package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
  315. package/dist/workflows/evented/workflow-event-processor/utils.d.ts +1 -1
  316. package/dist/workflows/evented/workflow.d.ts +74 -21
  317. package/dist/workflows/evented/workflow.d.ts.map +1 -1
  318. package/dist/workflows/handlers/control-flow.d.ts +2 -2
  319. package/dist/workflows/handlers/control-flow.d.ts.map +1 -1
  320. package/dist/workflows/handlers/sleep.d.ts.map +1 -1
  321. package/dist/workflows/handlers/step.d.ts +1 -1
  322. package/dist/workflows/handlers/step.d.ts.map +1 -1
  323. package/dist/workflows/index.cjs +23 -23
  324. package/dist/workflows/index.js +1 -1
  325. package/dist/workflows/step.d.ts +28 -24
  326. package/dist/workflows/step.d.ts.map +1 -1
  327. package/dist/workflows/types.d.ts +91 -54
  328. package/dist/workflows/types.d.ts.map +1 -1
  329. package/dist/workflows/workflow.d.ts +165 -118
  330. package/dist/workflows/workflow.d.ts.map +1 -1
  331. package/package.json +4 -4
  332. package/src/llm/model/provider-types.generated.d.ts +224 -18
  333. package/dist/chunk-3CZ42NBZ.js.map +0 -1
  334. package/dist/chunk-3RFSIHFR.js.map +0 -1
  335. package/dist/chunk-6TBWJV35.js.map +0 -1
  336. package/dist/chunk-A4MCHA5L.cjs.map +0 -1
  337. package/dist/chunk-AHN7K3VE.js.map +0 -1
  338. package/dist/chunk-AW7FISLD.cjs.map +0 -1
  339. package/dist/chunk-CISH55FP.js.map +0 -1
  340. package/dist/chunk-IC2MIQBW.js.map +0 -1
  341. package/dist/chunk-JMAPJWVG.cjs.map +0 -1
  342. package/dist/chunk-KGE3KAM7.js.map +0 -1
  343. package/dist/chunk-O4H44CMA.js.map +0 -1
  344. package/dist/chunk-O5IPTMEH.cjs.map +0 -1
  345. package/dist/chunk-PC3FBUWH.js.map +0 -1
  346. package/dist/chunk-SOSXN7X4.cjs.map +0 -1
  347. package/dist/chunk-UOZ3GJY2.cjs.map +0 -1
  348. package/dist/chunk-UVHSM2GU.cjs.map +0 -1
  349. package/dist/chunk-UXLQEGIN.cjs.map +0 -1
  350. package/dist/chunk-W7R7GPNN.cjs.map +0 -1
  351. package/dist/chunk-WMJEP45F.cjs.map +0 -1
  352. package/dist/chunk-XBZWAUZ3.js.map +0 -1
  353. package/dist/chunk-XKDVT3ZH.cjs.map +0 -1
  354. package/dist/chunk-XSJNTLM7.js.map +0 -1
  355. package/dist/provider-registry-6DWM3X3I.js +0 -3
  356. package/dist/provider-registry-DCECMUCQ.cjs +0 -40
  357. package/dist/stream/aisdk/v5/output.d.ts +0 -121
  358. package/dist/stream/aisdk/v5/output.d.ts.map +0 -1
  359. /package/dist/docs/agents/{09-adding-voice.md → 10-adding-voice.md} +0 -0
  360. /package/dist/docs/observability/{09-langfuse.md → 11-langfuse.md} +0 -0
  361. /package/dist/docs/observability/{10-langsmith.md → 12-langsmith.md} +0 -0
  362. /package/dist/docs/observability/{12-posthog.md → 14-posthog.md} +0 -0
@@ -1,51 +1,16 @@
1
1
  import type { MastraLegacyLanguageModel, MastraLanguageModel } from '../llm/model/shared.types.js';
2
2
  import type { StorageThreadType } from '../memory/index.js';
3
- import type { OutputSchema } from '../stream/index.js';
3
+ import type { FullOutput } from '../stream/base/output.js';
4
4
  import type { Agent } from './agent.js';
5
- import type { AgentExecutionOptions } from './agent.types.js';
5
+ import type { AgentExecutionOptions, AgentExecutionOptionsBase } from './agent.types.js';
6
6
  import type { MessageListInput } from './message-list/index.js';
7
+ import type { StructuredOutputOptions } from './types.js';
7
8
  export declare const supportedLanguageModelSpecifications: string[];
8
9
  export declare const isSupportedLanguageModel: (model: MastraLanguageModel | MastraLegacyLanguageModel) => model is MastraLanguageModel;
9
- export declare function tryGenerateWithJsonFallback<OUTPUT extends OutputSchema = undefined>(agent: Agent, prompt: MessageListInput, options: AgentExecutionOptions<OUTPUT>): Promise<{
10
- traceId: string | undefined;
11
- runId: string;
12
- suspendPayload: any;
13
- scoringData?: {
14
- input: Omit<import("../evals").ScorerRunInputForAgent, "runId">;
15
- output: import("../evals").ScorerRunOutputForAgent;
16
- } | undefined;
17
- text: string;
18
- usage: import("../stream").LanguageModelUsage;
19
- steps: import("./types").LLMStepResult<OUTPUT>[];
20
- finishReason: string | undefined;
21
- warnings: import("@ai-sdk/provider-v5").LanguageModelV2CallWarning[];
22
- providerMetadata: import("../stream").ProviderMetadata | undefined;
23
- request: {
24
- body?: unknown;
25
- };
26
- reasoning: import("../stream").ReasoningChunk[];
27
- reasoningText: string | undefined;
28
- toolCalls: import("../stream").ToolCallChunk[];
29
- toolResults: import("../stream").ToolResultChunk[];
30
- sources: import("../stream").SourceChunk[];
31
- files: import("../stream").FileChunk[];
32
- response: {
33
- [key: string]: unknown;
34
- headers?: Record<string, string>;
35
- messages?: import("@internal/ai-sdk-v5").StepResult<import("@internal/ai-sdk-v5").ToolSet>["response"]["messages"];
36
- uiMessages?: import("@internal/ai-sdk-v5").UIMessage<OUTPUT extends OutputSchema ? {
37
- structuredOutput?: import("../stream/base/schema").InferSchemaOutput<OUTPUT> | undefined;
38
- } & Record<string, unknown> : unknown, import("@internal/ai-sdk-v5").UIDataTypes, import("@internal/ai-sdk-v5").UITools>[] | undefined;
39
- id?: string;
40
- timestamp?: Date;
41
- modelId?: string;
42
- };
43
- totalUsage: import("../stream").LanguageModelUsage;
44
- object: Awaited<import("../stream/base/schema").InferSchemaOutput<OUTPUT>>;
45
- error: Error | undefined;
46
- tripwire: import("../stream/types").StepTripwireData | undefined;
47
- }>;
48
- export declare function tryStreamWithJsonFallback<OUTPUT extends OutputSchema = undefined>(agent: Agent, prompt: MessageListInput, options: AgentExecutionOptions<OUTPUT>): Promise<import("../stream").MastraModelOutput<OUTPUT>>;
10
+ export declare function tryGenerateWithJsonFallback<OUTPUT extends {}>(agent: Agent, prompt: MessageListInput, options: AgentExecutionOptions<OUTPUT>): Promise<FullOutput<OUTPUT>>;
11
+ export declare function tryStreamWithJsonFallback<OUTPUT extends {}>(agent: Agent, prompt: MessageListInput, options: AgentExecutionOptionsBase<OUTPUT> & {
12
+ structuredOutput: StructuredOutputOptions<OUTPUT>;
13
+ }): Promise<import("../stream").MastraModelOutput<OUTPUT>>;
49
14
  export declare function resolveThreadIdFromArgs(args: {
50
15
  memory?: {
51
16
  thread?: string | {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/agent/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,KA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js';
3
2
  import type { MastraMemory } from '../../../memory/memory.js';
4
3
  import type { MemoryConfig, StorageThreadType } from '../../../memory/types.js';
5
4
  import type { Span, SpanType } from '../../../observability/index.js';
6
5
  import type { RequestContext } from '../../../request-context/index.js';
7
- import { AISDKV5OutputStream, MastraModelOutput } from '../../../stream/index.js';
8
- import type { OutputSchema } from '../../../stream/base/schema.js';
6
+ import { MastraModelOutput } from '../../../stream/index.js';
9
7
  import type { InnerAgentExecutionOptions } from '../../agent.types.js';
10
8
  import type { SaveQueueManager } from '../../save-queue/index.js';
11
9
  import type { AgentMethodType } from '../../types.js';
12
10
  import type { AgentCapabilities } from './schema.js';
13
- interface CreatePrepareStreamWorkflowOptions<OUTPUT extends OutputSchema | undefined = undefined> {
11
+ interface CreatePrepareStreamWorkflowOptions<OUTPUT = undefined> {
14
12
  capabilities: AgentCapabilities;
15
13
  options: InnerAgentExecutionOptions<OUTPUT>;
16
14
  threadFromArgs?: (Partial<StorageThreadType> & {
@@ -36,37 +34,7 @@ interface CreatePrepareStreamWorkflowOptions<OUTPUT extends OutputSchema | undef
36
34
  agentName?: string;
37
35
  toolCallId?: string;
38
36
  }
39
- export declare function createPrepareStreamWorkflow<OUTPUT extends OutputSchema | undefined = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, agentSpan, methodType, instructions, memoryConfig, memory, returnScorerData, saveQueueManager, requireToolApproval, toolCallConcurrency, resumeContext, agentId, agentName, toolCallId, }: CreatePrepareStreamWorkflowOptions<OUTPUT>): import("../../../workflows").Workflow<import("../../../workflows").DefaultEngineType, (import("../../../workflows").Step<"prepare-tools-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
40
- [x: string]: any;
41
- }, {
42
- [x: string]: any;
43
- }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodObject<{
44
- convertedTools: z.ZodRecord<z.ZodString, z.ZodObject<{
45
- id: z.ZodOptional<z.ZodString>;
46
- description: z.ZodOptional<z.ZodString>;
47
- parameters: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodAny]>;
48
- outputSchema: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodAny]>>;
49
- execute: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodAny], null>, z.ZodPromise<z.ZodAny>>>;
50
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"function">, z.ZodLiteral<"provider-defined">, z.ZodUndefined]>>;
51
- args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
- }, "strip", z.ZodTypeAny, {
53
- args?: Record<string, any> | undefined;
54
- type?: "function" | "provider-defined" | undefined;
55
- id?: string | undefined;
56
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
57
- outputSchema?: any;
58
- description?: string | undefined;
59
- parameters?: any;
60
- }, {
61
- args?: Record<string, any> | undefined;
62
- type?: "function" | "provider-defined" | undefined;
63
- id?: string | undefined;
64
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
65
- outputSchema?: any;
66
- description?: string | undefined;
67
- parameters?: any;
68
- }>>;
69
- }, "strip", z.ZodTypeAny, {
37
+ export declare function createPrepareStreamWorkflow<OUTPUT = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, agentSpan, methodType, instructions, memoryConfig, memory, returnScorerData, saveQueueManager, requireToolApproval, toolCallConcurrency, resumeContext, agentId, agentName, toolCallId, }: CreatePrepareStreamWorkflowOptions<OUTPUT>): import("../../../workflows").Workflow<import("../../../workflows").DefaultEngineType, (import("../../../workflows").Step<"prepare-tools-step", any, {}, {
70
38
  convertedTools: Record<string, {
71
39
  args?: Record<string, any> | undefined;
72
40
  type?: "function" | "provider-defined" | undefined;
@@ -76,70 +44,9 @@ export declare function createPrepareStreamWorkflow<OUTPUT extends OutputSchema
76
44
  description?: string | undefined;
77
45
  parameters?: any;
78
46
  }>;
79
- }, {
80
- convertedTools: Record<string, {
81
- args?: Record<string, any> | undefined;
82
- type?: "function" | "provider-defined" | undefined;
83
- id?: string | undefined;
84
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
85
- outputSchema?: any;
86
- description?: string | undefined;
87
- parameters?: any;
88
- }>;
89
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType> | import("../../../workflows").Step<"prepare-memory-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
90
- [x: string]: any;
91
- }, {
92
- [x: string]: any;
93
- }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodObject<{
94
- threadExists: z.ZodBoolean;
95
- thread: z.ZodOptional<z.ZodObject<{
96
- id: z.ZodString;
97
- title: z.ZodOptional<z.ZodString>;
98
- resourceId: z.ZodString;
99
- createdAt: z.ZodDate;
100
- updatedAt: z.ZodDate;
101
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
102
- }, "strip", z.ZodTypeAny, {
103
- resourceId: string;
104
- id: string;
105
- createdAt: Date;
106
- updatedAt: Date;
107
- metadata?: Record<string, any> | undefined;
108
- title?: string | undefined;
109
- }, {
110
- resourceId: string;
111
- id: string;
112
- createdAt: Date;
113
- updatedAt: Date;
114
- metadata?: Record<string, any> | undefined;
115
- title?: string | undefined;
116
- }>>;
117
- messageList: z.ZodType<import("../..").MessageList, z.ZodTypeDef, import("../..").MessageList>;
118
- tripwire: z.ZodOptional<z.ZodObject<{
119
- reason: z.ZodString;
120
- retry: z.ZodOptional<z.ZodBoolean>;
121
- metadata: z.ZodOptional<z.ZodUnknown>;
122
- processorId: z.ZodOptional<z.ZodString>;
123
- }, "strip", z.ZodTypeAny, {
124
- reason: string;
125
- metadata?: unknown;
126
- retry?: boolean | undefined;
127
- processorId?: string | undefined;
128
- }, {
129
- reason: string;
130
- metadata?: unknown;
131
- retry?: boolean | undefined;
132
- processorId?: string | undefined;
133
- }>>;
134
- }, "strip", z.ZodTypeAny, {
135
- messageList: import("../..").MessageList;
47
+ }, unknown, unknown, import("../../../workflows").DefaultEngineType> | import("../../../workflows").Step<"prepare-memory-step", any, {}, {
136
48
  threadExists: boolean;
137
- tripwire?: {
138
- reason: string;
139
- metadata?: unknown;
140
- retry?: boolean | undefined;
141
- processorId?: string | undefined;
142
- } | undefined;
49
+ messageList: import("../..").MessageList;
143
50
  thread?: {
144
51
  resourceId: string;
145
52
  id: string;
@@ -148,31 +55,12 @@ export declare function createPrepareStreamWorkflow<OUTPUT extends OutputSchema
148
55
  metadata?: Record<string, any> | undefined;
149
56
  title?: string | undefined;
150
57
  } | undefined;
151
- }, {
152
- messageList: import("../..").MessageList;
153
- threadExists: boolean;
154
58
  tripwire?: {
155
59
  reason: string;
156
60
  metadata?: unknown;
157
61
  retry?: boolean | undefined;
158
62
  processorId?: string | undefined;
159
63
  } | undefined;
160
- thread?: {
161
- resourceId: string;
162
- id: string;
163
- createdAt: Date;
164
- updatedAt: Date;
165
- metadata?: Record<string, any> | undefined;
166
- title?: string | undefined;
167
- } | undefined;
168
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType> | import("../../../workflows").Step<"stream-text-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
169
- [x: string]: any;
170
- }, {
171
- [x: string]: any;
172
- }>, z.ZodAny, z.ZodUnion<[z.ZodType<MastraModelOutput<undefined>, z.ZodTypeDef, MastraModelOutput<undefined>>, z.ZodType<AISDKV5OutputStream<undefined>, z.ZodTypeDef, AISDKV5OutputStream<undefined>>]>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType>)[], "execution-workflow", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
173
- [x: string]: any;
174
- }, {
175
- [x: string]: any;
176
- }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUnion<[z.ZodType<MastraModelOutput<OUTPUT | undefined>, z.ZodTypeDef, MastraModelOutput<OUTPUT | undefined>>, z.ZodType<AISDKV5OutputStream<OUTPUT | undefined>, z.ZodTypeDef, AISDKV5OutputStream<OUTPUT | undefined>>]>, z.ZodUnion<[z.ZodType<MastraModelOutput<OUTPUT | undefined>, z.ZodTypeDef, MastraModelOutput<OUTPUT | undefined>>, z.ZodType<AISDKV5OutputStream<OUTPUT | undefined>, z.ZodTypeDef, AISDKV5OutputStream<OUTPUT | undefined>>]>>;
64
+ }, unknown, unknown, import("../../../workflows").DefaultEngineType> | import("../../../workflows").Step<"stream-text-step", any, any, MastraModelOutput<undefined>, unknown, unknown, import("../../../workflows").DefaultEngineType>)[], "execution-workflow", unknown, {}, MastraModelOutput<OUTPUT>, MastraModelOutput<OUTPUT>>;
177
65
  export {};
178
66
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB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AE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE;QACd,UAAU,EAAE,GAAG,CAAC;QAChB,QAAQ,EAAE,GAAG,CAAC;KACf,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,2BAA2B,CAAC,MAAM,GAAG,SAAS,EAAE,EAC9D,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,SAAS,EACT,UAAU,GACX,EAAE,kCAAkC,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;oUA0E5C"}
@@ -1,13 +1,13 @@
1
1
  import type { ModelLoopStreamArgs } from '../../../llm/model/model.loop.types.js';
2
2
  import type { MastraMemory } from '../../../memory/memory.js';
3
3
  import type { MemoryConfig } from '../../../memory/types.js';
4
- import type { Span, SpanType, TracingContext } from '../../../observability/index.js';
4
+ import type { Span, SpanType } from '../../../observability/index.js';
5
5
  import type { RequestContext } from '../../../request-context/index.js';
6
- import type { OutputSchema } from '../../../stream/base/schema.js';
6
+ import type { Step } from '../../../workflows/index.js';
7
7
  import type { InnerAgentExecutionOptions } from '../../agent.types.js';
8
8
  import type { AgentMethodType } from '../../types.js';
9
9
  import type { AgentCapabilities, PrepareMemoryStepOutput, PrepareToolsStepOutput } from './schema.js';
10
- interface MapResultsStepOptions<OUTPUT extends OutputSchema | undefined = undefined> {
10
+ interface MapResultsStepOptions<OUTPUT = undefined> {
11
11
  capabilities: AgentCapabilities;
12
12
  options: InnerAgentExecutionOptions<OUTPUT>;
13
13
  resourceId?: string;
@@ -19,13 +19,9 @@ interface MapResultsStepOptions<OUTPUT extends OutputSchema | undefined = undefi
19
19
  agentId: string;
20
20
  methodType: AgentMethodType;
21
21
  }
22
- export declare function createMapResultsStep<OUTPUT extends OutputSchema | undefined = undefined>({ capabilities, options, resourceId, runId, requestContext, memory, memoryConfig, agentSpan, agentId, methodType, }: MapResultsStepOptions<OUTPUT>): ({ inputData, bail, tracingContext, }: {
23
- inputData: {
24
- "prepare-tools-step": PrepareToolsStepOutput;
25
- "prepare-memory-step": PrepareMemoryStepOutput;
26
- };
27
- bail: <T>(value: T) => T;
28
- tracingContext: TracingContext;
29
- }) => Promise<import("../../../stream").MastraModelOutput<OUTPUT> | ModelLoopStreamArgs<any, OUTPUT>>;
22
+ export declare function createMapResultsStep<OUTPUT = undefined>({ capabilities, options, resourceId, runId, requestContext, memory, memoryConfig, agentSpan, agentId, methodType, }: MapResultsStepOptions<OUTPUT>): Step<string, unknown, {
23
+ 'prepare-tools-step': PrepareToolsStepOutput;
24
+ 'prepare-memory-step': PrepareMemoryStepOutput;
25
+ }, ModelLoopStreamArgs<any, OUTPUT>>['execute'];
30
26
  export {};
31
27
  //# sourceMappingURL=map-results-step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"map-results-step.d.ts","s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,EACN,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAChB,sCAIX;IACD,SAAS,EAAE;QACT,oBAAoB,EAAE,sBAAsB,CAAC;QAC7C,qBAAqB,EAAE,uBAAuB,CAAC;KAChD,CAAC;IACF,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC;IACzB,cAAc,EAAE,cAAc,CAAC;CAChC,qGA4LF"}
1
+ {"version":3,"file":"map-results-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/map-results-step.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEnG,UAAU,qBAAqB,CAAC,MAAM,GAAG,SAAS;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,eAAe,CAAC;CAC7B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,GAAG,SAAS,EAAE,EACvD,YAAY,EACZ,OAAO,EACP,UAAU,EACV,KAAK,EACL,cAAc,EACd,MAAM,EACN,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE,qBAAqB,CAAC,MAAM,CAAC,GAAG,IAAI,CACrC,MAAM,EACN,OAAO,EACP;IACE,oBAAoB,EAAE,sBAAsB,CAAC;IAC7C,qBAAqB,EAAE,uBAAuB,CAAC;CAChD,EACD,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,CACjC,CAAC,SAAS,CAAC,CA8LX"}
@@ -1,15 +1,13 @@
1
- import { z } from 'zod';
2
1
  import type { SystemMessage } from '../../../llm/index.js';
3
2
  import type { MastraMemory } from '../../../memory/memory.js';
4
3
  import type { MemoryConfig, StorageThreadType } from '../../../memory/types.js';
5
4
  import type { Span, SpanType } from '../../../observability/index.js';
6
5
  import type { RequestContext } from '../../../request-context/index.js';
7
- import type { OutputSchema } from '../../../stream/base/schema.js';
8
6
  import type { InnerAgentExecutionOptions } from '../../agent.types.js';
9
7
  import { MessageList } from '../../message-list/index.js';
10
8
  import type { AgentMethodType } from '../../types.js';
11
9
  import type { AgentCapabilities } from './schema.js';
12
- interface PrepareMemoryStepOptions<OUTPUT extends OutputSchema | undefined = undefined> {
10
+ interface PrepareMemoryStepOptions<OUTPUT = undefined> {
13
11
  capabilities: AgentCapabilities;
14
12
  options: InnerAgentExecutionOptions<OUTPUT>;
15
13
  threadFromArgs?: (Partial<StorageThreadType> & {
@@ -24,60 +22,9 @@ interface PrepareMemoryStepOptions<OUTPUT extends OutputSchema | undefined = und
24
22
  memoryConfig?: MemoryConfig;
25
23
  memory?: MastraMemory;
26
24
  }
27
- export declare function createPrepareMemoryStep<OUTPUT extends OutputSchema | undefined = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, instructions, memoryConfig, memory, }: PrepareMemoryStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-memory-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
28
- [x: string]: any;
29
- }, {
30
- [x: string]: any;
31
- }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodObject<{
32
- threadExists: z.ZodBoolean;
33
- thread: z.ZodOptional<z.ZodObject<{
34
- id: z.ZodString;
35
- title: z.ZodOptional<z.ZodString>;
36
- resourceId: z.ZodString;
37
- createdAt: z.ZodDate;
38
- updatedAt: z.ZodDate;
39
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
40
- }, "strip", z.ZodTypeAny, {
41
- resourceId: string;
42
- id: string;
43
- createdAt: Date;
44
- updatedAt: Date;
45
- metadata?: Record<string, any> | undefined;
46
- title?: string | undefined;
47
- }, {
48
- resourceId: string;
49
- id: string;
50
- createdAt: Date;
51
- updatedAt: Date;
52
- metadata?: Record<string, any> | undefined;
53
- title?: string | undefined;
54
- }>>;
55
- messageList: z.ZodType<MessageList, z.ZodTypeDef, MessageList>;
56
- tripwire: z.ZodOptional<z.ZodObject<{
57
- reason: z.ZodString;
58
- retry: z.ZodOptional<z.ZodBoolean>;
59
- metadata: z.ZodOptional<z.ZodUnknown>;
60
- processorId: z.ZodOptional<z.ZodString>;
61
- }, "strip", z.ZodTypeAny, {
62
- reason: string;
63
- metadata?: unknown;
64
- retry?: boolean | undefined;
65
- processorId?: string | undefined;
66
- }, {
67
- reason: string;
68
- metadata?: unknown;
69
- retry?: boolean | undefined;
70
- processorId?: string | undefined;
71
- }>>;
72
- }, "strip", z.ZodTypeAny, {
73
- messageList: MessageList;
25
+ export declare function createPrepareMemoryStep<OUTPUT = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, instructions, memoryConfig, memory, }: PrepareMemoryStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-memory-step", any, {}, {
74
26
  threadExists: boolean;
75
- tripwire?: {
76
- reason: string;
77
- metadata?: unknown;
78
- retry?: boolean | undefined;
79
- processorId?: string | undefined;
80
- } | undefined;
27
+ messageList: MessageList;
81
28
  thread?: {
82
29
  resourceId: string;
83
30
  id: string;
@@ -86,23 +33,12 @@ export declare function createPrepareMemoryStep<OUTPUT extends OutputSchema | un
86
33
  metadata?: Record<string, any> | undefined;
87
34
  title?: string | undefined;
88
35
  } | undefined;
89
- }, {
90
- messageList: MessageList;
91
- threadExists: boolean;
92
36
  tripwire?: {
93
37
  reason: string;
94
38
  metadata?: unknown;
95
39
  retry?: boolean | undefined;
96
40
  processorId?: string | undefined;
97
41
  } | undefined;
98
- thread?: {
99
- resourceId: string;
100
- id: string;
101
- createdAt: Date;
102
- updatedAt: Date;
103
- metadata?: Record<string, any> | undefined;
104
- title?: string | undefined;
105
- } | undefined;
106
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType>;
42
+ }, unknown, unknown, import("../../../workflows").DefaultEngineType>;
107
43
  export {};
108
44
  //# sourceMappingURL=prepare-memory-step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepare-memory-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/prepare-memory-step.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OA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EAAE,EAC1D,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,MAAM,GACP,EAAE,wBAAwB,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;qEA0HlC"}
@@ -1,13 +1,11 @@
1
- import { z } from 'zod';
2
1
  import type { MastraMemory } from '../../../memory/memory.js';
3
2
  import type { StorageThreadType } from '../../../memory/types.js';
4
3
  import type { Span, SpanType } from '../../../observability/index.js';
5
4
  import type { RequestContext } from '../../../request-context/index.js';
6
- import type { OutputSchema } from '../../../stream/base/schema.js';
7
5
  import type { InnerAgentExecutionOptions } from '../../agent.types.js';
8
6
  import type { AgentMethodType } from '../../types.js';
9
7
  import type { AgentCapabilities } from './schema.js';
10
- interface PrepareToolsStepOptions<OUTPUT extends OutputSchema | undefined = undefined> {
8
+ interface PrepareToolsStepOptions<OUTPUT = undefined> {
11
9
  capabilities: AgentCapabilities;
12
10
  options: InnerAgentExecutionOptions<OUTPUT>;
13
11
  threadFromArgs?: (Partial<StorageThreadType> & {
@@ -20,47 +18,7 @@ interface PrepareToolsStepOptions<OUTPUT extends OutputSchema | undefined = unde
20
18
  methodType: AgentMethodType;
21
19
  memory?: MastraMemory;
22
20
  }
23
- export declare function createPrepareToolsStep<OUTPUT extends OutputSchema | undefined = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, agentSpan, methodType, memory, }: PrepareToolsStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-tools-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
24
- [x: string]: any;
25
- }, {
26
- [x: string]: any;
27
- }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodObject<{
28
- convertedTools: z.ZodRecord<z.ZodString, z.ZodObject<{
29
- id: z.ZodOptional<z.ZodString>;
30
- description: z.ZodOptional<z.ZodString>;
31
- parameters: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodAny]>;
32
- outputSchema: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodAny]>>;
33
- execute: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodAny], null>, z.ZodPromise<z.ZodAny>>>;
34
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"function">, z.ZodLiteral<"provider-defined">, z.ZodUndefined]>>;
35
- args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36
- }, "strip", z.ZodTypeAny, {
37
- args?: Record<string, any> | undefined;
38
- type?: "function" | "provider-defined" | undefined;
39
- id?: string | undefined;
40
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
41
- outputSchema?: any;
42
- description?: string | undefined;
43
- parameters?: any;
44
- }, {
45
- args?: Record<string, any> | undefined;
46
- type?: "function" | "provider-defined" | undefined;
47
- id?: string | undefined;
48
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
49
- outputSchema?: any;
50
- description?: string | undefined;
51
- parameters?: any;
52
- }>>;
53
- }, "strip", z.ZodTypeAny, {
54
- convertedTools: Record<string, {
55
- args?: Record<string, any> | undefined;
56
- type?: "function" | "provider-defined" | undefined;
57
- id?: string | undefined;
58
- execute?: ((args_0: any, args_1: any) => Promise<any>) | undefined;
59
- outputSchema?: any;
60
- description?: string | undefined;
61
- parameters?: any;
62
- }>;
63
- }, {
21
+ export declare function createPrepareToolsStep<OUTPUT = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, agentSpan, methodType, memory, }: PrepareToolsStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-tools-step", any, {}, {
64
22
  convertedTools: Record<string, {
65
23
  args?: Record<string, any> | undefined;
66
24
  type?: "function" | "provider-defined" | undefined;
@@ -70,6 +28,6 @@ export declare function createPrepareToolsStep<OUTPUT extends OutputSchema | und
70
28
  description?: string | undefined;
71
29
  parameters?: any;
72
30
  }>;
73
- }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType>;
31
+ }, unknown, unknown, import("../../../workflows").DefaultEngineType>;
74
32
  export {};
75
33
  //# sourceMappingURL=prepare-tools-step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepare-tools-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/prepare-tools-step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,UAAU,uBAAuB,CAAC,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS;IACnF,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EAAE,EAC1F,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,MAAM,GACP,EAAE,uBAAuB,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HA4CjC"}
1
+ {"version":3,"file":"prepare-tools-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/prepare-tools-step.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,UAAU,uBAAuB,CAAC,MAAM,GAAG,SAAS;IAClD,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,GAAG,SAAS,EAAE,EACzD,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,MAAM,GACP,EAAE,uBAAuB,CAAC,MAAM,CAAC;;;;;;;;;;qEA4CjC"}
@@ -160,14 +160,8 @@ export declare const prepareMemoryStepOutputSchema: z.ZodObject<{
160
160
  processorId?: string | undefined;
161
161
  }>>;
162
162
  }, "strip", z.ZodTypeAny, {
163
- messageList: MessageList;
164
163
  threadExists: boolean;
165
- tripwire?: {
166
- reason: string;
167
- metadata?: unknown;
168
- retry?: boolean | undefined;
169
- processorId?: string | undefined;
170
- } | undefined;
164
+ messageList: MessageList;
171
165
  thread?: {
172
166
  resourceId: string;
173
167
  id: string;
@@ -176,15 +170,15 @@ export declare const prepareMemoryStepOutputSchema: z.ZodObject<{
176
170
  metadata?: Record<string, any> | undefined;
177
171
  title?: string | undefined;
178
172
  } | undefined;
179
- }, {
180
- messageList: MessageList;
181
- threadExists: boolean;
182
173
  tripwire?: {
183
174
  reason: string;
184
175
  metadata?: unknown;
185
176
  retry?: boolean | undefined;
186
177
  processorId?: string | undefined;
187
178
  } | undefined;
179
+ }, {
180
+ threadExists: boolean;
181
+ messageList: MessageList;
188
182
  thread?: {
189
183
  resourceId: string;
190
184
  id: string;
@@ -193,6 +187,12 @@ export declare const prepareMemoryStepOutputSchema: z.ZodObject<{
193
187
  metadata?: Record<string, any> | undefined;
194
188
  title?: string | undefined;
195
189
  } | undefined;
190
+ tripwire?: {
191
+ reason: string;
192
+ metadata?: unknown;
193
+ retry?: boolean | undefined;
194
+ processorId?: string | undefined;
195
+ } | undefined;
196
196
  }>;
197
197
  export type PrepareMemoryStepOutput = z.infer<typeof prepareMemoryStepOutputSchema>;
198
198
  export type PrepareToolsStepOutput = z.infer<typeof prepareToolsStepOutputSchema>;
@@ -1,8 +1,6 @@
1
- import { z } from 'zod';
2
1
  import type { MastraMemory } from '../../../memory/memory.js';
3
2
  import type { MemoryConfig } from '../../../memory/types.js';
4
- import { AISDKV5OutputStream, MastraModelOutput } from '../../../stream/index.js';
5
- import type { OutputSchema } from '../../../stream/base/schema.js';
3
+ import { MastraModelOutput } from '../../../stream/index.js';
6
4
  import type { SaveQueueManager } from '../../save-queue/index.js';
7
5
  import type { AgentMethodType } from '../../types.js';
8
6
  import type { AgentCapabilities } from './schema.js';
@@ -26,10 +24,6 @@ interface StreamStepOptions {
26
24
  resourceId?: string;
27
25
  autoResumeSuspendedTools?: boolean;
28
26
  }
29
- export declare function createStreamStep<OUTPUT extends OutputSchema | undefined = undefined>({ capabilities, runId, returnScorerData, requireToolApproval, toolCallConcurrency, resumeContext, agentId, agentName, toolCallId, methodType, saveQueueManager, memoryConfig, memory, resourceId, autoResumeSuspendedTools, }: StreamStepOptions): import("../../../workflows").Step<"stream-text-step", z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
30
- [x: string]: any;
31
- }, {
32
- [x: string]: any;
33
- }>, z.ZodAny, z.ZodUnion<[z.ZodType<MastraModelOutput<OUTPUT | undefined>, z.ZodTypeDef, MastraModelOutput<OUTPUT | undefined>>, z.ZodType<AISDKV5OutputStream<OUTPUT | undefined>, z.ZodTypeDef, AISDKV5OutputStream<OUTPUT | undefined>>]>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, import("../../../workflows").DefaultEngineType>;
27
+ export declare function createStreamStep<OUTPUT = undefined>({ capabilities, runId, returnScorerData, requireToolApproval, toolCallConcurrency, resumeContext, agentId, agentName, toolCallId, methodType, saveQueueManager, memoryConfig, memory, resourceId, autoResumeSuspendedTools, }: StreamStepOptions): import("../../../workflows").Step<"stream-text-step", any, any, MastraModelOutput<OUTPUT>, unknown, unknown, import("../../../workflows").DefaultEngineType>;
34
28
  export {};
35
29
  //# sourceMappingURL=stream-step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/stream-step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,UAAU,iBAAiB;IACzB,YAAY,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE;QACd,UAAU,EAAE,GAAG,CAAC;QAChB,QAAQ,EAAE,GAAG,CAAC;KACf,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,eAAe,CAAC;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,wBAAgB,gBAAgB,CAAC,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EAAE,EACpF,YAAY,EACZ,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,SAAS,EACT,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,wBAAwB,GACzB,EAAE,iBAAiB;;;;oWAsDnB"}
1
+ {"version":3,"file":"stream-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/stream-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,UAAU,iBAAiB;IACzB,YAAY,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE;QACd,UAAU,EAAE,GAAG,CAAC;QAChB,QAAQ,EAAE,GAAG,CAAC;KACf,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,eAAe,CAAC;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,wBAAgB,gBAAgB,CAAC,MAAM,GAAG,SAAS,EAAE,EACnD,YAAY,EACZ,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,SAAS,EACT,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,wBAAwB,GACzB,EAAE,iBAAiB,gKAoDnB"}
@@ -1,5 +1,5 @@
1
- import { MessageList } from './chunk-CISH55FP.js';
2
- import { TABLE_SCHEMAS, TABLE_SCORERS, listTracesArgsSchema, TABLE_WORKFLOW_SNAPSHOT } from './chunk-IMLORTHO.js';
1
+ import { MessageList } from './chunk-PSIJ6OSV.js';
2
+ import { TABLE_SCHEMAS, TABLE_SCORERS, listTracesArgsSchema, TABLE_WORKFLOW_SNAPSHOT } from './chunk-WANKWENG.js';
3
3
  import { MastraError } from './chunk-FJEVLHJT.js';
4
4
  import { MastraBase } from './chunk-LSHPJWM5.js';
5
5
 
@@ -1749,7 +1749,7 @@ var WorkflowsInMemory = class extends WorkflowsStorage {
1749
1749
  if (typeof snapshot === "string") {
1750
1750
  try {
1751
1751
  snapshot = JSON.parse(snapshot);
1752
- } catch (error) {
1752
+ } catch {
1753
1753
  return false;
1754
1754
  }
1755
1755
  } else {
@@ -2029,5 +2029,5 @@ var StoreOperationsInMemory = class extends StoreOperations {
2029
2029
  };
2030
2030
 
2031
2031
  export { AgentsStorage, InMemoryAgentsStorage, InMemoryDB, InMemoryMemory, InMemoryStore, MastraStorage, MemoryStorage, MockStore, ObservabilityInMemory, ObservabilityStorage, ScoresInMemory, ScoresStorage, StorageDomain, StoreOperations, StoreOperationsInMemory, WorkflowsInMemory, WorkflowsStorage, calculatePagination, createStorageErrorId, createStoreErrorId, createVectorErrorId, ensureDate, filterByDateRange, getDefaultValue, getSqlType, normalizePerPage, safelyParseJSON, serializeDate, transformRow, transformScoreRow };
2032
- //# sourceMappingURL=chunk-HJXEZSNI.js.map
2033
- //# sourceMappingURL=chunk-HJXEZSNI.js.map
2032
+ //# sourceMappingURL=chunk-3XY64RAM.js.map
2033
+ //# sourceMappingURL=chunk-3XY64RAM.js.map