@mastra/core 1.0.0-beta.13 → 1.0.0-beta.14

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 (249) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/dist/agent/agent.d.ts +2 -2
  3. package/dist/agent/agent.d.ts.map +1 -1
  4. package/dist/agent/agent.types.d.ts +6 -7
  5. package/dist/agent/agent.types.d.ts.map +1 -1
  6. package/dist/agent/index.cjs +17 -9
  7. package/dist/agent/index.d.ts +1 -1
  8. package/dist/agent/index.d.ts.map +1 -1
  9. package/dist/agent/index.js +2 -2
  10. package/dist/agent/message-list/index.cjs +3 -3
  11. package/dist/agent/message-list/index.js +1 -1
  12. package/dist/agent/trip-wire.d.ts +2 -2
  13. package/dist/agent/trip-wire.d.ts.map +1 -1
  14. package/dist/agent/utils.d.ts +4 -1
  15. package/dist/agent/utils.d.ts.map +1 -1
  16. package/dist/agent/workflows/prepare-stream/index.d.ts +3 -3
  17. package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
  18. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +3 -3
  19. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  20. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +3 -3
  21. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  22. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts +3 -3
  23. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
  24. package/dist/bundler/types.d.ts +1 -0
  25. package/dist/bundler/types.d.ts.map +1 -1
  26. package/dist/chunk-2AU5ZHBL.js +79 -0
  27. package/dist/chunk-2AU5ZHBL.js.map +1 -0
  28. package/dist/{chunk-BQDZIQ3G.js → chunk-3IP3DZ7G.js} +85 -18
  29. package/dist/chunk-3IP3DZ7G.js.map +1 -0
  30. package/dist/{chunk-WYWRMIQC.js → chunk-4AT6YQKZ.js} +4 -103
  31. package/dist/chunk-4AT6YQKZ.js.map +1 -0
  32. package/dist/{chunk-62Q7K656.js → chunk-4CMIJQF6.js} +114 -110
  33. package/dist/chunk-4CMIJQF6.js.map +1 -0
  34. package/dist/{chunk-MXBVP7HX.cjs → chunk-53SZJCBX.cjs} +220 -174
  35. package/dist/chunk-53SZJCBX.cjs.map +1 -0
  36. package/dist/{chunk-2IU4RGU5.js → chunk-5UQ5TB6J.js} +5 -5
  37. package/dist/{chunk-2IU4RGU5.js.map → chunk-5UQ5TB6J.js.map} +1 -1
  38. package/dist/{chunk-WYGUWVTF.js → chunk-67LM2UCT.js} +8 -8
  39. package/dist/chunk-67LM2UCT.js.map +1 -0
  40. package/dist/{chunk-U4CSOY6T.cjs → chunk-6CG7IY57.cjs} +110 -43
  41. package/dist/chunk-6CG7IY57.cjs.map +1 -0
  42. package/dist/{chunk-X6IBA7FP.cjs → chunk-72E3YF6A.cjs} +9 -110
  43. package/dist/chunk-72E3YF6A.cjs.map +1 -0
  44. package/dist/{chunk-GIWC35YQ.js → chunk-AYBJ5GAD.js} +180 -4
  45. package/dist/chunk-AYBJ5GAD.js.map +1 -0
  46. package/dist/{chunk-VEPP75C4.cjs → chunk-DBW6S25C.cjs} +10 -10
  47. package/dist/{chunk-VEPP75C4.cjs.map → chunk-DBW6S25C.cjs.map} +1 -1
  48. package/dist/{chunk-Y7MZ5LJT.cjs → chunk-EGHGFLL3.cjs} +101 -102
  49. package/dist/chunk-EGHGFLL3.cjs.map +1 -0
  50. package/dist/{chunk-LGB4VNZI.cjs → chunk-ETWAR2YE.cjs} +5 -5
  51. package/dist/{chunk-LGB4VNZI.cjs.map → chunk-ETWAR2YE.cjs.map} +1 -1
  52. package/dist/{chunk-OWIEOL55.cjs → chunk-F75EQ574.cjs} +695 -254
  53. package/dist/chunk-F75EQ574.cjs.map +1 -0
  54. package/dist/{chunk-AGHLXC4I.cjs → chunk-FPDJ4XN6.cjs} +181 -5
  55. package/dist/chunk-FPDJ4XN6.cjs.map +1 -0
  56. package/dist/{chunk-VETAQUW3.js → chunk-GBQXIVL6.js} +3 -3
  57. package/dist/{chunk-VETAQUW3.js.map → chunk-GBQXIVL6.js.map} +1 -1
  58. package/dist/{chunk-4BC5FUAO.js → chunk-GELVUDUY.js} +5 -4
  59. package/dist/chunk-GELVUDUY.js.map +1 -0
  60. package/dist/chunk-GVAPYQRO.cjs +252 -0
  61. package/dist/chunk-GVAPYQRO.cjs.map +1 -0
  62. package/dist/{chunk-R5AJGM55.cjs → chunk-JAGQZZ43.cjs} +410 -265
  63. package/dist/chunk-JAGQZZ43.cjs.map +1 -0
  64. package/dist/{chunk-ARAQIW6E.js → chunk-K66U47VL.js} +617 -188
  65. package/dist/chunk-K66U47VL.js.map +1 -0
  66. package/dist/{chunk-RCJLMMTO.js → chunk-LDXKZYOV.js} +4 -4
  67. package/dist/{chunk-RCJLMMTO.js.map → chunk-LDXKZYOV.js.map} +1 -1
  68. package/dist/{chunk-MLKE7HRS.cjs → chunk-O3ULBGV6.cjs} +4 -4
  69. package/dist/{chunk-MLKE7HRS.cjs.map → chunk-O3ULBGV6.cjs.map} +1 -1
  70. package/dist/{chunk-PJAK4U6R.cjs → chunk-O5BQBZEF.cjs} +15 -15
  71. package/dist/chunk-O5BQBZEF.cjs.map +1 -0
  72. package/dist/{chunk-H4VUIOWU.cjs → chunk-OOUFPYSX.cjs} +5 -4
  73. package/dist/chunk-OOUFPYSX.cjs.map +1 -0
  74. package/dist/{chunk-5VZGJTPR.js → chunk-QDVYP2T7.js} +56 -10
  75. package/dist/chunk-QDVYP2T7.js.map +1 -0
  76. package/dist/{chunk-E5BQRAJK.js → chunk-QF4MHFSU.js} +364 -221
  77. package/dist/chunk-QF4MHFSU.js.map +1 -0
  78. package/dist/{chunk-WPTTKULS.js → chunk-SLBWA2F3.js} +3 -3
  79. package/dist/{chunk-WPTTKULS.js.map → chunk-SLBWA2F3.js.map} +1 -1
  80. package/dist/chunk-ST7NBF4H.cjs +84 -0
  81. package/dist/chunk-ST7NBF4H.cjs.map +1 -0
  82. package/dist/{chunk-7HEAVZRS.cjs → chunk-TDM43G4I.cjs} +8 -8
  83. package/dist/{chunk-7HEAVZRS.cjs.map → chunk-TDM43G4I.cjs.map} +1 -1
  84. package/dist/{chunk-SZYSDJTN.cjs → chunk-TRUNX3AX.cjs} +117 -112
  85. package/dist/chunk-TRUNX3AX.cjs.map +1 -0
  86. package/dist/chunk-VE6HQ7H6.js +250 -0
  87. package/dist/chunk-VE6HQ7H6.js.map +1 -0
  88. package/dist/{chunk-MRRFTNF4.js → chunk-VZJOEGQA.js} +3 -4
  89. package/dist/chunk-VZJOEGQA.js.map +1 -0
  90. package/dist/evals/index.cjs +4 -4
  91. package/dist/evals/index.js +1 -1
  92. package/dist/evals/run/index.d.ts.map +1 -1
  93. package/dist/evals/scoreTraces/index.cjs +3 -3
  94. package/dist/evals/scoreTraces/index.js +1 -1
  95. package/dist/index.cjs +2 -2
  96. package/dist/index.js +1 -1
  97. package/dist/llm/index.cjs +15 -15
  98. package/dist/llm/index.js +5 -5
  99. package/dist/llm/model/aisdk/generate-to-stream.d.ts +20 -0
  100. package/dist/llm/model/aisdk/generate-to-stream.d.ts.map +1 -0
  101. package/dist/llm/model/aisdk/v5/model.d.ts +4 -0
  102. package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
  103. package/dist/llm/model/aisdk/v6/model.d.ts +51 -0
  104. package/dist/llm/model/aisdk/v6/model.d.ts.map +1 -0
  105. package/dist/llm/model/model.loop.d.ts +1 -1
  106. package/dist/llm/model/provider-types.generated.d.ts +84 -0
  107. package/dist/llm/model/resolve-model.d.ts +2 -2
  108. package/dist/llm/model/resolve-model.d.ts.map +1 -1
  109. package/dist/llm/model/shared.types.d.ts +18 -7
  110. package/dist/llm/model/shared.types.d.ts.map +1 -1
  111. package/dist/loop/index.cjs +2 -2
  112. package/dist/loop/index.js +1 -1
  113. package/dist/loop/network/index.d.ts +2 -2
  114. package/dist/loop/network/index.d.ts.map +1 -1
  115. package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts +1 -1
  116. package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts.map +1 -1
  117. package/dist/loop/test-utils/MastraLanguageModelV3Mock.d.ts +37 -0
  118. package/dist/loop/test-utils/MastraLanguageModelV3Mock.d.ts.map +1 -0
  119. package/dist/loop/test-utils/fullStream.d.ts +2 -1
  120. package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
  121. package/dist/loop/test-utils/resultObject.d.ts +2 -1
  122. package/dist/loop/test-utils/resultObject.d.ts.map +1 -1
  123. package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
  124. package/dist/loop/test-utils/utils-v3.d.ts +55 -0
  125. package/dist/loop/test-utils/utils-v3.d.ts.map +1 -0
  126. package/dist/loop/types.d.ts +5 -6
  127. package/dist/loop/types.d.ts.map +1 -1
  128. package/dist/loop/workflows/agentic-execution/index.d.ts +36 -36
  129. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +25 -25
  130. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  131. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +12 -12
  132. package/dist/loop/workflows/agentic-loop/index.d.ts +36 -36
  133. package/dist/loop/workflows/run-state.d.ts +2 -2
  134. package/dist/loop/workflows/run-state.d.ts.map +1 -1
  135. package/dist/loop/workflows/schema.d.ts +12 -12
  136. package/dist/mastra/index.cjs +2 -2
  137. package/dist/mastra/index.js +1 -1
  138. package/dist/memory/index.cjs +6 -6
  139. package/dist/memory/index.js +1 -1
  140. package/dist/models-dev-E3WWI7VA.js +3 -0
  141. package/dist/{models-dev-EO22XOXQ.js.map → models-dev-E3WWI7VA.js.map} +1 -1
  142. package/dist/models-dev-PPS7X4JM.cjs +12 -0
  143. package/dist/{models-dev-D3EKFGAO.cjs.map → models-dev-PPS7X4JM.cjs.map} +1 -1
  144. package/dist/netlify-TY656UYF.js +3 -0
  145. package/dist/{netlify-AE4LNCAI.js.map → netlify-TY656UYF.js.map} +1 -1
  146. package/dist/netlify-VZFM5UH3.cjs +12 -0
  147. package/dist/{netlify-WE42TZIT.cjs.map → netlify-VZFM5UH3.cjs.map} +1 -1
  148. package/dist/processors/index.cjs +37 -37
  149. package/dist/processors/index.d.ts +7 -7
  150. package/dist/processors/index.d.ts.map +1 -1
  151. package/dist/processors/index.js +1 -1
  152. package/dist/processors/runner.d.ts.map +1 -1
  153. package/dist/processors/step-schema.d.ts +26 -26
  154. package/dist/processors/step-schema.d.ts.map +1 -1
  155. package/dist/provider-registry-NXVD764B.js +3 -0
  156. package/dist/{provider-registry-6LF3NGC5.js.map → provider-registry-NXVD764B.js.map} +1 -1
  157. package/dist/provider-registry-ZIWSEUQE.cjs +40 -0
  158. package/dist/{provider-registry-73FKMXJV.cjs.map → provider-registry-ZIWSEUQE.cjs.map} +1 -1
  159. package/dist/provider-registry.json +176 -0
  160. package/dist/relevance/index.cjs +3 -3
  161. package/dist/relevance/index.cjs.map +1 -1
  162. package/dist/relevance/index.js +2 -2
  163. package/dist/relevance/index.js.map +1 -1
  164. package/dist/storage/index.cjs +38 -38
  165. package/dist/storage/index.js +1 -1
  166. package/dist/stream/aisdk/v5/execute.d.ts +4 -4
  167. package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
  168. package/dist/stream/aisdk/v5/output.d.ts +2 -2
  169. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  170. package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
  171. package/dist/stream/base/output.d.ts +7 -5
  172. package/dist/stream/base/output.d.ts.map +1 -1
  173. package/dist/stream/index.cjs +12 -12
  174. package/dist/stream/index.js +2 -2
  175. package/dist/stream/types.d.ts +29 -21
  176. package/dist/stream/types.d.ts.map +1 -1
  177. package/dist/test-utils/llm-mock.cjs +4 -4
  178. package/dist/test-utils/llm-mock.cjs.map +1 -1
  179. package/dist/test-utils/llm-mock.js +1 -1
  180. package/dist/test-utils/llm-mock.js.map +1 -1
  181. package/dist/token-6GSAFR2W-LTZ7QQUP.js +61 -0
  182. package/dist/token-6GSAFR2W-LTZ7QQUP.js.map +1 -0
  183. package/dist/token-6GSAFR2W-UEEINYAN.cjs +63 -0
  184. package/dist/token-6GSAFR2W-UEEINYAN.cjs.map +1 -0
  185. package/dist/token-util-NEHG7TUY-QTFZ26EN.js +8 -0
  186. package/dist/token-util-NEHG7TUY-QTFZ26EN.js.map +1 -0
  187. package/dist/token-util-NEHG7TUY-WZL2DNCG.cjs +10 -0
  188. package/dist/token-util-NEHG7TUY-WZL2DNCG.cjs.map +1 -0
  189. package/dist/utils.cjs +22 -22
  190. package/dist/utils.d.ts +2 -2
  191. package/dist/utils.d.ts.map +1 -1
  192. package/dist/utils.js +1 -1
  193. package/dist/vector/embed.d.ts +1 -0
  194. package/dist/vector/embed.d.ts.map +1 -1
  195. package/dist/vector/index.cjs +5300 -0
  196. package/dist/vector/index.cjs.map +1 -1
  197. package/dist/vector/index.js +5279 -1
  198. package/dist/vector/index.js.map +1 -1
  199. package/dist/vector/vector.d.ts +14 -1
  200. package/dist/vector/vector.d.ts.map +1 -1
  201. package/dist/voice/composite-voice.d.ts.map +1 -1
  202. package/dist/voice/index.cjs +6 -6
  203. package/dist/voice/index.js +1 -1
  204. package/dist/workflows/evented/index.cjs +10 -10
  205. package/dist/workflows/evented/index.js +1 -1
  206. package/dist/workflows/evented/step-executor.d.ts +4 -0
  207. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  208. package/dist/workflows/evented/workflow-event-processor/index.d.ts +15 -0
  209. package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
  210. package/dist/workflows/evented/workflow.d.ts +5 -0
  211. package/dist/workflows/evented/workflow.d.ts.map +1 -1
  212. package/dist/workflows/index.cjs +23 -23
  213. package/dist/workflows/index.js +1 -1
  214. package/dist/workflows/workflow.d.ts +4 -1
  215. package/dist/workflows/workflow.d.ts.map +1 -1
  216. package/package.json +10 -12
  217. package/src/llm/model/provider-types.generated.d.ts +84 -0
  218. package/dist/chunk-4BC5FUAO.js.map +0 -1
  219. package/dist/chunk-5VZGJTPR.js.map +0 -1
  220. package/dist/chunk-62Q7K656.js.map +0 -1
  221. package/dist/chunk-AGHLXC4I.cjs.map +0 -1
  222. package/dist/chunk-ARAQIW6E.js.map +0 -1
  223. package/dist/chunk-BQDZIQ3G.js.map +0 -1
  224. package/dist/chunk-E5BQRAJK.js.map +0 -1
  225. package/dist/chunk-GIWC35YQ.js.map +0 -1
  226. package/dist/chunk-H4VUIOWU.cjs.map +0 -1
  227. package/dist/chunk-IXZ2T2QX.cjs +0 -448
  228. package/dist/chunk-IXZ2T2QX.cjs.map +0 -1
  229. package/dist/chunk-MRRFTNF4.js.map +0 -1
  230. package/dist/chunk-MXBVP7HX.cjs.map +0 -1
  231. package/dist/chunk-OWIEOL55.cjs.map +0 -1
  232. package/dist/chunk-PJAK4U6R.cjs.map +0 -1
  233. package/dist/chunk-R5AJGM55.cjs.map +0 -1
  234. package/dist/chunk-SZYSDJTN.cjs.map +0 -1
  235. package/dist/chunk-U4CSOY6T.cjs.map +0 -1
  236. package/dist/chunk-UBSPZTQX.js +0 -434
  237. package/dist/chunk-UBSPZTQX.js.map +0 -1
  238. package/dist/chunk-WYGUWVTF.js.map +0 -1
  239. package/dist/chunk-WYWRMIQC.js.map +0 -1
  240. package/dist/chunk-X6IBA7FP.cjs.map +0 -1
  241. package/dist/chunk-Y7MZ5LJT.cjs.map +0 -1
  242. package/dist/llm/model/is-v2-model.d.ts +0 -3
  243. package/dist/llm/model/is-v2-model.d.ts.map +0 -1
  244. package/dist/models-dev-D3EKFGAO.cjs +0 -12
  245. package/dist/models-dev-EO22XOXQ.js +0 -3
  246. package/dist/netlify-AE4LNCAI.js +0 -3
  247. package/dist/netlify-WE42TZIT.cjs +0 -12
  248. package/dist/provider-registry-6LF3NGC5.js +0 -3
  249. package/dist/provider-registry-73FKMXJV.cjs +0 -40
