@mastra/core 0.21.1 → 0.21.2-alpha.0

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 (212) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/agent/__tests__/mock-model.d.ts +6 -0
  3. package/dist/agent/__tests__/mock-model.d.ts.map +1 -0
  4. package/dist/agent/agent.d.ts +9 -4
  5. package/dist/agent/agent.d.ts.map +1 -1
  6. package/dist/agent/agent.types.d.ts +4 -3
  7. package/dist/agent/agent.types.d.ts.map +1 -1
  8. package/dist/agent/index.cjs +13 -13
  9. package/dist/agent/index.js +2 -2
  10. package/dist/agent/input-processor/index.cjs +6 -6
  11. package/dist/agent/input-processor/index.js +1 -1
  12. package/dist/agent/message-list/index.d.ts.map +1 -1
  13. package/dist/agent/message-list/utils/ai-v5/gemini-compatibility.d.ts +22 -0
  14. package/dist/agent/message-list/utils/ai-v5/gemini-compatibility.d.ts.map +1 -0
  15. package/dist/agent/types.d.ts +5 -0
  16. package/dist/agent/types.d.ts.map +1 -1
  17. package/dist/agent/utils.d.ts.map +1 -1
  18. package/dist/agent/workflows/prepare-stream/index.d.ts +7 -4
  19. package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
  20. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +7 -4
  21. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  22. package/dist/agent/workflows/prepare-stream/schema.d.ts +4 -4
  23. package/dist/agent/workflows/prepare-stream/stream-step.d.ts +3 -0
  24. package/dist/agent/workflows/prepare-stream/stream-step.d.ts.map +1 -1
  25. package/dist/ai-tracing/index.cjs +32 -32
  26. package/dist/ai-tracing/index.js +1 -1
  27. package/dist/{chunk-NHKXTGR6.js → chunk-4ZFVJA3A.js} +3 -3
  28. package/dist/{chunk-NHKXTGR6.js.map → chunk-4ZFVJA3A.js.map} +1 -1
  29. package/dist/{chunk-XVREJCOW.cjs → chunk-7P5FMQQK.cjs} +6 -6
  30. package/dist/{chunk-XVREJCOW.cjs.map → chunk-7P5FMQQK.cjs.map} +1 -1
  31. package/dist/{chunk-3V4O35FO.js → chunk-BLVB2IJK.js} +3 -3
  32. package/dist/{chunk-3V4O35FO.js.map → chunk-BLVB2IJK.js.map} +1 -1
  33. package/dist/{chunk-FESSBG5D.cjs → chunk-D3IOLHNB.cjs} +12 -12
  34. package/dist/{chunk-FESSBG5D.cjs.map → chunk-D3IOLHNB.cjs.map} +1 -1
  35. package/dist/{chunk-KAV4EP3T.cjs → chunk-EGNHIPGJ.cjs} +4 -4
  36. package/dist/{chunk-KAV4EP3T.cjs.map → chunk-EGNHIPGJ.cjs.map} +1 -1
  37. package/dist/{chunk-5NR2GY4U.js → chunk-GB5BIA4V.js} +5 -3
  38. package/dist/chunk-GB5BIA4V.js.map +1 -0
  39. package/dist/{chunk-J2OKI2L3.js → chunk-GKTRUHKB.js} +10 -5
  40. package/dist/chunk-GKTRUHKB.js.map +1 -0
  41. package/dist/{chunk-A3QHQYMC.js → chunk-HGNRQ3OG.js} +12 -2
  42. package/dist/chunk-HGNRQ3OG.js.map +1 -0
  43. package/dist/{chunk-MUAFIPD7.js → chunk-KLWDUSBX.js} +4 -4
  44. package/dist/{chunk-MUAFIPD7.js.map → chunk-KLWDUSBX.js.map} +1 -1
  45. package/dist/chunk-LJFJTTZQ.cjs +4 -0
  46. package/dist/chunk-LJFJTTZQ.cjs.map +1 -0
  47. package/dist/{chunk-T3PBU7JK.js → chunk-LMP5KMU3.js} +34 -45
  48. package/dist/chunk-LMP5KMU3.js.map +1 -0
  49. package/dist/{chunk-OXAN5SM7.cjs → chunk-LRSB62Z6.cjs} +12 -2
  50. package/dist/chunk-LRSB62Z6.cjs.map +1 -0
  51. package/dist/{chunk-3ORA5EFD.cjs → chunk-LZUSZT7R.cjs} +5 -3
  52. package/dist/chunk-LZUSZT7R.cjs.map +1 -0
  53. package/dist/{chunk-XHPBKALR.cjs → chunk-MVVMHOAC.cjs} +15 -12
  54. package/dist/chunk-MVVMHOAC.cjs.map +1 -0
  55. package/dist/{chunk-HBJVAMCS.js → chunk-N3ZSX5OS.js} +31 -32
  56. package/dist/chunk-N3ZSX5OS.js.map +1 -0
  57. package/dist/{chunk-HP7B2TQQ.js → chunk-NIESGYOH.js} +1654 -1469
  58. package/dist/chunk-NIESGYOH.js.map +1 -0
  59. package/dist/{chunk-F6BMIPYW.js → chunk-NL3P7IFI.js} +3 -3
  60. package/dist/{chunk-F6BMIPYW.js.map → chunk-NL3P7IFI.js.map} +1 -1
  61. package/dist/{chunk-U6CUPKV2.js → chunk-R35PINKN.js} +5 -5
  62. package/dist/{chunk-U6CUPKV2.js.map → chunk-R35PINKN.js.map} +1 -1
  63. package/dist/{chunk-W3DS6F6G.cjs → chunk-UN653TND.cjs} +4 -4
  64. package/dist/{chunk-W3DS6F6G.cjs.map → chunk-UN653TND.cjs.map} +1 -1
  65. package/dist/{chunk-44ODA6L3.cjs → chunk-URQI7RJ3.cjs} +4 -4
  66. package/dist/{chunk-44ODA6L3.cjs.map → chunk-URQI7RJ3.cjs.map} +1 -1
  67. package/dist/{chunk-APY2BE4K.cjs → chunk-URVM3Y4T.cjs} +35 -46
  68. package/dist/chunk-URVM3Y4T.cjs.map +1 -0
  69. package/dist/{chunk-AJK7QPSD.cjs → chunk-V5WDWSQ5.cjs} +11 -11
  70. package/dist/{chunk-AJK7QPSD.cjs.map → chunk-V5WDWSQ5.cjs.map} +1 -1
  71. package/dist/{chunk-FLXB6WXO.js → chunk-VQLW7LPO.js} +5 -3
  72. package/dist/chunk-VQLW7LPO.js.map +1 -0
  73. package/dist/{chunk-462DRETM.cjs → chunk-WI2YMBNG.cjs} +64 -66
  74. package/dist/chunk-WI2YMBNG.cjs.map +1 -0
  75. package/dist/{chunk-NUURZ3AY.js → chunk-XBJP7THY.js} +6 -3
  76. package/dist/chunk-XBJP7THY.js.map +1 -0
  77. package/dist/{chunk-5DZ4RYWL.js → chunk-XYNSPEJO.js} +3 -3
  78. package/dist/{chunk-5DZ4RYWL.js.map → chunk-XYNSPEJO.js.map} +1 -1
  79. package/dist/{chunk-OY6UJ3QL.cjs → chunk-YGL6E6PD.cjs} +5 -3
  80. package/dist/chunk-YGL6E6PD.cjs.map +1 -0
  81. package/dist/{chunk-BV6CD4IZ.cjs → chunk-YKVVW65D.cjs} +12 -7
  82. package/dist/chunk-YKVVW65D.cjs.map +1 -0
  83. package/dist/{chunk-DGQW5VRR.cjs → chunk-ZMPSVDDO.cjs} +1658 -1472
  84. package/dist/chunk-ZMPSVDDO.cjs.map +1 -0
  85. package/dist/chunk-ZV5CC35D.js +3 -0
  86. package/dist/chunk-ZV5CC35D.js.map +1 -0
  87. package/dist/index.cjs +50 -46
  88. package/dist/index.js +8 -8
  89. package/dist/llm/index.cjs +10 -6
  90. package/dist/llm/index.d.ts +1 -0
  91. package/dist/llm/index.d.ts.map +1 -1
  92. package/dist/llm/index.js +1 -1
  93. package/dist/llm/model/embedding-router.d.ts +50 -0
  94. package/dist/llm/model/embedding-router.d.ts.map +1 -0
  95. package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
  96. package/dist/llm/model/gateways/netlify.d.ts.map +1 -1
  97. package/dist/llm/model/index.d.ts +1 -0
  98. package/dist/llm/model/index.d.ts.map +1 -1
  99. package/dist/llm/model/model.loop.d.ts +1 -1
  100. package/dist/llm/model/model.loop.d.ts.map +1 -1
  101. package/dist/llm/model/provider-options.d.ts +42 -0
  102. package/dist/llm/model/provider-options.d.ts.map +1 -0
  103. package/dist/llm/model/provider-types.generated.d.ts +629 -590
  104. package/dist/llm/model/router.d.ts.map +1 -1
  105. package/dist/loop/index.cjs +2 -2
  106. package/dist/loop/index.js +1 -1
  107. package/dist/loop/network/index.d.ts +4 -1
  108. package/dist/loop/network/index.d.ts.map +1 -1
  109. package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
  110. package/dist/loop/test-utils/generateText.d.ts.map +1 -1
  111. package/dist/loop/test-utils/options.d.ts.map +1 -1
  112. package/dist/loop/test-utils/resultObject.d.ts.map +1 -1
  113. package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
  114. package/dist/loop/test-utils/telemetry.d.ts.map +1 -1
  115. package/dist/loop/test-utils/textStream.d.ts.map +1 -1
  116. package/dist/loop/test-utils/toUIMessageStream.d.ts.map +1 -1
  117. package/dist/loop/test-utils/tools.d.ts.map +1 -1
  118. package/dist/loop/test-utils/utils.d.ts +2 -0
  119. package/dist/loop/test-utils/utils.d.ts.map +1 -1
  120. package/dist/loop/workflows/agentic-execution/index.d.ts +42 -42
  121. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +28 -28
  122. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +14 -14
  123. package/dist/loop/workflows/agentic-loop/index.d.ts +42 -42
  124. package/dist/loop/workflows/schema.d.ts +14 -14
  125. package/dist/mastra/index.cjs +2 -2
  126. package/dist/mastra/index.js +1 -1
  127. package/dist/memory/index.cjs +4 -4
  128. package/dist/memory/index.js +1 -1
  129. package/dist/memory/memory.d.ts.map +1 -1
  130. package/dist/memory/types.d.ts +10 -1
  131. package/dist/memory/types.d.ts.map +1 -1
  132. package/dist/models-dev-4VGIWYS3.js +3 -0
  133. package/dist/{models-dev-3VEABUH4.js.map → models-dev-4VGIWYS3.js.map} +1 -1
  134. package/dist/models-dev-AXZASLL2.cjs +12 -0
  135. package/dist/{models-dev-L42ORGVT.cjs.map → models-dev-AXZASLL2.cjs.map} +1 -1
  136. package/dist/netlify-26MMY5X4.js +3 -0
  137. package/dist/{netlify-NYFKA6UB.js.map → netlify-26MMY5X4.js.map} +1 -1
  138. package/dist/netlify-F3MVGV4Y.cjs +12 -0
  139. package/dist/{netlify-3B6HDHRP.cjs.map → netlify-F3MVGV4Y.cjs.map} +1 -1
  140. package/dist/processors/index.cjs +11 -11
  141. package/dist/processors/index.js +1 -1
  142. package/dist/provider-registry.json +1542 -1464
  143. package/dist/relevance/index.cjs +4 -4
  144. package/dist/relevance/index.js +1 -1
  145. package/dist/scores/index.cjs +9 -9
  146. package/dist/scores/index.js +2 -2
  147. package/dist/scores/scoreTraces/index.cjs +8 -8
  148. package/dist/scores/scoreTraces/index.js +3 -3
  149. package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
  150. package/dist/storage/index.cjs +5 -3
  151. package/dist/storage/index.cjs.map +1 -1
  152. package/dist/storage/index.js +3 -1
  153. package/dist/storage/index.js.map +1 -1
  154. package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
  155. package/dist/stream/aisdk/v5/output.d.ts +9 -10
  156. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  157. package/dist/stream/base/output-format-handlers.d.ts +1 -2
  158. package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
  159. package/dist/stream/base/output.d.ts.map +1 -1
  160. package/dist/stream/index.cjs +10 -10
  161. package/dist/stream/index.d.ts +1 -1
  162. package/dist/stream/index.d.ts.map +1 -1
  163. package/dist/stream/index.js +2 -2
  164. package/dist/stream/types.d.ts +17 -1
  165. package/dist/stream/types.d.ts.map +1 -1
  166. package/dist/test-utils/llm-mock.cjs +2 -2
  167. package/dist/test-utils/llm-mock.js +1 -1
  168. package/dist/tools/index.cjs +2 -2
  169. package/dist/tools/index.js +1 -1
  170. package/dist/tools/stream.d.ts +7 -0
  171. package/dist/tools/stream.d.ts.map +1 -1
  172. package/dist/utils.cjs +17 -17
  173. package/dist/utils.js +1 -1
  174. package/dist/workflows/default.d.ts +1 -0
  175. package/dist/workflows/default.d.ts.map +1 -1
  176. package/dist/workflows/evented/index.cjs +10 -10
  177. package/dist/workflows/evented/index.js +1 -1
  178. package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
  179. package/dist/workflows/evented/workflow.d.ts.map +1 -1
  180. package/dist/workflows/index.cjs +12 -12
  181. package/dist/workflows/index.js +1 -1
  182. package/dist/workflows/legacy/index.cjs +22 -22
  183. package/dist/workflows/legacy/index.js +1 -1
  184. package/dist/workflows/legacy/machine.d.ts +1 -1
  185. package/dist/workflows/step.d.ts +4 -1
  186. package/dist/workflows/step.d.ts.map +1 -1
  187. package/dist/workflows/types.d.ts +1 -0
  188. package/dist/workflows/types.d.ts.map +1 -1
  189. package/dist/workflows/workflow.d.ts +3 -1
  190. package/dist/workflows/workflow.d.ts.map +1 -1
  191. package/package.json +11 -10
  192. package/src/llm/model/provider-types.generated.d.ts +629 -590
  193. package/dist/chunk-3ORA5EFD.cjs.map +0 -1
  194. package/dist/chunk-462DRETM.cjs.map +0 -1
  195. package/dist/chunk-5NR2GY4U.js.map +0 -1
  196. package/dist/chunk-A3QHQYMC.js.map +0 -1
  197. package/dist/chunk-APY2BE4K.cjs.map +0 -1
  198. package/dist/chunk-BV6CD4IZ.cjs.map +0 -1
  199. package/dist/chunk-DGQW5VRR.cjs.map +0 -1
  200. package/dist/chunk-FLXB6WXO.js.map +0 -1
  201. package/dist/chunk-HBJVAMCS.js.map +0 -1
  202. package/dist/chunk-HP7B2TQQ.js.map +0 -1
  203. package/dist/chunk-J2OKI2L3.js.map +0 -1
  204. package/dist/chunk-NUURZ3AY.js.map +0 -1
  205. package/dist/chunk-OXAN5SM7.cjs.map +0 -1
  206. package/dist/chunk-OY6UJ3QL.cjs.map +0 -1
  207. package/dist/chunk-T3PBU7JK.js.map +0 -1
  208. package/dist/chunk-XHPBKALR.cjs.map +0 -1
  209. package/dist/models-dev-3VEABUH4.js +0 -3
  210. package/dist/models-dev-L42ORGVT.cjs +0 -12
  211. package/dist/netlify-3B6HDHRP.cjs +0 -12
  212. package/dist/netlify-NYFKA6UB.js +0 -3
