@mastra/core 1.87.0-alpha.0 → 1.87.0-alpha.2

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 (389) hide show
  1. package/dist/_types/@ai-sdk_anthropic@3.0.137/dist/index.d.ts +2 -2
  2. package/dist/_types/@ai-sdk_google@3.0.140/dist/index.d.ts +2 -2
  3. package/dist/_types/@ai-sdk_openai@3.0.135/dist/index.d.ts +2 -2
  4. package/dist/a2a/index.cjs +1 -1
  5. package/dist/a2a/index.js +1 -1
  6. package/dist/agent/durable/index.cjs +2 -1
  7. package/dist/agent/durable/index.d.ts +1 -0
  8. package/dist/agent/durable/index.js +2 -2
  9. package/dist/agent/durable/run-registry.d.ts +12 -1
  10. package/dist/agent/durable/types.d.ts +2 -0
  11. package/dist/agent/durable/workflows/finalize-run.d.ts +2 -1
  12. package/dist/agent/index.cjs +3 -3
  13. package/dist/agent/index.js +3 -3
  14. package/dist/agent/message-list/index.cjs +1 -1
  15. package/dist/agent/message-list/index.js +1 -1
  16. package/dist/agent/thread-stream-runtime.d.ts +3 -1
  17. package/dist/agent-builder/ee/index.cjs +1 -1
  18. package/dist/agent-builder/ee/index.js +1 -1
  19. package/dist/agent-controller/index.cjs +1 -1
  20. package/dist/agent-controller/index.js +1 -1
  21. package/dist/{agent-controller-B8LoFdtu.js → agent-controller-Dc58ARqw.js} +6 -6
  22. package/dist/{agent-controller-DSnFynpa.cjs → agent-controller-v64JbuDa.cjs} +6 -6
  23. package/dist/background-tasks/index.cjs +1 -1
  24. package/dist/background-tasks/index.js +1 -1
  25. package/dist/{background-tasks-Ci5h0dhj.cjs → background-tasks-DgiQNKh7.cjs} +1 -1
  26. package/dist/{background-tasks-IW7M4iD2.js → background-tasks-E-Jjxks4.js} +1 -1
  27. package/dist/browser/index.cjs +1 -1
  28. package/dist/browser/index.js +1 -1
  29. package/dist/{builder-14Uptu8y.cjs → builder-Dfp6Ckjr.cjs} +2 -2
  30. package/dist/{builder-DI2c2xjy.js → builder-Dh175HnQ.js} +2 -2
  31. package/dist/capabilities/302ai.json +197 -197
  32. package/dist/capabilities/abliteratedllm.json +27 -27
  33. package/dist/capabilities/abliteration-ai.json +10 -10
  34. package/dist/capabilities/above.json +22 -22
  35. package/dist/capabilities/adaption.json +12 -12
  36. package/dist/capabilities/adzuki.json +29 -29
  37. package/dist/capabilities/agentrouter.json +8 -8
  38. package/dist/capabilities/agnes.json +3 -3
  39. package/dist/capabilities/ai-router.json +5 -5
  40. package/dist/capabilities/aiand.json +23 -23
  41. package/dist/capabilities/aigrow.json +12 -12
  42. package/dist/capabilities/aimlapi.json +151 -152
  43. package/dist/capabilities/aixy.json +23 -23
  44. package/dist/capabilities/aki-io.json +14 -14
  45. package/dist/capabilities/alibaba-cn.json +92 -92
  46. package/dist/capabilities/alibaba-coding-plan-cn.json +5 -5
  47. package/dist/capabilities/alibaba-coding-plan.json +5 -5
  48. package/dist/capabilities/alibaba-token-plan-cn.json +53 -53
  49. package/dist/capabilities/alibaba-token-plan.json +51 -51
  50. package/dist/capabilities/alibaba.json +62 -62
  51. package/dist/capabilities/ambient.json +10 -10
  52. package/dist/capabilities/amd.json +8 -8
  53. package/dist/capabilities/anthropic.json +34 -34
  54. package/dist/capabilities/anyapi.json +18 -18
  55. package/dist/capabilities/apiko.json +4 -4
  56. package/dist/capabilities/arcee.json +6 -6
  57. package/dist/capabilities/augure.json +7 -7
  58. package/dist/capabilities/auriko.json +21 -21
  59. package/dist/capabilities/bailing.json +5 -5
  60. package/dist/capabilities/baseten.json +28 -28
  61. package/dist/capabilities/bee.json +2 -2
  62. package/dist/capabilities/berget.json +4 -4
  63. package/dist/capabilities/bothub.json +16 -16
  64. package/dist/capabilities/boundless.json +39 -39
  65. package/dist/capabilities/bumo.json +42 -42
  66. package/dist/capabilities/byteplus.json +29 -29
  67. package/dist/capabilities/cerebras.json +4 -4
  68. package/dist/capabilities/cheapaimodel.json +10 -10
  69. package/dist/capabilities/cheapest-token.json +29 -29
  70. package/dist/capabilities/chutes.json +5 -5
  71. package/dist/capabilities/cline-pass.json +39 -39
  72. package/dist/capabilities/cloudcode.json +8 -8
  73. package/dist/capabilities/cloudflare-workers-ai.json +18 -18
  74. package/dist/capabilities/commandcode.json +154 -154
  75. package/dist/capabilities/concentrate.json +269 -269
  76. package/dist/capabilities/cortecs.json +113 -113
  77. package/dist/capabilities/crossmodel.json +168 -168
  78. package/dist/capabilities/crusoe.json +9 -9
  79. package/dist/capabilities/daoxe.json +9 -9
  80. package/dist/capabilities/databricks.json +128 -128
  81. package/dist/capabilities/deepinfra.json +99 -99
  82. package/dist/capabilities/deepseek.json +4 -4
  83. package/dist/capabilities/digitalocean.json +117 -117
  84. package/dist/capabilities/dothoosh.json +30 -30
  85. package/dist/capabilities/doubleword.json +27 -27
  86. package/dist/capabilities/edenai.json +901 -1734
  87. package/dist/capabilities/empiriolabs.json +175 -175
  88. package/dist/capabilities/engy.json +21 -21
  89. package/dist/capabilities/evroc.json +13 -13
  90. package/dist/capabilities/ezkielyna.json +8 -8
  91. package/dist/capabilities/fastrouter.json +78 -78
  92. package/dist/capabilities/fireworks-ai.json +68 -68
  93. package/dist/capabilities/freemodel.json +21 -21
  94. package/dist/capabilities/frogbot.json +96 -96
  95. package/dist/capabilities/gisoo.json +17 -17
  96. package/dist/capabilities/gmicloud.json +12 -12
  97. package/dist/capabilities/google.json +51 -51
  98. package/dist/capabilities/graphn.json +16 -16
  99. package/dist/capabilities/greenpt.json +35 -35
  100. package/dist/capabilities/groq.json +2 -2
  101. package/dist/capabilities/helicone.json +85 -85
  102. package/dist/capabilities/hopper.json +2 -2
  103. package/dist/capabilities/hostinger-router.json +13 -13
  104. package/dist/capabilities/hpc-ai.json +4 -4
  105. package/dist/capabilities/huawei-maas.json +12 -12
  106. package/dist/capabilities/hubris.json +29 -29
  107. package/dist/capabilities/huggingface.json +89 -89
  108. package/dist/capabilities/humain.json +2 -2
  109. package/dist/capabilities/hyper.json +27 -27
  110. package/dist/capabilities/impossibl.json +149 -149
  111. package/dist/capabilities/inception.json +3 -3
  112. package/dist/capabilities/inco.json +4 -4
  113. package/dist/capabilities/infer.json +12 -12
  114. package/dist/capabilities/inferall.json +10 -10
  115. package/dist/capabilities/inference-coop.json +11 -11
  116. package/dist/capabilities/inferenceapis.json +17 -17
  117. package/dist/capabilities/inferris.json +4 -4
  118. package/dist/capabilities/infersia.json +12 -12
  119. package/dist/capabilities/infomaniak.json +3 -3
  120. package/dist/capabilities/io-net.json +2 -2
  121. package/dist/capabilities/isoquant.json +4 -4
  122. package/dist/capabilities/iteracompute.json +44 -44
  123. package/dist/capabilities/jad-ai.json +2 -2
  124. package/dist/capabilities/jalapeno.json +11 -11
  125. package/dist/capabilities/jiekou.json +68 -68
  126. package/dist/capabilities/jzstoken.json +48 -48
  127. package/dist/capabilities/keln.json +20 -20
  128. package/dist/capabilities/kenari.json +125 -125
  129. package/dist/capabilities/kilo.json +623 -623
  130. package/dist/capabilities/kimi-code-plan-cn.json +4 -4
  131. package/dist/capabilities/kimi-code-plan-global.json +4 -4
  132. package/dist/capabilities/kitani.json +2 -2
  133. package/dist/capabilities/klavo.json +18 -18
  134. package/dist/capabilities/korouter.json +30 -30
  135. package/dist/capabilities/kunavo.json +6 -6
  136. package/dist/capabilities/liquid.json +12 -12
  137. package/dist/capabilities/lithosai.json +2 -2
  138. package/dist/capabilities/llmgateway-providers.json +916 -916
  139. package/dist/capabilities/llmgateway.json +339 -339
  140. package/dist/capabilities/llmtr.json +31 -31
  141. package/dist/capabilities/longcat.json +2 -2
  142. package/dist/capabilities/lowrouter.json +51 -51
  143. package/dist/capabilities/lyceum.json +4 -4
  144. package/dist/capabilities/melious.json +12 -12
  145. package/dist/capabilities/merge-gateway.json +255 -254
  146. package/dist/capabilities/meta.json +7 -7
  147. package/dist/capabilities/minimax-cn-coding-plan.json +2 -2
  148. package/dist/capabilities/minimax-cn.json +5 -5
  149. package/dist/capabilities/minimax-coding-plan.json +2 -2
  150. package/dist/capabilities/minimax.json +5 -5
  151. package/dist/capabilities/mistral.json +18 -18
  152. package/dist/capabilities/mixlayer.json +5 -5
  153. package/dist/capabilities/modal.json +10 -10
  154. package/dist/capabilities/model-oracle-ai.json +21 -21
  155. package/dist/capabilities/modelis.json +19 -19
  156. package/dist/capabilities/modular.json +10 -10
  157. package/dist/capabilities/moneo.json +14 -14
  158. package/dist/capabilities/moonshotai-cn.json +5 -5
  159. package/dist/capabilities/moonshotai.json +5 -5
  160. package/dist/capabilities/morph.json +14 -14
  161. package/dist/capabilities/munito-eu.json +8 -8
  162. package/dist/capabilities/munito.json +9 -9
  163. package/dist/capabilities/nan.json +28 -28
  164. package/dist/capabilities/nano-gpt.json +586 -584
  165. package/dist/capabilities/nearai.json +87 -87
  166. package/dist/capabilities/nebius.json +26 -26
  167. package/dist/capabilities/neon.json +122 -122
  168. package/dist/capabilities/neuralwatt.json +45 -45
  169. package/dist/capabilities/nokeep.json +2 -2
  170. package/dist/capabilities/novita-ai.json +163 -163
  171. package/dist/capabilities/nvidia.json +22 -22
  172. package/dist/capabilities/oathbreaker.json +2 -2
  173. package/dist/capabilities/obscurify.json +25 -25
  174. package/dist/capabilities/oci.json +5 -5
  175. package/dist/capabilities/ofox.json +293 -293
  176. package/dist/capabilities/ollama-cloud.json +58 -58
  177. package/dist/capabilities/openai.json +55 -55
  178. package/dist/capabilities/opencode-go.json +86 -86
  179. package/dist/capabilities/openreason.json +4 -4
  180. package/dist/capabilities/openrouter.json +529 -535
  181. package/dist/capabilities/opper.json +27 -27
  182. package/dist/capabilities/orcarouter.json +192 -192
  183. package/dist/capabilities/outerlabs.json +31 -31
  184. package/dist/capabilities/ovhcloud.json +20 -20
  185. package/dist/capabilities/pareto.json +5 -5
  186. package/dist/capabilities/pendra.json +4 -4
  187. package/dist/capabilities/perplexity-agent.json +64 -64
  188. package/dist/capabilities/perplexity.json +2 -2
  189. package/dist/capabilities/phala.json +22 -22
  190. package/dist/capabilities/pioneer.json +20 -20
  191. package/dist/capabilities/poe.json +113 -113
  192. package/dist/capabilities/poolside.json +3 -3
  193. package/dist/capabilities/powerspring.json +9 -9
  194. package/dist/capabilities/primalabs.json +10 -10
  195. package/dist/capabilities/prime.json +110 -110
  196. package/dist/capabilities/privatemode-ai.json +12 -12
  197. package/dist/capabilities/proxystacks.json +7 -7
  198. package/dist/capabilities/qiniu-ai.json +14 -14
  199. package/dist/capabilities/refuseless.json +7 -7
  200. package/dist/capabilities/regolo-ai.json +8 -8
  201. package/dist/capabilities/requesty.json +172 -172
  202. package/dist/capabilities/ruapi.json +15 -15
  203. package/dist/capabilities/runcrate.json +6 -6
  204. package/dist/capabilities/runinfra.json +13 -13
  205. package/dist/capabilities/sakana.json +7 -7
  206. package/dist/capabilities/sambanova.json +9 -9
  207. package/dist/capabilities/sandbase.json +24 -24
  208. package/dist/capabilities/sarvam.json +12 -12
  209. package/dist/capabilities/scaleway.json +18 -18
  210. package/dist/capabilities/scnet-token-plan.json +9 -9
  211. package/dist/capabilities/scx-ai.json +30 -30
  212. package/dist/capabilities/sensenova.json +12 -12
  213. package/dist/capabilities/siliconflow-cn.json +45 -45
  214. package/dist/capabilities/siliconflow.json +53 -53
  215. package/dist/capabilities/snowflake-cortex.json +22 -22
  216. package/dist/capabilities/sokkan.json +7 -7
  217. package/dist/capabilities/sparrowcodes.json +19 -19
  218. package/dist/capabilities/standardcompute.json +89 -89
  219. package/dist/capabilities/steadyrouter.json +41 -41
  220. package/dist/capabilities/stepfun-ai-step-plan.json +5 -5
  221. package/dist/capabilities/stepfun-ai.json +5 -5
  222. package/dist/capabilities/stepfun-step-plan.json +5 -5
  223. package/dist/capabilities/stepfun.json +5 -5
  224. package/dist/capabilities/stepping-stone.json +11 -11
  225. package/dist/capabilities/subconscious.json +2 -2
  226. package/dist/capabilities/synthetic.json +10 -10
  227. package/dist/capabilities/synthorai.json +23 -23
  228. package/dist/capabilities/teamorouter.json +25 -25
  229. package/dist/capabilities/teapot-router.json +13 -13
  230. package/dist/capabilities/tencent-token-plan.json +40 -40
  231. package/dist/capabilities/tencent-tokenhub.json +45 -45
  232. package/dist/capabilities/tensorx.json +27 -27
  233. package/dist/capabilities/the-grid-ai.json +37 -37
  234. package/dist/capabilities/thinkingmachines.json +74 -74
  235. package/dist/capabilities/tinfoil.json +12 -12
  236. package/dist/capabilities/toapis.json +2 -2
  237. package/dist/capabilities/togetherai.json +53 -53
  238. package/dist/capabilities/tokengo.json +23 -23
  239. package/dist/capabilities/tokenify.json +9 -9
  240. package/dist/capabilities/trustedrouter.json +4 -4
  241. package/dist/capabilities/trustedtokens.json +12 -12
  242. package/dist/capabilities/umans-ai-coding-plan.json +14 -14
  243. package/dist/capabilities/umans-ai.json +10 -10
  244. package/dist/capabilities/unrestricted.json +8 -8
  245. package/dist/capabilities/uplinkswitch.json +23 -23
  246. package/dist/capabilities/upstage.json +7 -7
  247. package/dist/capabilities/vancine.json +26 -26
  248. package/dist/capabilities/vercel.json +576 -576
  249. package/dist/capabilities/vivgrid.json +85 -85
  250. package/dist/capabilities/volcengine-coding-plan.json +36 -27
  251. package/dist/capabilities/volcengine.json +27 -27
  252. package/dist/capabilities/vultr.json +31 -31
  253. package/dist/capabilities/wafer.ai.json +14 -14
  254. package/dist/capabilities/wallaby.json +5 -5
  255. package/dist/capabilities/wally.json +11 -11
  256. package/dist/capabilities/wandb.json +11 -11
  257. package/dist/capabilities/watt.json +24 -24
  258. package/dist/capabilities/xai.json +6 -6
  259. package/dist/capabilities/xpersona.json +12 -12
  260. package/dist/capabilities/xxapi.json +29 -29
  261. package/dist/capabilities/zai-coding-plan.json +6 -6
  262. package/dist/capabilities/zai.json +32 -32
  263. package/dist/capabilities/zenifra.json +27 -27
  264. package/dist/capabilities/zenmux.json +186 -186
  265. package/dist/capabilities/zerogpu.json +14 -14
  266. package/dist/capabilities/zhipuai-coding-plan.json +8 -8
  267. package/dist/capabilities/zhipuai.json +31 -31
  268. package/dist/capabilities/zro.json +6 -6
  269. package/dist/channels/agent-channels.d.ts +7 -0
  270. package/dist/channels/attach-file-tool.d.ts +22 -0
  271. package/dist/channels/index.cjs +11 -2
  272. package/dist/channels/index.d.ts +10 -0
  273. package/dist/channels/index.js +3 -3
  274. package/dist/channels/reply-guidance-processor.d.ts +26 -0
  275. package/dist/channels/reply-mode.d.ts +66 -0
  276. package/dist/channels/reply-reminder-processor.d.ts +23 -0
  277. package/dist/channels/reply-tool.d.ts +43 -0
  278. package/dist/channels/thread-link-processor.d.ts +48 -0
  279. package/dist/channels/thread-lookup.d.ts +16 -0
  280. package/dist/channels/tool-announcement-processor.d.ts +29 -0
  281. package/dist/channels/types.d.ts +25 -0
  282. package/dist/{channels-Wh32drgu.js → channels-0AO7PMJF.js} +99 -2
  283. package/dist/{channels-tVV_de9Q.cjs → channels-BZL9RT2i.cjs} +122 -1
  284. package/dist/coding-agent/index.cjs +1 -1
  285. package/dist/coding-agent/index.js +1 -1
  286. package/dist/datasets/experiment/index.d.ts +1 -1
  287. package/dist/datasets/experiment/item.d.ts +4 -3
  288. package/dist/datasets/experiment/scorer.d.ts +34 -11
  289. package/dist/datasets/index.cjs +3 -2
  290. package/dist/datasets/index.js +3 -3
  291. package/dist/{dist-ByO0vuJJ-BjMue5_p.cjs → dist-CufwpBZM-CwERFaas.cjs} +4 -4
  292. package/dist/{dist-ByO0vuJJ-CCXLBnvJ.js → dist-CufwpBZM-DK14Qe0Z.js} +4 -4
  293. package/dist/docs/SKILL.md +2 -1
  294. package/dist/docs/assets/SOURCE_MAP.json +743 -743
  295. package/dist/docs/references/docs-channels.md +43 -0
  296. package/dist/docs/references/docs-evals-experiments.md +13 -3
  297. package/dist/docs/references/reference-agents-durable-agent.md +2 -0
  298. package/dist/docs/references/reference-channels-thread-link.md +67 -0
  299. package/dist/docs/references/reference-workspace-factory-sandbox.md +2 -1
  300. package/dist/docs/references/reference.md +1 -0
  301. package/dist/evals/index.cjs +1 -1
  302. package/dist/evals/index.js +1 -1
  303. package/dist/evals/scoreTraces/index.cjs +1 -1
  304. package/dist/evals/scoreTraces/index.js +1 -1
  305. package/dist/harness/index.cjs +1 -1
  306. package/dist/harness/index.js +1 -1
  307. package/dist/index.cjs +1 -1
  308. package/dist/index.js +1 -1
  309. package/dist/knowledge/importers/host.d.ts +7 -1
  310. package/dist/knowledge/importers/runner.d.ts +12 -0
  311. package/dist/knowledge/importers/types.d.ts +2 -0
  312. package/dist/knowledge/index.cjs +82 -6
  313. package/dist/knowledge/index.js +82 -6
  314. package/dist/llm/index.cjs +3 -3
  315. package/dist/llm/index.js +3 -3
  316. package/dist/llm/model/provider-types.generated.d.ts +7397 -7534
  317. package/dist/{llm-B1zaFLYZ.js → llm-B46V7Mi7.js} +2 -2
  318. package/dist/{llm-BAiOsNAP.cjs → llm-B4AeSFvV.cjs} +2 -2
  319. package/dist/loop/index.cjs +2 -2
  320. package/dist/loop/index.js +2 -2
  321. package/dist/{manager-ChK9GdGz.js → manager-BRAvwB9b.js} +120 -70
  322. package/dist/{manager-BVX9nVrM.cjs → manager-BwDxA1Nn.cjs} +125 -69
  323. package/dist/mastra/index.cjs +1 -1
  324. package/dist/mastra/index.js +1 -1
  325. package/dist/{mastra-CUGfgEpZ.js → mastra-CIx6qEq2.js} +16 -16
  326. package/dist/{mastra-HSmofHEJ.cjs → mastra-DBhdD172.cjs} +16 -16
  327. package/dist/memory/index.cjs +3 -3
  328. package/dist/memory/index.js +3 -3
  329. package/dist/{message-list-Cj0Sq_JP.cjs → message-list-DfN9mWeN.cjs} +121 -121
  330. package/dist/{message-list-KRbg-TnI.js → message-list-wI71UGxk.js} +1 -1
  331. package/dist/{model-C47BJRtR.js → model-CJMsDU8w.js} +1 -1
  332. package/dist/{model-WahorgzJ.cjs → model-CYhAa5qO.cjs} +1 -1
  333. package/dist/{netlify-D99AnEhW.cjs → netlify-Bw7Vd58y.cjs} +11 -11
  334. package/dist/{netlify-CfDXkuLf.js → netlify-C9aJA6Cv.js} +10 -10
  335. package/dist/notifications/index.cjs +1 -1
  336. package/dist/notifications/index.js +1 -1
  337. package/dist/processor-provider/index.cjs +1 -1
  338. package/dist/processor-provider/index.js +1 -1
  339. package/dist/processors/index.cjs +2 -2
  340. package/dist/processors/index.js +2 -2
  341. package/dist/{provider-registry-CO1NVbO5.cjs → provider-registry-Bn_7VvZ8.cjs} +22046 -22320
  342. package/dist/{provider-registry-CR385GJ4.js → provider-registry-DOfYSEju.js} +22046 -22320
  343. package/dist/provider-registry.json +22352 -22626
  344. package/dist/{registry-generator-Cvp34qcB.cjs → registry-generator-BnK5Npgr.cjs} +1 -1
  345. package/dist/{registry-generator-B3erRqYS.js → registry-generator-Cw594Ttt.js} +1 -1
  346. package/dist/{rehydrate-Da4hNuaK.cjs → rehydrate-BWnd_TEx.cjs} +2 -2
  347. package/dist/{rehydrate-CJBLrZxs.js → rehydrate-Dgqkw7Py.js} +2 -2
  348. package/dist/relevance/index.cjs +2 -2
  349. package/dist/relevance/index.js +2 -2
  350. package/dist/{run-registry-DdeEBsVW.js → run-registry-DhOKJtlb.js} +848 -186
  351. package/dist/{run-registry-TOOfO3hT.cjs → run-registry-lLRc7EE6.cjs} +883 -185
  352. package/dist/storage/index.cjs +2 -2
  353. package/dist/storage/index.js +2 -2
  354. package/dist/stream/index.cjs +2 -2
  355. package/dist/stream/index.js +2 -2
  356. package/dist/{stream-DH7Qgz8l.cjs → stream-BIDts1fZ.cjs} +2 -2
  357. package/dist/{stream-C5PagEDs.js → stream-C8HKG3qC.js} +2 -2
  358. package/dist/test-utils/llm-mock.cjs +1 -1
  359. package/dist/test-utils/llm-mock.js +1 -1
  360. package/dist/tool-loop-agent/index.cjs +1 -1
  361. package/dist/tool-loop-agent/index.js +1 -1
  362. package/dist/{tool-loop-agent-DVYJXlQJ.js → tool-loop-agent-DM5V_0XS.js} +4 -4
  363. package/dist/{tool-loop-agent-CJTs4T8b.cjs → tool-loop-agent-PEY5a1R6.cjs} +4 -4
  364. package/dist/{utils-xJi_N6Tx.cjs → utils-CxMSu_wc.cjs} +1 -1
  365. package/dist/{utils-D8upuTwy.js → utils-DcnKVK34.js} +1 -1
  366. package/dist/utils.cjs +1 -1
  367. package/dist/utils.js +1 -1
  368. package/dist/{validate-DTkW3Vlp.js → validate-Dn750ciE.js} +1 -1
  369. package/dist/{validate-6eZ8Wssn.cjs → validate-RVKgazCf.cjs} +1 -1
  370. package/dist/vector/index.cjs +2 -2
  371. package/dist/vector/index.js +2 -2
  372. package/dist/worker/index.cjs +1 -1
  373. package/dist/worker/index.js +1 -1
  374. package/dist/{worker-24ORi-wV.cjs → worker-CFPu9qwV.cjs} +2 -2
  375. package/dist/{worker-Dqubrnf8.js → worker-DJPAdazC.js} +2 -2
  376. package/dist/{worker-BO3u_WjZ.cjs → worker-Dx0ZHMGX.cjs} +2 -2
  377. package/dist/{worker-DbcFkKJO.js → worker-SDi9jbP5.js} +2 -2
  378. package/dist/{workflow-wXOf72fO.js → workflow-DkBqNn7X.js} +3 -3
  379. package/dist/{workflow-D5Fc5ieC.cjs → workflow-ZFOz_365.cjs} +3 -3
  380. package/dist/workflows/builder/index.cjs +1 -1
  381. package/dist/workflows/builder/index.js +1 -1
  382. package/dist/workflows/evented/index.cjs +1 -1
  383. package/dist/workflows/evented/index.js +1 -1
  384. package/dist/workflows/index.cjs +4 -4
  385. package/dist/workflows/index.js +4 -4
  386. package/package.json +7 -7
  387. package/src/llm/model/provider-types.generated.d.ts +7397 -7534
  388. /package/dist/_types/{@ai-sdk_provider-utils@4.0.66 → @ai-sdk_provider-utils@4.0.67}/dist/index.d.ts +0 -0
  389. /package/dist/_types/{@ai-sdk_provider-utils@4.0.66 → @ai-sdk_provider-utils@4.0.67}/package.json +0 -0
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-TOOfO3hT.cjs");
2
+ const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
3
3
  const require_observability = require("../observability-B0R_D1PZ.cjs");
