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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/dist/agent/agent.d.ts +2 -2
  3. package/dist/agent/agent.d.ts.map +1 -1
  4. package/dist/agent/agent.types.d.ts +6 -7
  5. package/dist/agent/agent.types.d.ts.map +1 -1
  6. package/dist/agent/index.cjs +17 -9
  7. package/dist/agent/index.d.ts +1 -1
  8. package/dist/agent/index.d.ts.map +1 -1
  9. package/dist/agent/index.js +2 -2
  10. package/dist/agent/message-list/index.cjs +3 -3
  11. package/dist/agent/message-list/index.js +1 -1
  12. package/dist/agent/trip-wire.d.ts +2 -2
  13. package/dist/agent/trip-wire.d.ts.map +1 -1
  14. package/dist/agent/utils.d.ts +4 -1
  15. package/dist/agent/utils.d.ts.map +1 -1
  16. package/dist/agent/workflows/prepare-stream/index.d.ts +3 -3
  17. package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
  18. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +3 -3
  19. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  20. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +3 -3
  21. package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
  22. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts +3 -3
  23. package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
  24. package/dist/bundler/types.d.ts +1 -0
  25. package/dist/bundler/types.d.ts.map +1 -1
  26. package/dist/chunk-2AU5ZHBL.js +79 -0
  27. package/dist/chunk-2AU5ZHBL.js.map +1 -0
  28. package/dist/{chunk-BQDZIQ3G.js → chunk-3IP3DZ7G.js} +85 -18
  29. package/dist/chunk-3IP3DZ7G.js.map +1 -0
  30. package/dist/{chunk-WYWRMIQC.js → chunk-4AT6YQKZ.js} +4 -103
  31. package/dist/chunk-4AT6YQKZ.js.map +1 -0
  32. package/dist/{chunk-62Q7K656.js → chunk-4CMIJQF6.js} +114 -110
  33. package/dist/chunk-4CMIJQF6.js.map +1 -0
  34. package/dist/{chunk-MXBVP7HX.cjs → chunk-53SZJCBX.cjs} +220 -174
  35. package/dist/chunk-53SZJCBX.cjs.map +1 -0
  36. package/dist/{chunk-2IU4RGU5.js → chunk-5UQ5TB6J.js} +5 -5
  37. package/dist/{chunk-2IU4RGU5.js.map → chunk-5UQ5TB6J.js.map} +1 -1
  38. package/dist/{chunk-WYGUWVTF.js → chunk-67LM2UCT.js} +8 -8
  39. package/dist/chunk-67LM2UCT.js.map +1 -0
  40. package/dist/{chunk-U4CSOY6T.cjs → chunk-6CG7IY57.cjs} +110 -43
  41. package/dist/chunk-6CG7IY57.cjs.map +1 -0
  42. package/dist/{chunk-X6IBA7FP.cjs → chunk-72E3YF6A.cjs} +9 -110
  43. package/dist/chunk-72E3YF6A.cjs.map +1 -0
  44. package/dist/{chunk-GIWC35YQ.js → chunk-AYBJ5GAD.js} +180 -4
  45. package/dist/chunk-AYBJ5GAD.js.map +1 -0
  46. package/dist/{chunk-VEPP75C4.cjs → chunk-DBW6S25C.cjs} +10 -10
  47. package/dist/{chunk-VEPP75C4.cjs.map → chunk-DBW6S25C.cjs.map} +1 -1
  48. package/dist/{chunk-Y7MZ5LJT.cjs → chunk-EGHGFLL3.cjs} +101 -102
  49. package/dist/chunk-EGHGFLL3.cjs.map +1 -0
  50. package/dist/{chunk-LGB4VNZI.cjs → chunk-ETWAR2YE.cjs} +5 -5
  51. package/dist/{chunk-LGB4VNZI.cjs.map → chunk-ETWAR2YE.cjs.map} +1 -1
  52. package/dist/{chunk-OWIEOL55.cjs → chunk-F75EQ574.cjs} +695 -254
  53. package/dist/chunk-F75EQ574.cjs.map +1 -0
  54. package/dist/{chunk-AGHLXC4I.cjs → chunk-FPDJ4XN6.cjs} +181 -5
  55. package/dist/chunk-FPDJ4XN6.cjs.map +1 -0
  56. package/dist/{chunk-VETAQUW3.js → chunk-GBQXIVL6.js} +3 -3
  57. package/dist/{chunk-VETAQUW3.js.map → chunk-GBQXIVL6.js.map} +1 -1
  58. package/dist/{chunk-4BC5FUAO.js → chunk-GELVUDUY.js} +5 -4
  59. package/dist/chunk-GELVUDUY.js.map +1 -0
  60. package/dist/chunk-GVAPYQRO.cjs +252 -0
  61. package/dist/chunk-GVAPYQRO.cjs.map +1 -0
  62. package/dist/{chunk-R5AJGM55.cjs → chunk-JAGQZZ43.cjs} +410 -265
  63. package/dist/chunk-JAGQZZ43.cjs.map +1 -0
  64. package/dist/{chunk-ARAQIW6E.js → chunk-K66U47VL.js} +617 -188
  65. package/dist/chunk-K66U47VL.js.map +1 -0
  66. package/dist/{chunk-RCJLMMTO.js → chunk-LDXKZYOV.js} +4 -4
  67. package/dist/{chunk-RCJLMMTO.js.map → chunk-LDXKZYOV.js.map} +1 -1
  68. package/dist/{chunk-MLKE7HRS.cjs → chunk-O3ULBGV6.cjs} +4 -4
  69. package/dist/{chunk-MLKE7HRS.cjs.map → chunk-O3ULBGV6.cjs.map} +1 -1
  70. package/dist/{chunk-PJAK4U6R.cjs → chunk-O5BQBZEF.cjs} +15 -15
  71. package/dist/chunk-O5BQBZEF.cjs.map +1 -0
  72. package/dist/{chunk-H4VUIOWU.cjs → chunk-OOUFPYSX.cjs} +5 -4
  73. package/dist/chunk-OOUFPYSX.cjs.map +1 -0
  74. package/dist/{chunk-5VZGJTPR.js → chunk-QDVYP2T7.js} +56 -10
  75. package/dist/chunk-QDVYP2T7.js.map +1 -0
  76. package/dist/{chunk-E5BQRAJK.js → chunk-QF4MHFSU.js} +364 -221
  77. package/dist/chunk-QF4MHFSU.js.map +1 -0
  78. package/dist/{chunk-WPTTKULS.js → chunk-SLBWA2F3.js} +3 -3
  79. package/dist/{chunk-WPTTKULS.js.map → chunk-SLBWA2F3.js.map} +1 -1
  80. package/dist/chunk-ST7NBF4H.cjs +84 -0
  81. package/dist/chunk-ST7NBF4H.cjs.map +1 -0
  82. package/dist/{chunk-7HEAVZRS.cjs → chunk-TDM43G4I.cjs} +8 -8
  83. package/dist/{chunk-7HEAVZRS.cjs.map → chunk-TDM43G4I.cjs.map} +1 -1
  84. package/dist/{chunk-SZYSDJTN.cjs → chunk-TRUNX3AX.cjs} +117 -112
  85. package/dist/chunk-TRUNX3AX.cjs.map +1 -0
  86. package/dist/chunk-VE6HQ7H6.js +250 -0
  87. package/dist/chunk-VE6HQ7H6.js.map +1 -0
  88. package/dist/{chunk-MRRFTNF4.js → chunk-VZJOEGQA.js} +3 -4
  89. package/dist/chunk-VZJOEGQA.js.map +1 -0
  90. package/dist/evals/index.cjs +4 -4
  91. package/dist/evals/index.js +1 -1
  92. package/dist/evals/run/index.d.ts.map +1 -1
  93. package/dist/evals/scoreTraces/index.cjs +3 -3
  94. package/dist/evals/scoreTraces/index.js +1 -1
  95. package/dist/index.cjs +2 -2
  96. package/dist/index.js +1 -1
  97. package/dist/llm/index.cjs +15 -15
  98. package/dist/llm/index.js +5 -5
  99. package/dist/llm/model/aisdk/generate-to-stream.d.ts +20 -0
  100. package/dist/llm/model/aisdk/generate-to-stream.d.ts.map +1 -0
  101. package/dist/llm/model/aisdk/v5/model.d.ts +4 -0
  102. package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
  103. package/dist/llm/model/aisdk/v6/model.d.ts +51 -0
  104. package/dist/llm/model/aisdk/v6/model.d.ts.map +1 -0
  105. package/dist/llm/model/model.loop.d.ts +1 -1
  106. package/dist/llm/model/provider-types.generated.d.ts +84 -0
  107. package/dist/llm/model/resolve-model.d.ts +2 -2
  108. package/dist/llm/model/resolve-model.d.ts.map +1 -1
  109. package/dist/llm/model/shared.types.d.ts +18 -7
  110. package/dist/llm/model/shared.types.d.ts.map +1 -1
  111. package/dist/loop/index.cjs +2 -2
  112. package/dist/loop/index.js +1 -1
  113. package/dist/loop/network/index.d.ts +2 -2
  114. package/dist/loop/network/index.d.ts.map +1 -1
  115. package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts +1 -1
  116. package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts.map +1 -1
  117. package/dist/loop/test-utils/MastraLanguageModelV3Mock.d.ts +37 -0
  118. package/dist/loop/test-utils/MastraLanguageModelV3Mock.d.ts.map +1 -0
  119. package/dist/loop/test-utils/fullStream.d.ts +2 -1
  120. package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
  121. package/dist/loop/test-utils/resultObject.d.ts +2 -1
  122. package/dist/loop/test-utils/resultObject.d.ts.map +1 -1
  123. package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
  124. package/dist/loop/test-utils/utils-v3.d.ts +55 -0
  125. package/dist/loop/test-utils/utils-v3.d.ts.map +1 -0
  126. package/dist/loop/types.d.ts +5 -6
  127. package/dist/loop/types.d.ts.map +1 -1
  128. package/dist/loop/workflows/agentic-execution/index.d.ts +36 -36
  129. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +25 -25
  130. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  131. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +12 -12
  132. package/dist/loop/workflows/agentic-loop/index.d.ts +36 -36
  133. package/dist/loop/workflows/run-state.d.ts +2 -2
  134. package/dist/loop/workflows/run-state.d.ts.map +1 -1
  135. package/dist/loop/workflows/schema.d.ts +12 -12
  136. package/dist/mastra/index.cjs +2 -2
  137. package/dist/mastra/index.js +1 -1
  138. package/dist/memory/index.cjs +6 -6
  139. package/dist/memory/index.js +1 -1
  140. package/dist/models-dev-E3WWI7VA.js +3 -0
  141. package/dist/{models-dev-EO22XOXQ.js.map → models-dev-E3WWI7VA.js.map} +1 -1
  142. package/dist/models-dev-PPS7X4JM.cjs +12 -0
  143. package/dist/{models-dev-D3EKFGAO.cjs.map → models-dev-PPS7X4JM.cjs.map} +1 -1
  144. package/dist/netlify-TY656UYF.js +3 -0
  145. package/dist/{netlify-AE4LNCAI.js.map → netlify-TY656UYF.js.map} +1 -1
  146. package/dist/netlify-VZFM5UH3.cjs +12 -0
  147. package/dist/{netlify-WE42TZIT.cjs.map → netlify-VZFM5UH3.cjs.map} +1 -1
  148. package/dist/processors/index.cjs +37 -37
  149. package/dist/processors/index.d.ts +7 -7
  150. package/dist/processors/index.d.ts.map +1 -1
  151. package/dist/processors/index.js +1 -1
  152. package/dist/processors/runner.d.ts.map +1 -1
  153. package/dist/processors/step-schema.d.ts +26 -26
  154. package/dist/processors/step-schema.d.ts.map +1 -1
  155. package/dist/provider-registry-NXVD764B.js +3 -0
  156. package/dist/{provider-registry-6LF3NGC5.js.map → provider-registry-NXVD764B.js.map} +1 -1
  157. package/dist/provider-registry-ZIWSEUQE.cjs +40 -0
  158. package/dist/{provider-registry-73FKMXJV.cjs.map → provider-registry-ZIWSEUQE.cjs.map} +1 -1
  159. package/dist/provider-registry.json +176 -0
  160. package/dist/relevance/index.cjs +3 -3
  161. package/dist/relevance/index.cjs.map +1 -1
  162. package/dist/relevance/index.js +2 -2
  163. package/dist/relevance/index.js.map +1 -1
  164. package/dist/storage/index.cjs +38 -38
  165. package/dist/storage/index.js +1 -1
  166. package/dist/stream/aisdk/v5/execute.d.ts +4 -4
  167. package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
  168. package/dist/stream/aisdk/v5/output.d.ts +2 -2
  169. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  170. package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
  171. package/dist/stream/base/output.d.ts +7 -5
  172. package/dist/stream/base/output.d.ts.map +1 -1
  173. package/dist/stream/index.cjs +12 -12
  174. package/dist/stream/index.js +2 -2
  175. package/dist/stream/types.d.ts +29 -21
  176. package/dist/stream/types.d.ts.map +1 -1
  177. package/dist/test-utils/llm-mock.cjs +4 -4
  178. package/dist/test-utils/llm-mock.cjs.map +1 -1
  179. package/dist/test-utils/llm-mock.js +1 -1
  180. package/dist/test-utils/llm-mock.js.map +1 -1
  181. package/dist/token-6GSAFR2W-LTZ7QQUP.js +61 -0
  182. package/dist/token-6GSAFR2W-LTZ7QQUP.js.map +1 -0
  183. package/dist/token-6GSAFR2W-UEEINYAN.cjs +63 -0
  184. package/dist/token-6GSAFR2W-UEEINYAN.cjs.map +1 -0
  185. package/dist/token-util-NEHG7TUY-QTFZ26EN.js +8 -0
  186. package/dist/token-util-NEHG7TUY-QTFZ26EN.js.map +1 -0
  187. package/dist/token-util-NEHG7TUY-WZL2DNCG.cjs +10 -0
  188. package/dist/token-util-NEHG7TUY-WZL2DNCG.cjs.map +1 -0
  189. package/dist/utils.cjs +22 -22
  190. package/dist/utils.d.ts +2 -2
  191. package/dist/utils.d.ts.map +1 -1
  192. package/dist/utils.js +1 -1
  193. package/dist/vector/embed.d.ts +1 -0
  194. package/dist/vector/embed.d.ts.map +1 -1
  195. package/dist/vector/index.cjs +5300 -0
  196. package/dist/vector/index.cjs.map +1 -1
  197. package/dist/vector/index.js +5279 -1
  198. package/dist/vector/index.js.map +1 -1
  199. package/dist/vector/vector.d.ts +14 -1
  200. package/dist/vector/vector.d.ts.map +1 -1
  201. package/dist/voice/composite-voice.d.ts.map +1 -1
  202. package/dist/voice/index.cjs +6 -6
  203. package/dist/voice/index.js +1 -1
  204. package/dist/workflows/evented/index.cjs +10 -10
  205. package/dist/workflows/evented/index.js +1 -1
  206. package/dist/workflows/evented/step-executor.d.ts +4 -0
  207. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  208. package/dist/workflows/evented/workflow-event-processor/index.d.ts +15 -0
  209. package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
  210. package/dist/workflows/evented/workflow.d.ts +5 -0
  211. package/dist/workflows/evented/workflow.d.ts.map +1 -1
  212. package/dist/workflows/index.cjs +23 -23
  213. package/dist/workflows/index.js +1 -1
  214. package/dist/workflows/workflow.d.ts +4 -1
  215. package/dist/workflows/workflow.d.ts.map +1 -1
  216. package/package.json +10 -12
  217. package/src/llm/model/provider-types.generated.d.ts +84 -0
  218. package/dist/chunk-4BC5FUAO.js.map +0 -1
  219. package/dist/chunk-5VZGJTPR.js.map +0 -1
  220. package/dist/chunk-62Q7K656.js.map +0 -1
  221. package/dist/chunk-AGHLXC4I.cjs.map +0 -1
  222. package/dist/chunk-ARAQIW6E.js.map +0 -1
  223. package/dist/chunk-BQDZIQ3G.js.map +0 -1
  224. package/dist/chunk-E5BQRAJK.js.map +0 -1
  225. package/dist/chunk-GIWC35YQ.js.map +0 -1
  226. package/dist/chunk-H4VUIOWU.cjs.map +0 -1
  227. package/dist/chunk-IXZ2T2QX.cjs +0 -448
  228. package/dist/chunk-IXZ2T2QX.cjs.map +0 -1
  229. package/dist/chunk-MRRFTNF4.js.map +0 -1
  230. package/dist/chunk-MXBVP7HX.cjs.map +0 -1
  231. package/dist/chunk-OWIEOL55.cjs.map +0 -1
  232. package/dist/chunk-PJAK4U6R.cjs.map +0 -1
  233. package/dist/chunk-R5AJGM55.cjs.map +0 -1
  234. package/dist/chunk-SZYSDJTN.cjs.map +0 -1
  235. package/dist/chunk-U4CSOY6T.cjs.map +0 -1
  236. package/dist/chunk-UBSPZTQX.js +0 -434
  237. package/dist/chunk-UBSPZTQX.js.map +0 -1
  238. package/dist/chunk-WYGUWVTF.js.map +0 -1
  239. package/dist/chunk-WYWRMIQC.js.map +0 -1
  240. package/dist/chunk-X6IBA7FP.cjs.map +0 -1
  241. package/dist/chunk-Y7MZ5LJT.cjs.map +0 -1
  242. package/dist/llm/model/is-v2-model.d.ts +0 -3
  243. package/dist/llm/model/is-v2-model.d.ts.map +0 -1
  244. package/dist/models-dev-D3EKFGAO.cjs +0 -12
  245. package/dist/models-dev-EO22XOXQ.js +0 -3
  246. package/dist/netlify-AE4LNCAI.js +0 -3
  247. package/dist/netlify-WE42TZIT.cjs +0 -12
  248. package/dist/provider-registry-6LF3NGC5.js +0 -3
  249. package/dist/provider-registry-73FKMXJV.cjs +0 -40