@@ -63,8 +63,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
63
63
  steps: any[];
64
64
  text?: string | undefined;
65
65
  reasoning?: any[] | undefined;
66
- files?: any[] | undefined;
67
66
  sources?: any[] | undefined;
67
+ files?: any[] | undefined;
68
68
  toolCalls?: any[] | undefined;
69
69
  toolResults?: any[] | undefined;
70
70
  reasoningText?: string | undefined;
@@ -83,8 +83,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
83
83
  steps: any[];
84
84
  text?: string | undefined;
85
85
  reasoning?: any[] | undefined;
86
- files?: any[] | undefined;
87
86
  sources?: any[] | undefined;
87
+ files?: any[] | undefined;
88
88
  toolCalls?: any[] | undefined;
89
89
  toolResults?: any[] | undefined;
90
90
  reasoningText?: string | undefined;
@@ -103,12 +103,12 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
103
103
  modelProvider: import("zod").ZodString;
104
104
  }, "strip", import("zod").ZodTypeAny, {
105
105
  modelId: string;
106
- modelProvider: string;
107
106
  modelVersion: string;
107
+ modelProvider: string;
108
108
  }, {
109
109
  modelId: string;
110
- modelProvider: string;
111
110
  modelVersion: string;
111
+ modelProvider: string;
112
112
  }>>;
