@mastra/core 1.87.0-alpha.7 → 1.87.0-alpha.8

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 (376) hide show
  1. package/dist/agent/agent.d.ts +3 -1
  2. package/dist/agent/durable/index.cjs +1 -1
  3. package/dist/agent/durable/index.js +1 -1
  4. package/dist/agent/index.cjs +3 -2
  5. package/dist/agent/index.d.ts +2 -0
  6. package/dist/agent/index.js +3 -3
  7. package/dist/agent/merge-persona.d.ts +15 -0
  8. package/dist/agent-builder/ee/index.cjs +1 -1
  9. package/dist/agent-builder/ee/index.js +1 -1
  10. package/dist/agent-controller/index.cjs +2 -2
  11. package/dist/agent-controller/index.js +2 -2
  12. package/dist/{agent-controller-GM-2_7C2.js → agent-controller-C4zDemm6.js} +7 -7
  13. package/dist/{agent-controller-QGBVBDRi.cjs → agent-controller-CrEpnHiS.cjs} +7 -7
  14. package/dist/background-tasks/index.cjs +1 -1
  15. package/dist/background-tasks/index.js +1 -1
  16. package/dist/{background-tasks-C-3AqSKL.cjs → background-tasks-Co3gtkk9.cjs} +1 -1
  17. package/dist/{background-tasks-lHCVpHbm.js → background-tasks-DKY9-67c.js} +1 -1
  18. package/dist/browser/index.cjs +2 -2
  19. package/dist/browser/index.js +2 -2
  20. package/dist/{builder-mGGr3IhH.cjs → builder-DSyz2DUR.cjs} +2 -2
  21. package/dist/{builder-C9UYOrxv.js → builder-ntKskSX0.js} +2 -2
  22. package/dist/capabilities/302ai.json +200 -200
  23. package/dist/capabilities/abliteratedllm.json +35 -35
  24. package/dist/capabilities/abliteration-ai.json +6 -6
  25. package/dist/capabilities/above.json +19 -19
  26. package/dist/capabilities/adaption.json +16 -16
  27. package/dist/capabilities/adzuki.json +28 -28
  28. package/dist/capabilities/agentrouter.json +6 -6
  29. package/dist/capabilities/agnes.json +2 -2
  30. package/dist/capabilities/ai-router.json +7 -7
  31. package/dist/capabilities/aiand.json +21 -21
  32. package/dist/capabilities/aigrow.json +14 -14
  33. package/dist/capabilities/aimlapi.json +155 -155
  34. package/dist/capabilities/aixy.json +21 -21
  35. package/dist/capabilities/aki-io.json +14 -14
  36. package/dist/capabilities/alibaba-cn.json +103 -97
  37. package/dist/capabilities/alibaba-coding-plan-cn.json +4 -4
  38. package/dist/capabilities/alibaba-coding-plan.json +4 -4
  39. package/dist/capabilities/alibaba-token-plan-cn.json +49 -49
  40. package/dist/capabilities/alibaba-token-plan.json +49 -49
  41. package/dist/capabilities/alibaba.json +74 -74
  42. package/dist/capabilities/ambient.json +13 -13
  43. package/dist/capabilities/amd.json +12 -12
  44. package/dist/capabilities/anthropic.json +46 -46
  45. package/dist/capabilities/anyapi.json +18 -18
  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 +22 -22
  50. package/dist/capabilities/bailing.json +4 -4
  51. package/dist/capabilities/baseten.json +33 -33
  52. package/dist/capabilities/bee.json +5 -5
  53. package/dist/capabilities/berget.json +5 -5
  54. package/dist/capabilities/bothub.json +15 -15
  55. package/dist/capabilities/boundless.json +40 -40
  56. package/dist/capabilities/bumo.json +46 -46
  57. package/dist/capabilities/byteplus.json +28 -28
  58. package/dist/capabilities/cheapaimodel.json +7 -7
  59. package/dist/capabilities/cheapest-token.json +24 -24
  60. package/dist/capabilities/chutes.json +10 -10
  61. package/dist/capabilities/cline-pass.json +30 -30
  62. package/dist/capabilities/cloudcode.json +6 -6
  63. package/dist/capabilities/cloudferro-sherlock.json +4 -4
  64. package/dist/capabilities/cloudflare-workers-ai.json +13 -13
  65. package/dist/capabilities/commandcode.json +132 -132
  66. package/dist/capabilities/concentrate.json +279 -279
  67. package/dist/capabilities/cortecs.json +107 -107
  68. package/dist/capabilities/crossmodel.json +183 -183
  69. package/dist/capabilities/crusoe.json +10 -10
  70. package/dist/capabilities/daoxe.json +9 -9
  71. package/dist/capabilities/databricks.json +128 -128
  72. package/dist/capabilities/deepinfra.json +93 -93
  73. package/dist/capabilities/deepseek.json +2 -2
  74. package/dist/capabilities/digitalocean.json +114 -114
  75. package/dist/capabilities/dothoosh.json +30 -30
  76. package/dist/capabilities/doubleword.json +25 -25
  77. package/dist/capabilities/edenai.json +284 -284
  78. package/dist/capabilities/empiriolabs.json +170 -170
  79. package/dist/capabilities/engy.json +19 -19
  80. package/dist/capabilities/entrim.json +2 -2
  81. package/dist/capabilities/evroc.json +17 -17
  82. package/dist/capabilities/ezkielyna.json +8 -8
  83. package/dist/capabilities/fastrouter.json +76 -76
  84. package/dist/capabilities/fireworks-ai.json +86 -86
  85. package/dist/capabilities/freemodel.json +24 -24
  86. package/dist/capabilities/friendli.json +7 -7
  87. package/dist/capabilities/frogbot.json +101 -101
  88. package/dist/capabilities/gisoo.json +16 -16
  89. package/dist/capabilities/gmicloud.json +16 -16
  90. package/dist/capabilities/google.json +57 -57
  91. package/dist/capabilities/graphn.json +10 -10
  92. package/dist/capabilities/greenpt.json +33 -33
  93. package/dist/capabilities/groq.json +9 -9
  94. package/dist/capabilities/helicone.json +76 -76
  95. package/dist/capabilities/hostinger-router.json +14 -14
  96. package/dist/capabilities/hpc-ai.json +11 -11
  97. package/dist/capabilities/huawei-maas.json +11 -11
  98. package/dist/capabilities/hubris.json +35 -35
  99. package/dist/capabilities/huggingface.json +67 -171
  100. package/dist/capabilities/hyper.json +21 -21
  101. package/dist/capabilities/impossibl.json +133 -133
  102. package/dist/capabilities/inception.json +3 -3
  103. package/dist/capabilities/inceptron.json +6 -6
  104. package/dist/capabilities/inco.json +4 -4
  105. package/dist/capabilities/infer.json +12 -12
  106. package/dist/capabilities/inferall.json +9 -9
  107. package/dist/capabilities/inference-coop.json +9 -9
  108. package/dist/capabilities/inferenceapis.json +16 -16
  109. package/dist/capabilities/inferris.json +2 -2
  110. package/dist/capabilities/infersia.json +14 -14
  111. package/dist/capabilities/inferx.json +2 -2
  112. package/dist/capabilities/infomaniak.json +4 -4
  113. package/dist/capabilities/io-net.json +5 -5
  114. package/dist/capabilities/iteracompute.json +48 -48
  115. package/dist/capabilities/jad-ai.json +2 -2
  116. package/dist/capabilities/jalapeno.json +12 -12
  117. package/dist/capabilities/jiekou.json +59 -59
  118. package/dist/capabilities/jzstoken.json +51 -51
  119. package/dist/capabilities/keln.json +25 -25
  120. package/dist/capabilities/kenari.json +121 -121
  121. package/dist/capabilities/kilo.json +620 -620
  122. package/dist/capabilities/kimi-code-plan-cn.json +9 -9
  123. package/dist/capabilities/kimi-code-plan-global.json +9 -9
  124. package/dist/capabilities/kitani.json +6 -6
  125. package/dist/capabilities/klavo.json +9 -9
  126. package/dist/capabilities/korouter.json +24 -24
  127. package/dist/capabilities/kunavo.json +10 -10
  128. package/dist/capabilities/liquid.json +11 -11
  129. package/dist/capabilities/lithosai.json +3 -3
  130. package/dist/capabilities/llmgateway-providers.json +924 -924
  131. package/dist/capabilities/llmgateway.json +335 -335
  132. package/dist/capabilities/llmtr.json +33 -33
  133. package/dist/capabilities/logits.json +2 -2
  134. package/dist/capabilities/lowrouter.json +51 -51
  135. package/dist/capabilities/lyceum.json +9 -9
  136. package/dist/capabilities/melious.json +16 -16
  137. package/dist/capabilities/merge-gateway.json +241 -241
  138. package/dist/capabilities/meta.json +12 -12
  139. package/dist/capabilities/minimax-cn-coding-plan.json +5 -5
  140. package/dist/capabilities/minimax-cn.json +5 -5
  141. package/dist/capabilities/minimax-coding-plan.json +5 -5
  142. package/dist/capabilities/minimax.json +5 -5
  143. package/dist/capabilities/mistral.json +22 -22
  144. package/dist/capabilities/mixlayer.json +5 -5
  145. package/dist/capabilities/modal.json +10 -10
  146. package/dist/capabilities/model-oracle-ai.json +24 -24
  147. package/dist/capabilities/modelis.json +21 -21
  148. package/dist/capabilities/modelscope.json +2 -2
  149. package/dist/capabilities/modular.json +5 -5
  150. package/dist/capabilities/moneo.json +14 -14
  151. package/dist/capabilities/moonshotai-cn.json +6 -6
  152. package/dist/capabilities/moonshotai.json +6 -6
  153. package/dist/capabilities/morph.json +15 -15
  154. package/dist/capabilities/munito-eu.json +4 -4
  155. package/dist/capabilities/munito.json +6 -6
  156. package/dist/capabilities/nan.json +23 -23
  157. package/dist/capabilities/nano-gpt.json +578 -585
  158. package/dist/capabilities/nearai.json +104 -104
  159. package/dist/capabilities/nebius.json +30 -30
  160. package/dist/capabilities/neon.json +133 -133
  161. package/dist/capabilities/neuralwatt.json +40 -40
  162. package/dist/capabilities/nokeep.json +5 -5
  163. package/dist/capabilities/novita-ai.json +122 -122
  164. package/dist/capabilities/nvidia.json +21 -21
  165. package/dist/capabilities/oathbreaker.json +2 -2
  166. package/dist/capabilities/obscurify.json +26 -26
  167. package/dist/capabilities/oci.json +8 -8
  168. package/dist/capabilities/ofox.json +396 -396
  169. package/dist/capabilities/ollama-cloud.json +54 -54
  170. package/dist/capabilities/openai.json +59 -59
  171. package/dist/capabilities/opencode-go.json +83 -83
  172. package/dist/capabilities/openreason.json +5 -5
  173. package/dist/capabilities/openrouter.json +531 -531
  174. package/dist/capabilities/opper.json +28 -28
  175. package/dist/capabilities/orcarouter.json +253 -253
  176. package/dist/capabilities/outerlabs.json +33 -33
  177. package/dist/capabilities/ovhcloud.json +21 -21
  178. package/dist/capabilities/pareto.json +5 -5
  179. package/dist/capabilities/pendra.json +4 -4
  180. package/dist/capabilities/perplexity-agent.json +62 -62
  181. package/dist/capabilities/phala.json +23 -23
  182. package/dist/capabilities/pioneer.json +33 -33
  183. package/dist/capabilities/poe.json +131 -131
  184. package/dist/capabilities/poolside.json +3 -3
  185. package/dist/capabilities/powerspring.json +6 -6
  186. package/dist/capabilities/primalabs.json +10 -10
  187. package/dist/capabilities/prime.json +114 -114
  188. package/dist/capabilities/privatemode-ai.json +12 -12
  189. package/dist/capabilities/proxystacks.json +2 -2
  190. package/dist/capabilities/qiniu-ai.json +15 -15
  191. package/dist/capabilities/refuseless.json +6 -6
  192. package/dist/capabilities/requesty.json +372 -168
  193. package/dist/capabilities/ruapi.json +19 -19
  194. package/dist/capabilities/runcrate.json +12 -12
  195. package/dist/capabilities/runinfra.json +10 -10
  196. package/dist/capabilities/sakana.json +7 -7
  197. package/dist/capabilities/sambanova.json +6 -6
  198. package/dist/capabilities/sandbase.json +27 -27
  199. package/dist/capabilities/sarvam.json +9 -9
  200. package/dist/capabilities/scaleway.json +16 -16
  201. package/dist/capabilities/scnet-token-plan.json +7 -7
  202. package/dist/capabilities/scx-ai.json +34 -34
  203. package/dist/capabilities/sensenova.json +12 -12
  204. package/dist/capabilities/siliconflow-cn.json +49 -49
  205. package/dist/capabilities/siliconflow.json +63 -63
  206. package/dist/capabilities/snowflake-cortex.json +21 -21
  207. package/dist/capabilities/sokkan.json +10 -10
  208. package/dist/capabilities/sparrowcodes.json +18 -18
  209. package/dist/capabilities/standardcompute.json +99 -99
  210. package/dist/capabilities/steadyrouter.json +39 -39
  211. package/dist/capabilities/stepfun-ai-step-plan.json +6 -6
  212. package/dist/capabilities/stepfun-ai.json +6 -6
  213. package/dist/capabilities/stepfun-step-plan.json +6 -6
  214. package/dist/capabilities/stepfun.json +6 -6
  215. package/dist/capabilities/stepping-stone.json +20 -20
  216. package/dist/capabilities/superbot-gg.json +4 -4
  217. package/dist/capabilities/synthetic.json +9 -9
  218. package/dist/capabilities/synthorai.json +23 -23
  219. package/dist/capabilities/teamorouter.json +18 -18
  220. package/dist/capabilities/teapot-router.json +14 -14
  221. package/dist/capabilities/tencent-token-plan-intl.json +21 -21
  222. package/dist/capabilities/tencent-token-plan.json +39 -39
  223. package/dist/capabilities/tencent-tokenhub.json +47 -47
  224. package/dist/capabilities/tensorx.json +32 -32
  225. package/dist/capabilities/tenstorrent.json +6 -6
  226. package/dist/capabilities/the-grid-ai.json +33 -33
  227. package/dist/capabilities/thinkingmachines.json +34 -34
  228. package/dist/capabilities/tinfoil.json +11 -11
  229. package/dist/capabilities/togetherai.json +37 -37
  230. package/dist/capabilities/tokengo.json +20 -20
  231. package/dist/capabilities/tokenify.json +8 -8
  232. package/dist/capabilities/trustedrouter.json +7 -7
  233. package/dist/capabilities/trustedtokens.json +17 -17
  234. package/dist/capabilities/umans-ai-coding-plan.json +18 -18
  235. package/dist/capabilities/umans-ai.json +15 -15
  236. package/dist/capabilities/uncensuredai.json +2 -2
  237. package/dist/capabilities/unrestricted.json +8 -8
  238. package/dist/capabilities/uplinkswitch.json +20 -20
  239. package/dist/capabilities/upstage.json +4 -4
  240. package/dist/capabilities/vancine.json +16 -16
  241. package/dist/capabilities/vercel.json +554 -554
  242. package/dist/capabilities/vivgrid.json +77 -77
  243. package/dist/capabilities/volcengine-coding-plan.json +28 -28
  244. package/dist/capabilities/volcengine.json +31 -30
  245. package/dist/capabilities/vultr.json +32 -32
  246. package/dist/capabilities/wafer.ai.json +18 -18
  247. package/dist/capabilities/wallaby.json +4 -4
  248. package/dist/capabilities/wally.json +12 -12
  249. package/dist/capabilities/wandb.json +17 -17
  250. package/dist/capabilities/watt.json +24 -24
  251. package/dist/capabilities/xai.json +6 -6
  252. package/dist/capabilities/xiaomi.json +2 -2
  253. package/dist/capabilities/xpersona.json +13 -13
  254. package/dist/capabilities/xxapi.json +29 -29
  255. package/dist/capabilities/zai-coding-plan.json +16 -16
  256. package/dist/capabilities/zai.json +30 -30
  257. package/dist/capabilities/zenifra.json +27 -27
  258. package/dist/capabilities/zenmux.json +200 -200
  259. package/dist/capabilities/zerogpu.json +10 -10
  260. package/dist/capabilities/zhipuai-coding-plan.json +7 -7
  261. package/dist/capabilities/zhipuai.json +29 -29
  262. package/dist/capabilities/zro.json +7 -7
  263. package/dist/channels/index.cjs +2 -2
  264. package/dist/channels/index.js +2 -2
  265. package/dist/{channels-dBz-1Oy7.cjs → channels-CO1XGZll.cjs} +1 -1
  266. package/dist/{channels-CyJ0PpSg.js → channels-EtP7uAxI.js} +1 -1
  267. package/dist/coding-agent/index.cjs +2 -2
  268. package/dist/coding-agent/index.js +2 -2
  269. package/dist/datasets/index.cjs +2 -2
  270. package/dist/datasets/index.js +2 -2
  271. package/dist/docs/SKILL.md +1 -1
  272. package/dist/docs/assets/SOURCE_MAP.json +523 -508
  273. package/dist/docs/references/docs-agents-code-mode.md +20 -0
  274. package/dist/docs/references/docs-knowledge-agents-and-tools.md +2 -0
  275. package/dist/docs/references/reference-tools-create-code-mode.md +22 -0
  276. package/dist/evals/index.cjs +1 -1
  277. package/dist/evals/index.js +1 -1
  278. package/dist/evals/scoreTraces/index.cjs +1 -1
  279. package/dist/evals/scoreTraces/index.js +1 -1
  280. package/dist/harness/index.cjs +2 -2
  281. package/dist/harness/index.js +2 -2
  282. package/dist/index.cjs +1 -1
  283. package/dist/index.js +1 -1
  284. package/dist/knowledge/agent-scopes.d.ts +17 -0
  285. package/dist/knowledge/declarations.d.ts +2 -0
  286. package/dist/knowledge/held-scopes-state-processor.d.ts +50 -0
  287. package/dist/knowledge/importers/types.d.ts +2 -0
  288. package/dist/knowledge/index.cjs +65 -15
  289. package/dist/knowledge/index.d.ts +6 -0
  290. package/dist/knowledge/index.js +64 -16
  291. package/dist/knowledge/page-tools.d.ts +14 -0
  292. package/dist/knowledge/run.d.ts +1 -0
  293. package/dist/llm/index.cjs +3 -3
  294. package/dist/llm/index.js +3 -3
  295. package/dist/llm/model/provider-types.generated.d.ts +7423 -7430
  296. package/dist/{llm-BiSuGioB.cjs → llm-BFX_NqOg.cjs} +2 -2
  297. package/dist/{llm-Du8yTHDN.js → llm-CCrVS2x2.js} +2 -2
  298. package/dist/loop/index.cjs +2 -2
  299. package/dist/loop/index.js +2 -2
  300. package/dist/{manager-CiKAT1GP.js → manager-UMKLXQfC.js} +2 -2
  301. package/dist/{manager-Bd8By72w.cjs → manager-thZrFty9.cjs} +2 -2
  302. package/dist/mastra/index.cjs +1 -1
  303. package/dist/mastra/index.js +1 -1
  304. package/dist/{mastra-GjJdwKF7.js → mastra-BIFCuq8a.js} +16 -16
  305. package/dist/{mastra-BD1Hqrb2.cjs → mastra-Dum21R9e.cjs} +16 -16
  306. package/dist/memory/index.cjs +2 -2
  307. package/dist/memory/index.js +2 -2
  308. package/dist/{model-CI05YYPx.cjs → model-BSJM-uPh.cjs} +1 -1
  309. package/dist/{model-Bvfq1yB9.js → model-ylucqLzJ.js} +1 -1
  310. package/dist/{netlify-DkSS4nuo.cjs → netlify-DlmO_1PJ.cjs} +1 -1
  311. package/dist/{netlify-DQ-v2Run.js → netlify-Dwaz8kVT.js} +1 -1
  312. package/dist/notifications/index.cjs +1 -1
  313. package/dist/notifications/index.js +1 -1
  314. package/dist/processor-provider/index.cjs +1 -1
  315. package/dist/processor-provider/index.js +1 -1
  316. package/dist/processors/index.cjs +2 -2
  317. package/dist/processors/index.js +2 -2
  318. package/dist/{provider-registry-K3a83H9-.cjs → provider-registry-BPAmstg2.cjs} +21966 -21971
  319. package/dist/{provider-registry-D7D3C2RI.js → provider-registry-BmJ_yV84.js} +21966 -21971
  320. package/dist/provider-registry.json +22623 -22624
  321. package/dist/{registry-generator-RfPwMlUl.cjs → registry-generator-BDMF_ksT.cjs} +1 -1
  322. package/dist/{registry-generator-BgHaZqDZ.js → registry-generator-BJvpKeLl.js} +1 -1
  323. package/dist/{rehydrate-DwfzaTOg.cjs → rehydrate-BLx0h6x3.cjs} +2 -2
  324. package/dist/{rehydrate-C4-5kM6Z.js → rehydrate-BxSMnG8L.js} +2 -2
  325. package/dist/relevance/index.cjs +2 -2
  326. package/dist/relevance/index.js +2 -2
  327. package/dist/{run-registry-BJa47sa2.cjs → run-registry-BjGLELnz.cjs} +343 -17
  328. package/dist/{run-registry-Bj_lW9M3.js → run-registry-Bs0kCDZZ.js} +320 -18
  329. package/dist/storage/index.cjs +2 -2
  330. package/dist/storage/index.js +2 -2
  331. package/dist/stream/index.cjs +2 -2
  332. package/dist/stream/index.js +2 -2
  333. package/dist/{stream-DaIpS6ky.js → stream-DdF6q5TA.js} +1 -1
  334. package/dist/{stream-CWE0h7Yc.cjs → stream-DiZTdV_p.cjs} +1 -1
  335. package/dist/test-utils/llm-mock.cjs +1 -1
  336. package/dist/test-utils/llm-mock.js +1 -1
  337. package/dist/tool-loop-agent/index.cjs +1 -1
  338. package/dist/tool-loop-agent/index.js +1 -1
  339. package/dist/{tool-loop-agent-BGBhn5xS.cjs → tool-loop-agent-ACOMyW_5.cjs} +3 -3
  340. package/dist/{tool-loop-agent-B12lpXBl.js → tool-loop-agent-DLsAaJ2M.js} +3 -3
  341. package/dist/tools/code-mode/index.d.ts +2 -0
  342. package/dist/tools/code-mode/log-collector.d.ts +49 -0
  343. package/dist/tools/code-mode/types.d.ts +71 -0
  344. package/dist/tools/index.cjs +3 -1
  345. package/dist/tools/index.js +2 -2
  346. package/dist/{tools-n9lqzDNe.cjs → tools-BEYxowf0.cjs} +316 -30
  347. package/dist/{tools-DDfA_ES4.js → tools-tPy2FwMI.js} +305 -31
  348. package/dist/{utils-CPOlvXFL.cjs → utils-C68cIPq9.cjs} +1 -1
  349. package/dist/{utils-dueX8ECq.js → utils-DUTHqSao.js} +1 -1
  350. package/dist/utils.cjs +1 -1
  351. package/dist/utils.js +1 -1
  352. package/dist/{validate-DdirQd9u.cjs → validate-DB0f9rHc.cjs} +1 -1
  353. package/dist/{validate-x3wcpuT8.js → validate-Di90-o2o.js} +1 -1
  354. package/dist/vector/index.cjs +1 -1
  355. package/dist/vector/index.js +1 -1
  356. package/dist/worker/index.cjs +1 -1
  357. package/dist/worker/index.js +1 -1
  358. package/dist/{worker-CfMtR2cV.js → worker-BJXBb4t7.js} +2 -2
  359. package/dist/{worker-GrFJJ7Y0.cjs → worker-BuvCA4E5.cjs} +2 -2
  360. package/dist/{worker-NYiueScR.js → worker-DCjlSDNL.js} +2 -2
  361. package/dist/{worker-CPZ3HqQn.cjs → worker-_e7Td4xZ.cjs} +2 -2
  362. package/dist/{workflow-BgAes9PI.js → workflow-BLs4Y-pr.js} +3 -3
  363. package/dist/{workflow-BNUED985.cjs → workflow-DqDzCAZR.cjs} +3 -3
  364. package/dist/workflows/builder/index.cjs +1 -1
  365. package/dist/workflows/builder/index.js +1 -1
  366. package/dist/workflows/evented/index.cjs +1 -1
  367. package/dist/workflows/evented/index.js +1 -1
  368. package/dist/workflows/index.cjs +4 -4
  369. package/dist/workflows/index.js +4 -4
  370. package/dist/workspace/index.cjs +1 -1
  371. package/dist/workspace/index.js +1 -1
  372. package/dist/workspace/sandbox/teardown-context.d.ts +74 -0
  373. package/dist/{workspace-Pv3J8K0c.cjs → workspace-C8Zo5_qK.cjs} +106 -5
  374. package/dist/{workspace-BK9ltbSa.js → workspace-DOAil8mG.js} +106 -5
  375. package/package.json +4 -4
  376. package/src/llm/model/provider-types.generated.d.ts +7423 -7430