4
- const require_stream = require("../stream-DH7Qgz8l.cjs");
4
+ const require_stream = require("../stream-BIDts1fZ.cjs");
5
5
  const require_storage = require("../storage-CfG0I2aF.cjs");
6
6
  const require_constants = require("../constants-B9ZDvXZ4.cjs");
7
7
  const require_filesystem_versioned = require("../filesystem-versioned-BavRtYWJ.cjs");
@@ -1,6 +1,6 @@
1
- import { $a as planSpanQuery, $l as resolveRunFence, Aa as TracePageError, Ai as MAX_KNOWLEDGE_PAGE_LINKS, Ar as createEmptyWorkflowSnapshot, Ba as threadQueryIdentitySchema, Bi as knowledgePositionBetween, Br as SchedulesStorage, Ca as parseDuration, Ci as KnowledgePageHasChildrenError, Co as ObservabilityStorage, Cr as FilesystemStore, Da as transformRow, Di as MAX_KNOWLEDGE_PAGE_BODY_LINKS, Dr as WorkflowsInMemory, Ea as storageMessageMatchesMetadataFilter, Ei as MAX_KNOWLEDGE_NOTE_TOKENS, Eo as UniqueViolationError, Er as MockStore, Fa as tracePageResponseSchema, Fi as assertKnowledgePageDescriptionWithinBound, Fr as InMemoryToolProviderConnectionsStorage, Ga as SPAN_QUERY_MAX_CURSOR_BYTES, Gi as HarnessStorage, Gl as isWorkflowStepConflictError, Ha as threadQueryResponseSchema, Hi as parseKnowledgePageRef, Hr as InMemoryNotificationsStorage, Ia as THREAD_QUERY_DEFAULT_LIMIT, Ii as canonicalKnowledgeName, Ir as ToolProviderConnectionsStorage, Ja as SPAN_QUERY_ORDER_FIELDS, Ji as DatasetsInMemory, Jl as RunFenceConflictError, Ka as SPAN_QUERY_MAX_LIMIT, Ki as ExperimentsInMemory, Kl as RUN_FENCE_CONFLICT_ERROR_ID, La as THREAD_QUERY_MAX_LIMIT, Li as knowledgeLinkRefKey, Lr as ScoresInMemory, Ma as tracePageIdSchema, Mi as MAX_KNOWLEDGE_PAGE_LIST_LIMIT, Mr as mergeWorkflowStepResult, Na as tracePageNodeSchema, Ni as MAX_KNOWLEDGE_PIN_LIST_DEPTH, Nr as InMemoryWorkflowDefinitionsStorage, Oa as transformScoreRow, Oi as MAX_KNOWLEDGE_PAGE_DEPTH, Or as cloneRunData, Pa as tracePageRequestSchema, Pi as assertKnowledgeNoteTextWithinBound, Pr as WorkflowDefinitionsStorage, Qa as parseSpanQueryRequest, Ql as matchesRunFence, Ra as encodeThreadQueryCursor, Ri as knowledgePagePath, Rr as ScoresStorage, Sa as jsonValueEquals, Si as KnowledgePageDepthError, So as ObservabilityInMemory, Sr as createGitHubSourceControlProviderFromEnv, Ta as serializeDate, Ti as MAX_KNOWLEDGE_MOVE_PAGES, To as FactoryStorageDomain, Tr as InMemoryStore, Ua as threadQueryRowSchema, Ui as KnowledgeInvalidCursorError, Ul as WorkflowStepConflictError, Ur as NotificationsStorage, Va as threadQueryRequestSchema, Vi as knowledgeScopeReadable, Vr as normalizeScheduleTarget, Wa as SPAN_QUERY_MAX_COST_METRICS, Wi as InMemoryHarness, Wl as assertWorkflowStepGuard, Wr as dispatchDueNotifications, Xa as createSpanQueryPreview, Xi as DatasetItemIdentityConflictError, Xl as currentRunGeneration, Ya as buildSpanQueryResponse, Yi as DatasetsStorage, Yl as coverNestedRun, Za as encodeSpanQueryCursor, Zl as isRunFenceConflictError, _a as ensureDate, _i as assertKnowledgeSchemaCompatible, _o as buildUpdateSpanRecord, _r as knowledgeVisibleScopeKeys, aa as ChannelsStorage, ai as InMemoryKnowledgeStorage, ao as spanQueryResponseSchema, ar as MAX_KNOWLEDGE_SCOPE_TAGS, ba as getSqlType, bi as parseKnowledgeWikilinks, bo as serializeSpanAttributes, br as StoreOperations, ca as BackgroundTasksInMemory, ci as KnowledgeImportersStorage, co as encodeTraceQueryDeltaCursor, cr as assertKnowledgeRecordTextWithinBound, da as resolveRetentionTargets, di as KnowledgeConflictError, do as planTraceQuery, dr as createKnowledgeNodeCursor, eo as resolveSpanQueryCost, eu as runFencingNotSupportedError, fa as retentionCutoffMs, fi as KnowledgeNotFoundError, fo as buildCreateSpanRecord, fr as expandKnowledgeScope, ga as createVectorErrorId, gi as KnowledgeUnsupportedCapabilityError, go as buildScoreRecord, gr as knowledgeSemanticIdempotencyKey, ha as createStoreErrorId, hi as KnowledgeTransactionDeadlineError, ho as buildMetricRecord, hr as knowledgeSemanticDocumentId, ia as InMemoryChannelsStorage, ii as MemoryStorage, io as spanQueryRequestSchema, ir as MAX_KNOWLEDGE_RECORD_TEXT_LENGTH, ja as readTracePage, ji as MAX_KNOWLEDGE_PAGE_LINK_REF_LENGTH, jr as mergeStepResult, ka as validateStorageMetadataFilter, ki as MAX_KNOWLEDGE_PAGE_DESCRIPTION_TOKENS, kr as WorkflowsStorage, la as BackgroundTasksStorage, li as KNOWLEDGE_STORAGE_CONTRACT_VERSION, lo as getTraceQueryDeltaWatermark, lr as assertKnowledgeScopeWithinCeiling, ma as createStorageErrorId, mi as KnowledgeStorage, mo as buildLogRecord, mr as knowledgeScopeKey, no as spanQueryIdentityKey, nu as setRunFenceContext, oa as InMemoryBlobStore, oi as KnowledgeImporterBindingConflictError, oo as spanQueryRowSchema, or as assertKnowledgeCeilingRaised, pa as runRetentionBatches, pi as KnowledgeSchemaResetRequiredError, po as buildFeedbackRecord, pr as isKnowledgeScopeVisible, qa as SPAN_QUERY_MAX_PREVIEW_CHARACTERS, qi as ExperimentsStorage, ql as RUN_FENCING_NOT_SUPPORTED_ERROR_ID, ri as InMemoryMemory, ro as spanQueryIdentitySchema, rr as MAX_KNOWLEDGE_NODE_DESCRIPTION_LENGTH, sa as BlobStore, si as KnowledgeImporterRunStateError, so as encodeTraceQueryCursor, sr as assertKnowledgeDescriptionWithinBound, to as spanQueryCostSchema, tu as runOutsideRunFenceScope, ua as executeRetentionPrune, ui as KNOWLEDGE_STORAGE_SCHEMA_VERSION, uo as planThreadQuery, ur as canonicalizeKnowledgeScope, va as filterByDateRange, vi as createKnowledgeUlid, vo as getObjectOrNull, vr as parseKnowledgeNodeCursor, wa as safelyParseJSON, wi as KnowledgePageKeyConflictError, wo as FactoryStorage, wr as FilesystemDB, xa as hasErrorCode, xi as KnowledgeMoveTooLargeError, xo as toEntityType, xr as GitHubSourceControlProvider, ya as getDefaultValue, yi as inspectKnowledgeSchema, yo as getStringOrNull, yr as StoreOperationsInMemory, za as planThreadRowsQuery, zi as knowledgePinDepth, zr as InMemorySchedulesStorage } from "../run-registry-DdeEBsVW.js";
1
+ import { $a as createSpanQueryPreview, $i as DatasetItemIdentityConflictError, $l as RUN_FENCING_NOT_SUPPORTED_ERROR_ID, Aa as transformRow, Ai as MAX_KNOWLEDGE_PAGE_BODY_LINKS, Ar as WorkflowsInMemory, Ba as THREAD_QUERY_MAX_LIMIT, Bi as knowledgeLinkRefKey, Br as ScoresInMemory, Ca as getSqlType, Ci as parseKnowledgeWikilinks, Co as serializeSpanAttributes, Cr as StoreOperations, Da as safelyParseJSON, Di as KnowledgePageKeyConflictError, Do as FactoryStorage, Dr as FilesystemDB, Ea as parseDuration, Ei as KnowledgePageHasChildrenError, Eo as ObservabilityStorage, Er as FilesystemStore, Fa as tracePageIdSchema, Fi as MAX_KNOWLEDGE_PAGE_LIST_LIMIT, Fr as mergeWorkflowStepResult, Ga as threadQueryResponseSchema, Gi as parseKnowledgePageRef, Gr as InMemoryNotificationsStorage, Ha as planThreadRowsQuery, Hi as knowledgePinDepth, Hr as InMemorySchedulesStorage, Ia as tracePageNodeSchema, Ii as MAX_KNOWLEDGE_PIN_LIST_DEPTH, Ir as InMemoryWorkflowDefinitionsStorage, Ja as SPAN_QUERY_MAX_CURSOR_BYTES, Ji as HarnessStorage, Ka as threadQueryRowSchema, Ki as KnowledgeInvalidCursorError, Kr as NotificationsStorage, La as tracePageRequestSchema, Li as assertKnowledgeNoteTextWithinBound, Lr as WorkflowDefinitionsStorage, Ma as validateStorageMetadataFilter, Mi as MAX_KNOWLEDGE_PAGE_DESCRIPTION_TOKENS, Mr as WorkflowsStorage, Na as TracePageError, Ni as MAX_KNOWLEDGE_PAGE_LINKS, Nr as createEmptyWorkflowSnapshot, Oa as serializeDate, Oi as MAX_KNOWLEDGE_MOVE_PAGES, Oo as FactoryStorageDomain, Or as InMemoryStore, Pa as readTracePage, Pi as MAX_KNOWLEDGE_PAGE_LINK_REF_LENGTH, Pr as mergeStepResult, Qa as buildSpanQueryResponse, Qi as DatasetsStorage, Ql as RUN_FENCE_CONFLICT_ERROR_ID, Ra as tracePageResponseSchema, Ri as assertKnowledgePageDescriptionWithinBound, Rr as InMemoryToolProviderConnectionsStorage, Sa as getDefaultValue, Si as inspectKnowledgeSchema, So as getStringOrNull, Sr as StoreOperationsInMemory, Ta as jsonValueEquals, Ti as KnowledgePageDepthError, To as ObservabilityInMemory, Tr as createGitHubSourceControlProviderFromEnv, Ua as threadQueryIdentitySchema, Ui as knowledgePositionBetween, Ur as SchedulesStorage, Va as encodeThreadQueryCursor, Vi as knowledgePagePath, Vr as ScoresStorage, Wa as threadQueryRequestSchema, Wi as knowledgeScopeReadable, Wr as normalizeScheduleTarget, Xa as SPAN_QUERY_MAX_PREVIEW_CHARACTERS, Xi as ExperimentsStorage, Xl as assertWorkflowStepGuard, Ya as SPAN_QUERY_MAX_LIMIT, Yi as ExperimentsInMemory, Yl as WorkflowStepConflictError, Za as SPAN_QUERY_ORDER_FIELDS, Zi as DatasetsInMemory, Zl as isWorkflowStepConflictError, _a as createStorageErrorId, _i as KnowledgeStorage, _o as buildLogRecord, _r as knowledgeScopeKey, ao as spanQueryIdentityKey, au as resolveRunFence, ba as ensureDate, bi as assertKnowledgeSchemaCompatible, bo as buildUpdateSpanRecord, br as knowledgeVisibleScopeKeys, ca as ChannelsStorage, ci as InMemoryKnowledgeStorage, co as spanQueryResponseSchema, cr as MAX_KNOWLEDGE_SCOPE_TAGS, cu as setRunFenceContext, da as BackgroundTasksInMemory, di as KnowledgeImportersStorage, do as encodeTraceQueryDeltaCursor, dr as assertKnowledgeRecordTextWithinBound, eo as encodeSpanQueryCursor, eu as RunFenceConflictError, fa as BackgroundTasksStorage, fi as KNOWLEDGE_STORAGE_CONTRACT_VERSION, fo as getTraceQueryDeltaWatermark, fr as assertKnowledgeScopeWithinCeiling, ga as runRetentionBatches, gi as KnowledgeSchemaResetRequiredError, go as buildFeedbackRecord, gr as isKnowledgeScopeVisible, ha as retentionCutoffMs, hi as KnowledgeNotFoundError, ho as buildCreateSpanRecord, hr as expandKnowledgeScope, io as spanQueryCostSchema, iu as matchesRunFence, ja as transformScoreRow, ji as MAX_KNOWLEDGE_PAGE_DEPTH, jr as cloneRunData, ka as storageMessageMatchesMetadataFilter, ki as MAX_KNOWLEDGE_NOTE_TOKENS, ko as UniqueViolationError, kr as MockStore, la as InMemoryBlobStore, li as KnowledgeImporterBindingConflictError, lo as spanQueryRowSchema, lr as assertKnowledgeCeilingRaised, ma as resolveRetentionTargets, mi as KnowledgeConflictError, mo as planTraceQuery, mr as createKnowledgeNodeCursor, no as planSpanQuery, nu as currentRunGeneration, oi as InMemoryMemory, oo as spanQueryIdentitySchema, or as MAX_KNOWLEDGE_NODE_DESCRIPTION_LENGTH, ou as runFencingNotSupportedError, pa as executeRetentionPrune, pi as KNOWLEDGE_STORAGE_SCHEMA_VERSION, po as planThreadQuery, pr as canonicalizeKnowledgeScope, qa as SPAN_QUERY_MAX_COST_METRICS, qi as InMemoryHarness, qr as dispatchDueNotifications, ro as resolveSpanQueryCost, ru as isRunFenceConflictError, sa as InMemoryChannelsStorage, si as MemoryStorage, so as spanQueryRequestSchema, sr as MAX_KNOWLEDGE_RECORD_TEXT_LENGTH, su as runOutsideRunFenceScope, to as parseSpanQueryRequest, tu as coverNestedRun, ua as BlobStore, ui as KnowledgeImporterRunStateError, uo as encodeTraceQueryCursor, ur as assertKnowledgeDescriptionWithinBound, va as createStoreErrorId, vi as KnowledgeTransactionDeadlineError, vo as buildMetricRecord, vr as knowledgeSemanticDocumentId, wa as hasErrorCode, wi as KnowledgeMoveTooLargeError, wo as toEntityType, wr as GitHubSourceControlProvider, xa as filterByDateRange, xi as createKnowledgeUlid, xo as getObjectOrNull, xr as parseKnowledgeNodeCursor, ya as createVectorErrorId, yi as KnowledgeUnsupportedCapabilityError, yo as buildScoreRecord, yr as knowledgeSemanticIdempotencyKey, za as THREAD_QUERY_DEFAULT_LIMIT, zi as canonicalKnowledgeName, zr as ToolProviderConnectionsStorage } from "../run-registry-DhOKJtlb.js";
2
2
  import { a as PREVIEW_MAX_LENGTH } from "../observability-D7RNOAPx.js";