113
113
  timestamp: import("zod").ZodOptional<import("zod").ZodDate>;
114
114
  providerMetadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
@@ -117,28 +117,28 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
117
117
  }, "strip", import("zod").ZodTypeAny, {
118
118
  id?: string | undefined;
119
119
  providerMetadata?: Record<string, any> | undefined;
120
- model?: string | undefined;
121
120
  headers?: Record<string, string> | undefined;
121
+ model?: string | undefined;
122
122
  request?: Record<string, any> | undefined;
123
123
  timestamp?: Date | undefined;
124
124
  modelId?: string | undefined;
125
125
  modelMetadata?: {
126
126
  modelId: string;
127
- modelProvider: string;
128
127
  modelVersion: string;
128
+ modelProvider: string;
129
129
  } | undefined;
130
130
  }, {
131
131
  id?: string | undefined;
132
132
  providerMetadata?: Record<string, any> | undefined;
133
- model?: string | undefined;
134
133
  headers?: Record<string, string> | undefined;
134
+ model?: string | undefined;
135
135
  request?: Record<string, any> | undefined;
136
136
  timestamp?: Date | undefined;
137
137
  modelId?: string | undefined;
138
138
  modelMetadata?: {
139
139
  modelId: string;
140
- modelProvider: string;
141
140
  modelVersion: string;
141
+ modelProvider: string;
142
142
  } | undefined;
143
143
  }>;