@@ -23,10 +23,10 @@
23
23
  "qwen3.6-35b-a3b"
24
24
  ],
25
25
  "reasoning": {
26
- "glm-5.3-flash": [
26
+ "gpt-5.6-luna": [
27
27
  {
28
28
  "type": "effort",
29
- "values": ["low", "high", "max"]
29
+ "values": ["none", "low", "medium", "high", "xhigh", "max"]
30
30
  }
31
31
  ],
32
32
  "deepseek-v4.1-flash": [
@@ -38,26 +38,26 @@
38
38
  "values": ["low", "high", "max"]
39
39
  }
40
40
  ],
41
- "gpt-5.6-luna": [
41
+ "qwen3.6-35b-a3b": [
42
42
  {
43
- "type": "effort",
44
- "values": ["none", "low", "medium", "high", "xhigh", "max"]
43
+ "type": "toggle"
45
44
  }
46
45
  ],
47
- "qwen3.6-35b-a3b": [
46
+ "qwen3-30b-a3b-fp8": [
48
47
  {
49
48
  "type": "toggle"
50
49
  }
51
50
  ],
52
- "gpt-5.4-nano": [
51
+ "glm-5.3-flash": [
53
52
  {
54
53
  "type": "effort",
55
- "values": ["none", "low", "medium", "high", "xhigh"]
54
+ "values": ["low", "high", "max"]
56
55
  }
57
56
  ],
58
- "qwen3-30b-a3b-fp8": [
57
+ "gpt-5.4-nano": [
59
58
  {
60
- "type": "toggle"
59
+ "type": "effort",
60
+ "values": ["none", "low", "medium", "high", "xhigh"]
61
61
  }
62
62
  ]
63
63
  }
@@ -3,12 +3,17 @@
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.3-flash": [
6
+ "glm-5.4": [
7
7
  {
8
8
  "type": "effort",
9
9
  "values": ["low", "high", "max"]
10
10
  }
11
11
  ],
12
+ "glm-4.6v": [
13
+ {
14
+ "type": "toggle"
15
+ }
16
+ ],
12
17
  "glm-5.3-highspeed": [
13
18
  {
14
19
  "type": "effort",
@@ -21,16 +26,11 @@
21
26
  "values": ["low", "high", "max"]
22
27
  }
23
28
  ],
24
- "glm-5.4": [
29
+ "glm-5.3-flash": [
25
30
  {
26
31
  "type": "effort",
27
32
  "values": ["low", "high", "max"]
28
33
  }
29
- ],
30
- "glm-4.6v": [
31
- {
32
- "type": "toggle"
33
- }
34
34
  ]
35
35
  }
36
36
  }
@@ -30,13 +30,13 @@
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-5.3-flash": [
33
+ "glm-5.3-flashx-legal": [
34
34
  {
35
35
  "type": "effort",
36
36
  "values": ["low", "high", "max"]
37
37
  }
38
38
  ],
39
- "glm-4.5-flash": [
39
+ "glm-5v-turbo": [
40
40
  {
41
41
  "type": "toggle"
42
42
  }
@@ -46,69 +46,68 @@
46
46
  "type": "toggle"
47
47
  }
48
48
  ],
49
- "glm-4.7-flash": [
49
+ "glm-5.2": [
50
50
  {
51
51
  "type": "toggle"
52
+ },
53
+ {
54
+ "type": "effort",
55
+ "values": ["high", "max"]
52
56
  }
53
57
  ],
54
- "glm-5": [
58
+ "glm-4.6v": [
55
59
  {
56
60
  "type": "toggle"
57
61
  }
58
62
  ],
59
- "glm-5.3-flashx": [
63
+ "glm-4.5-flash": [
60
64
  {
61
- "type": "effort",
62
- "values": ["low", "high", "max"]
65
+ "type": "toggle"
63
66
  }
64
67
  ],
65
- "glm-5.3-flashx-legal": [
68
+ "glm-4.7-flash": [
66
69
  {
67
- "type": "effort",
68
- "values": ["low", "high", "max"]
70
+ "type": "toggle"
69
71
  }
70
72
  ],
71
- "glm-4.6": [
73
+ "glm-4.5": [
72
74
  {
73
75
  "type": "toggle"
74
76
  }
75
77
  ],
76
- "glm-5.3": [
78
+ "glm-4.5-air": [
77
79
  {
78
- "type": "effort",
79
- "values": ["low", "high", "max"]
80
+ "type": "toggle"
80
81
  }
81
82
  ],
82
- "glm-4.5v": [
83
+ "glm-4.7-flashx": [
83
84
  {
84
85
  "type": "toggle"
85
86
  }
86
87
  ],
87
- "glm-4.5-air": [
88
+ "glm-5.3": [
88
89
  {
89
- "type": "toggle"
90
+ "type": "effort",
91
+ "values": ["low", "high", "max"]
90
92
  }
91
93
  ],
92
- "glm-4.7": [
94
+ "glm-5.3-flash": [
93
95
  {
94
- "type": "toggle"
96
+ "type": "effort",
97
+ "values": ["low", "high", "max"]
95
98
  }
96
99
  ],
97
- "glm-5.2": [
100
+ "glm-4.6": [
98
101
  {
99
102
  "type": "toggle"
100
- },
101
- {
102
- "type": "effort",
103
- "values": ["high", "max"]
104
103
  }
105
104
  ],
106
- "glm-4.5": [
105
+ "glm-4.5v": [
107
106
  {
108
107
  "type": "toggle"
109
108
  }
110
109
  ],
111
- "glm-4.6v": [
110
+ "glm-5": [
112
111
  {
113
112
  "type": "toggle"
114
113
  }
@@ -118,14 +117,15 @@
118
117
  "type": "toggle"
119
118
  }
120
119
  ],
121
- "glm-5v-turbo": [
120
+ "glm-4.7": [
122
121
  {
123
122
  "type": "toggle"
124
123
  }
125
124
  ],
126
- "glm-4.7-flashx": [
125
+ "glm-5.3-flashx": [
127
126
  {
128
- "type": "toggle"
127
+ "type": "effort",
128
+ "values": ["low", "high", "max"]
129
129
  }
130
130
  ]
131
131
  }
@@ -3,31 +3,31 @@
3
3
  "temperature": ["deepseek-v4.1-flash", "dolly1-security", "dolly2-security", "glm-5.3", "glm-5.3-flash"],
4
4
  "structuredOutput": ["deepseek-v4.1-flash", "dolly1-security", "dolly2-security", "glm-5.3", "glm-5.3-flash"],
5
5
  "reasoning": {
6
- "dolly2-security": [
6
+ "deepseek-v4.1-flash": [
7
7
  {
8
8
  "type": "effort",
9
- "values": ["low", "high", "max"]
9
+ "values": ["none", "low", "high", "max"]
10
10
  }
11
11
  ],
12
- "glm-5.3-flash": [
12
+ "glm-5.3": [
13
13
  {
14
14
  "type": "effort",
15
15
  "values": ["low", "high", "max"]
16
16
  }
17
17
  ],
18
- "deepseek-v4.1-flash": [
18
+ "dolly1-security": [
19
19
  {
20
20
  "type": "effort",
21
- "values": ["none", "low", "high", "max"]
21
+ "values": ["low", "high", "max"]
22
22
  }
23
23
  ],
24
- "glm-5.3": [
24
+ "glm-5.3-flash": [
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-BJa47sa2.cjs");
3
- const require_channels = require("../channels-dBz-1Oy7.cjs");
2
+ const require_run_registry = require("../run-registry-BjGLELnz.cjs");
3
+ const require_channels = require("../channels-CO1XGZll.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 AgentChannels, Bn as CHAT_CHANNEL_RENDER_CONTEXT_KEY, Fn as REPLY_TOOL_NAME, Gn as ChannelSessionRejectedError, Hn as CONTINUE_RUN_ACTION_ID, In as ChannelThreadLinkProcessor, Jn as createChannelToolScope, Kn as DEFAULT_CHANNEL_TOOLS_SETTINGS, Ln as NEW_CHANNEL_THREAD_KEY, Mn as defaultTypingStatus, Nn as resolveChannelRenderContext, Pn as MastraStateAdapter, Rn as markNewChannelThread, Un as CONTINUE_RUN_MESSAGE, Vn as renderBuiltInToolEvent, Wn as formatToolApproval, Xn as resolveChannelToolsSettings, Yn as createChannelTools, Zn as toChatLogger, jn as resolveWaitUntil, qn as channelToolScopeResolver, zn as ChatChannelProcessor } from "../run-registry-Bj_lW9M3.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-CyJ0PpSg.js";
1
+ import { $n as createChannelTools, Bn as ChannelThreadLinkProcessor, Fn as resolveWaitUntil, Gn as renderBuiltInToolEvent, Hn as markNewChannelThread, In as defaultTypingStatus, Jn as formatToolApproval, Kn as CONTINUE_RUN_ACTION_ID, Ln as resolveChannelRenderContext, Pn as AgentChannels, Qn as createChannelToolScope, Rn as MastraStateAdapter, Un as ChatChannelProcessor, Vn as NEW_CHANNEL_THREAD_KEY, Wn as CHAT_CHANNEL_RENDER_CONTEXT_KEY, Xn as DEFAULT_CHANNEL_TOOLS_SETTINGS, Yn as ChannelSessionRejectedError, Zn as channelToolScopeResolver, er as resolveChannelToolsSettings, qn as CONTINUE_RUN_MESSAGE, tr as toChatLogger, zn as REPLY_TOOL_NAME } from "../run-registry-Bs0kCDZZ.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-EtP7uAxI.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
- const require_run_registry = require("./run-registry-BJa47sa2.cjs");
1
+ const require_run_registry = require("./run-registry-BjGLELnz.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,4 +1,4 @@
1
- import { An as AgentChannels, Gn as ChannelSessionRejectedError, Nn as resolveChannelRenderContext } from "./run-registry-Bj_lW9M3.js";
1
+ import { Ln as resolveChannelRenderContext, Pn as AgentChannels, Yn as ChannelSessionRejectedError } from "./run-registry-Bs0kCDZZ.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,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-BJa47sa2.cjs");
2
+ const require_run_registry = require("../run-registry-BjGLELnz.cjs");
3
3
  require("../state-processor-kRNZ38Nf.cjs");
4
4
  const require_signals = require("../signals-B1JSj-Ew.cjs");
5
- const require_workspace = require("../workspace-Pv3J8K0c.cjs");
5
+ const require_workspace = require("../workspace-C8Zo5_qK.cjs");
6
6
  // src/coding-agent/prompt.ts
7
7
  function buildBasePrompt(ctx) {
8
8
  const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
@@ -1,7 +1,7 @@
1
- import { Es as defaultStabilityErrorProcessors, P as Agent, qo as CyberRefusalHandler } from "../run-registry-Bj_lW9M3.js";
1
+ import { As as defaultStabilityErrorProcessors, F as Agent, Zo as CyberRefusalHandler } from "../run-registry-Bs0kCDZZ.js";
2
2
  import "../state-processor-B9kxpM53.js";
3
3
  import { t as TaskSignalProvider } from "../signals-De9VnwL2.js";
4
- import { F as LocalSandbox, c as Workspace, st as LocalFilesystem } from "../workspace-BK9ltbSa.js";
4
+ import { F as LocalSandbox, c as Workspace, st as LocalFilesystem } from "../workspace-DOAil8mG.js";
5
5
  // src/coding-agent/prompt.ts
6
6
  function buildBasePrompt(ctx) {
7
7
  const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_run_registry = require("../run-registry-BJa47sa2.cjs");
3
- const require_manager = require("../manager-Bd8By72w.cjs");
2
+ const require_run_registry = require("../run-registry-BjGLELnz.cjs");
3
+ const require_manager = require("../manager-thZrFty9.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 UnsupportedSchemaPatternError, ia as getSchemaValidator, na as assertSupportedPatterns, oa as SchemaUpdateValidationError, ra as createValidator, sa as SchemaValidationError, ta as SchemaValidator } from "../run-registry-Bj_lW9M3.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-CiKAT1GP.js";
1
+ import { aa as SchemaValidator, ca as getSchemaValidator, da as SchemaValidationError, la as UnsupportedSchemaPatternError, oa as assertSupportedPatterns, sa as createValidator, ua as SchemaUpdateValidationError } from "../run-registry-Bs0kCDZZ.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-UMKLXQfC.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.7"
6
+ version: "1.87.0-alpha.8"
7
7
  ---
8
8
 
9
9
  ## When to use