3
- import { At as STATE_CHECKPOINT_PATCHES, Bt as summarizeStepResult, Ft as materializeState, Ht as applyStatePatch, It as materializeWorkflowRun, Lt as pickStateKeys, Mt as applyStateColumnsWrite, Nt as isStateCheckpointDue, Pt as latestStepResults, Rt as stateBaseOf, Ut as diffState, Vt as unusedStateEntries, jt as STEP_RESULT_SUMMARY_FIELDS, kt as getSnapshotMemoryInfo, zt as stateColumnsWrite } from "../stream-C5PagEDs.js";
3
+ import { At as STATE_CHECKPOINT_PATCHES, Bt as summarizeStepResult, Ft as materializeState, Ht as applyStatePatch, It as materializeWorkflowRun, Lt as pickStateKeys, Mt as applyStateColumnsWrite, Nt as isStateCheckpointDue, Pt as latestStepResults, Rt as stateBaseOf, Ut as diffState, Vt as unusedStateEntries, jt as STEP_RESULT_SUMMARY_FIELDS, kt as getSnapshotMemoryInfo, zt as stateColumnsWrite } from "../stream-C8HKG3qC.js";
4
4
  import { $ as getFeedbackAggregateArgsSchema, $t as metricsFilterSchema, A as deleteScoresResponseSchema, An as tagsField, At as getServiceNamesResponseSchema, B as experimentIdField, Bt as listScoresArgsSchema, C as dateRangeSchema, Cn as scoresOrderBySchema, Ct as getScoreBreakdownArgsSchema, D as deleteFeedbackArgsSchema, Dn as sourceField, Dt as getScoreTimeSeriesArgsSchema, E as defaultPaginationArgs, En as sortDirectionSchema, Et as getScorePercentilesResponseSchema, F as entityIdField, Fn as userIdField, Ft as listLogsArgsSchema, G as feedbackRecordSchema, Gt as logsFilterSchema, H as feedbackInputSchema, Ht as logLevelSchema, I as entityNameField, It as listLogsResponseSchema, J as getEntityNamesResponseSchema, Jt as metadataField, K as feedbackReviewStatusSchema, Kt as logsOrderByFieldSchema, L as entityTypeField, Lt as listMetricsArgsSchema, M as deltaInfoSchema, Mn as traceIdField, Mt as getTagsResponseSchema, N as deltaLimitSchema, Nn as updateFeedbackReviewStatusArgsSchema, Nt as listFeedbackArgsSchema, O as deleteFeedbackResponseSchema, On as spanContextFields, Ot as getScoreTimeSeriesResponseSchema, P as distinctColumnSchema, Pn as updatedAtField, Pt as listFeedbackResponseSchema, Q as getEnvironmentsResponseSchema, Qt as metricsAggregationSchema, R as environmentField, Rt as listMetricsResponseSchema, S as createdAtField, Sn as scoresOrderByFieldSchema, St as getScoreAggregateResponseSchema, T as defaultDeltaLimit, Tn as sessionIdField, Tt as getScorePercentilesArgsSchema, U as feedbackOrderByFieldSchema, Ut as logRecordInputSchema, V as feedbackFilterSchema, Vt as listScoresResponseSchema, W as feedbackOrderBySchema, Wt as logRecordSchema, X as getEntityTypesResponseSchema, Xt as metricRecordSchema, Y as getEntityTypesArgsSchema, Yt as metricInputSchema, Z as getEnvironmentsArgsSchema, Zt as metricTypeSchema, _ as createMetricRecordSchema, _n as runIdField, _t as getMetricPercentilesArgsSchema, a as batchCreateFeedbackArgsSchema, an as paginationInfoSchema, at as getFeedbackTimeSeriesArgsSchema, b as createScoreRecordSchema, bn as scoreRecordSchema, bt as getMetricTimeSeriesResponseSchema, c as batchCreateScoresArgsSchema, cn as parentEntityTypeField, ct as getMetricAggregateResponseSchema, d as contextFields, dn as requestIdField, dt as getMetricLabelKeysArgsSchema, en as metricsOrderByFieldSchema, et as getFeedbackAggregateResponseSchema, f as createFeedbackArgsSchema, ft as getMetricLabelKeysResponseSchema, g as createLogRecordSchema, gn as rootEntityTypeField, gt as getMetricNamesResponseSchema, h as createFeedbackResponseSchema, hn as rootEntityNameField, ht as getMetricNamesArgsSchema, i as aggregationTypeSchema, in as paginationArgsSchema, it as getFeedbackPercentilesResponseSchema, j as deltaCursorSchema, jn as threadIdField, jt as getTagsArgsSchema, k as deleteScoresArgsSchema, kn as spanIdField, kt as getServiceNamesArgsSchema, l as commonFilterFields, ln as refineObservabilityListMode, lt as getMetricBreakdownArgsSchema, m as createFeedbackRecordSchema, mn as rootEntityIdField, mt as getMetricLabelValuesResponseSchema, n as METRIC_DISTINCT_COLUMNS, nn as normalizeObservabilityListArgs, nt as getFeedbackBreakdownResponseSchema, o as batchCreateLogsArgsSchema, on as parentEntityIdField, ot as getFeedbackTimeSeriesResponseSchema, p as createFeedbackBodySchema, pn as resourceIdField, pt as getMetricLabelValuesArgsSchema, q as getEntityNamesArgsSchema, qt as logsOrderBySchema, r as aggregationIntervalSchema, rn as organizationIdField, rt as getFeedbackPercentilesArgsSchema, s as batchCreateMetricsArgsSchema, sn as parentEntityNameField, st as getMetricAggregateArgsSchema, t as EntityType, tn as metricsOrderBySchema, tt as getFeedbackBreakdownArgsSchema, u as comparePeriodSchema, un as replaceFeedbackBodySchema, ut as getMetricBreakdownResponseSchema, v as createScoreArgsSchema, vn as scopeField, vt as getMetricPercentilesResponseSchema, w as dbTimestamps, wn as serviceNameField, wt as getScoreBreakdownResponseSchema, x as createScoreResponseSchema, xn as scoresFilterSchema, xt as getScoreAggregateArgsSchema, y as createScoreBodySchema, yn as scoreInputSchema, yt as getMetricTimeSeriesArgsSchema, z as executionSourceField, zt as listModeSchema } from "../storage-Cc50aQAp.js";