144
144
  stepResult: import("zod").ZodObject<{
@@ -211,8 +211,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
211
211
  steps: any[];
212
212
  text?: string | undefined;
213
213
  reasoning?: any[] | undefined;
214
- files?: any[] | undefined;
215
214
  sources?: any[] | undefined;
215
+ files?: any[] | undefined;
216
216
  toolCalls?: any[] | undefined;
217
217
  toolResults?: any[] | undefined;
218
218
  reasoningText?: string | undefined;
@@ -225,15 +225,15 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
225
225
  metadata: {
226
226
  id?: string | undefined;
227
227
  providerMetadata?: Record<string, any> | undefined;
228
- model?: string | undefined;
229
228
  headers?: Record<string, string> | undefined;
229
+ model?: string | undefined;
230
230
  request?: Record<string, any> | undefined;
231
231
  timestamp?: Date | undefined;
232
232
  modelId?: string | undefined;
233
233
  modelMetadata?: {
234
234
  modelId: string;
235
- modelProvider: string;
236
235
  modelVersion: string;
236
+ modelProvider: string;
237
237
  } | undefined;
238
238
  };
239
239
  messages: {
@@ -269,8 +269,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
269
269
  steps: any[];
270
270
  text?: string | undefined;
271
271
  reasoning?: any[] | undefined;
272
- files?: any[] | undefined;
273
272
  sources?: any[] | undefined;
273
+ files?: any[] | undefined;
274
274
  toolCalls?: any[] | undefined;
275
275
  toolResults?: any[] | undefined;
276
276
  reasoningText?: string | undefined;
@@ -283,15 +283,15 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
283
283
  metadata: {
284
284
  id?: string | undefined;
285
285
  providerMetadata?: Record<string, any> | undefined;
286
- model?: string | undefined;
287
286
  headers?: Record<string, string> | undefined;
287
+ model?: string | undefined;
288
288
  request?: Record<string, any> | undefined;
289
289
  timestamp?: Date | undefined;
290
290
  modelId?: string | undefined;
291
291
  modelMetadata?: {
292
292
  modelId: string;
293
- modelProvider: string;
294
293
  modelVersion: string;
294
+ modelProvider: string;
295
295
  } | undefined;
296
296
  };
297
297
  messages: {
@@ -373,8 +373,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
373
373
  steps: any[];
374
374
  text?: string | undefined;
375
375
  reasoning?: any[] | undefined;
376
- files?: any[] | undefined;
377
376
  sources?: any[] | undefined;
377
+ files?: any[] | undefined;
378
378
  toolCalls?: any[] | undefined;
379
379
  toolResults?: any[] | undefined;
380
380
  reasoningText?: string | undefined;
@@ -393,8 +393,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
393
393
  steps: any[];
394
394
  text?: string | undefined;
395
395
  reasoning?: any[] | undefined;
396
- files?: any[] | undefined;
397
396
  sources?: any[] | undefined;
397
+ files?: any[] | undefined;
398
398
  toolCalls?: any[] | undefined;
399
399
  toolResults?: any[] | undefined;
400
400
  reasoningText?: string | undefined;
@@ -413,12 +413,12 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
413
413
  modelProvider: import("zod").ZodString;
414
414
  }, "strip", import("zod").ZodTypeAny, {
415
415
  modelId: string;
416
- modelProvider: string;
417
416
  modelVersion: string;
417
+ modelProvider: string;
418
418
  }, {
419
419
  modelId: string;
420
- modelProvider: string;
421
420
  modelVersion: string;
421
+ modelProvider: string;
422
422
  }>>;
423
423
  timestamp: import("zod").ZodOptional<import("zod").ZodDate>;
424
424
  providerMetadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
@@ -427,28 +427,28 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
427
427
  }, "strip", import("zod").ZodTypeAny, {
428
428
  id?: string | undefined;
429
429
  providerMetadata?: Record<string, any> | undefined;
430
- model?: string | undefined;
431
430
  headers?: Record<string, string> | undefined;
431
+ model?: string | undefined;
432
432
  request?: Record<string, any> | undefined;
433
433
  timestamp?: Date | undefined;
434
434
  modelId?: string | undefined;
435
435
  modelMetadata?: {
436
436
  modelId: string;
437
- modelProvider: string;
438
437
  modelVersion: string;
438
+ modelProvider: string;
439
439
  } | undefined;
440
440
  }, {
441
441
  id?: string | undefined;
442
442
  providerMetadata?: Record<string, any> | undefined;
443
- model?: string | undefined;
444
443
  headers?: Record<string, string> | undefined;
444
+ model?: string | undefined;
445
445
  request?: Record<string, any> | undefined;
446
446
  timestamp?: Date | undefined;
447
447
  modelId?: string | undefined;
448
448
  modelMetadata?: {
449
449
  modelId: string;
450
- modelProvider: string;
451
450
  modelVersion: string;
451
+ modelProvider: string;
452
452
  } | undefined;
453
453
  }>;
454
454
  stepResult: import("zod").ZodObject<{
@@ -521,8 +521,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
521
521
  steps: any[];
522
522
  text?: string | undefined;
523
523
  reasoning?: any[] | undefined;
524
- files?: any[] | undefined;
525
524
  sources?: any[] | undefined;
525
+ files?: any[] | undefined;
526
526
  toolCalls?: any[] | undefined;
527
527
  toolResults?: any[] | undefined;
528
528
  reasoningText?: string | undefined;
@@ -535,15 +535,15 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
535
535
  metadata: {
536
536
  id?: string | undefined;
537
537
  providerMetadata?: Record<string, any> | undefined;
538
- model?: string | undefined;
539
538
  headers?: Record<string, string> | undefined;
539
+ model?: string | undefined;
540
540
  request?: Record<string, any> | undefined;
541
541
  timestamp?: Date | undefined;
542
542
  modelId?: string | undefined;
543
543
  modelMetadata?: {
544
544
  modelId: string;
545
- modelProvider: string;
546
545
  modelVersion: string;
546
+ modelProvider: string;
547
547
  } | undefined;
548
548
  };
549
549
  messages: {
@@ -579,8 +579,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
579
579
  steps: any[];
580
580
  text?: string | undefined;
581
581
  reasoning?: any[] | undefined;
582
- files?: any[] | undefined;
583
582
  sources?: any[] | undefined;
583
+ files?: any[] | undefined;
584
584
  toolCalls?: any[] | undefined;
585
585
  toolResults?: any[] | undefined;
586
586
  reasoningText?: string | undefined;
@@ -593,15 +593,15 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
593
593
  metadata: {
594
594
  id?: string | undefined;
595
595
  providerMetadata?: Record<string, any> | undefined;
596
- model?: string | undefined;
597
596
  headers?: Record<string, string> | undefined;
597
+ model?: string | undefined;
598
598
  request?: Record<string, any> | undefined;
599
599
  timestamp?: Date | undefined;
600
600
  modelId?: string | undefined;
601
601
  modelMetadata?: {
602
602
  modelId: string;
603
- modelProvider: string;
604
603
  modelVersion: string;
604
+ modelProvider: string;
605
605
  } | undefined;
606
606
  };
607
607
  messages: {
@@ -92,8 +92,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
92
92
  steps: any[];
93
93
  text?: string | undefined;
94
94
  reasoning?: any[] | undefined;
95
- files?: any[] | undefined;
96
95
  sources?: any[] | undefined;
96
+ files?: any[] | undefined;
97
97
  toolCalls?: any[] | undefined;
98
98
  toolResults?: any[] | undefined;
99
99
  reasoningText?: string | undefined;
@@ -112,8 +112,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
112
112
  steps: any[];
113
113
  text?: string | undefined;
114
114
  reasoning?: any[] | undefined;
115
- files?: any[] | undefined;
116
115
  sources?: any[] | undefined;
116
+ files?: any[] | undefined;
117
117
  toolCalls?: any[] | undefined;
118
118
  toolResults?: any[] | undefined;
119
119
  reasoningText?: string | undefined;
@@ -132,12 +132,12 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
132
132
  modelProvider: z.ZodString;
133
133
  }, "strip", z.ZodTypeAny, {
134
134
  modelId: string;
135
- modelProvider: string;
136
135
  modelVersion: string;
136
+ modelProvider: string;
137
137
  }, {
138
138
  modelId: string;
139
- modelProvider: string;
140
139
  modelVersion: string;
140
+ modelProvider: string;
141
141
  }>>;
142
142
  timestamp: z.ZodOptional<z.ZodDate>;
143
143
  providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -146,28 +146,28 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
146
146
  }, "strip", z.ZodTypeAny, {
147
147
  id?: string | undefined;
148
148
  providerMetadata?: Record<string, any> | undefined;
149
- model?: string | undefined;
150
149
  headers?: Record<string, string> | undefined;
150
+ model?: string | undefined;
151
151
  request?: Record<string, any> | undefined;
152
152
  timestamp?: Date | undefined;
153
153
  modelId?: string | undefined;
154
154
  modelMetadata?: {
155
155
  modelId: string;
156
- modelProvider: string;
157
156
  modelVersion: string;
157
+ modelProvider: string;
158
158
  } | undefined;
159
159
  }, {
160
160
  id?: string | undefined;
161
161
  providerMetadata?: Record<string, any> | undefined;
162
- model?: string | undefined;
163
162
  headers?: Record<string, string> | undefined;
163
+ model?: string | undefined;
164
164
  request?: Record<string, any> | undefined;
165
165
  timestamp?: Date | undefined;
166
166
  modelId?: string | undefined;
167
167
  modelMetadata?: {
168
168
  modelId: string;
169
- modelProvider: string;
170
169
  modelVersion: string;
170
+ modelProvider: string;
171
171
  } | undefined;
172
172
  }>;
173
173
  stepResult: z.ZodObject<{
@@ -240,8 +240,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
240
240
  steps: any[];
241
241
  text?: string | undefined;
242
242
  reasoning?: any[] | undefined;
243
- files?: any[] | undefined;
244
243
  sources?: any[] | undefined;
244
+ files?: any[] | undefined;
245
245
  toolCalls?: any[] | undefined;
246
246
  toolResults?: any[] | undefined;
247
247
  reasoningText?: string | undefined;
@@ -254,15 +254,15 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
254
254
  metadata: {
255
255
  id?: string | undefined;
256
256
  providerMetadata?: Record<string, any> | undefined;
257
- model?: string | undefined;
258
257
  headers?: Record<string, string> | undefined;
258
+ model?: string | undefined;
259
259
  request?: Record<string, any> | undefined;
260
260
  timestamp?: Date | undefined;
261
261
  modelId?: string | undefined;
262
262
  modelMetadata?: {
263
263
  modelId: string;
264
- modelProvider: string;
265
264
  modelVersion: string;
265
+ modelProvider: string;
266
266
  } | undefined;
267
267
  };
268
268
  messages: {
@@ -298,8 +298,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
298
298
  steps: any[];
299
299
  text?: string | undefined;
300
300
  reasoning?: any[] | undefined;
301
- files?: any[] | undefined;
302
301
  sources?: any[] | undefined;
302
+ files?: any[] | undefined;
303
303
  toolCalls?: any[] | undefined;
304
304
  toolResults?: any[] | undefined;
305
305
  reasoningText?: string | undefined;
@@ -312,15 +312,15 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
312
312
  metadata: {
313
313
  id?: string | undefined;
314
314
  providerMetadata?: Record<string, any> | undefined;
315
- model?: string | undefined;
316
315
  headers?: Record<string, string> | undefined;
316
+ model?: string | undefined;
317
317
  request?: Record<string, any> | undefined;
318
318
  timestamp?: Date | undefined;
319
319
  modelId?: string | undefined;
320
320
  modelMetadata?: {
321
321
  modelId: string;
322
- modelProvider: string;
323
322
  modelVersion: string;
323
+ modelProvider: string;
324
324
  } | undefined;
325
325
  };
326
326
  messages: {