@@ -73,11 +73,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
73
73
  files?: any[] | undefined;
74
74
  toolCalls?: any[] | undefined;
75
75
  toolResults?: any[] | undefined;
76
- reasoningText?: string | undefined;
77
- staticToolCalls?: any[] | undefined;
78
76
  dynamicToolCalls?: any[] | undefined;
79
- staticToolResults?: any[] | undefined;
80
77
  dynamicToolResults?: any[] | undefined;
78
+ staticToolCalls?: any[] | undefined;
79
+ staticToolResults?: any[] | undefined;
80
+ reasoningText?: string | undefined;
81
81
  }, {
82
82
  usage: {
83
83
  inputTokens: number;
@@ -93,11 +93,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
93
93
  files?: any[] | undefined;
94
94
  toolCalls?: any[] | undefined;
95
95
  toolResults?: any[] | undefined;
96
- reasoningText?: string | undefined;
97
- staticToolCalls?: any[] | undefined;
98
96
  dynamicToolCalls?: any[] | undefined;
99
- staticToolResults?: any[] | undefined;
100
97
  dynamicToolResults?: any[] | undefined;
98
+ staticToolCalls?: any[] | undefined;
99
+ staticToolResults?: any[] | undefined;
100
+ reasoningText?: string | undefined;
101
101
  }>;
102
102
  metadata: import("zod").ZodObject<{
103
103
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -223,11 +223,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
223
223
  files?: any[] | undefined;
224
224
  toolCalls?: any[] | undefined;
225
225
  toolResults?: any[] | undefined;
226
- reasoningText?: string | undefined;
227
- staticToolCalls?: any[] | undefined;
228
226
  dynamicToolCalls?: any[] | undefined;
229
- staticToolResults?: any[] | undefined;
230
227
  dynamicToolResults?: any[] | undefined;
228
+ staticToolCalls?: any[] | undefined;
229
+ staticToolResults?: any[] | undefined;
230
+ reasoningText?: string | undefined;
231
231
  };
232
232
  messageId: string;
233
233
  metadata: {
@@ -283,11 +283,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
283
283
  files?: any[] | undefined;
284
284
  toolCalls?: any[] | undefined;
285
285
  toolResults?: any[] | undefined;
286
- reasoningText?: string | undefined;
287
- staticToolCalls?: any[] | undefined;
288
286
  dynamicToolCalls?: any[] | undefined;
289
- staticToolResults?: any[] | undefined;
290
287
  dynamicToolResults?: any[] | undefined;
288
+ staticToolCalls?: any[] | undefined;
289
+ staticToolResults?: any[] | undefined;
290
+ reasoningText?: string | undefined;
291
291
  };
292
292
  messageId: string;
293
293
  metadata: {
@@ -389,11 +389,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
389
389
  files?: any[] | undefined;
390
390
  toolCalls?: any[] | undefined;
391
391
  toolResults?: any[] | undefined;
392
- reasoningText?: string | undefined;
393
- staticToolCalls?: any[] | undefined;
394
392
  dynamicToolCalls?: any[] | undefined;
395
- staticToolResults?: any[] | undefined;
396
393
  dynamicToolResults?: any[] | undefined;
394
+ staticToolCalls?: any[] | undefined;
395
+ staticToolResults?: any[] | undefined;
396
+ reasoningText?: string | undefined;
397
397
  }, {
398
398
  usage: {
399
399
  inputTokens: number;
@@ -409,11 +409,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
409
409
  files?: any[] | undefined;
410
410
  toolCalls?: any[] | undefined;
411
411
  toolResults?: any[] | undefined;
412
- reasoningText?: string | undefined;
413
- staticToolCalls?: any[] | undefined;
414
412
  dynamicToolCalls?: any[] | undefined;
415
- staticToolResults?: any[] | undefined;
416
413
  dynamicToolResults?: any[] | undefined;
414
+ staticToolCalls?: any[] | undefined;
415
+ staticToolResults?: any[] | undefined;
416
+ reasoningText?: string | undefined;
417
417
  }>;
418
418
  metadata: import("zod").ZodObject<{
419
419
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -539,11 +539,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
539
539
  files?: any[] | undefined;
540
540
  toolCalls?: any[] | undefined;
541
541
  toolResults?: any[] | undefined;
542
- reasoningText?: string | undefined;
543
- staticToolCalls?: any[] | undefined;
544
542
  dynamicToolCalls?: any[] | undefined;
545
- staticToolResults?: any[] | undefined;
546
543
  dynamicToolResults?: any[] | undefined;
544
+ staticToolCalls?: any[] | undefined;
545
+ staticToolResults?: any[] | undefined;
546
+ reasoningText?: string | undefined;
547
547
  };
548
548
  messageId: string;
549
549
  metadata: {
@@ -599,11 +599,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
599
599
  files?: any[] | undefined;
600
600
  toolCalls?: any[] | undefined;
601
601
  toolResults?: any[] | undefined;
602
- reasoningText?: string | undefined;
603
- staticToolCalls?: any[] | undefined;
604
602
  dynamicToolCalls?: any[] | undefined;
605
- staticToolResults?: any[] | undefined;
606
603
  dynamicToolResults?: any[] | undefined;
604
+ staticToolCalls?: any[] | undefined;
605
+ staticToolResults?: any[] | undefined;
606
+ reasoningText?: string | undefined;
607
607
  };
608
608
  messageId: string;
609
609
  metadata: {
@@ -705,11 +705,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
705
705
  files?: any[] | undefined;
706
706
  toolCalls?: any[] | undefined;
707
707
  toolResults?: any[] | undefined;
708
- reasoningText?: string | undefined;
709
- staticToolCalls?: any[] | undefined;
710
708
  dynamicToolCalls?: any[] | undefined;
711
- staticToolResults?: any[] | undefined;
712
709
  dynamicToolResults?: any[] | undefined;
710
+ staticToolCalls?: any[] | undefined;
711
+ staticToolResults?: any[] | undefined;
712
+ reasoningText?: string | undefined;
713
713
  }, {
714
714
  usage: {
715
715
  inputTokens: number;
@@ -725,11 +725,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
725
725
  files?: any[] | undefined;
726
726
  toolCalls?: any[] | undefined;
727
727
  toolResults?: any[] | undefined;
728
- reasoningText?: string | undefined;
729
- staticToolCalls?: any[] | undefined;
730
728
  dynamicToolCalls?: any[] | undefined;
731
- staticToolResults?: any[] | undefined;
732
729
  dynamicToolResults?: any[] | undefined;
730
+ staticToolCalls?: any[] | undefined;
731
+ staticToolResults?: any[] | undefined;
732
+ reasoningText?: string | undefined;
733
733
  }>;
734
734
  metadata: import("zod").ZodObject<{
735
735
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -855,11 +855,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
855
855
  files?: any[] | undefined;
856
856
  toolCalls?: any[] | undefined;
857
857
  toolResults?: any[] | undefined;
858
- reasoningText?: string | undefined;
859
- staticToolCalls?: any[] | undefined;
860
858
  dynamicToolCalls?: any[] | undefined;
861
- staticToolResults?: any[] | undefined;
862
859
  dynamicToolResults?: any[] | undefined;
860
+ staticToolCalls?: any[] | undefined;
861
+ staticToolResults?: any[] | undefined;
862
+ reasoningText?: string | undefined;
863
863
  };
864
864
  messageId: string;
865
865
  metadata: {
@@ -915,11 +915,11 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
915
915
  files?: any[] | undefined;
916
916
  toolCalls?: any[] | undefined;
917
917
  toolResults?: any[] | undefined;
918
- reasoningText?: string | undefined;
919
- staticToolCalls?: any[] | undefined;
920
918
  dynamicToolCalls?: any[] | undefined;
921
- staticToolResults?: any[] | undefined;
922
919
  dynamicToolResults?: any[] | undefined;
920
+ staticToolCalls?: any[] | undefined;
921
+ staticToolResults?: any[] | undefined;
922
+ reasoningText?: string | undefined;
923
923
  };
924
924
  messageId: string;
925
925
  metadata: {
@@ -1,4 +1,4 @@
1
- import type { MastraLanguageModelV2 } from '../../llm/model/shared.types.js';
1
+ import type { MastraLanguageModel } from '../../llm/model/shared.types.js';
2
2
  import type { StreamInternal } from '../types.js';
3
3
  type State = {
4
4
  stepResult: Record<string, any> | undefined;
@@ -20,7 +20,7 @@ export declare class AgenticRunState {
20
20
  #private;
21
21
  constructor({ _internal, model }: {
22
22
  _internal: StreamInternal;
23
- model: MastraLanguageModelV2;
23
+ model: MastraLanguageModel;
24
24
  });
25
25
  setState(state: Partial<State>): void;
26
26
  get state(): State;
@@ -1 +1 @@
1
- {"version":3,"file":"run-state.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/run-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;IAC5C,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;IAClD,aAAa,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,eAAe;;gBAEd,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;QAAE,SAAS,EAAE,cAAc,CAAC;QAAC,KAAK,EAAE,qBAAqB,CAAA;KAAE;IA0B7F,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;IAO9B,IAAI,KAAK,UAER;CACF"}
1
+ {"version":3,"file":"run-state.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/run-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;IAC5C,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;IAClD,aAAa,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,qBAAa,eAAe;;gBAEd,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;QAAE,SAAS,EAAE,cAAc,CAAC;QAAC,KAAK,EAAE,mBAAmB,CAAA;KAAE;IA0B3F,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC;IAO9B,IAAI,KAAK,UAER;CACF"}
@@ -186,11 +186,11 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
186
186
  files?: any[] | undefined;
187
187
  toolCalls?: any[] | undefined;
188
188
  toolResults?: any[] | undefined;
189
- reasoningText?: string | undefined;
190
- staticToolCalls?: any[] | undefined;
191
189
  dynamicToolCalls?: any[] | undefined;
192
- staticToolResults?: any[] | undefined;
193
190
  dynamicToolResults?: any[] | undefined;
191
+ staticToolCalls?: any[] | undefined;
192
+ staticToolResults?: any[] | undefined;
193
+ reasoningText?: string | undefined;
194
194
  }, {
195
195
  usage: {
196
196
  inputTokens: number;
@@ -206,11 +206,11 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
206
206
  files?: any[] | undefined;
207
207
  toolCalls?: any[] | undefined;
208
208
  toolResults?: any[] | undefined;
209
- reasoningText?: string | undefined;
210
- staticToolCalls?: any[] | undefined;
211
209
  dynamicToolCalls?: any[] | undefined;
212
- staticToolResults?: any[] | undefined;
213
210
  dynamicToolResults?: any[] | undefined;
211
+ staticToolCalls?: any[] | undefined;
212
+ staticToolResults?: any[] | undefined;
213
+ reasoningText?: string | undefined;
214
214
  }>;
215
215
  metadata: z.ZodObject<{
216
216
  id: z.ZodOptional<z.ZodString>;
@@ -336,11 +336,11 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
336
336
  files?: any[] | undefined;
337
337
  toolCalls?: any[] | undefined;
338
338
  toolResults?: any[] | undefined;
339
- reasoningText?: string | undefined;
340
- staticToolCalls?: any[] | undefined;
341
339
  dynamicToolCalls?: any[] | undefined;
342
- staticToolResults?: any[] | undefined;
343
340
  dynamicToolResults?: any[] | undefined;
341
+ staticToolCalls?: any[] | undefined;
342
+ staticToolResults?: any[] | undefined;
343
+ reasoningText?: string | undefined;
344
344
  };
345
345
  messageId: string;
346
346
  metadata: {
@@ -396,11 +396,11 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
396
396
  files?: any[] | undefined;
397
397
  toolCalls?: any[] | undefined;
398
398
  toolResults?: any[] | undefined;
399
- reasoningText?: string | undefined;
400
- staticToolCalls?: any[] | undefined;
401
399
  dynamicToolCalls?: any[] | undefined;
402
- staticToolResults?: any[] | undefined;
403
400
  dynamicToolResults?: any[] | undefined;
401
+ staticToolCalls?: any[] | undefined;
402
+ staticToolResults?: any[] | undefined;
403
+ reasoningText?: string | undefined;
404
404
  };
405
405
  messageId: string;
406
406
  metadata: {
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkVEPP75C4_cjs = require('../chunk-VEPP75C4.cjs');
3
+ var chunkDBW6S25C_cjs = require('../chunk-DBW6S25C.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunkVEPP75C4_cjs.Mastra; }
9
+ get: function () { return chunkDBW6S25C_cjs.Mastra; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { Mastra } from '../chunk-2IU4RGU5.js';
1
+ export { Mastra } from '../chunk-5UQ5TB6J.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkR5AJGM55_cjs = require('../chunk-R5AJGM55.cjs');
3
+ var chunkJAGQZZ43_cjs = require('../chunk-JAGQZZ43.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunkR5AJGM55_cjs.MastraMemory; }
9
+ get: function () { return chunkJAGQZZ43_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkR5AJGM55_cjs.MemoryProcessor; }
13
+ get: function () { return chunkJAGQZZ43_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "MockMemory", {
16
16
  enumerable: true,
17
- get: function () { return chunkR5AJGM55_cjs.MockMemory; }
17
+ get: function () { return chunkJAGQZZ43_cjs.MockMemory; }
18
18
  });
19
19
  Object.defineProperty(exports, "memoryDefaultOptions", {
20
20
  enumerable: true,
21
- get: function () { return chunkR5AJGM55_cjs.memoryDefaultOptions; }
21
+ get: function () { return chunkJAGQZZ43_cjs.memoryDefaultOptions; }
22
22
  });
23
23
  Object.defineProperty(exports, "parseMemoryRequestContext", {
24
24
  enumerable: true,
25
- get: function () { return chunkR5AJGM55_cjs.parseMemoryRequestContext; }
25
+ get: function () { return chunkJAGQZZ43_cjs.parseMemoryRequestContext; }
26
26
  });
27
27
  //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { MastraMemory, MemoryProcessor, MockMemory, memoryDefaultOptions, parseMemoryRequestContext } from '../chunk-E5BQRAJK.js';
1
+ export { MastraMemory, MemoryProcessor, MockMemory, memoryDefaultOptions, parseMemoryRequestContext } from '../chunk-QF4MHFSU.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ export { ModelsDevGateway } from './chunk-VZJOEGQA.js';
2
+ //# sourceMappingURL=models-dev-E3WWI7VA.js.map
3
+ //# sourceMappingURL=models-dev-E3WWI7VA.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-EO22XOXQ.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-E3WWI7VA.js"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkEGHGFLL3_cjs = require('./chunk-EGHGFLL3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "ModelsDevGateway", {
8
+ enumerable: true,
9
+ get: function () { return chunkEGHGFLL3_cjs.ModelsDevGateway; }
10
+ });
11
+ //# sourceMappingURL=models-dev-PPS7X4JM.cjs.map
12
+ //# sourceMappingURL=models-dev-PPS7X4JM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-D3EKFGAO.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-PPS7X4JM.cjs"}
@@ -0,0 +1,3 @@
1
+ export { NetlifyGateway } from './chunk-SLBWA2F3.js';
2
+ //# sourceMappingURL=netlify-TY656UYF.js.map
3
+ //# sourceMappingURL=netlify-TY656UYF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-AE4LNCAI.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-TY656UYF.js"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkTDM43G4I_cjs = require('./chunk-TDM43G4I.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "NetlifyGateway", {
8
+ enumerable: true,
9
+ get: function () { return chunkTDM43G4I_cjs.NetlifyGateway; }
10
+ });
11
+ //# sourceMappingURL=netlify-VZFM5UH3.cjs.map
12
+ //# sourceMappingURL=netlify-VZFM5UH3.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-WE42TZIT.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-VZFM5UH3.cjs"}
@@ -1,152 +1,152 @@
1
1
  'use strict';
2
2
 
3
- var chunkR5AJGM55_cjs = require('../chunk-R5AJGM55.cjs');
3
+ var chunkJAGQZZ43_cjs = require('../chunk-JAGQZZ43.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "BatchPartsProcessor", {
8
8
  enumerable: true,
9
- get: function () { return chunkR5AJGM55_cjs.BatchPartsProcessor; }
9
+ get: function () { return chunkJAGQZZ43_cjs.BatchPartsProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "FilePartSchema", {
12
12
  enumerable: true,
13
- get: function () { return chunkR5AJGM55_cjs.FilePartSchema; }
13
+ get: function () { return chunkJAGQZZ43_cjs.FilePartSchema; }
14
14
  });
15
15
  Object.defineProperty(exports, "ImagePartSchema", {
16
16
  enumerable: true,
17
- get: function () { return chunkR5AJGM55_cjs.ImagePartSchema; }
17
+ get: function () { return chunkJAGQZZ43_cjs.ImagePartSchema; }
18
18
  });
19
19
  Object.defineProperty(exports, "LanguageDetector", {
20
20
  enumerable: true,
21
- get: function () { return chunkR5AJGM55_cjs.LanguageDetector; }
21
+ get: function () { return chunkJAGQZZ43_cjs.LanguageDetector; }
22
22
  });
23
23
  Object.defineProperty(exports, "MessageContentSchema", {
24
24
  enumerable: true,
25
- get: function () { return chunkR5AJGM55_cjs.MessageContentSchema; }
25
+ get: function () { return chunkJAGQZZ43_cjs.MessageContentSchema; }
26
26
  });
27
27
  Object.defineProperty(exports, "MessageHistory", {
28
28
  enumerable: true,
29
- get: function () { return chunkR5AJGM55_cjs.MessageHistory; }
29
+ get: function () { return chunkJAGQZZ43_cjs.MessageHistory; }
30
30
  });
31
31
  Object.defineProperty(exports, "MessagePartSchema", {
32
32
  enumerable: true,
33
- get: function () { return chunkR5AJGM55_cjs.MessagePartSchema; }
33
+ get: function () { return chunkJAGQZZ43_cjs.MessagePartSchema; }
34
34
  });
35
35
  Object.defineProperty(exports, "ModerationProcessor", {
36
36
  enumerable: true,
37
- get: function () { return chunkR5AJGM55_cjs.ModerationProcessor; }
37
+ get: function () { return chunkJAGQZZ43_cjs.ModerationProcessor; }
38
38
  });
39
39
  Object.defineProperty(exports, "PIIDetector", {
40
40
  enumerable: true,
41
- get: function () { return chunkR5AJGM55_cjs.PIIDetector; }
41
+ get: function () { return chunkJAGQZZ43_cjs.PIIDetector; }
42
42
  });
43
43
  Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
44
44
  enumerable: true,
45
- get: function () { return chunkR5AJGM55_cjs.ProcessorInputPhaseSchema; }
45
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorInputPhaseSchema; }
46
46
  });
47
47
  Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
48
48
  enumerable: true,
49
- get: function () { return chunkR5AJGM55_cjs.ProcessorInputStepPhaseSchema; }
49
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorInputStepPhaseSchema; }
50
50
  });
51
51
  Object.defineProperty(exports, "ProcessorMessageContentSchema", {
52
52
  enumerable: true,
53
- get: function () { return chunkR5AJGM55_cjs.ProcessorMessageContentSchema; }
53
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorMessageContentSchema; }
54
54
  });