5
5
  import { $ as TABLE_CHANNEL_INSTALLATIONS, $n as listTracesLightResponseSchema, $t as TABLE_WORKSPACES, A as MCP_CLIENTS_SCHEMA, An as computeTraceStatus, At as TABLE_OBSERVATIONAL_MEMORY, B as PROMPT_BLOCK_VERSIONS_SCHEMA, Bn as getSpansArgsSchema, Bt as TABLE_SKILLS, C as KNOWLEDGE_SCOPE_GRANTS_SCHEMA, Cn as branchesFilterSchema, Ct as TABLE_MCP_CLIENTS, D as KNOWLEDGE_V2_MENTIONS_SCHEMA, Dn as buildPreview, Dt as TABLE_MEMORY_RUN_FENCES, E as KNOWLEDGE_V2_ACTIVITY_SCHEMA, En as buildInputPreview, Et as TABLE_MCP_SERVER_VERSIONS, F as NOTIFICATIONS_SCHEMA, Fn as getBranchResponseSchema, Ft as TABLE_SCHEDULE_TRIGGERS, G as SKILLS_SCHEMA, Gn as getTraceLightResponseSchema, Gt as TABLE_THREAD_STATE, H as SCORERS_SCHEMA, Hn as getStringAttribute, Ht as TABLE_SKILL_VERSIONS, I as OBSERVATIONAL_MEMORY_SCHEMA, In as getRootSpanArgsSchema, It as TABLE_SCHEMAS, J as SPAN_SCHEMA, Jn as lightSpanRecordSchema, Jt as TABLE_WORKFLOW_DEFINITIONS, K as SKILL_BLOBS_SCHEMA, Kn as getTraceResponseSchema, Kt as TABLE_TOOL_PROVIDER_CONNECTIONS, L as OBSERVATIONAL_MEMORY_TABLE_SCHEMA, Ln as getRootSpanResponseSchema, Lt as TABLE_SCORERS, M as MCP_SERVERS_SCHEMA, Mn as createSpanRecordSchema, Mt as TABLE_PROMPT_BLOCK_VERSIONS, N as MCP_SERVER_VERSIONS_SCHEMA, Nn as extractBranchSpans, Nt as TABLE_RESOURCES, O as KNOWLEDGE_V2_NODES_SCHEMA, On as buildPreviewFromJson, Ot as TABLE_MESSAGES, P as MEMORY_RUN_FENCES_SCHEMA, Pn as getBranchArgsSchema, Pt as TABLE_SCHEDULES, Q as TABLE_CHANNEL_CONFIG, Qn as listTracesArgsSchema, Qt as TABLE_WORKFLOW_SNAPSHOT, R as OLD_SPAN_SCHEMA, Rn as getSpanArgsSchema, Rt as TABLE_SCORER_DEFINITIONS, S as KNOWLEDGE_SCOPE_ADDRESSES_SCHEMA, Sn as batchUpdateSpansArgsSchema, St as TABLE_KNOWLEDGE_SEMANTIC_OUTBOX, T as KNOWLEDGE_TABLE_NAMES, Tn as branchesOrderBySchema, Tt as TABLE_MCP_SERVERS, U as SCORER_DEFINITIONS_SCHEMA, Un as getStructureResponseSchema, Ut as TABLE_SPANS, V as RUN_FENCING_TABLE_SCHEMAS, Vn as getSpansResponseSchema, Vt as TABLE_SKILL_BLOBS, W as SCORER_DEFINITION_VERSIONS_SCHEMA, Wn as getTraceArgsSchema, Wt as TABLE_THREADS, X as TABLE_AGENT_VERSIONS, Xn as listBranchesResponseSchema, Xt as TABLE_WORKFLOW_RUN_ENTRIES, Y as TABLE_AGENTS, Yn as listBranchesArgsSchema, Yt as TABLE_WORKFLOW_RUNS, Z as TABLE_BACKGROUND_TASKS, Zn as listScoresBySpanResponseSchema, Zt as TABLE_WORKFLOW_RUN_OWNERS, _ as KNOWLEDGE_NODE_ADDRESSES_SCHEMA, _n as INPUT_PREVIEW_MAX_LENGTH, _r as isAppendOnlySince, _t as TABLE_KNOWLEDGE_PROPOSALS, a as DATASET_VERSIONS_SCHEMA, an as WORKFLOW_RUN_ENTRIES_SCHEMA, ar as spanRecordSchema, at as TABLE_EXPERIMENT_RESULTS, b as KNOWLEDGE_RECORDS_SCHEMA, bn as batchDeleteTracesArgsSchema, br as maxObservationCursor, bt as TABLE_KNOWLEDGE_SCOPE_ADDRESSES, c as FAVORITES_SCHEMA, cn as WORKSPACES_SCHEMA, cr as toTraceSpans, ct as TABLE_KNOWLEDGE_ACCESS_STATE, d as KNOWLEDGE_ACTIVITY_SCHEMA, dn as STORAGE_VISIBILITY_VALUES, dr as tracesOrderByFieldSchema, dt as TABLE_KNOWLEDGE_IMPORT_RUNS, en as TABLE_WORKSPACE_VERSIONS, er as listTracesResponseSchema, et as TABLE_CONFIGS, f as KNOWLEDGE_CURSORS_SCHEMA, fn as buildStorageSchema, fr as tracesOrderBySchema, ft as TABLE_KNOWLEDGE_IMPORT_STATE, g as KNOWLEDGE_NODES_SCHEMA, gn as BRANCH_SPAN_TYPE_SET, gr as compareObservationalMemoryHeadOrder, gt as TABLE_KNOWLEDGE_NODE_SCOPES, h as KNOWLEDGE_MENTIONS_SCHEMA, hn as BRANCH_SPAN_TYPES, hr as assertActiveObservationsApplied, ht as TABLE_KNOWLEDGE_NODE_ADDRESSES, i as DATASET_ITEMS_SCHEMA, in as WORKFLOW_RUNS_SCHEMA, ir as spanIdsSchema, it as TABLE_EXPERIMENTS, j as MCP_CLIENT_VERSIONS_SCHEMA, jn as createSpanArgsSchema, jt as TABLE_PROMPT_BLOCKS, k as KNOWLEDGE_V2_RECORDS_SCHEMA, kn as buildStoredPreview, kt as TABLE_NOTIFICATIONS, l as HARNESS_SESSIONS_SCHEMA, ln as WORKSPACE_VERSIONS_SCHEMA, lr as traceSpanSchema, lt as TABLE_KNOWLEDGE_ACTIVITY, m as KNOWLEDGE_IMPORT_STATE_SCHEMA, mn as BATCH_DELETE_TRACES_MAX_IDS, mr as updateSpanRecordSchema, mt as TABLE_KNOWLEDGE_NODES, n as AGENT_VERSIONS_SCHEMA, nn as TOOL_PROVIDER_CONNECTIONS_SCHEMA, nr as scoreTracesResponseSchema, nt as TABLE_DATASET_ITEMS, o as EXPERIMENTS_SCHEMA, on as WORKFLOW_RUN_JOURNAL_TABLE_CONFIGS, or as toLightSpanRecord, ot as TABLE_FAVORITES, p as KNOWLEDGE_IMPORT_RUNS_SCHEMA, pn as matchesExpectedWorkflowStatus, pr as updateSpanArgsSchema, pt as TABLE_KNOWLEDGE_MENTIONS, q as SKILL_VERSIONS_SCHEMA, qn as isPreviewTruncated, qt as TABLE_TRACES, r as DATASETS_SCHEMA, rn as WORKFLOW_DEFINITIONS_SCHEMA, rr as spanIds, rt as TABLE_DATASET_VERSIONS, s as EXPERIMENT_RESULTS_SCHEMA, sn as WORKFLOW_RUN_OWNERS_SCHEMA, sr as toTraceSpan, st as TABLE_HARNESS_SESSIONS, t as AGENTS_SCHEMA, tn as THREAD_STATE_SCHEMA, tr as scoreTracesRequestSchema, tt as TABLE_DATASETS, u as KNOWLEDGE_ACCESS_STATE_SCHEMA, un as STORAGE_FAVORITE_ENTITY_TYPES, ur as tracesFilterSchema, ut as TABLE_KNOWLEDGE_CURSORS, v as KNOWLEDGE_NODE_SCOPES_SCHEMA, vn as TraceStatus, vr as isBufferedChunkCoveredByCursor, vt as TABLE_KNOWLEDGE_RECORDS, w as KNOWLEDGE_SEMANTIC_OUTBOX_SCHEMA, wn as branchesOrderByFieldSchema, wt as TABLE_MCP_CLIENT_VERSIONS, x as KNOWLEDGE_RECORD_SCOPES_SCHEMA, xn as batchDeleteTracesResponseSchema, xr as planReflectionGenerationText, xt as TABLE_KNOWLEDGE_SCOPE_GRANTS, y as KNOWLEDGE_PROPOSALS_SCHEMA, yn as batchCreateSpansArgsSchema, yr as isBufferedReflectionUnchangedSince, yt as TABLE_KNOWLEDGE_RECORD_SCOPES, z as PROMPT_BLOCKS_SCHEMA, zn as getSpanResponseSchema, zt as TABLE_SCORER_DEFINITION_VERSIONS } from "../constants-BmdTvEYN.js";
