@mastra/core 1.87.0-alpha.4 → 1.87.0-alpha.5

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 (369) hide show
  1. package/dist/agent/durable/index.cjs +1 -1
  2. package/dist/agent/durable/index.js +1 -1
  3. package/dist/agent/index.cjs +2 -2
  4. package/dist/agent/index.js +2 -2
  5. package/dist/agent-builder/ee/index.cjs +1 -1
  6. package/dist/agent-builder/ee/index.js +1 -1
  7. package/dist/agent-controller/agent-controller.d.ts +6 -0
  8. package/dist/agent-controller/index.cjs +1 -1
  9. package/dist/agent-controller/index.js +1 -1
  10. package/dist/agent-controller/worker-run-binding.d.ts +15 -0
  11. package/dist/{agent-controller-VBMIPr6h.js → agent-controller-CDwoELRq.js} +47 -5
  12. package/dist/{agent-controller-CqcyudV6.cjs → agent-controller-DEB1G03O.cjs} +47 -5
  13. package/dist/background-tasks/index.cjs +1 -1
  14. package/dist/background-tasks/index.js +1 -1
  15. package/dist/{background-tasks-FOaQ1LsS.cjs → background-tasks-B40g_Guf.cjs} +1 -1
  16. package/dist/{background-tasks-1tyymY2H.js → background-tasks-CBp2178j.js} +1 -1
  17. package/dist/browser/index.cjs +1 -1
  18. package/dist/browser/index.js +1 -1
  19. package/dist/{builder-CUbE9d87.js → builder-DTEXPju5.js} +2 -2
  20. package/dist/{builder-MLhVrFJw.cjs → builder-tuHJooMG.cjs} +2 -2
  21. package/dist/capabilities/302ai.json +203 -203
  22. package/dist/capabilities/abliteratedllm.json +34 -34
  23. package/dist/capabilities/abliteration-ai.json +9 -9
  24. package/dist/capabilities/above.json +19 -19
  25. package/dist/capabilities/adaption.json +9 -9
  26. package/dist/capabilities/adzuki.json +27 -27
  27. package/dist/capabilities/agentrouter.json +11 -11
  28. package/dist/capabilities/agnes.json +3 -3
  29. package/dist/capabilities/ai-router.json +6 -6
  30. package/dist/capabilities/aiand.json +26 -26
  31. package/dist/capabilities/aigrow.json +13 -13
  32. package/dist/capabilities/aimlapi.json +156 -156
  33. package/dist/capabilities/aipg.json +2 -2
  34. package/dist/capabilities/aixy.json +19 -19
  35. package/dist/capabilities/aki-io.json +15 -15
  36. package/dist/capabilities/alibaba-cn.json +94 -94
  37. package/dist/capabilities/alibaba-coding-plan-cn.json +6 -6
  38. package/dist/capabilities/alibaba-coding-plan.json +6 -6
  39. package/dist/capabilities/alibaba-token-plan-cn.json +48 -48
  40. package/dist/capabilities/alibaba-token-plan.json +51 -51
  41. package/dist/capabilities/alibaba.json +93 -59
  42. package/dist/capabilities/ambient.json +16 -16
  43. package/dist/capabilities/amd.json +9 -9
  44. package/dist/capabilities/anthropic.json +36 -36
  45. package/dist/capabilities/anyapi.json +17 -17
  46. package/dist/capabilities/apiko.json +4 -4
  47. package/dist/capabilities/arcee.json +10 -10
  48. package/dist/capabilities/augure.json +8 -8
  49. package/dist/capabilities/auriko.json +18 -18
  50. package/dist/capabilities/bailing.json +2 -2
  51. package/dist/capabilities/baseten.json +22 -22
  52. package/dist/capabilities/bee.json +4 -4
  53. package/dist/capabilities/berget.json +8 -8
  54. package/dist/capabilities/bothub.json +15 -15
  55. package/dist/capabilities/boundless.json +40 -40
  56. package/dist/capabilities/bumo.json +37 -37
  57. package/dist/capabilities/byteplus.json +29 -29
  58. package/dist/capabilities/cerebras.json +4 -4
  59. package/dist/capabilities/cheapaimodel.json +7 -7
  60. package/dist/capabilities/cheapest-token.json +28 -28
  61. package/dist/capabilities/chutes.json +7 -7
  62. package/dist/capabilities/cline-pass.json +37 -37
  63. package/dist/capabilities/cloudcode.json +7 -7
  64. package/dist/capabilities/cloudflare-workers-ai.json +17 -17
  65. package/dist/capabilities/commandcode.json +149 -149
  66. package/dist/capabilities/concentrate.json +271 -291
  67. package/dist/capabilities/cortecs.json +110 -110
  68. package/dist/capabilities/crossmodel.json +192 -192
  69. package/dist/capabilities/crusoe.json +10 -10
  70. package/dist/capabilities/daoxe.json +9 -9
  71. package/dist/capabilities/databricks.json +129 -129
  72. package/dist/capabilities/deepinfra.json +82 -82
  73. package/dist/capabilities/deepseek.json +3 -3
  74. package/dist/capabilities/digitalocean.json +113 -113
  75. package/dist/capabilities/dothoosh.json +28 -28
  76. package/dist/capabilities/doubleword.json +22 -22
  77. package/dist/capabilities/edenai.json +289 -289
  78. package/dist/capabilities/empiriolabs.json +172 -172
  79. package/dist/capabilities/engy.json +21 -21
  80. package/dist/capabilities/entrim.json +2 -2
  81. package/dist/capabilities/evroc.json +12 -12
  82. package/dist/capabilities/ezkielyna.json +6 -6
  83. package/dist/capabilities/fastrouter.json +75 -75
  84. package/dist/capabilities/fireworks-ai.json +98 -98
  85. package/dist/capabilities/freemodel.json +22 -22
  86. package/dist/capabilities/friendli.json +8 -8
  87. package/dist/capabilities/frogbot.json +93 -93
  88. package/dist/capabilities/gisoo.json +15 -15
  89. package/dist/capabilities/gmicloud.json +15 -15
  90. package/dist/capabilities/google.json +48 -48
  91. package/dist/capabilities/graphn.json +11 -11
  92. package/dist/capabilities/greenpt.json +37 -37
  93. package/dist/capabilities/groq.json +9 -9
  94. package/dist/capabilities/helicone.json +75 -75
  95. package/dist/capabilities/hopper.json +2 -2
  96. package/dist/capabilities/hostinger-router.json +13 -13
  97. package/dist/capabilities/hpc-ai.json +12 -12
  98. package/dist/capabilities/huawei-maas.json +12 -12
  99. package/dist/capabilities/hubris.json +30 -30
  100. package/dist/capabilities/huggingface.json +99 -99
  101. package/dist/capabilities/hyper.json +26 -26
  102. package/dist/capabilities/impossibl.json +167 -167
  103. package/dist/capabilities/inception.json +2 -2
  104. package/dist/capabilities/inceptron.json +6 -6
  105. package/dist/capabilities/inco.json +4 -4
  106. package/dist/capabilities/infer.json +13 -13
  107. package/dist/capabilities/inferall.json +12 -12
  108. package/dist/capabilities/inference-coop.json +15 -15
  109. package/dist/capabilities/inferenceapis.json +15 -15
  110. package/dist/capabilities/inferris.json +3 -3
  111. package/dist/capabilities/infersia.json +14 -14
  112. package/dist/capabilities/inferx.json +3 -3
  113. package/dist/capabilities/infomaniak.json +2 -2
  114. package/dist/capabilities/isoquant.json +4 -4
  115. package/dist/capabilities/iteracompute.json +56 -56
  116. package/dist/capabilities/jad-ai.json +3 -3
  117. package/dist/capabilities/jalapeno.json +10 -10
  118. package/dist/capabilities/jiekou.json +64 -64
  119. package/dist/capabilities/jzstoken.json +53 -53
  120. package/dist/capabilities/keln.json +17 -17
  121. package/dist/capabilities/kenari.json +120 -120
  122. package/dist/capabilities/kilo.json +632 -641
  123. package/dist/capabilities/kimi-code-plan-cn.json +7 -7
  124. package/dist/capabilities/kimi-code-plan-global.json +7 -7
  125. package/dist/capabilities/kitani.json +2 -2
  126. package/dist/capabilities/klavo.json +20 -20
  127. package/dist/capabilities/korouter.json +28 -28
  128. package/dist/capabilities/kunavo.json +10 -10
  129. package/dist/capabilities/liquid.json +10 -10
  130. package/dist/capabilities/lithosai.json +3 -3
  131. package/dist/capabilities/llmgateway-providers.json +913 -905
  132. package/dist/capabilities/llmgateway.json +334 -334
  133. package/dist/capabilities/llmtr.json +35 -35
  134. package/dist/capabilities/logits.json +2 -2
  135. package/dist/capabilities/lowrouter.json +50 -50
  136. package/dist/capabilities/lyceum.json +14 -14
  137. package/dist/capabilities/melious.json +13 -13
  138. package/dist/capabilities/merge-gateway.json +298 -298
  139. package/dist/capabilities/meta.json +10 -10
  140. package/dist/capabilities/mistral.json +16 -16
  141. package/dist/capabilities/mixlayer.json +5 -5
  142. package/dist/capabilities/modal.json +7 -7
  143. package/dist/capabilities/model-oracle-ai.json +25 -25
  144. package/dist/capabilities/modelis.json +17 -17
  145. package/dist/capabilities/modelscope.json +2 -2
  146. package/dist/capabilities/modular.json +5 -5
  147. package/dist/capabilities/moneo.json +13 -13
  148. package/dist/capabilities/moonshotai-cn.json +7 -7
  149. package/dist/capabilities/moonshotai.json +7 -7
  150. package/dist/capabilities/morph.json +10 -10
  151. package/dist/capabilities/munito-eu.json +6 -6
  152. package/dist/capabilities/munito.json +6 -6
  153. package/dist/capabilities/nan.json +27 -27
  154. package/dist/capabilities/nano-gpt.json +571 -568
  155. package/dist/capabilities/nearai.json +108 -108
  156. package/dist/capabilities/nebius.json +21 -21
  157. package/dist/capabilities/neon.json +130 -130
  158. package/dist/capabilities/neuralwatt.json +40 -40
  159. package/dist/capabilities/nokeep.json +4 -4
  160. package/dist/capabilities/novita-ai.json +155 -155
  161. package/dist/capabilities/nvidia.json +29 -29
  162. package/dist/capabilities/oathbreaker.json +2 -2
  163. package/dist/capabilities/obscurify.json +32 -32
  164. package/dist/capabilities/oci.json +5 -5
  165. package/dist/capabilities/ofox.json +374 -374
  166. package/dist/capabilities/ollama-cloud.json +54 -54
  167. package/dist/capabilities/openai.json +56 -56
  168. package/dist/capabilities/opencode-go.json +84 -84
  169. package/dist/capabilities/openreason.json +5 -5
  170. package/dist/capabilities/openrouter.json +562 -562
  171. package/dist/capabilities/opper.json +27 -27
  172. package/dist/capabilities/orcarouter.json +255 -255
  173. package/dist/capabilities/outerlabs.json +21 -21
  174. package/dist/capabilities/ovhcloud.json +21 -21
  175. package/dist/capabilities/pareto.json +5 -5
  176. package/dist/capabilities/pendra.json +4 -4
  177. package/dist/capabilities/perplexity-agent.json +67 -67
  178. package/dist/capabilities/perplexity.json +2 -2
  179. package/dist/capabilities/phala.json +30 -30
  180. package/dist/capabilities/pioneer.json +21 -21
  181. package/dist/capabilities/poe.json +139 -139
  182. package/dist/capabilities/powerspring.json +14 -14
  183. package/dist/capabilities/primalabs.json +10 -10
  184. package/dist/capabilities/prime.json +117 -117
  185. package/dist/capabilities/privatemode-ai.json +14 -14
  186. package/dist/capabilities/proxystacks.json +6 -6
  187. package/dist/capabilities/qiniu-ai.json +15 -15
  188. package/dist/capabilities/refuseless.json +10 -10
  189. package/dist/capabilities/regolo-ai.json +6 -6
  190. package/dist/capabilities/requesty.json +168 -168
  191. package/dist/capabilities/ruapi.json +15 -15
  192. package/dist/capabilities/runcrate.json +7 -7
  193. package/dist/capabilities/runinfra.json +8 -8
  194. package/dist/capabilities/sakana.json +6 -6
  195. package/dist/capabilities/sambanova.json +5 -5
  196. package/dist/capabilities/sandbase.json +21 -21
  197. package/dist/capabilities/sarvam.json +8 -8
  198. package/dist/capabilities/scaleway.json +18 -18
  199. package/dist/capabilities/scnet-token-plan.json +14 -14
  200. package/dist/capabilities/scx-ai.json +21 -21
  201. package/dist/capabilities/sensenova.json +9 -9
  202. package/dist/capabilities/siliconflow-cn.json +46 -46
  203. package/dist/capabilities/siliconflow.json +56 -56
  204. package/dist/capabilities/snowflake-cortex.json +19 -19
  205. package/dist/capabilities/sokkan.json +12 -12
  206. package/dist/capabilities/sparrowcodes.json +21 -21
  207. package/dist/capabilities/standardcompute.json +96 -96
  208. package/dist/capabilities/steadyrouter.json +41 -41
  209. package/dist/capabilities/stepfun-ai-step-plan.json +2 -2
  210. package/dist/capabilities/stepfun-ai.json +2 -2
  211. package/dist/capabilities/stepfun-step-plan.json +2 -2
  212. package/dist/capabilities/stepfun.json +2 -2
  213. package/dist/capabilities/stepping-stone.json +11 -11
  214. package/dist/capabilities/synthetic.json +8 -8
  215. package/dist/capabilities/synthorai.json +22 -22
  216. package/dist/capabilities/teamorouter.json +26 -26
  217. package/dist/capabilities/teapot-router.json +6 -6
  218. package/dist/capabilities/tencent-token-plan-intl.json +126 -0
  219. package/dist/capabilities/tencent-token-plan.json +41 -41
  220. package/dist/capabilities/tencent-tokenhub.json +47 -47
  221. package/dist/capabilities/tensorx.json +50 -50
  222. package/dist/capabilities/tenstorrent.json +2 -2
  223. package/dist/capabilities/the-grid-ai.json +32 -32
  224. package/dist/capabilities/thinkingmachines.json +64 -64
  225. package/dist/capabilities/tinfoil.json +12 -12
  226. package/dist/capabilities/toapis.json +2 -2
  227. package/dist/capabilities/togetherai.json +43 -43
  228. package/dist/capabilities/tokengo.json +20 -20
  229. package/dist/capabilities/tokenify.json +3 -3
  230. package/dist/capabilities/trustedrouter.json +6 -6
  231. package/dist/capabilities/trustedtokens.json +11 -11
  232. package/dist/capabilities/umans-ai-coding-plan.json +14 -14
  233. package/dist/capabilities/umans-ai.json +11 -11
  234. package/dist/capabilities/uncensuredai.json +5 -5
  235. package/dist/capabilities/unrestricted.json +4 -4
  236. package/dist/capabilities/uplinkswitch.json +18 -18
  237. package/dist/capabilities/upstage.json +6 -6
  238. package/dist/capabilities/vancine.json +18 -18
  239. package/dist/capabilities/vercel.json +545 -545
  240. package/dist/capabilities/vivgrid.json +81 -81
  241. package/dist/capabilities/volcengine-coding-plan.json +27 -27
  242. package/dist/capabilities/volcengine.json +25 -25
  243. package/dist/capabilities/vultr.json +31 -31
  244. package/dist/capabilities/wafer.ai.json +17 -17
  245. package/dist/capabilities/wallaby.json +2 -2
  246. package/dist/capabilities/wally.json +13 -13
  247. package/dist/capabilities/wandb.json +15 -15
  248. package/dist/capabilities/watt.json +23 -23
  249. package/dist/capabilities/xai.json +6 -6
  250. package/dist/capabilities/xiaomi-token-plan-ams.json +2 -2
  251. package/dist/capabilities/xiaomi-token-plan-cn.json +2 -2
  252. package/dist/capabilities/xiaomi-token-plan-sgp.json +2 -2
  253. package/dist/capabilities/xiaomi.json +2 -2
  254. package/dist/capabilities/xpersona.json +9 -9
  255. package/dist/capabilities/xxapi.json +20 -20
  256. package/dist/capabilities/zai-coding-plan.json +19 -19
  257. package/dist/capabilities/zai.json +31 -31
  258. package/dist/capabilities/zenifra.json +31 -31
  259. package/dist/capabilities/zenmux.json +204 -204
  260. package/dist/capabilities/zerogpu.json +9 -9
  261. package/dist/capabilities/zhipuai-coding-plan.json +7 -7
  262. package/dist/capabilities/zhipuai.json +30 -30
  263. package/dist/capabilities/zro.json +4 -4
  264. package/dist/channels/index.cjs +2 -2
  265. package/dist/channels/index.js +2 -2
  266. package/dist/{channels-hBppCRhl.js → channels-CC2Z4adP.js} +1 -1
  267. package/dist/{channels-CZ0iY2yh.cjs → channels-Drxs9g13.cjs} +1 -1
  268. package/dist/coding-agent/index.cjs +1 -1
  269. package/dist/coding-agent/index.js +1 -1
  270. package/dist/{constants-B9ZDvXZ4.cjs → constants-Bou0hEgY.cjs} +4 -0
  271. package/dist/{constants-BmdTvEYN.js → constants-CFWgIaqA.js} +4 -0
  272. package/dist/datasets/experiment/scorer.d.ts +16 -5
  273. package/dist/datasets/index.cjs +2 -2
  274. package/dist/datasets/index.js +2 -2
  275. package/dist/docs/SKILL.md +1 -1
  276. package/dist/docs/assets/SOURCE_MAP.json +950 -950
  277. package/dist/docs/references/reference-knowledge-knowledge-tools.md +3 -3
  278. package/dist/evals/index.cjs +2 -2
  279. package/dist/evals/index.js +2 -2
  280. package/dist/evals/scoreTraces/index.cjs +2 -2
  281. package/dist/evals/scoreTraces/index.js +2 -2
  282. package/dist/harness/index.cjs +1 -1
  283. package/dist/harness/index.js +1 -1
  284. package/dist/index.cjs +1 -1
  285. package/dist/index.js +1 -1
  286. package/dist/knowledge/index.cjs +51 -16
  287. package/dist/knowledge/index.js +51 -16
  288. package/dist/knowledge/page-tools.d.ts +9 -0
  289. package/dist/knowledge/scope-runtime.d.ts +6 -0
  290. package/dist/llm/index.cjs +3 -3
  291. package/dist/llm/index.js +3 -3
  292. package/dist/llm/model/provider-types.generated.d.ts +8445 -8432
  293. package/dist/{llm-D6N-WJwo.cjs → llm-CbpBEabY.cjs} +2 -2
  294. package/dist/{llm-CsQOELh9.js → llm-D3y8qOKL.js} +2 -2
  295. package/dist/loop/index.cjs +2 -2
  296. package/dist/loop/index.js +2 -2
  297. package/dist/{manager-CtsjlKP7.cjs → manager-BOn6RJwA.cjs} +106 -35
  298. package/dist/{manager-DBVDNjO2.js → manager-elIuArZa.js} +106 -35
  299. package/dist/mastra/index.cjs +1 -1
  300. package/dist/mastra/index.js +1 -1
  301. package/dist/{mastra-B60fJsMe.cjs → mastra-CDQJWY6v.cjs} +16 -16
  302. package/dist/{mastra-Bkpe1lBu.js → mastra-DQjco6Bt.js} +16 -16
  303. package/dist/memory/index.cjs +2 -2
  304. package/dist/memory/index.js +2 -2
  305. package/dist/{model-Da_pawSI.js → model-BjyU1L4I.js} +1 -1
  306. package/dist/{model-CAbL0zRc.cjs → model-C4aI7k-i.cjs} +1 -1
  307. package/dist/{netlify-hasf5dLA.cjs → netlify-BjuUEMrL.cjs} +1 -1
  308. package/dist/{netlify-CW26UJrG.js → netlify-BpB7PtZV.js} +1 -1
  309. package/dist/notifications/index.cjs +1 -1
  310. package/dist/notifications/index.js +1 -1
  311. package/dist/processor-provider/index.cjs +1 -1
  312. package/dist/processor-provider/index.js +1 -1
  313. package/dist/processors/index.cjs +2 -2
  314. package/dist/processors/index.js +2 -2
  315. package/dist/{provider-registry-DnVkqIBw.js → provider-registry-BjdxtGZZ.js} +22165 -22131
  316. package/dist/{provider-registry-CeV5wjlF.cjs → provider-registry-bkFdaY45.cjs} +22165 -22131
  317. package/dist/provider-registry.json +22428 -22394
  318. package/dist/{registry-generator-G4PZCqrS.cjs → registry-generator-BORKO0_T.cjs} +1 -1
  319. package/dist/{registry-generator-DSR56u5H.js → registry-generator-CPF318Kc.js} +1 -1
  320. package/dist/{rehydrate-BLJ-q_V6.cjs → rehydrate-Cps4MTph.cjs} +2 -2
  321. package/dist/{rehydrate-zXo3Wo60.js → rehydrate-Cw2Id-Uz.js} +2 -2
  322. package/dist/relevance/index.cjs +2 -2
  323. package/dist/relevance/index.js +2 -2
  324. package/dist/{run-registry-oixTpWpa.cjs → run-registry-BTFPEkXT.cjs} +185 -36
  325. package/dist/{run-registry-Cl2QbXgN.js → run-registry-D5z2YVqJ.js} +174 -37
  326. package/dist/storage/constants.cjs +1 -1
  327. package/dist/storage/constants.js +1 -1
  328. package/dist/storage/domains/knowledge/base.d.ts +16 -1
  329. package/dist/storage/domains/knowledge/importers-inmemory.d.ts +1 -0
  330. package/dist/storage/domains/knowledge/importers.d.ts +8 -0
  331. package/dist/storage/domains/knowledge/inmemory.d.ts +1 -0
  332. package/dist/storage/domains/knowledge/pages-inmemory.d.ts +5 -1
  333. package/dist/storage/index.cjs +3 -3
  334. package/dist/storage/index.js +3 -3
  335. package/dist/storage/types.d.ts +8 -0
  336. package/dist/stream/index.cjs +2 -2
  337. package/dist/stream/index.js +2 -2
  338. package/dist/{stream-DaZh0apo.cjs → stream-D1OnBHDi.cjs} +1 -1
  339. package/dist/{stream-DUUfwH38.js → stream-DB5efioT.js} +1 -1
  340. package/dist/test-utils/llm-mock.cjs +1 -1
  341. package/dist/test-utils/llm-mock.js +1 -1
  342. package/dist/tool-loop-agent/index.cjs +1 -1
  343. package/dist/tool-loop-agent/index.js +1 -1
  344. package/dist/{tool-loop-agent-C4NvGYnM.js → tool-loop-agent-DkhFVx0h.js} +3 -3
  345. package/dist/{tool-loop-agent-DDowWQyO.cjs → tool-loop-agent-Ote8gJMn.cjs} +3 -3
  346. package/dist/{utils-CVN-336o.js → utils-BTKpGHA6.js} +1 -1
  347. package/dist/{utils-CmNJO2xP.cjs → utils-Dl_UFejV.cjs} +1 -1
  348. package/dist/utils.cjs +1 -1
  349. package/dist/utils.js +1 -1
  350. package/dist/{validate-CgNNzqgp.js → validate-D6fUqYGz.js} +1 -1
  351. package/dist/{validate-LpK3-p_O.cjs → validate-DdDuQRoZ.cjs} +1 -1
  352. package/dist/vector/index.cjs +1 -1
  353. package/dist/vector/index.js +1 -1
  354. package/dist/worker/index.cjs +1 -1
  355. package/dist/worker/index.js +1 -1
  356. package/dist/{worker-6qR81hZZ.cjs → worker-B27B9RlK.cjs} +2 -2
  357. package/dist/{worker-ChoZX7rg.js → worker-Bo_hTQJC.js} +2 -2
  358. package/dist/{worker-BdPUoHXa.js → worker-DC269pGx.js} +2 -2
  359. package/dist/{worker-BN2odJzu.cjs → worker-mq-oiLa5.cjs} +2 -2
  360. package/dist/{workflow-ww-N09bR.cjs → workflow-D61dV4AC.cjs} +3 -3
  361. package/dist/{workflow-D2MsV-JA.js → workflow-D97r3h2-.js} +3 -3
  362. package/dist/workflows/builder/index.cjs +1 -1
  363. package/dist/workflows/builder/index.js +1 -1
  364. package/dist/workflows/evented/index.cjs +1 -1
  365. package/dist/workflows/evented/index.js +1 -1
  366. package/dist/workflows/index.cjs +4 -4
  367. package/dist/workflows/index.js +4 -4
  368. package/package.json +10 -10
  369. package/src/llm/model/provider-types.generated.d.ts +8445 -8432