55
55
  Object.defineProperty(exports, "ProcessorMessageSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunkR5AJGM55_cjs.ProcessorMessageSchema; }
57
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorMessageSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunkR5AJGM55_cjs.ProcessorOutputResultPhaseSchema; }
61
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorOutputResultPhaseSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkR5AJGM55_cjs.ProcessorOutputStepPhaseSchema; }
65
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorOutputStepPhaseSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
68
68
  enumerable: true,
69
- get: function () { return chunkR5AJGM55_cjs.ProcessorOutputStreamPhaseSchema; }
69
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorOutputStreamPhaseSchema; }
70
70
  });
71
71
  Object.defineProperty(exports, "ProcessorRunner", {
72
72
  enumerable: true,
73
- get: function () { return chunkR5AJGM55_cjs.ProcessorRunner; }
73
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorRunner; }
74
74
  });
75
75
  Object.defineProperty(exports, "ProcessorState", {
76
76
  enumerable: true,
77
- get: function () { return chunkR5AJGM55_cjs.ProcessorState; }
77
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorState; }
78
78
  });
79
79
  Object.defineProperty(exports, "ProcessorStepInputSchema", {
80
80
  enumerable: true,
81
- get: function () { return chunkR5AJGM55_cjs.ProcessorStepInputSchema; }
81
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorStepInputSchema; }
82
82
  });