6
6
  import { _ as ThreadStateStorage, a as GitHistory, c as DOMAIN_KEYS, d as MastraStorage, f as calculatePagination, g as InMemoryThreadStateStorage, h as resolveListOrderBy, i as getSourceControlEntityFilePath, l as EDITOR_DOMAINS, m as normalizePerPage, n as SOURCE_CONTROL_AGENTS_DIR, o as VersionedStorageDomain, p as compareByField, r as getSourceAgentFilePath, s as StorageDomain, t as FilesystemVersionedHelpers, u as MastraCompositeStore } from "../filesystem-versioned-BL1ojJLo.js";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_stream = require("../stream-DH7Qgz8l.cjs");
3
- const require_llm = require("../llm-BAiOsNAP.cjs");
2
+ const require_stream = require("../stream-BIDts1fZ.cjs");
3
+ const require_llm = require("../llm-B4AeSFvV.cjs");
4
4
  const require_file = require("../file-BEndQUN1.cjs");
5
5
  exports.ChunkFrom = require_llm.ChunkFrom;
6
6
  exports.DefaultGeneratedFile = require_file.DefaultGeneratedFile;
@@ -1,4 +1,4 @@
1
- import { En as convertFullStreamChunkToUIMessageStream, a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, d as MastraModelOutput, i as withStreamCaching, n as createCachingTransformStream, o as convertMastraChunkToAISDKv5, r as createReplayStream, s as MastraAgentNetworkStream, t as smoothStream } from "../stream-C5PagEDs.js";
2
- import { u as ChunkFrom } from "../llm-B1zaFLYZ.js";
1
+ import { En as convertFullStreamChunkToUIMessageStream, a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, d as MastraModelOutput, i as withStreamCaching, n as createCachingTransformStream, o as convertMastraChunkToAISDKv5, r as createReplayStream, s as MastraAgentNetworkStream, t as smoothStream } from "../stream-C8HKG3qC.js";
2
+ import { u as ChunkFrom } from "../llm-B46V7Mi7.js";
3
3
  import { n as DefaultGeneratedFileWithType, t as DefaultGeneratedFile } from "../file-DGZrR5f7.js";