@@ -244,6 +244,7 @@ var provider_registry_default = {
244
244
  name: "Mistral",
245
245
  models: [
246
246
  "codestral-latest",
247
+ "devstral-2512",
247
248
  "devstral-medium-2507",
248
249
  "devstral-medium-latest",
249
250
  "devstral-small-2505",
@@ -480,6 +481,7 @@ var provider_registry_default = {
480
481
  models: [
481
482
  "claude-opus-45",
482
483
  "deepseek-v3.2",
484
+ "gemini-3-flash-preview",
483
485
  "gemini-3-pro-preview",
484
486
  "google-gemma-3-27b-it",
485
487
  "grok-41-fast",
@@ -502,6 +504,88 @@ var provider_registry_default = {
502
504
  docUrl: "https://docs.venice.ai",
503
505
  gateway: "models.dev"
504
506
  },
507
+ "siliconflow-cn": {
508
+ url: "https://api.siliconflow.cn/v1",
509
+ apiKeyEnvVar: "SILICONFLOW_API_KEY",
510
+ apiKeyHeader: "Authorization",
511
+ name: "SiliconFlow (China)",
512
+ models: [
513
+ "baidu-ernie-4.5-300b-a47b",
514
+ "bytedance-seed-seed-oss-36b-instruct",
515
+ "deepseek-ai-deepseek-r1",
516
+ "deepseek-ai-deepseek-r1-distill-qwen-14b",
517
+ "deepseek-ai-deepseek-r1-distill-qwen-32b",
518
+ "deepseek-ai-deepseek-r1-distill-qwen-7b",
519
+ "deepseek-ai-deepseek-v3",
520
+ "deepseek-ai-deepseek-v3.1",
521
+ "deepseek-ai-deepseek-v3.1-terminus",
522
+ "deepseek-ai-deepseek-v3.2-exp",
523
+ "deepseek-ai-deepseek-vl2",
524
+ "inclusionai-ling-flash-2.0",
525
+ "inclusionai-ling-mini-2.0",
526
+ "inclusionai-ring-flash-2.0",
527
+ "meta-llama-meta-llama-3.1-8b-instruct",
528
+ "minimaxai-minimax-m1-80k",
529
+ "minimaxai-minimax-m2",
530
+ "moonshotai-kimi-dev-72b",
531
+ "moonshotai-kimi-k2-instruct",
532
+ "moonshotai-kimi-k2-instruct-0905",
533
+ "moonshotai-kimi-k2-thinking",
534
+ "nex-agi-deepseek-v3.1-nex-n1",
535
+ "openai-gpt-oss-120b",
536
+ "openai-gpt-oss-20b",
537
+ "qwen-qwen2.5-14b-instruct",
538
+ "qwen-qwen2.5-32b-instruct",
539
+ "qwen-qwen2.5-72b-instruct",
540
+ "qwen-qwen2.5-72b-instruct-128k",
541
+ "qwen-qwen2.5-7b-instruct",
542
+ "qwen-qwen2.5-coder-32b-instruct",
543
+ "qwen-qwen2.5-vl-32b-instruct",
544
+ "qwen-qwen2.5-vl-72b-instruct",
545
+ "qwen-qwen2.5-vl-7b-instruct",
546
+ "qwen-qwen3-14b",
547
+ "qwen-qwen3-235b-a22b",
548
+ "qwen-qwen3-235b-a22b-instruct-2507",
549
+ "qwen-qwen3-235b-a22b-thinking-2507",
550
+ "qwen-qwen3-30b-a3b",
551
+ "qwen-qwen3-30b-a3b-instruct-2507",
552
+ "qwen-qwen3-30b-a3b-thinking-2507",
553
+ "qwen-qwen3-32b",
554
+ "qwen-qwen3-8b",
555
+ "qwen-qwen3-coder-30b-a3b-instruct",
556
+ "qwen-qwen3-coder-480b-a35b-instruct",
557
+ "qwen-qwen3-next-80b-a3b-instruct",
558
+ "qwen-qwen3-next-80b-a3b-thinking",
559
+ "qwen-qwen3-omni-30b-a3b-captioner",
560
+ "qwen-qwen3-omni-30b-a3b-instruct",
561
+ "qwen-qwen3-omni-30b-a3b-thinking",
562
+ "qwen-qwen3-vl-235b-a22b-instruct",
563
+ "qwen-qwen3-vl-235b-a22b-thinking",
564
+ "qwen-qwen3-vl-30b-a3b-instruct",
565
+ "qwen-qwen3-vl-30b-a3b-thinking",
566
+ "qwen-qwen3-vl-32b-instruct",
567
+ "qwen-qwen3-vl-32b-thinking",
568
+ "qwen-qwen3-vl-8b-instruct",
569
+ "qwen-qwen3-vl-8b-thinking",
570
+ "qwen-qwq-32b",
571
+ "stepfun-ai-step3",
572
+ "tencent-hunyuan-a13b-instruct",
573
+ "tencent-hunyuan-mt-7b",
574
+ "thudm-glm-4-32b-0414",
575
+ "thudm-glm-4-9b-0414",
576
+ "thudm-glm-4.1v-9b-thinking",
577
+ "thudm-glm-z1-32b-0414",
578
+ "thudm-glm-z1-9b-0414",
579
+ "z-ai-glm-4.5",
580
+ "z-ai-glm-4.5-air",
581
+ "zai-org-glm-4.5",
582
+ "zai-org-glm-4.5-air",
583
+ "zai-org-glm-4.5v",
584
+ "zai-org-glm-4.6"
585
+ ],
586
+ docUrl: "https://cloud.siliconflow.com/models",
587
+ gateway: "models.dev"
588
+ },
505
589
  chutes: {
506
590
  url: "https://llm.chutes.ai/v1",
507
591
  apiKeyEnvVar: "CHUTES_API_KEY",
@@ -926,6 +1010,7 @@ var provider_registry_default = {
926
1010
  "claude-opus-4-5",
927
1011
  "claude-sonnet-4",
928
1012
  "claude-sonnet-4-5",
1013
+ "gemini-3-flash",
929
1014
  "gemini-3-pro",
930
1015
  "glm-4.6",
931
1016
  "gpt-5",
@@ -999,6 +1084,7 @@ var provider_registry_default = {
999
1084
  "gemini-2.5-pro-preview-05-06",
1000
1085
  "gemini-2.5-pro-preview-06-05",
1001
1086
  "gemini-2.5-pro-preview-tts",
1087
+ "gemini-3-flash-preview",
1002
1088
  "gemini-3-pro-preview",
1003
1089
  "gemini-embedding-001",
1004
1090
  "gemini-flash-latest",
@@ -1228,6 +1314,7 @@ var provider_registry_default = {
1228
1314
  "google/gemini-2.5-pro",
1229
1315
  "google/gemini-2.5-pro-preview-05-06",
1230
1316
  "google/gemini-2.5-pro-preview-06-05",
1317
+ "google/gemini-3-flash-preview",
1231
1318
  "google/gemini-3-pro-preview",
1232
1319
  "google/gemma-2-9b-it:free",
1233
1320
  "google/gemma-3-12b-it",
@@ -1359,6 +1446,7 @@ var provider_registry_default = {
1359
1446
  "x-ai/grok-4-fast",
1360
1447
  "x-ai/grok-4-fast-non-reasoning",
1361
1448
  "x-ai/grok-code-fast-1",
1449
+ "xiaomi/mimo-v2-flash",
1362
1450
  "z-ai/glm-4.5-air",
1363
1451
  "z-ai/glm-4.6"
1364
1452
  ],
@@ -1541,6 +1629,7 @@ var provider_registry_default = {
1541
1629
  "anthropic/claude-sonnet-4-5",
1542
1630
  "google/gemini-2.5-flash",
1543
1631
  "google/gemini-2.5-pro",
1632
+ "google/gemini-3-flash-preview",
1544
1633
  "google/gemini-3-pro-preview",
1545
1634
  "openai/gpt-4.1",
1546
1635
  "openai/gpt-4.1-mini",
@@ -1863,6 +1952,7 @@ var provider_registry_default = {
1863
1952
  "gemini/gemini-2.5-flash-lite-preview-09-2025",
1864
1953
  "gemini/gemini-2.5-flash-preview-09-2025",
1865
1954
  "gemini/gemini-2.5-pro",
1955
+ "gemini/gemini-3-flash-preview",
1866
1956
  "gemini/gemini-3-pro-image-preview",
1867
1957
  "gemini/gemini-3-pro-preview",
1868
1958
  "gemini/gemini-flash-latest",
@@ -1886,7 +1976,9 @@ var provider_registry_default = {
1886
1976
  "openai/gpt-5.1-codex-max",
1887
1977
  "openai/gpt-5.1-codex-mini",
1888
1978
  "openai/gpt-5.2",
1979
+ "openai/gpt-5.2-2025-12-11",
1889
1980
  "openai/gpt-5.2-pro",
1981
+ "openai/gpt-5.2-pro-2025-12-11",
1890
1982
  "openai/o3",
1891
1983
  "openai/o3-mini",
1892
1984
  "openai/o4-mini"
@@ -2032,6 +2124,7 @@ var provider_registry_default = {
2032
2124
  bailing: ["Ling-1T", "Ring-1T"],
2033
2125
  mistral: [
2034
2126
  "codestral-latest",
2127
+ "devstral-2512",
2035
2128
  "devstral-medium-2507",
2036
2129
  "devstral-medium-latest",
2037
2130
  "devstral-small-2505",
@@ -2229,6 +2322,7 @@ var provider_registry_default = {
2229
2322
  venice: [
2230
2323
  "claude-opus-45",
2231
2324
  "deepseek-v3.2",
2325
+ "gemini-3-flash-preview",
2232
2326
  "gemini-3-pro-preview",
2233
2327
  "google-gemma-3-27b-it",
2234
2328
  "grok-41-fast",
@@ -2248,6 +2342,80 @@ var provider_registry_default = {
2248
2342
  "venice-uncensored",
2249
2343
  "zai-org-glm-4.6"
2250
2344
  ],
2345
+ "siliconflow-cn": [
2346
+ "baidu-ernie-4.5-300b-a47b",
2347
+ "bytedance-seed-seed-oss-36b-instruct",
2348
+ "deepseek-ai-deepseek-r1",
2349
+ "deepseek-ai-deepseek-r1-distill-qwen-14b",
2350
+ "deepseek-ai-deepseek-r1-distill-qwen-32b",
2351
+ "deepseek-ai-deepseek-r1-distill-qwen-7b",
2352
+ "deepseek-ai-deepseek-v3",
2353
+ "deepseek-ai-deepseek-v3.1",
2354
+ "deepseek-ai-deepseek-v3.1-terminus",
2355
+ "deepseek-ai-deepseek-v3.2-exp",
2356
+ "deepseek-ai-deepseek-vl2",
2357
+ "inclusionai-ling-flash-2.0",
2358
+ "inclusionai-ling-mini-2.0",
2359
+ "inclusionai-ring-flash-2.0",
2360
+ "meta-llama-meta-llama-3.1-8b-instruct",
2361
+ "minimaxai-minimax-m1-80k",
2362
+ "minimaxai-minimax-m2",
2363
+ "moonshotai-kimi-dev-72b",
2364
+ "moonshotai-kimi-k2-instruct",
2365
+ "moonshotai-kimi-k2-instruct-0905",
2366
+ "moonshotai-kimi-k2-thinking",
2367
+ "nex-agi-deepseek-v3.1-nex-n1",
2368
+ "openai-gpt-oss-120b",
2369
+ "openai-gpt-oss-20b",
2370
+ "qwen-qwen2.5-14b-instruct",
2371
+ "qwen-qwen2.5-32b-instruct",
2372
+ "qwen-qwen2.5-72b-instruct",
2373
+ "qwen-qwen2.5-72b-instruct-128k",
2374
+ "qwen-qwen2.5-7b-instruct",
2375
+ "qwen-qwen2.5-coder-32b-instruct",
2376
+ "qwen-qwen2.5-vl-32b-instruct",
2377
+ "qwen-qwen2.5-vl-72b-instruct",
2378
+ "qwen-qwen2.5-vl-7b-instruct",
2379
+ "qwen-qwen3-14b",
2380
+ "qwen-qwen3-235b-a22b",
2381
+ "qwen-qwen3-235b-a22b-instruct-2507",
2382
+ "qwen-qwen3-235b-a22b-thinking-2507",
2383
+ "qwen-qwen3-30b-a3b",
2384
+ "qwen-qwen3-30b-a3b-instruct-2507",
2385
+ "qwen-qwen3-30b-a3b-thinking-2507",
2386
+ "qwen-qwen3-32b",
2387
+ "qwen-qwen3-8b",
2388
+ "qwen-qwen3-coder-30b-a3b-instruct",
2389
+ "qwen-qwen3-coder-480b-a35b-instruct",
2390
+ "qwen-qwen3-next-80b-a3b-instruct",
2391
+ "qwen-qwen3-next-80b-a3b-thinking",
2392
+ "qwen-qwen3-omni-30b-a3b-captioner",
2393
+ "qwen-qwen3-omni-30b-a3b-instruct",
2394
+ "qwen-qwen3-omni-30b-a3b-thinking",
2395
+ "qwen-qwen3-vl-235b-a22b-instruct",
2396
+ "qwen-qwen3-vl-235b-a22b-thinking",
2397
+ "qwen-qwen3-vl-30b-a3b-instruct",
2398
+ "qwen-qwen3-vl-30b-a3b-thinking",
2399
+ "qwen-qwen3-vl-32b-instruct",
2400
+ "qwen-qwen3-vl-32b-thinking",
2401
+ "qwen-qwen3-vl-8b-instruct",
2402
+ "qwen-qwen3-vl-8b-thinking",
2403
+ "qwen-qwq-32b",
2404
+ "stepfun-ai-step3",
2405
+ "tencent-hunyuan-a13b-instruct",
2406
+ "tencent-hunyuan-mt-7b",
2407
+ "thudm-glm-4-32b-0414",
2408
+ "thudm-glm-4-9b-0414",
2409
+ "thudm-glm-4.1v-9b-thinking",
2410
+ "thudm-glm-z1-32b-0414",
2411
+ "thudm-glm-z1-9b-0414",
2412
+ "z-ai-glm-4.5",
2413
+ "z-ai-glm-4.5-air",
2414
+ "zai-org-glm-4.5",
2415
+ "zai-org-glm-4.5-air",
2416
+ "zai-org-glm-4.5v",
2417
+ "zai-org-glm-4.6"
2418
+ ],
2251
2419
  chutes: [
2252
2420
  "Alibaba-NLP/Tongyi-DeepResearch-30B-A3B",
2253
2421
  "ArliAI/QwQ-32B-ArliAI-RpR-v1",
@@ -2595,6 +2763,7 @@ var provider_registry_default = {
2595
2763
  "claude-opus-4-5",
2596
2764
  "claude-sonnet-4",
2597
2765
  "claude-sonnet-4-5",
2766
+ "gemini-3-flash",
2598
2767
  "gemini-3-pro",
2599
2768
  "glm-4.6",
2600
2769
  "gpt-5",
@@ -2646,6 +2815,7 @@ var provider_registry_default = {
2646
2815
  "gemini-2.5-pro-preview-05-06",
2647
2816
  "gemini-2.5-pro-preview-06-05",
2648
2817
  "gemini-2.5-pro-preview-tts",
2818
+ "gemini-3-flash-preview",
2649
2819
  "gemini-3-pro-preview",
2650
2820
  "gemini-embedding-001",
2651
2821
  "gemini-flash-latest",
@@ -2824,6 +2994,7 @@ var provider_registry_default = {
2824
2994
  "google/gemini-2.5-pro",
2825
2995
  "google/gemini-2.5-pro-preview-05-06",
2826
2996
  "google/gemini-2.5-pro-preview-06-05",
2997
+ "google/gemini-3-flash-preview",
2827
2998
  "google/gemini-3-pro-preview",
2828
2999
  "google/gemma-2-9b-it:free",
2829
3000
  "google/gemma-3-12b-it",
@@ -2947,6 +3118,7 @@ var provider_registry_default = {
2947
3118
  "x-ai/grok-4-fast",
2948
3119
  "x-ai/grok-4-fast-non-reasoning",
2949
3120
  "x-ai/grok-code-fast-1",
3121
+ "xiaomi/mimo-v2-flash",
2950
3122
  "z-ai/glm-4.5-air",
2951
3123
  "z-ai/glm-4.6"
2952
3124
  ],
@@ -3057,6 +3229,7 @@ var provider_registry_default = {
3057
3229
  "anthropic/claude-sonnet-4-5",
3058
3230
  "google/gemini-2.5-flash",
3059
3231
  "google/gemini-2.5-pro",
3232
+ "google/gemini-3-flash-preview",
3060
3233
  "google/gemini-3-pro-preview",
3061
3234
  "openai/gpt-4.1",
3062
3235
  "openai/gpt-4.1-mini",
@@ -3293,6 +3466,7 @@ var provider_registry_default = {
3293
3466
  "gemini/gemini-2.5-flash-lite-preview-09-2025",
3294
3467
  "gemini/gemini-2.5-flash-preview-09-2025",
3295
3468
  "gemini/gemini-2.5-pro",
3469
+ "gemini/gemini-3-flash-preview",
3296
3470
  "gemini/gemini-3-pro-image-preview",
3297
3471
  "gemini/gemini-3-pro-preview",
3298
3472
  "gemini/gemini-flash-latest",
@@ -3316,7 +3490,9 @@ var provider_registry_default = {
3316
3490
  "openai/gpt-5.1-codex-max",
3317
3491
  "openai/gpt-5.1-codex-mini",
3318
3492
  "openai/gpt-5.2",
3493
+ "openai/gpt-5.2-2025-12-11",
3319
3494
  "openai/gpt-5.2-pro",
3495
+ "openai/gpt-5.2-pro-2025-12-11",
3320
3496
  "openai/o3",
3321
3497
  "openai/o3-mini",
3322
3498
  "openai/o4-mini"
@@ -3422,7 +3598,7 @@ function saveLastRefreshTimeToDisk(date) {
3422
3598
  }
3423
3599
  function getPackageRoot() {
3424
3600
  try {
3425
- const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-AGHLXC4I.cjs', document.baseURI).href)) || "file://");
3601
+ const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-FPDJ4XN6.cjs', document.baseURI).href)) || "file://");
3426
3602
  const packageJsonPath = require2.resolve("@mastra/core/package.json");
3427
3603
  return path__default.default.dirname(packageJsonPath);
3428
3604
  } catch {
@@ -3618,8 +3794,8 @@ var GatewayRegistry = class _GatewayRegistry {
3618
3794
  }
3619
3795
  this.isRefreshing = true;
3620
3796
  try {
3621
- const { ModelsDevGateway } = await import('./models-dev-D3EKFGAO.cjs');
3622
- const { NetlifyGateway } = await import('./netlify-WE42TZIT.cjs');
3797
+ const { ModelsDevGateway } = await import('./models-dev-PPS7X4JM.cjs');
3798
+ const { NetlifyGateway } = await import('./netlify-VZFM5UH3.cjs');
3623
3799
  const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-KOFNIIWJ.cjs');
3624
3800
  const defaultGateways = [new ModelsDevGateway({}), new NetlifyGateway()];
3625
3801
  const gateways = [...defaultGateways, ...this.customGateways];
@@ -3744,5 +3920,5 @@ exports.getRegisteredProviders = getRegisteredProviders;
3744
3920
  exports.isProviderRegistered = isProviderRegistered;
3745
3921
  exports.isValidModelId = isValidModelId;
3746
3922
  exports.parseModelString = parseModelString;
3747
- //# sourceMappingURL=chunk-AGHLXC4I.cjs.map
3748
- //# sourceMappingURL=chunk-AGHLXC4I.cjs.map
3923
+ //# sourceMappingURL=chunk-FPDJ4XN6.cjs.map
3924
+ //# sourceMappingURL=chunk-FPDJ4XN6.cjs.map