83
83
  Object.defineProperty(exports, "ProcessorStepOutputSchema", {
84
84
  enumerable: true,
85
- get: function () { return chunkR5AJGM55_cjs.ProcessorStepOutputSchema; }
85
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorStepOutputSchema; }
86
86
  });
87
87
  Object.defineProperty(exports, "ProcessorStepSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunkR5AJGM55_cjs.ProcessorStepSchema; }
89
+ get: function () { return chunkJAGQZZ43_cjs.ProcessorStepSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "PromptInjectionDetector", {
92
92
  enumerable: true,
93
- get: function () { return chunkR5AJGM55_cjs.PromptInjectionDetector; }
93
+ get: function () { return chunkJAGQZZ43_cjs.PromptInjectionDetector; }
94
94
  });
95
95
  Object.defineProperty(exports, "ReasoningPartSchema", {
96
96
  enumerable: true,
97
- get: function () { return chunkR5AJGM55_cjs.ReasoningPartSchema; }
97
+ get: function () { return chunkJAGQZZ43_cjs.ReasoningPartSchema; }
98
98
  });
99
99
  Object.defineProperty(exports, "SemanticRecall", {
100
100
  enumerable: true,
101
- get: function () { return chunkR5AJGM55_cjs.SemanticRecall; }
101
+ get: function () { return chunkJAGQZZ43_cjs.SemanticRecall; }
102
102
  });
103
103
  Object.defineProperty(exports, "SourcePartSchema", {
104
104
  enumerable: true,
105
- get: function () { return chunkR5AJGM55_cjs.SourcePartSchema; }
105
+ get: function () { return chunkJAGQZZ43_cjs.SourcePartSchema; }
106
106
  });
107
107
  Object.defineProperty(exports, "StepStartPartSchema", {
108
108
  enumerable: true,
109
- get: function () { return chunkR5AJGM55_cjs.StepStartPartSchema; }
109
+ get: function () { return chunkJAGQZZ43_cjs.StepStartPartSchema; }
110
110
  });
111
111
  Object.defineProperty(exports, "StructuredOutputProcessor", {
112
112
  enumerable: true,
113
- get: function () { return chunkR5AJGM55_cjs.StructuredOutputProcessor; }
113
+ get: function () { return chunkJAGQZZ43_cjs.StructuredOutputProcessor; }
114
114
  });
115
115
  Object.defineProperty(exports, "SystemPromptScrubber", {
116
116
  enumerable: true,
117
- get: function () { return chunkR5AJGM55_cjs.SystemPromptScrubber; }
117
+ get: function () { return chunkJAGQZZ43_cjs.SystemPromptScrubber; }
118
118
  });
119
119
  Object.defineProperty(exports, "TextPartSchema", {
120
120
  enumerable: true,
121
- get: function () { return chunkR5AJGM55_cjs.TextPartSchema; }
121
+ get: function () { return chunkJAGQZZ43_cjs.TextPartSchema; }
122
122
  });
123
123
  Object.defineProperty(exports, "TokenLimiter", {
124
124
  enumerable: true,
125
- get: function () { return chunkR5AJGM55_cjs.TokenLimiterProcessor; }
125
+ get: function () { return chunkJAGQZZ43_cjs.TokenLimiterProcessor; }
126
126
  });
127
127
  Object.defineProperty(exports, "TokenLimiterProcessor", {
128
128
  enumerable: true,
129
- get: function () { return chunkR5AJGM55_cjs.TokenLimiterProcessor; }
129
+ get: function () { return chunkJAGQZZ43_cjs.TokenLimiterProcessor; }
130
130
  });
131
131
  Object.defineProperty(exports, "ToolCallFilter", {
132
132
  enumerable: true,
133
- get: function () { return chunkR5AJGM55_cjs.ToolCallFilter; }
133
+ get: function () { return chunkJAGQZZ43_cjs.ToolCallFilter; }
134
134
  });
135
135
  Object.defineProperty(exports, "ToolInvocationPartSchema", {
136
136
  enumerable: true,
137
- get: function () { return chunkR5AJGM55_cjs.ToolInvocationPartSchema; }
137
+ get: function () { return chunkJAGQZZ43_cjs.ToolInvocationPartSchema; }
138
138
  });
139
139
  Object.defineProperty(exports, "UnicodeNormalizer", {
140
140
  enumerable: true,
141
- get: function () { return chunkR5AJGM55_cjs.UnicodeNormalizer; }
141
+ get: function () { return chunkJAGQZZ43_cjs.UnicodeNormalizer; }
142
142
  });
143
143
  Object.defineProperty(exports, "WorkingMemory", {
144
144
  enumerable: true,
145
- get: function () { return chunkR5AJGM55_cjs.WorkingMemory; }
145
+ get: function () { return chunkJAGQZZ43_cjs.WorkingMemory; }
146
146
  });
147
147
  Object.defineProperty(exports, "isProcessorWorkflow", {
148
148
  enumerable: true,
149
- get: function () { return chunkR5AJGM55_cjs.isProcessorWorkflow; }
149
+ get: function () { return chunkJAGQZZ43_cjs.isProcessorWorkflow; }
150
150
  });
151
151
  //# sourceMappingURL=index.cjs.map
152
152
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- import type { LanguageModelV2, SharedV2ProviderOptions } from '@ai-sdk/provider-v5';
1
+ import type { LanguageModelV2 } from '@ai-sdk/provider-v5';
2
2
  import type { CoreMessage as CoreMessageV4 } from '../_types/@internal_ai-sdk-v4/dist/index.js';
3
3
  import type { CallSettings, StepResult, ToolChoice } from '../_types/@internal_ai-sdk-v5/dist/index.js';
4
4
  import type { MessageList, MastraDBMessage } from '../agent/message-list/index.js';
5
5
  import type { TripWireOptions } from '../agent/trip-wire.js';
6
6
  import type { ModelRouterModelId } from '../llm/model/index.js';
7
- import type { MastraLanguageModelV2, OpenAICompatibleConfig } from '../llm/model/shared.types.js';
7
+ import type { MastraLanguageModel, OpenAICompatibleConfig, SharedProviderOptions } from '../llm/model/shared.types.js';
8
8
  import type { TracingContext } from '../observability/index.js';
9
9
  import type { RequestContext } from '../request-context/index.js';
10
10
  import type { ChunkType, OutputSchema } from '../stream/index.js';
@@ -85,12 +85,12 @@ export interface ProcessInputStepArgs<TTripwireMetadata = unknown> extends Proce
85
85
  * Current model for this step.
86
86
  * Can be a resolved MastraLanguageModelV2 or an unresolved config (string, OpenAI-compatible config).
87
87
  */
88
- model: MastraLanguageModelV2;
88
+ model: MastraLanguageModel;
89
89
  /** Current tools available for this step */
90
90
  tools?: Record<string, unknown>;
91
91
  toolChoice?: ToolChoice<any>;
92
92
  activeTools?: string[];
93
- providerOptions?: SharedV2ProviderOptions;
93
+ providerOptions?: SharedProviderOptions;
94
94
  modelSettings?: Omit<CallSettings, 'abortSignal'>;
95
95
  /**
96
96
  * Structured output configuration. The schema type is OutputSchema (not the specific OUTPUT)
@@ -111,7 +111,7 @@ export type RunProcessInputStepArgs = Omit<ProcessInputStepArgs, 'messages' | 's
111
111
  * processors can modify it dynamically, and the actual type is only known at runtime.
112
112
  */
113
113
  export type ProcessInputStepResult = {
114
- model?: LanguageModelV2 | ModelRouterModelId | OpenAICompatibleConfig | MastraLanguageModelV2;
114
+ model?: LanguageModelV2 | ModelRouterModelId | OpenAICompatibleConfig | MastraLanguageModel;
115
115
  /** Replace tools for this step - accepts both AI SDK tools and Mastra createTool results */
116
116
  tools?: Record<string, unknown>;
117
117
  toolChoice?: ToolChoice<any>;
@@ -120,7 +120,7 @@ export type ProcessInputStepResult = {
120
120
  messageList?: MessageList;
121
121
  /** Replace all system messages with these */
122
122
  systemMessages?: CoreMessageV4[];
123
- providerOptions?: SharedV2ProviderOptions;
123
+ providerOptions?: SharedProviderOptions;
124
124
  modelSettings?: Omit<CallSettings, 'abortSignal'>;
125
125
  /**
126
126
  * Structured output configuration. The schema type is OutputSchema (not the specific OUTPUT)
@@ -134,7 +134,7 @@ export type ProcessInputStepResult = {
134
134
  retryCount?: number;
135
135
  };
136
136
  export type RunProcessInputStepResult = Omit<ProcessInputStepResult, 'model'> & {
137
- model?: MastraLanguageModelV2;
137
+ model?: MastraLanguageModel;
138
138
  };
139
139
  /**
140
140
  * Arguments for processOutputStream method