4
4
  export { ChunkFrom, DefaultGeneratedFile, DefaultGeneratedFileWithType, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5, createCachingTransformStream, createReplayStream, smoothStream, withStreamCaching };
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
2
- const require_llm = require("./llm-BAiOsNAP.cjs");
3
- const require_message_list = require("./message-list-Cj0Sq_JP.cjs");
2
+ const require_llm = require("./llm-B4AeSFvV.cjs");
3
+ const require_message_list = require("./message-list-DfN9mWeN.cjs");
4
4
  const require_observability = require("./observability-B0R_D1PZ.cjs");
5
5
  const require_base = require("./base-BIzR1D3_.cjs");
6
6
  const require_error = require("./error-D90lJ6M7.cjs");
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-tIEjjQTE.js";
2
- import { d as attachModelStreamTransport, f as isDataChunk, i as resolveModelConfig, p as readModelStreamTransport } from "./llm-B1zaFLYZ.js";
3
- import { B as getResponseProviderItemIdFromPart, G as RESPONSE_ITEM_ID_PROVIDERS, K as RESPONSE_RESULT_ITEM_ID_KEY, f as coreContentToString, n as MessageList, p as messagesAreEqual, t as convertMessages } from "./message-list-KRbg-TnI.js";
2
+ import { d as attachModelStreamTransport, f as isDataChunk, i as resolveModelConfig, p as readModelStreamTransport } from "./llm-B46V7Mi7.js";
3
+ import { B as getResponseProviderItemIdFromPart, G as RESPONSE_ITEM_ID_PROVIDERS, K as RESPONSE_RESULT_ITEM_ID_KEY, f as coreContentToString, n as MessageList, p as messagesAreEqual, t as convertMessages } from "./message-list-wI71UGxk.js";
4
4
  import { S as resolveObservabilityContext, x as createObservabilityContext } from "./observability-D7RNOAPx.js";
5
5
  import { t as MastraBase } from "./base-CKLWBhDo.js";
6
6
  import { i as MastraError, n as ErrorDomain, o as getErrorFromUnknown, t as ErrorCategory } from "./error-oh2DLsP2.js";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_rolldown_runtime = require("../rolldown-runtime-BrhgMLW6.cjs");
3
3
  const require_dist = require("../dist-CXeCeeW7.cjs");
4
- const require_model = require("../model-WahorgzJ.cjs");
4
+ const require_model = require("../model-CYhAa5qO.cjs");
5
5
  const require_model$1 = require("../model-jBymoqGa.cjs");
6
6
  let stream = require("stream");
7
7
  let module$1 = require("module");
@@ -1,5 +1,5 @@
1
1
  import { o as simulateReadableStream } from "../dist-D3cKCUe-.js";
2
- import { t as MastraLLMV1 } from "../model-C47BJRtR.js";
2
+ import { t as MastraLLMV1 } from "../model-CJMsDU8w.js";
3
3
  import { t as AISDKV5LanguageModel } from "../model-DS-b2R-R.js";
4
4
  import { createRequire } from "module";
5
5
  import { Readable } from "stream";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_tool_loop_agent = require("../tool-loop-agent-CJTs4T8b.cjs");
2
+ const require_tool_loop_agent = require("../tool-loop-agent-PEY5a1R6.cjs");
3
3
  exports.getSettings = require_tool_loop_agent.getSettings;
4
4
  exports.isToolLoopAgentLike = require_tool_loop_agent.isToolLoopAgentLike;
5
5
  exports.toolLoopAgentToMastraAgent = require_tool_loop_agent.toolLoopAgentToMastraAgent;