@@ -23,10 +23,15 @@
23
23
  "qwen3.6-35b-a3b"
24
24
  ],
25
25
  "reasoning": {
26
- "gpt-5.6-luna": [
26
+ "gpt-5.4-nano": [
27
27
  {
28
28
  "type": "effort",
29
- "values": ["none", "low", "medium", "high", "xhigh", "max"]
29
+ "values": ["none", "low", "medium", "high", "xhigh"]
30
+ }
31
+ ],
32
+ "qwen3.6-35b-a3b": [
33
+ {
34
+ "type": "toggle"
30
35
  }
31
36
  ],
32
37
  "deepseek-v4.1-flash": [
@@ -38,21 +43,16 @@
38
43
  "values": ["low", "high", "max"]
39
44
  }
40
45
  ],
41
- "qwen3.6-35b-a3b": [
42
- {
43
- "type": "toggle"
44
- }
45
- ],
46
46
  "glm-5.3-flash": [
47
47
  {
48
48
  "type": "effort",
49
49
  "values": ["low", "high", "max"]
50
50
  }
51
51
  ],
52
- "gpt-5.4-nano": [
52
+ "gpt-5.6-luna": [
53
53
  {
54
54
  "type": "effort",
55
- "values": ["none", "low", "medium", "high", "xhigh"]
55
+ "values": ["none", "low", "medium", "high", "xhigh", "max"]
56
56
  }
57
57
  ],
58
58
  "qwen3-30b-a3b-fp8": [
@@ -3,19 +3,18 @@
3
3
  "temperature": ["glm-4.6v", "glm-5.3", "glm-5.3-flash", "glm-5.3-highspeed", "glm-5.4"],
4
4
  "structuredOutput": ["glm-5.3", "glm-5.3-flash", "glm-5.3-highspeed", "glm-5.4"],
5
5
  "reasoning": {
6
- "glm-5.4": [
6
+ "glm-4.6v": [
7
7
  {
8
- "type": "effort",
9
- "values": ["low", "high", "max"]
8
+ "type": "toggle"
10
9
  }
11
10
  ],
12
- "glm-5.3": [
11
+ "glm-5.3-flash": [
13
12
  {
14
13
  "type": "effort",
15
14
  "values": ["low", "high", "max"]
16
15
  }
17
16
  ],
18
- "glm-5.3-flash": [
17
+ "glm-5.3": [
19
18
  {
20
19
  "type": "effort",
21
20
  "values": ["low", "high", "max"]
@@ -27,9 +26,10 @@
27
26
  "values": ["low", "high", "max"]
28
27
  }
29
28
  ],
30
- "glm-4.6v": [
29
+ "glm-5.4": [
31
30
  {
32
- "type": "toggle"
31
+ "type": "effort",
32
+ "values": ["low", "high", "max"]
33
33
  }
34
34
  ]
35
35
  }
@@ -30,102 +30,102 @@
30
30
  ],
31
31
  "structuredOutput": ["glm-5.1", "glm-5.2", "glm-5.3", "glm-5.3-flash", "glm-5.3-flashx", "glm-5.3-flashx-legal"],
32
32
  "reasoning": {
33
- "glm-4.5-flash": [
33
+ "glm-4.5-air": [
34
34
  {
35
35
  "type": "toggle"
36
36
  }
37
37
  ],
38
- "glm-4.6v-flash": [
38
+ "glm-4.6": [
39
39
  {
40
40
  "type": "toggle"
41
41
  }
42
42
  ],
43
- "glm-4.5": [
43
+ "glm-4.7-flash": [
44
44
  {
45
45
  "type": "toggle"
46
46
  }
47
47
  ],
48
- "glm-4.6": [
48
+ "glm-4.7": [
49
49
  {
50
50
  "type": "toggle"
51
51
  }
52
52
  ],
53
- "glm-5.1": [
53
+ "glm-4.5v": [
54
54
  {
55
55
  "type": "toggle"
56
56
  }
57
57
  ],
58
- "glm-4.7-flash": [
58
+ "glm-5": [
59
59
  {
60
60
  "type": "toggle"
61
61
  }
62
62
  ],
63
- "glm-5.3": [
63
+ "glm-4.7-flashx": [
64
64
  {
65
- "type": "effort",
66
- "values": ["low", "high", "max"]
65
+ "type": "toggle"
67
66
  }
68
67
  ],
69
- "glm-5.3-flash": [
68
+ "glm-4.5": [
69
+ {
70
+ "type": "toggle"
71
+ }
72
+ ],
73
+ "glm-5.3-flashx-legal": [
70
74
  {
71
75
  "type": "effort",
72
76
  "values": ["low", "high", "max"]
73
77
  }
74
78
  ],
75
- "glm-5v-turbo": [
79
+ "glm-4.6v": [
76
80
  {
77
81
  "type": "toggle"
78
82
  }
79
83
  ],
80
- "glm-4.5v": [
84
+ "glm-5.1": [
81
85
  {
82
86
  "type": "toggle"
83
87
  }
84
88
  ],
85
- "glm-5.2": [
86
- {
87
- "type": "toggle"
88
- },
89
+ "glm-5.3-flash": [
89
90
  {
90
91
  "type": "effort",
91
- "values": ["high", "max"]
92
+ "values": ["low", "high", "max"]
92
93
  }
93
94
  ],
94
- "glm-5.3-flashx": [
95
+ "glm-5.3": [
95
96
  {
96
97
  "type": "effort",
97
98
  "values": ["low", "high", "max"]
98
99
  }
99
100
  ],
100
- "glm-5": [
101
+ "glm-4.5-flash": [
101
102
  {
102
103
  "type": "toggle"
103
104
  }
104
105
  ],
105
- "glm-5.3-flashx-legal": [
106
- {
107
- "type": "effort",
108
- "values": ["low", "high", "max"]
109
- }
110
- ],
111
- "glm-4.6v": [
106
+ "glm-4.6v-flash": [
112
107
  {
113
108
  "type": "toggle"
114
109
  }
115
110
  ],
116
- "glm-4.7-flashx": [
111
+ "glm-5v-turbo": [
117
112
  {
118
113
  "type": "toggle"
119
114
  }
120
115
  ],
121
- "glm-4.7": [
116
+ "glm-5.2": [
122
117
  {
123
118
  "type": "toggle"
119
+ },
120
+ {
121
+ "type": "effort",
122
+ "values": ["high", "max"]
124
123
  }
125
124
  ],
126
- "glm-4.5-air": [
125
+ "glm-5.3-flashx": [
127
126
  {
128
- "type": "toggle"
127
+ "type": "effort",
128
+ "values": ["low", "high", "max"]
129
129
  }
130
130
  ]
131
131
  }
@@ -9,25 +9,25 @@
9
9
  "values": ["none", "low", "high", "max"]
10
10
  }
11
11
  ],
12
- "dolly2-security": [
12
+ "dolly1-security": [
13
13
  {
14
14
  "type": "effort",
15
15
  "values": ["low", "high", "max"]
16
16
  }
17
17
  ],
18
- "glm-5.3": [
18
+ "glm-5.3-flash": [
19
19
  {
20
20
  "type": "effort",
21
21
  "values": ["low", "high", "max"]
22
22
  }
23
23
  ],
24
- "glm-5.3-flash": [
24
+ "glm-5.3": [
25
25
  {
26
26
  "type": "effort",
27
27
  "values": ["low", "high", "max"]
28
28
  }
29
29
  ],
30
- "dolly1-security": [
30
+ "dolly2-security": [
31
31
  {
32
32
  "type": "effort",
33
33
  "values": ["low", "high", "max"]
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-oixTpWpa.cjs");
3
- const require_channels = require("../channels-CZ0iY2yh.cjs");
2
+ const require_run_registry = require("../run-registry-BTFPEkXT.cjs");
3
+ const require_channels = require("../channels-Drxs9g13.cjs");
4
4
  exports.ATTACH_FILE_MAX_BYTES = require_channels.ATTACH_FILE_MAX_BYTES;
5
5
  exports.ATTACH_FILE_TOOL_NAME = require_channels.ATTACH_FILE_TOOL_NAME;
6
6
  exports.AgentChannels = require_run_registry.AgentChannels;
@@ -1,3 +1,3 @@
1
- import { An as resolveWaitUntil, Bn as renderBuiltInToolEvent, Fn as ChannelThreadLinkProcessor, Gn as DEFAULT_CHANNEL_TOOLS_SETTINGS, Hn as CONTINUE_RUN_MESSAGE, In as NEW_CHANNEL_THREAD_KEY, Jn as createChannelTools, Kn as channelToolScopeResolver, Ln as markNewChannelThread, Mn as resolveChannelRenderContext, Nn as MastraStateAdapter, Pn as REPLY_TOOL_NAME, Rn as ChatChannelProcessor, Un as formatToolApproval, Vn as CONTINUE_RUN_ACTION_ID, Wn as ChannelSessionRejectedError, Xn as toChatLogger, Yn as resolveChannelToolsSettings, jn as defaultTypingStatus, kn as AgentChannels, qn as createChannelToolScope, zn as CHAT_CHANNEL_RENDER_CONTEXT_KEY } from "../run-registry-Cl2QbXgN.js";
2
- import { a as AgentControllerChannels, i as createChannelAttachFileTool, n as ATTACH_FILE_MAX_BYTES, r as ATTACH_FILE_TOOL_NAME, t as ChannelToolAnnouncementProcessor } from "../channels-hBppCRhl.js";
1
+ import { An as resolveWaitUntil, Bn as renderBuiltInToolEvent, Fn as ChannelThreadLinkProcessor, Gn as DEFAULT_CHANNEL_TOOLS_SETTINGS, Hn as CONTINUE_RUN_MESSAGE, In as NEW_CHANNEL_THREAD_KEY, Jn as createChannelTools, Kn as channelToolScopeResolver, Ln as markNewChannelThread, Mn as resolveChannelRenderContext, Nn as MastraStateAdapter, Pn as REPLY_TOOL_NAME, Rn as ChatChannelProcessor, Un as formatToolApproval, Vn as CONTINUE_RUN_ACTION_ID, Wn as ChannelSessionRejectedError, Xn as toChatLogger, Yn as resolveChannelToolsSettings, jn as defaultTypingStatus, kn as AgentChannels, qn as createChannelToolScope, zn as CHAT_CHANNEL_RENDER_CONTEXT_KEY } from "../run-registry-D5z2YVqJ.js";
2
+ import { a as AgentControllerChannels, i as createChannelAttachFileTool, n as ATTACH_FILE_MAX_BYTES, r as ATTACH_FILE_TOOL_NAME, t as ChannelToolAnnouncementProcessor } from "../channels-CC2Z4adP.js";
3
3
  export { ATTACH_FILE_MAX_BYTES, ATTACH_FILE_TOOL_NAME, AgentChannels, AgentControllerChannels, CHAT_CHANNEL_RENDER_CONTEXT_KEY, CONTINUE_RUN_ACTION_ID, CONTINUE_RUN_MESSAGE, ChannelSessionRejectedError, ChannelThreadLinkProcessor, ChannelToolAnnouncementProcessor, ChatChannelProcessor, DEFAULT_CHANNEL_TOOLS_SETTINGS, MastraStateAdapter, NEW_CHANNEL_THREAD_KEY, REPLY_TOOL_NAME, channelToolScopeResolver, createChannelAttachFileTool, createChannelToolScope, createChannelTools, defaultTypingStatus, formatToolApproval, markNewChannelThread, renderBuiltInToolEvent, resolveChannelRenderContext, resolveChannelToolsSettings, resolveWaitUntil, toChatLogger };
@@ -1,4 +1,4 @@
1
- import { Mn as resolveChannelRenderContext, Wn as ChannelSessionRejectedError, kn as AgentChannels } from "./run-registry-Cl2QbXgN.js";
1
+ import { Mn as resolveChannelRenderContext, Wn as ChannelSessionRejectedError, kn as AgentChannels } from "./run-registry-D5z2YVqJ.js";
2
2
  import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
3
3
  import { r as createTool } from "./tool-Z3bykc1m.js";
4
4
  import { z } from "zod";
@@ -1,4 +1,4 @@
1
- const require_run_registry = require("./run-registry-oixTpWpa.cjs");
1
+ const require_run_registry = require("./run-registry-BTFPEkXT.cjs");
2
2
  const require_ee_iTj2bRDt = require("./ee-iTj2bRDt-D3-QLGDF.cjs");
3
3
  const require_tool = require("./tool-CYlT2UA-.cjs");
4
4
  let zod = require("zod");
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-oixTpWpa.cjs");
2
+ const require_run_registry = require("../run-registry-BTFPEkXT.cjs");
3
3
  require("../state-processor-kRNZ38Nf.cjs");
4
4
  const require_signals = require("../signals-B1JSj-Ew.cjs");
5
5
  const require_workspace = require("../workspace-Pv3J8K0c.cjs");
@@ -1,4 +1,4 @@
1
- import { Ko as CyberRefusalHandler, P as Agent, Ts as defaultStabilityErrorProcessors } from "../run-registry-Cl2QbXgN.js";
1
+ import { Ko as CyberRefusalHandler, P as Agent, Ts as defaultStabilityErrorProcessors } from "../run-registry-D5z2YVqJ.js";
2
2
  import "../state-processor-B9kxpM53.js";
3
3
  import { t as TaskSignalProvider } from "../signals-De9VnwL2.js";
4
4
  import { F as LocalSandbox, c as Workspace, st as LocalFilesystem } from "../workspace-BK9ltbSa.js";
@@ -3017,6 +3017,10 @@ const EXPERIMENTS_SCHEMA = {
3017
3017
  type: "jsonb",
3018
3018
  nullable: true
3019
3019
  },
3020
+ scorerVersions: {
3021
+ type: "jsonb",
3022
+ nullable: true
3023
+ },
3020
3024
  status: {
3021
3025
  type: "text",
3022
3026
  nullable: false
@@ -3017,6 +3017,10 @@ const EXPERIMENTS_SCHEMA = {
3017
3017
  type: "jsonb",
3018
3018
  nullable: true
3019
3019
  },
3020
+ scorerVersions: {
3021
+ type: "jsonb",
3022
+ nullable: true
3023
+ },
3020
3024
  status: {
3021
3025
  type: "text",
3022
3026
  nullable: false
@@ -20,17 +20,26 @@ export interface ScorerResolution {
20
20
  missingIds: string[];
21
21
  }
22
22
  export type ScorerResolver = (scorers: (ResolvedScorer | string)[]) => Promise<ScorerResolution>;
23
+ /** Stored-scorer versions pinned on an experiment, keyed by scorer id. */
24
+ export type ScorerVersions = Record<string, string>;
23
25
  /**
24
- * Create a run-scoped scorer resolver. Instances pass through; string ids are
25
- * looked up in Mastra's registry, then loaded as stored scorers through the
26
- * editor (which registers them). Resolutions, including misses, are cached so
27
- * concurrent items hydrate a stored scorer at most once per run.
26
+ * Create a run-scoped scorer resolver. Instances pass through. String ids
27
+ * pinned in `scorerVersions` load that stored version; other ids are looked up
28
+ * in Mastra's registry, then loaded as stored scorers through the editor (which
29
+ * registers them). Resolutions, including misses, are cached so concurrent items
30
+ * load a stored scorer at most once per run.
28
31
  *
29
32
  * Only a scorer that doesn't exist is reported in `missingIds`. A failed lookup
30
33
  * (for example, storage being unavailable) rejects with its own error and isn't
31
34
  * cached, so it isn't mistaken for a bad scorer ID.
32
35
  */
33
- export declare function createScorerResolver(mastra: Mastra): ScorerResolver;
36
+ export declare function createScorerResolver(mastra: Mastra, scorerVersions?: ScorerVersions | null): ScorerResolver;
37
+ /**
38
+ * Pin the current version of every stored scorer among `scorerIds`, so all
39
+ * items of an experiment are scored by the same definition even if the stored
40
+ * scorer is edited mid-run. Ids served by a code scorer are not pinned.
41
+ */
42
+ export declare function pinStoredScorerVersions(mastra: Mastra, scorerIds: Iterable<string>): Promise<ScorerVersions | null>;
34
43
  /**
35
44
  * The item error for scorer ids that can't be resolved during a run (e.g. a
36
45
  * stored scorer deleted after the experiment started). `null` when none are missing.
@@ -45,6 +54,8 @@ export declare function flattenScorerConfig(scorers: ExperimentConfig['scorers']
45
54
  flat: (ResolvedScorer | string)[];
46
55
  steps?: Record<string, (ResolvedScorer | string)[]>;
47
56
  };
57
+ /** Every scorer id in a run-level `scorers` config, including workflow step scorers. */
58
+ export declare function runLevelScorerIds(scorers: ExperimentConfig['scorers']): string[];
48
59
  /**
49
60
  * Throw {@link EXPERIMENT_SCORER_NOT_FOUND} when any run-level scorer id can't
50
61
  * be resolved, so a typo or deleted stored scorer fails before an experiment is created.
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-oixTpWpa.cjs");
3
- const require_manager = require("../manager-CtsjlKP7.cjs");
2
+ const require_run_registry = require("../run-registry-BTFPEkXT.cjs");
3
+ const require_manager = require("../manager-BOn6RJwA.cjs");
4
4
  let zod_v4 = require("zod/v4");
5
5
  let crypto = require("crypto");
6
6
  // src/datasets/snapshot.ts
@@ -1,5 +1,5 @@
1
- import { aa as SchemaUpdateValidationError, ea as SchemaValidator, ia as UnsupportedSchemaPatternError, na as createValidator, oa as SchemaValidationError, ra as getSchemaValidator, ta as assertSupportedPatterns } from "../run-registry-Cl2QbXgN.js";
2
- import { _ as TOOL_MOCK_NOT_DECLARED, a as executeExperimentItem, c as computeScorerStats, d as EXPERIMENT_SCORER_NOT_FOUND, f as resolveScorers, g as TOOL_MOCK_MISMATCH, h as TOOL_MOCK_EXHAUSTED, i as runExperiment, l as isRegression, m as executeTarget, n as Dataset, o as compareExperiments, p as runScorersForItem, r as EXPERIMENT_ITEM_BEFORE_EACH_FAILED, s as computeMean, t as DatasetsManager, u as EXPERIMENT_ITEM_SCORER_NOT_FOUND, v as ToolMockMatcher, x as resolveTarget, y as EXPERIMENT_NOT_DURABLE } from "../manager-DBVDNjO2.js";
1
+ import { aa as SchemaUpdateValidationError, ea as SchemaValidator, ia as UnsupportedSchemaPatternError, na as createValidator, oa as SchemaValidationError, ra as getSchemaValidator, ta as assertSupportedPatterns } from "../run-registry-D5z2YVqJ.js";
2
+ import { _ as TOOL_MOCK_NOT_DECLARED, a as executeExperimentItem, c as computeScorerStats, d as EXPERIMENT_SCORER_NOT_FOUND, f as resolveScorers, g as TOOL_MOCK_MISMATCH, h as TOOL_MOCK_EXHAUSTED, i as runExperiment, l as isRegression, m as executeTarget, n as Dataset, o as compareExperiments, p as runScorersForItem, r as EXPERIMENT_ITEM_BEFORE_EACH_FAILED, s as computeMean, t as DatasetsManager, u as EXPERIMENT_ITEM_SCORER_NOT_FOUND, v as ToolMockMatcher, x as resolveTarget, y as EXPERIMENT_NOT_DURABLE } from "../manager-elIuArZa.js";
3
3
  import { z } from "zod/v4";
4
4
  import { createHash } from "crypto";
5
5
  // src/datasets/snapshot.ts
@@ -3,7 +3,7 @@ name: mastra-core
3
3
  description: Documentation for @mastra/core. Use when working with @mastra/core APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/core"
6
- version: "1.87.0-alpha.4"
6
+ version: "1.87.0-alpha.5"
7
7
  ---
8
8
 
9
9
  ## When to use