@@ -1 +1 @@
1
- export { n as getSettings, r as isToolLoopAgentLike, t as toolLoopAgentToMastraAgent } from "../tool-loop-agent-DVYJXlQJ.js";
1
+ export { n as getSettings, r as isToolLoopAgentLike, t as toolLoopAgentToMastraAgent } from "../tool-loop-agent-DM5V_0XS.js";
@@ -1,8 +1,8 @@
1
1
  import { m as generateId } from "./dist-TPVqg8oV.js";
2
- import { N as Agent } from "./run-registry-DdeEBsVW.js";
3
- import { ln as isSupportedLanguageModel } from "./stream-C5PagEDs.js";
4
- import { i as resolveModelConfig } from "./llm-B1zaFLYZ.js";
5
- import { N as ToolLoopAgent } from "./message-list-KRbg-TnI.js";
2
+ import { P as Agent } from "./run-registry-DhOKJtlb.js";
3
+ import { ln as isSupportedLanguageModel } from "./stream-C8HKG3qC.js";
4
+ import { i as resolveModelConfig } from "./llm-B46V7Mi7.js";
5
+ import { N as ToolLoopAgent } from "./message-list-wI71UGxk.js";
6
6
  // src/tool-loop-agent/utils.ts
7
7
  function isToolLoopAgentLike(obj) {
8
8
  if (!obj) return false;
@@ -1,8 +1,8 @@
1
1
  const require_dist = require("./dist-P2rjrlmj.cjs");
2
- const require_run_registry = require("./run-registry-TOOfO3hT.cjs");
3
- const require_stream = require("./stream-DH7Qgz8l.cjs");
4
- const require_llm = require("./llm-BAiOsNAP.cjs");
5
- const require_message_list = require("./message-list-Cj0Sq_JP.cjs");
2
+ const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
3
+ const require_stream = require("./stream-BIDts1fZ.cjs");
4
+ const require_llm = require("./llm-B4AeSFvV.cjs");
5
+ const require_message_list = require("./message-list-DfN9mWeN.cjs");
6
6
  // src/tool-loop-agent/utils.ts
7
7
  function isToolLoopAgentLike(obj) {
8
8
  if (!obj) return false;
@@ -1,7 +1,7 @@
1
1
  const require_error = require("./error-D90lJ6M7.cjs");
2
2
  const require_tool = require("./tool-CYlT2UA-.cjs");
3
3
  const require_ee_iTj2bRDt = require("./ee-iTj2bRDt-D3-QLGDF.cjs");
4
- const require_background_tasks = require("./background-tasks-Ci5h0dhj.cjs");
4
+ const require_background_tasks = require("./background-tasks-DgiQNKh7.cjs");
5
5
  const require_base = require("./base-BIzR1D3_.cjs");
6
6
  const require_observability = require("./observability-B0R_D1PZ.cjs");
7
7
  const require_utils = require("./utils-D-eNsgDM.cjs");
@@ -1,7 +1,7 @@
1
1
  import { i as MastraError, n as ErrorDomain, o as getErrorFromUnknown, t as ErrorCategory } from "./error-oh2DLsP2.js";
2
2
  import { c as registerToolOutputValidationSchema, d as validateToolOutput, f as validateToolSuspendData, h as markBuilderValidatedInput, i as createStandardSchemaIssuesError, n as Tool, o as getValidationIssuePaths, p as createToolObserve, s as isValidationError, u as validateToolInput } from "./tool-Z3bykc1m.js";
3
3
  import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
4
- import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-IW7M4iD2.js";
4
+ import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-E-Jjxks4.js";
5
5
  import { t as MastraBase } from "./base-CKLWBhDo.js";
6
6
  import { O as executionFailureTermination, b as wrapMastra, x as createObservabilityContext } from "./observability-D7RNOAPx.js";
7
7
  import { a as getOrCreateSpan, t as executeWithContext } from "./utils-DU_pU5SK.js";
package/dist/utils.cjs CHANGED
@@ -4,7 +4,7 @@ const require_deep_equal = require("./deep-equal-TMDmByBC.cjs");
4
4
  const require_zod_utils = require("./zod-utils-Cl5jw5N_.cjs");
5
5
  const require_fetchWithRetry = require("./fetchWithRetry-f5k4p7_1.cjs");
6
6
  const require_dynamic_argument = require("./dynamic-argument-CUc1BBOS.cjs");
7
- const require_utils = require("./utils-xJi_N6Tx.cjs");
7
+ const require_utils = require("./utils-CxMSu_wc.cjs");
8
8
  exports.boundedStringify = require_utils_safe_stringify.boundedStringify;
9
9
  exports.checkEvalStorageFields = require_utils.checkEvalStorageFields;
10
10
  exports.createMastraProxy = require_utils.createMastraProxy;
package/dist/utils.js CHANGED
@@ -3,5 +3,5 @@ import { t as deepEqual } from "./deep-equal-d1xU02ag.js";
3
3
  import { a as isZodObject, i as isZodArray, r as getZodTypeName, t as getZodDef } from "./zod-utils-BDDS_mxU.js";
4
4
  import { t as fetchWithRetry } from "./fetchWithRetry-DFSvpYDT.js";
5
5
  import { n as resolveDynamicArgument, t as getRequestUser } from "./dynamic-argument-BzPK3qPN.js";
6
- import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-D8upuTwy.js";
6
+ import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-DcnKVK34.js";
7
7
  export { boundedStringify, checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureSerializable, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, getRequestUser, getZodDef, getZodTypeName, isBoundedSerializable, isCoreMessage, isUiMessage, isZodArray, isZodObject, isZodType, makeCoreTool, makeCoreToolV5, makeProcessorCoreTool, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, readPositiveIntEnv, rebindProcessorTools, removeUndefinedValues, resolveDynamicArgument, resolveSerializedZodOutput, safeStringify, selectFields, setNestedValue };
@@ -1,5 +1,5 @@
1
1
  import { standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
2
- import { Et as validateTemplate, St as collectTemplateStepIds } from "./stream-C5PagEDs.js";
2
+ import { Et as validateTemplate, St as collectTemplateStepIds } from "./stream-C8HKG3qC.js";
3
3
  import { z } from "zod";
4
4
  // src/workflows/dynamic/graph.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- const require_stream = require("./stream-DH7Qgz8l.cjs");
1
+ const require_stream = require("./stream-BIDts1fZ.cjs");
2
2
  let zod = require("zod");
3
3
  let _mastra_schema_compat_schema = require("@mastra/schema-compat/schema");
4
4
  // src/workflows/dynamic/graph.ts
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_base = require("../base-BIzR1D3_.cjs");
3
3
  const require_error = require("../error-D90lJ6M7.cjs");
4
- const require_run_registry = require("../run-registry-TOOfO3hT.cjs");
5
- const require_message_list = require("../message-list-Cj0Sq_JP.cjs");
4
+ const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
5
+ const require_message_list = require("../message-list-DfN9mWeN.cjs");
6
6
  const require_dist = require("../dist-P2rjrlmj.cjs");
7
7
  const require_dist$1 = require("../dist-CXeCeeW7.cjs");
8
8
  const require_vector_filter_index = require("./filter/index.cjs");
@@ -1,7 +1,7 @@
1
1
  import { t as MastraBase } from "../base-CKLWBhDo.js";
2
2
  import { i as MastraError, n as ErrorDomain, t as ErrorCategory } from "../error-oh2DLsP2.js";
3
- import { fn as embed$3, ga as createVectorErrorId } from "../run-registry-DdeEBsVW.js";
4
- import { P as embed$2 } from "../message-list-KRbg-TnI.js";
3
+ import { un as embed$3, ya as createVectorErrorId } from "../run-registry-DhOKJtlb.js";
4
+ import { P as embed$2 } from "../message-list-wI71UGxk.js";
5
5
  import { r as embed$1 } from "../dist-TPVqg8oV.js";
6
6
  import { n as embed } from "../dist-D3cKCUe-.js";
7
7
  import { BaseFilterTranslator } from "./filter/index.js";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_worker = require("../worker-24ORi-wV.cjs");
2
+ const require_worker = require("../worker-CFPu9qwV.cjs");
3
3
  exports.BackgroundTaskWorker = require_worker.BackgroundTaskWorker;
4
4
  exports.HttpRemoteStrategy = require_worker.HttpRemoteStrategy;
5
5
  exports.InProcessStrategy = require_worker.InProcessStrategy;
@@ -1 +1 @@
1
- export { n as BackgroundTaskWorker, o as HttpRemoteStrategy, t as InProcessStrategy, c as MastraWorker, i as OrchestrationWorker, a as PullTransport, r as SchedulerWorker, s as StepExecutionError } from "../worker-DbcFkKJO.js";
1
+ export { n as BackgroundTaskWorker, o as HttpRemoteStrategy, t as InProcessStrategy, c as MastraWorker, i as OrchestrationWorker, a as PullTransport, r as SchedulerWorker, s as StepExecutionError } from "../worker-SDi9jbP5.js";
@@ -1,6 +1,6 @@
1
- const require_run_registry = require("./run-registry-TOOfO3hT.cjs");
1
+ const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
2
2
  const require_scheduler = require("./scheduler-D00X03jQ.cjs");
3
- const require_background_tasks = require("./background-tasks-Ci5h0dhj.cjs");
3
+ const require_background_tasks = require("./background-tasks-DgiQNKh7.cjs");
4
4
  const require_request_context = require("./request-context-D9RXYCy8.cjs");
5
5
  // src/worker/worker.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { vt as resolveAgentById } from "./run-registry-DdeEBsVW.js";
1
+ import { yt as resolveAgentById } from "./run-registry-DhOKJtlb.js";
2
2
  import { u as RequestContext } from "./request-context-COnZHt2-.js";
3
- import { a as PullTransport, c as MastraWorker } from "./worker-DbcFkKJO.js";
3
+ import { a as PullTransport, c as MastraWorker } from "./worker-SDi9jbP5.js";
4
4
  import { l as parseFsAgentScheduleRowId } from "./schedules-DZfSx-7P.js";
5
5
  // src/schedules/worker.ts
6
6
  /** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
@@ -1,6 +1,6 @@
1
- const require_run_registry = require("./run-registry-TOOfO3hT.cjs");
1
+ const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
2
2
  const require_request_context = require("./request-context-D9RXYCy8.cjs");
3
- const require_worker = require("./worker-24ORi-wV.cjs");
3
+ const require_worker = require("./worker-CFPu9qwV.cjs");
4
4
  const require_schedules = require("./schedules-BZS8McF7.cjs");
5
5
  // src/schedules/worker.ts
6
6
  /** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
@@ -1,6 +1,6 @@
1
- import { Hs as StepExecutor, Us as computeScheduleDefinitionHash, Vs as WorkflowEventProcessor, _l as assertDrainTimeout, lc as getNestedWorkflow, uc as getStepEntry, vl as waitMs, vt as resolveAgentById } from "./run-registry-DdeEBsVW.js";
1
+ import { Cl as assertDrainTimeout, Gs as StepExecutor, Ks as computeScheduleDefinitionHash, Ws as WorkflowEventProcessor, gc as getStepEntry, hc as getNestedWorkflow, wl as waitMs, yt as resolveAgentById } from "./run-registry-DhOKJtlb.js";
2
2
  import { t as Scheduler } from "./scheduler-B-VZUvv_.js";
3
- import { s as BackgroundTaskManager } from "./background-tasks-IW7M4iD2.js";
3
+ import { s as BackgroundTaskManager } from "./background-tasks-E-Jjxks4.js";
4
4
  import { u as RequestContext } from "./request-context-COnZHt2-.js";
5
5
  // src/worker/worker.ts
6
6
  /**
@@ -1,8 +1,8 @@
1
- import { un as resolveSuspendedToolRunId } from "./stream-C5PagEDs.js";
1
+ import { un as resolveSuspendedToolRunId } from "./stream-C8HKG3qC.js";
2
2
  import "./utils-DU_pU5SK.js";
3
3
  import { m as slimProgressChunk } from "./output-helpers-CVzhy1Y0.js";
4
- import { Ps as createWorkflow, mc as createStep } from "./run-registry-DdeEBsVW.js";
5
- import { c as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-IW7M4iD2.js";
4
+ import { Ls as createWorkflow, bc as createStep } from "./run-registry-DhOKJtlb.js";
5
+ import { c as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-E-Jjxks4.js";
6
6
  import { z } from "zod";
7
7
  // src/background-tasks/workflow.ts
8
8
  const inputSchema = z.object({ taskId: z.string() });
@@ -1,8 +1,8 @@
1
- const require_stream = require("./stream-DH7Qgz8l.cjs");
1
+ const require_stream = require("./stream-BIDts1fZ.cjs");
2
2
  require("./utils-D-eNsgDM.cjs");
3
3
  const require_output_helpers = require("./output-helpers-DgsH4aTb.cjs");
4
- const require_run_registry = require("./run-registry-TOOfO3hT.cjs");
5
- const require_background_tasks = require("./background-tasks-Ci5h0dhj.cjs");
4
+ const require_run_registry = require("./run-registry-lLRc7EE6.cjs");
5
+ const require_background_tasks = require("./background-tasks-DgiQNKh7.cjs");
6
6
  let zod = require("zod");
7
7
  // src/background-tasks/workflow.ts
8
8
  const inputSchema = zod.z.object({ taskId: zod.z.string() });
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_builder = require("../../builder-14Uptu8y.cjs");
2
+ const require_builder = require("../../builder-Dfp6Ckjr.cjs");
3
3
  exports.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS = require_builder.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS;
4
4
  exports.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK = require_builder.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK;
5
5
  exports.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION = require_builder.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION;
@@ -1 +1 @@
1
- export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-DI2c2xjy.js";
1
+ export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-Dh175HnQ.js";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../../run-registry-TOOfO3hT.cjs");
2
+ const require_run_registry = require("../../run-registry-lLRc7EE6.cjs");
3
3
  exports.EventedExecutionEngine = require_run_registry.EventedExecutionEngine;
4
4
  exports.EventedRun = require_run_registry.EventedRun;
5
5
  exports.EventedWorkflow = require_run_registry.EventedWorkflow;
@@ -1 +1 @@
1
- export { cc as EventedExecutionEngine, Fs as EventedRun, Is as EventedWorkflow, Hs as StepExecutor, Vs as WorkflowEventProcessor, Ls as cloneStep, Rs as cloneWorkflow, zs as createStep, Bs as createWorkflow } from "../../run-registry-DdeEBsVW.js";
1
+ export { mc as EventedExecutionEngine, Rs as EventedRun, zs as EventedWorkflow, Gs as StepExecutor, Ws as WorkflowEventProcessor, Bs as cloneStep, Vs as cloneWorkflow, Hs as createStep, Us as createWorkflow } from "../../run-registry-DhOKJtlb.js";
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-TOOfO3hT.cjs");
3
- const require_stream = require("../stream-DH7Qgz8l.cjs");
2
+ const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
3
+ const require_stream = require("../stream-BIDts1fZ.cjs");
4
4
  const require_predicate_index = require("../predicate/index.cjs");
5
5
  const require_schedules = require("../schedules-BZS8McF7.cjs");
6
6
  const require_scheduler = require("../scheduler-D00X03jQ.cjs");
7
- const require_validate = require("../validate-6eZ8Wssn.cjs");
8
- const require_rehydrate = require("../rehydrate-Da4hNuaK.cjs");
7
+ const require_validate = require("../validate-RVKgazCf.cjs");
8
+ const require_rehydrate = require("../rehydrate-BWnd_TEx.cjs");
9
9
  // src/workflows/state-reader.ts
10
10
  const getStep = (state, stepId) => state.steps?.[stepId];
11
11
  const getFirstStepResult = (step) => {
@@ -1,10 +1,10 @@
1
- import { $c as getSingleStepEntryId, Bc as RESUME_SNAPSHOT_POLL_INTERVAL_MS, Gc as cleanStepResult, Hc as abortableSleep, Ic as createMappingStep, Jc as createTimeTravelExecutionParams, Kc as createDeprecationProxy, Lc as createStepFromAgent, Mc as ExecutionEngine, Ms as cloneWorkflow, Ns as createEventedWorkflow, Ps as createWorkflow, Qc as getResumeLabelsByStepId, Rc as createStepFromClassifier, Uc as applyStateDelta, Us as computeScheduleDefinitionHash, Vc as RESUME_SNAPSHOT_WAIT_STATUSES, Wc as assertTimeTravelGraphMatchesSnapshot, Xc as defineStateAccessors, Yc as defineLazyWriter, Zc as getRestartStartIndex, _c as predicateToCondition, al as omitPriorSuspensionFields, cl as setLongTimeout, dc as Run, dl as validateStepResumeData, el as getStepIds, fc as Workflow, fl as validateStepStateData, gc as mapVariable, gl as getEntryWorkflow, hc as isProcessor, hl as getEntryId, il as omitPriorCompletionFields, ll as validateStepInput, mc as createStep, ml as waitForSuspendedSnapshot, nl as isEntryFinished, ol as resolveForeachConcurrency, pc as cloneStep, pl as validateStepSuspendData, qc as createRestartExecutionParams, rl as isSingleStepEntry, sl as runCountDeprecationMessage, tl as hydrateSerializedStepErrors, ul as validateStepRequestContext, vc as evaluatePredicate, wc as DefaultExecutionEngine, yl as workflowTermination, zc as createStepFromTool } from "../run-registry-DdeEBsVW.js";
2
- import { Dt as getStepResult, Ot as getStepResultAsync } from "../stream-C5PagEDs.js";
1
+ import { $c as createRestartExecutionParams, Ac as DefaultExecutionEngine, Cc as predicateToCondition, Fs as cloneWorkflow, Gc as createStepFromTool, Hc as createMappingStep, Is as createEventedWorkflow, Jc as abortableSleep, Kc as RESUME_SNAPSHOT_POLL_INTERVAL_MS, Ks as computeScheduleDefinitionHash, Ls as createWorkflow, Qc as createDeprecationProxy, Rc as ExecutionEngine, Sc as mapVariable, Sl as getEntryWorkflow, Tl as workflowTermination, Uc as createStepFromAgent, Wc as createStepFromClassifier, Xc as assertTimeTravelGraphMatchesSnapshot, Yc as applyStateDelta, Zc as cleanStepResult, _c as Run, _l as validateStepResumeData, al as getSingleStepEntryId, bc as createStep, bl as waitForSuspendedSnapshot, cl as isEntryFinished, dl as omitPriorSuspensionFields, el as createTimeTravelExecutionParams, fl as resolveForeachConcurrency, gl as validateStepRequestContext, hl as validateStepInput, il as getResumeLabelsByStepId, ll as isSingleStepEntry, ml as setLongTimeout, nl as defineStateAccessors, ol as getStepIds, pl as runCountDeprecationMessage, qc as RESUME_SNAPSHOT_WAIT_STATUSES, rl as getRestartStartIndex, sl as hydrateSerializedStepErrors, tl as defineLazyWriter, ul as omitPriorCompletionFields, vc as Workflow, vl as validateStepStateData, wc as evaluatePredicate, xc as isProcessor, xl as getEntryId, yc as cloneStep, yl as validateStepSuspendData } from "../run-registry-DhOKJtlb.js";
2
+ import { Dt as getStepResult, Ot as getStepResultAsync } from "../stream-C8HKG3qC.js";
3
3
  import { derivePredicateLabel, predicateSchema } from "../predicate/index.js";
4
4
  import { _ as validateCron, h as computeNextFireAt } from "../schedules-DZfSx-7P.js";
5
5
  import { n as WorkflowScheduler, t as Scheduler } from "../scheduler-B-VZUvv_.js";
6
- import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-DTkW3Vlp.js";
7
- import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-CJBLrZxs.js";
6
+ import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-Dn750ciE.js";
7
+ import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-Dgqkw7Py.js";
8
8
  // src/workflows/state-reader.ts
9
9
  const getStep = (state, stepId) => state.steps?.[stepId];
10
10
  const getFirstStepResult = (step) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "1.87.0-alpha.0",
3
+ "version": "1.87.0-alpha.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -967,18 +967,18 @@
967
967
  "zod": "^4.6.7",
968
968
  "zod-v3": "npm:zod@3.25.76",
969
969
  "@internal/ai-sdk-v4": "0.0.99",
970
- "@internal/ai-v6": "0.0.99",
971
- "@internal/ai-v7": "0.0.99",
972
970
  "@internal/ai-sdk-v5": "0.0.99",
973
- "@internal/auth": "0.0.40",
974
971
  "@internal/core": "0.1.4",
972
+ "@internal/auth": "0.0.40",
973
+ "@internal/ai-v7": "0.0.99",
975
974
  "@internal/deployer": "0.0.5",
976
- "@internal/external-types": "0.0.102",
977
975
  "@internal/llm-recorder": "0.0.88",
976
+ "@internal/external-types": "0.0.102",
977
+ "@internal/test-utils": "0.0.88",
978
978
  "@internal/lint": "0.0.152",
979
979
  "@internal/types-builder": "0.0.127",
980
- "@internal/test-utils": "0.0.88",
981
- "@internal/voice": "0.0.48"
980
+ "@internal/voice": "0.0.48",
981
+ "@internal/ai-v6": "0.0.99"
982
982
  },
983
983
  "engines": {
984
984
  "node": ">=22.13.0"