@mastra/core 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/agent/index.cjs +6 -6
  3. package/dist/agent/index.js +1 -1
  4. package/dist/{chunk-QCQLOMJM.cjs → chunk-22443P6A.cjs} +22 -21
  5. package/dist/chunk-22443P6A.cjs.map +1 -0
  6. package/dist/{chunk-YIK3ASEG.cjs → chunk-2ZVKF4HP.cjs} +117 -42
  7. package/dist/chunk-2ZVKF4HP.cjs.map +1 -0
  8. package/dist/{chunk-26SQQNMU.js → chunk-7CBEP2ZQ.js} +36 -12
  9. package/dist/chunk-7CBEP2ZQ.js.map +1 -0
  10. package/dist/{chunk-7SKXKUYT.js → chunk-7PO6SEJF.js} +6 -3
  11. package/dist/chunk-7PO6SEJF.js.map +1 -0
  12. package/dist/{chunk-S5MJLXMG.cjs → chunk-CB575O6L.cjs} +10 -2
  13. package/dist/chunk-CB575O6L.cjs.map +1 -0
  14. package/dist/chunk-HDJFSJCK.js +2237 -0
  15. package/dist/chunk-HDJFSJCK.js.map +1 -0
  16. package/dist/{chunk-BU4IAJWF.js → chunk-I4CXL4SR.js} +3 -3
  17. package/dist/{chunk-BU4IAJWF.js.map → chunk-I4CXL4SR.js.map} +1 -1
  18. package/dist/{chunk-VV753WCB.cjs → chunk-IQO7ANVS.cjs} +8 -8
  19. package/dist/{chunk-VV753WCB.cjs.map → chunk-IQO7ANVS.cjs.map} +1 -1
  20. package/dist/{chunk-L7XKOKOW.js → chunk-JPGVRWWL.js} +3 -3
  21. package/dist/chunk-JPGVRWWL.js.map +1 -0
  22. package/dist/{chunk-BXOL277H.cjs → chunk-JYYQQEBH.cjs} +7 -4
  23. package/dist/chunk-JYYQQEBH.cjs.map +1 -0
  24. package/dist/chunk-LWBQ4P4N.cjs +2240 -0
  25. package/dist/chunk-LWBQ4P4N.cjs.map +1 -0
  26. package/dist/{chunk-VJUZZB2I.js → chunk-SNPVZPLB.js} +4 -4
  27. package/dist/{chunk-VJUZZB2I.js.map → chunk-SNPVZPLB.js.map} +1 -1
  28. package/dist/{chunk-32CTMD2C.js → chunk-W7UH2PWL.js} +108 -33
  29. package/dist/chunk-W7UH2PWL.js.map +1 -0
  30. package/dist/{chunk-FD734TPS.cjs → chunk-YCVEJ3UN.cjs} +37 -13
  31. package/dist/chunk-YCVEJ3UN.cjs.map +1 -0
  32. package/dist/{chunk-P6APHXPZ.js → chunk-ZGHTOYHW.js} +5 -4
  33. package/dist/chunk-ZGHTOYHW.js.map +1 -0
  34. package/dist/{chunk-QUZGDSWE.cjs → chunk-ZWNI5IWX.cjs} +11 -11
  35. package/dist/{chunk-QUZGDSWE.cjs.map → chunk-ZWNI5IWX.cjs.map} +1 -1
  36. package/dist/evals/index.cjs +4 -4
  37. package/dist/evals/index.js +1 -1
  38. package/dist/evals/scoreTraces/index.cjs +3 -3
  39. package/dist/evals/scoreTraces/index.js +1 -1
  40. package/dist/index.cjs +2 -2
  41. package/dist/index.js +1 -1
  42. package/dist/llm/index.cjs +7 -7
  43. package/dist/llm/index.js +1 -1
  44. package/dist/llm/model/gateways/constants.d.ts.map +1 -1
  45. package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
  46. package/dist/llm/model/provider-types.generated.d.ts +48 -10
  47. package/dist/loop/index.cjs +2 -2
  48. package/dist/loop/index.js +1 -1
  49. package/dist/mastra/index.cjs +2 -2
  50. package/dist/mastra/index.d.ts.map +1 -1
  51. package/dist/mastra/index.js +1 -1
  52. package/dist/memory/index.cjs +2 -2
  53. package/dist/memory/index.js +1 -1
  54. package/dist/models-dev-DNBKXHT4.js +3 -0
  55. package/dist/{models-dev-7U4NRMM3.js.map → models-dev-DNBKXHT4.js.map} +1 -1
  56. package/dist/models-dev-YBEEQIX6.cjs +12 -0
  57. package/dist/{models-dev-VKSAQPRK.cjs.map → models-dev-YBEEQIX6.cjs.map} +1 -1
  58. package/dist/netlify-7G2L5VSH.js +3 -0
  59. package/dist/{netlify-42ZNWIDQ.js.map → netlify-7G2L5VSH.js.map} +1 -1
  60. package/dist/netlify-GWNGSIRZ.cjs +12 -0
  61. package/dist/{netlify-2IDXTNFW.cjs.map → netlify-GWNGSIRZ.cjs.map} +1 -1
  62. package/dist/processors/index.cjs +11 -11
  63. package/dist/processors/index.js +1 -1
  64. package/dist/provider-registry.json +101 -26
  65. package/dist/relevance/index.cjs +2 -2
  66. package/dist/relevance/index.js +1 -1
  67. package/dist/stream/index.cjs +8 -8
  68. package/dist/stream/index.js +1 -1
  69. package/dist/workflows/default.d.ts.map +1 -1
  70. package/dist/workflows/evented/index.cjs +10 -10
  71. package/dist/workflows/evented/index.js +1 -1
  72. package/dist/workflows/evented/step-executor.d.ts.map +1 -1
  73. package/dist/workflows/index.cjs +16 -16
  74. package/dist/workflows/index.js +1 -1
  75. package/dist/workflows/step.d.ts +1 -1
  76. package/dist/workflows/step.d.ts.map +1 -1
  77. package/dist/workflows/types.d.ts +11 -5
  78. package/dist/workflows/types.d.ts.map +1 -1
  79. package/dist/workflows/workflow.d.ts +1 -0
  80. package/dist/workflows/workflow.d.ts.map +1 -1
  81. package/package.json +5 -4
  82. package/src/llm/model/provider-types.generated.d.ts +48 -10
  83. package/dist/chunk-26SQQNMU.js.map +0 -1
  84. package/dist/chunk-32CTMD2C.js.map +0 -1
  85. package/dist/chunk-7SKXKUYT.js.map +0 -1
  86. package/dist/chunk-BNBRQS7N.js +0 -910
  87. package/dist/chunk-BNBRQS7N.js.map +0 -1
  88. package/dist/chunk-BXOL277H.cjs.map +0 -1
  89. package/dist/chunk-FD734TPS.cjs.map +0 -1
  90. package/dist/chunk-IU2SZXJQ.cjs +0 -913
  91. package/dist/chunk-IU2SZXJQ.cjs.map +0 -1
  92. package/dist/chunk-L7XKOKOW.js.map +0 -1
  93. package/dist/chunk-P6APHXPZ.js.map +0 -1
  94. package/dist/chunk-QCQLOMJM.cjs.map +0 -1
  95. package/dist/chunk-S5MJLXMG.cjs.map +0 -1
  96. package/dist/chunk-YIK3ASEG.cjs.map +0 -1
  97. package/dist/models-dev-7U4NRMM3.js +0 -3
  98. package/dist/models-dev-VKSAQPRK.cjs +0 -12
  99. package/dist/netlify-2IDXTNFW.cjs +0 -12
  100. package/dist/netlify-42ZNWIDQ.js +0 -3
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkIU2SZXJQ_cjs = require('./chunk-IU2SZXJQ.cjs');
4
- var chunkVV753WCB_cjs = require('./chunk-VV753WCB.cjs');
5
- var chunkS5MJLXMG_cjs = require('./chunk-S5MJLXMG.cjs');
3
+ var chunkLWBQ4P4N_cjs = require('./chunk-LWBQ4P4N.cjs');
4
+ var chunkIQO7ANVS_cjs = require('./chunk-IQO7ANVS.cjs');
5
+ var chunkCB575O6L_cjs = require('./chunk-CB575O6L.cjs');
6
6
  var chunkTWH4PTDG_cjs = require('./chunk-TWH4PTDG.cjs');
7
7
  var chunkJ7O6WENZ_cjs = require('./chunk-J7O6WENZ.cjs');
8
8
  var fs = require('fs');
@@ -26,7 +26,13 @@ var provider_registry_default = {
26
26
  apiKeyEnvVar: "MOONSHOT_API_KEY",
27
27
  apiKeyHeader: "Authorization",
28
28
  name: "Moonshot AI (China)",
29
- models: ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"],
29
+ models: [
30
+ "kimi-k2-0711-preview",
31
+ "kimi-k2-0905-preview",
32
+ "kimi-k2-thinking",
33
+ "kimi-k2-thinking-turbo",
34
+ "kimi-k2-turbo-preview"
35
+ ],
30
36
  docUrl: "https://platform.moonshot.cn/docs/api/chat",
31
37
  gateway: "models.dev"
32
38
  },
@@ -44,7 +50,13 @@ var provider_registry_default = {
44
50
  apiKeyEnvVar: "MOONSHOT_API_KEY",
45
51
  apiKeyHeader: "Authorization",
46
52
  name: "Moonshot AI",
47
- models: ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"],
53
+ models: [
54
+ "kimi-k2-0711-preview",
55
+ "kimi-k2-0905-preview",
56
+ "kimi-k2-thinking",
57
+ "kimi-k2-thinking-turbo",
58
+ "kimi-k2-turbo-preview"
59
+ ],
48
60
  docUrl: "https://platform.moonshot.ai/docs/api/chat",
49
61
  gateway: "models.dev"
50
62
  },
@@ -218,7 +230,6 @@ var provider_registry_default = {
218
230
  mistral: {
219
231
  url: "https://api.mistral.ai/v1",
220
232
  apiKeyEnvVar: "MISTRAL_API_KEY",
221
- apiKeyHeader: "Authorization",
222
233
  name: "Mistral",
223
234
  models: [
224
235
  "codestral-latest",
@@ -340,10 +351,10 @@ var provider_registry_default = {
340
351
  gateway: "models.dev"
341
352
  },
342
353
  nebius: {
343
- url: "https://api.studio.nebius.com/v1/",
354
+ url: "https://api.tokenfactory.nebius.com/v1",
344
355
  apiKeyEnvVar: "NEBIUS_API_KEY",
345
356
  apiKeyHeader: "Authorization",
346
- name: "Nebius AI Studio",
357
+ name: "Nebius Token Factory",
347
358
  models: [
348
359
  "NousResearch/hermes-4-405b",
349
360
  "NousResearch/hermes-4-70b",
@@ -361,7 +372,7 @@ var provider_registry_default = {
361
372
  "zai-org/glm-4.5",
362
373
  "zai-org/glm-4.5-air"
363
374
  ],
364
- docUrl: "https://docs.studio.nebius.com/quickstart",
375
+ docUrl: "https://docs.tokenfactory.nebius.com/",
365
376
  gateway: "models.dev"
366
377
  },
367
378
  deepseek: {
@@ -474,37 +485,58 @@ var provider_registry_default = {
474
485
  apiKeyHeader: "Authorization",
475
486
  name: "Chutes",
476
487
  models: [
488
+ "Alibaba-NLP/Tongyi-DeepResearch-30B-A3B",
489
+ "ArliAI/QwQ-32B-ArliAI-RpR-v1",
477
490
  "MiniMaxAI/MiniMax-M2",
491
+ "NousResearch/DeepHermes-3-Mistral-24B-Preview",
492
+ "NousResearch/Hermes-4-14B",
493
+ "NousResearch/Hermes-4-405B-FP8",
494
+ "NousResearch/Hermes-4-70B",
495
+ "OpenGVLab/InternVL3-78B",
496
+ "Qwen/Qwen2.5-72B-Instruct",
497
+ "Qwen/Qwen2.5-Coder-32B-Instruct",
498
+ "Qwen/Qwen2.5-VL-32B-Instruct",
499
+ "Qwen/Qwen2.5-VL-72B-Instruct",
500
+ "Qwen/Qwen3-14B",
501
+ "Qwen/Qwen3-235B-A22B",
478
502
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
479
503
  "Qwen/Qwen3-235B-A22B-Thinking-2507",
480
504
  "Qwen/Qwen3-30B-A3B",
481
505
  "Qwen/Qwen3-30B-A3B-Instruct-2507",
506
+ "Qwen/Qwen3-32B",
482
507
  "Qwen/Qwen3-Coder-30B-A3B-Instruct",
483
508
  "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
484
509
  "Qwen/Qwen3-Next-80B-A3B-Instruct",
485
- "Qwen/Qwen3-Next-80B-A3B-Thinking",
510
+ "Qwen/Qwen3-VL-235B-A22B-Instruct",
511
+ "Qwen/Qwen3-VL-235B-A22B-Thinking",
512
+ "chutesai/Mistral-Small-3.1-24B-Instruct-2503",
486
513
  "chutesai/Mistral-Small-3.2-24B-Instruct-2506",
514
+ "deepseek-ai/DeepSeek-R1",
487
515
  "deepseek-ai/DeepSeek-R1-0528",
488
516
  "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
489
517
  "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
518
+ "deepseek-ai/DeepSeek-V3",
490
519
  "deepseek-ai/DeepSeek-V3-0324",
491
520
  "deepseek-ai/DeepSeek-V3.1",
492
521
  "deepseek-ai/DeepSeek-V3.1-Terminus",
493
- "deepseek-ai/DeepSeek-V3.1:THINKING",
494
522
  "deepseek-ai/DeepSeek-V3.2-Exp",
495
523
  "meituan-longcat/LongCat-Flash-Chat-FP8",
524
+ "microsoft/MAI-DS-R1-FP8",
496
525
  "moonshotai/Kimi-K2-Instruct-0905",
497
- "moonshotai/Kimi-K2-Instruct-75k",
498
- "moonshotai/Kimi-VL-A3B-Thinking",
526
+ "moonshotai/Kimi-K2-Thinking",
499
527
  "openai/gpt-oss-120b",
528
+ "openai/gpt-oss-20b",
529
+ "rednote-hilab/dots.ocr",
500
530
  "tngtech/DeepSeek-R1T-Chimera",
501
531
  "tngtech/DeepSeek-TNG-R1T2-Chimera",
532
+ "unsloth/Mistral-Nemo-Instruct-2407",
533
+ "unsloth/Mistral-Small-24B-Instruct-2501",
534
+ "unsloth/gemma-3-12b-it",
535
+ "unsloth/gemma-3-27b-it",
536
+ "unsloth/gemma-3-4b-it",
502
537
  "zai-org/GLM-4.5",
503
538
  "zai-org/GLM-4.5-Air",
504
- "zai-org/GLM-4.5-FP8",
505
- "zai-org/GLM-4.6",
506
- "zai-org/GLM-4.6-FP8",
507
- "zai-org/GLM-4.6-turbo"
539
+ "zai-org/GLM-4.6"
508
540
  ],
509
541
  docUrl: "https://llm.chutes.ai/v1/models",
510
542
  gateway: "models.dev"
@@ -616,7 +648,7 @@ var provider_registry_default = {
616
648
  apiKeyEnvVar: "BASETEN_API_KEY",
617
649
  apiKeyHeader: "Authorization",
618
650
  name: "Baseten",
619
- models: ["Qwen3/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.6"],
651
+ models: ["Qwen/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.6"],
620
652
  docUrl: "https://docs.baseten.co/development/model-apis/overview",
621
653
  gateway: "models.dev"
622
654
  },
@@ -872,6 +904,7 @@ var provider_registry_default = {
872
904
  "moonshotai/kimi-k2",
873
905
  "moonshotai/kimi-k2-0905",
874
906
  "moonshotai/kimi-k2-0905:exacto",
907
+ "moonshotai/kimi-k2-thinking",
875
908
  "moonshotai/kimi-k2:free",
876
909
  "nousresearch/deephermes-3-llama-3-8b-preview",
877
910
  "nousresearch/hermes-4-405b",
@@ -894,6 +927,7 @@ var provider_registry_default = {
894
927
  "openrouter/cypher-alpha:free",
895
928
  "openrouter/horizon-alpha",
896
929
  "openrouter/horizon-beta",
930
+ "openrouter/polaris-alpha",
897
931
  "openrouter/sonoma-dusk-alpha",
898
932
  "openrouter/sonoma-sky-alpha",
899
933
  "qwen/qwen-2.5-coder-32b-instruct",
@@ -1018,6 +1052,7 @@ var provider_registry_default = {
1018
1052
  "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct",
1019
1053
  "hf:moonshotai/Kimi-K2-Instruct",
1020
1054
  "hf:moonshotai/Kimi-K2-Instruct-0905",
1055
+ "hf:moonshotai/Kimi-K2-Thinking",
1021
1056
  "hf:openai/gpt-oss-120b",
1022
1057
  "hf:zai-org/GLM-4.5",
1023
1058
  "hf:zai-org/GLM-4.6"
@@ -1034,6 +1069,8 @@ var provider_registry_default = {
1034
1069
  "Qwen/Qwen3-Coder-480B-A35B-Instruct",
1035
1070
  "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo",
1036
1071
  "moonshotai/Kimi-K2-Instruct",
1072
+ "openai/gpt-oss-120b",
1073
+ "openai/gpt-oss-20b",
1037
1074
  "zai-org/GLM-4.5"
1038
1075
  ],
1039
1076
  docUrl: "https://deepinfra.com/models",
@@ -1295,9 +1332,21 @@ var provider_registry_default = {
1295
1332
  }
1296
1333
  },
1297
1334
  models: {
1298
- "moonshotai-cn": ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"],
1335
+ "moonshotai-cn": [
1336
+ "kimi-k2-0711-preview",
1337
+ "kimi-k2-0905-preview",
1338
+ "kimi-k2-thinking",
1339
+ "kimi-k2-thinking-turbo",
1340
+ "kimi-k2-turbo-preview"
1341
+ ],
1299
1342
  lucidquery: ["lucidnova-rf1-100b", "lucidquery-nexus-coder"],
1300
- moonshotai: ["kimi-k2-0711-preview", "kimi-k2-0905-preview", "kimi-k2-turbo-preview"],
1343
+ moonshotai: [
1344
+ "kimi-k2-0711-preview",
1345
+ "kimi-k2-0905-preview",
1346
+ "kimi-k2-thinking",
1347
+ "kimi-k2-thinking-turbo",
1348
+ "kimi-k2-turbo-preview"
1349
+ ],
1301
1350
  "zai-coding-plan": ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"],
1302
1351
  alibaba: [
1303
1352
  "qvq-max",
@@ -1617,37 +1666,58 @@ var provider_registry_default = {
1617
1666
  "zai-org-glm-4.6"
1618
1667
  ],
1619
1668
  chutes: [
1669
+ "Alibaba-NLP/Tongyi-DeepResearch-30B-A3B",
1670
+ "ArliAI/QwQ-32B-ArliAI-RpR-v1",
1620
1671
  "MiniMaxAI/MiniMax-M2",
1672
+ "NousResearch/DeepHermes-3-Mistral-24B-Preview",
1673
+ "NousResearch/Hermes-4-14B",
1674
+ "NousResearch/Hermes-4-405B-FP8",
1675
+ "NousResearch/Hermes-4-70B",
1676
+ "OpenGVLab/InternVL3-78B",
1677
+ "Qwen/Qwen2.5-72B-Instruct",
1678
+ "Qwen/Qwen2.5-Coder-32B-Instruct",
1679
+ "Qwen/Qwen2.5-VL-32B-Instruct",
1680
+ "Qwen/Qwen2.5-VL-72B-Instruct",
1681
+ "Qwen/Qwen3-14B",
1682
+ "Qwen/Qwen3-235B-A22B",
1621
1683
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
1622
1684
  "Qwen/Qwen3-235B-A22B-Thinking-2507",
1623
1685
  "Qwen/Qwen3-30B-A3B",
1624
1686
  "Qwen/Qwen3-30B-A3B-Instruct-2507",
1687
+ "Qwen/Qwen3-32B",
1625
1688
  "Qwen/Qwen3-Coder-30B-A3B-Instruct",
1626
1689
  "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
1627
1690
  "Qwen/Qwen3-Next-80B-A3B-Instruct",
1628
- "Qwen/Qwen3-Next-80B-A3B-Thinking",
1691
+ "Qwen/Qwen3-VL-235B-A22B-Instruct",
1692
+ "Qwen/Qwen3-VL-235B-A22B-Thinking",
1693
+ "chutesai/Mistral-Small-3.1-24B-Instruct-2503",
1629
1694
  "chutesai/Mistral-Small-3.2-24B-Instruct-2506",
1695
+ "deepseek-ai/DeepSeek-R1",
1630
1696
  "deepseek-ai/DeepSeek-R1-0528",
1631
1697
  "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B",
1632
1698
  "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
1699
+ "deepseek-ai/DeepSeek-V3",
1633
1700
  "deepseek-ai/DeepSeek-V3-0324",
1634
1701
  "deepseek-ai/DeepSeek-V3.1",
1635
1702
  "deepseek-ai/DeepSeek-V3.1-Terminus",
1636
- "deepseek-ai/DeepSeek-V3.1:THINKING",
1637
1703
  "deepseek-ai/DeepSeek-V3.2-Exp",
1638
1704
  "meituan-longcat/LongCat-Flash-Chat-FP8",
1705
+ "microsoft/MAI-DS-R1-FP8",
1639
1706
  "moonshotai/Kimi-K2-Instruct-0905",
1640
- "moonshotai/Kimi-K2-Instruct-75k",
1641
- "moonshotai/Kimi-VL-A3B-Thinking",
1707
+ "moonshotai/Kimi-K2-Thinking",
1642
1708
  "openai/gpt-oss-120b",
1709
+ "openai/gpt-oss-20b",
1710
+ "rednote-hilab/dots.ocr",
1643
1711
  "tngtech/DeepSeek-R1T-Chimera",
1644
1712
  "tngtech/DeepSeek-TNG-R1T2-Chimera",
1713
+ "unsloth/Mistral-Nemo-Instruct-2407",
1714
+ "unsloth/Mistral-Small-24B-Instruct-2501",
1715
+ "unsloth/gemma-3-12b-it",
1716
+ "unsloth/gemma-3-27b-it",
1717
+ "unsloth/gemma-3-4b-it",
1645
1718
  "zai-org/GLM-4.5",
1646
1719
  "zai-org/GLM-4.5-Air",
1647
- "zai-org/GLM-4.5-FP8",
1648
- "zai-org/GLM-4.6",
1649
- "zai-org/GLM-4.6-FP8",
1650
- "zai-org/GLM-4.6-turbo"
1720
+ "zai-org/GLM-4.6"
1651
1721
  ],
1652
1722
  cortecs: [
1653
1723
  "claude-4-5-sonnet",
@@ -1727,7 +1797,7 @@ var provider_registry_default = {
1727
1797
  "moonshotai/Kimi-K2-Instruct",
1728
1798
  "openai/gpt-oss-120b"
1729
1799
  ],
1730
- baseten: ["Qwen3/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.6"],
1800
+ baseten: ["Qwen/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.6"],
1731
1801
  huggingface: [
1732
1802
  "MiniMaxAI/MiniMax-M2",
1733
1803
  "Qwen/Qwen3-235B-A22B-Thinking-2507",
@@ -1908,6 +1978,7 @@ var provider_registry_default = {
1908
1978
  "moonshotai/kimi-k2",
1909
1979
  "moonshotai/kimi-k2-0905",
1910
1980
  "moonshotai/kimi-k2-0905:exacto",
1981
+ "moonshotai/kimi-k2-thinking",
1911
1982
  "moonshotai/kimi-k2:free",
1912
1983
  "nousresearch/deephermes-3-llama-3-8b-preview",
1913
1984
  "nousresearch/hermes-4-405b",
@@ -1930,6 +2001,7 @@ var provider_registry_default = {
1930
2001
  "openrouter/cypher-alpha:free",
1931
2002
  "openrouter/horizon-alpha",
1932
2003
  "openrouter/horizon-beta",
2004
+ "openrouter/polaris-alpha",
1933
2005
  "openrouter/sonoma-dusk-alpha",
1934
2006
  "openrouter/sonoma-sky-alpha",
1935
2007
  "qwen/qwen-2.5-coder-32b-instruct",
@@ -2030,6 +2102,7 @@ var provider_registry_default = {
2030
2102
  "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct",
2031
2103
  "hf:moonshotai/Kimi-K2-Instruct",
2032
2104
  "hf:moonshotai/Kimi-K2-Instruct-0905",
2105
+ "hf:moonshotai/Kimi-K2-Thinking",
2033
2106
  "hf:openai/gpt-oss-120b",
2034
2107
  "hf:zai-org/GLM-4.5",
2035
2108
  "hf:zai-org/GLM-4.6"
@@ -2038,6 +2111,8 @@ var provider_registry_default = {
2038
2111
  "Qwen/Qwen3-Coder-480B-A35B-Instruct",
2039
2112
  "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo",
2040
2113
  "moonshotai/Kimi-K2-Instruct",
2114
+ "openai/gpt-oss-120b",
2115
+ "openai/gpt-oss-20b",
2041
2116
  "zai-org/GLM-4.5"
2042
2117
  ],
2043
2118
  zhipuai: ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"],
@@ -2260,7 +2335,7 @@ function saveLastRefreshTimeToDisk(date) {
2260
2335
  }
2261
2336
  function getPackageRoot() {
2262
2337
  try {
2263
- const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-YIK3ASEG.cjs', document.baseURI).href)) || "file://");
2338
+ const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-2ZVKF4HP.cjs', document.baseURI).href)) || "file://");
2264
2339
  const packageJsonPath = require2.resolve("@mastra/core/package.json");
2265
2340
  return path__default.default.dirname(packageJsonPath);
2266
2341
  } catch {
@@ -2414,8 +2489,8 @@ var GatewayRegistry = class _GatewayRegistry {
2414
2489
  }
2415
2490
  this.isRefreshing = true;
2416
2491
  try {
2417
- const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-VKSAQPRK.cjs');
2418
- const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-2IDXTNFW.cjs');
2492
+ const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-YBEEQIX6.cjs');
2493
+ const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-GWNGSIRZ.cjs');
2419
2494
  const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-MK63POJO.cjs');
2420
2495
  const gateways2 = [new ModelsDevGateway2({}), new NetlifyGateway2()];
2421
2496
  const { providers, models } = await fetchProvidersFromGateways(gateways2);
@@ -2553,7 +2628,7 @@ function findGatewayForModel(gatewayId, gateways2) {
2553
2628
  function getStaticProvidersByGateway(name) {
2554
2629
  return Object.fromEntries(Object.entries(PROVIDER_REGISTRY).filter(([_provider, config]) => config.gateway === name));
2555
2630
  }
2556
- var gateways = [new chunkVV753WCB_cjs.NetlifyGateway(), new chunkIU2SZXJQ_cjs.ModelsDevGateway(getStaticProvidersByGateway(`models.dev`))];
2631
+ var gateways = [new chunkIQO7ANVS_cjs.NetlifyGateway(), new chunkLWBQ4P4N_cjs.ModelsDevGateway(getStaticProvidersByGateway(`models.dev`))];
2557
2632
  var ModelRouterLanguageModel = class _ModelRouterLanguageModel {
2558
2633
  specificationVersion = "v2";
2559
2634
  defaultObjectGenerationMode = "json";
@@ -2588,7 +2663,7 @@ var ModelRouterLanguageModel = class _ModelRouterLanguageModel {
2588
2663
  routerId: normalizedConfig.id
2589
2664
  };
2590
2665
  this.gateway = findGatewayForModel(normalizedConfig.id, gateways);
2591
- const parsed = chunkIU2SZXJQ_cjs.parseModelRouterId(normalizedConfig.id, this.gateway.prefix);
2666
+ const parsed = chunkLWBQ4P4N_cjs.parseModelRouterId(normalizedConfig.id, this.gateway.prefix);
2592
2667
  this.provider = parsed.providerId || "openai-compatible";
2593
2668
  if (parsed.providerId && parsed.modelId !== normalizedConfig.id) {
2594
2669
  parsedConfig.id = parsed.modelId;
@@ -2623,7 +2698,7 @@ var ModelRouterLanguageModel = class _ModelRouterLanguageModel {
2623
2698
  }
2624
2699
  const model = await this.resolveLanguageModel({
2625
2700
  apiKey,
2626
- ...chunkIU2SZXJQ_cjs.parseModelRouterId(this.config.routerId, this.gateway.prefix)
2701
+ ...chunkLWBQ4P4N_cjs.parseModelRouterId(this.config.routerId, this.gateway.prefix)
2627
2702
  });
2628
2703
  return model.doStream(options);
2629
2704
  }
@@ -2635,7 +2710,7 @@ var ModelRouterLanguageModel = class _ModelRouterLanguageModel {
2635
2710
  const key = crypto.createHash("sha256").update(this.gateway.name + modelId + providerId + apiKey + (this.config.url || "")).digest("hex");
2636
2711
  if (_ModelRouterLanguageModel.modelInstances.has(key)) return _ModelRouterLanguageModel.modelInstances.get(key);
2637
2712
  if (this.config.url) {
2638
- const modelInstance2 = chunkS5MJLXMG_cjs.createOpenAICompatible({
2713
+ const modelInstance2 = chunkCB575O6L_cjs.createOpenAICompatible({
2639
2714
  name: providerId,
2640
2715
  apiKey,
2641
2716
  baseURL: this.config.url,
@@ -2721,7 +2796,7 @@ var ModelRouterEmbeddingModel = class {
2721
2796
  this.modelId = normalizedConfig.modelId;
2722
2797
  if (normalizedConfig.url) {
2723
2798
  const apiKey = normalizedConfig.apiKey || "";
2724
- this.providerModel = chunkS5MJLXMG_cjs.createOpenAICompatible({
2799
+ this.providerModel = chunkCB575O6L_cjs.createOpenAICompatible({
2725
2800
  name: normalizedConfig.providerId,
2726
2801
  apiKey,
2727
2802
  baseURL: normalizedConfig.url,
@@ -2750,18 +2825,18 @@ var ModelRouterEmbeddingModel = class {
2750
2825
  throw new Error(`API key not found for provider ${normalizedConfig.providerId}. Set ${envVarDisplay}`);
2751
2826
  }
2752
2827
  if (normalizedConfig.providerId === "openai") {
2753
- this.providerModel = chunkS5MJLXMG_cjs.createOpenAI({ apiKey }).textEmbeddingModel(
2828
+ this.providerModel = chunkCB575O6L_cjs.createOpenAI({ apiKey }).textEmbeddingModel(
2754
2829
  normalizedConfig.modelId
2755
2830
  );
2756
2831
  } else if (normalizedConfig.providerId === "google") {
2757
- this.providerModel = chunkS5MJLXMG_cjs.createGoogleGenerativeAI({ apiKey }).textEmbedding(
2832
+ this.providerModel = chunkCB575O6L_cjs.createGoogleGenerativeAI({ apiKey }).textEmbedding(
2758
2833
  normalizedConfig.modelId
2759
2834
  );
2760
2835
  } else {
2761
2836
  if (!providerConfig.url) {
2762
2837
  throw new Error(`Provider ${normalizedConfig.providerId} does not have a URL configured`);
2763
2838
  }
2764
- this.providerModel = chunkS5MJLXMG_cjs.createOpenAICompatible({
2839
+ this.providerModel = chunkCB575O6L_cjs.createOpenAICompatible({
2765
2840
  name: normalizedConfig.providerId,
2766
2841
  apiKey,
2767
2842
  baseURL: providerConfig.url
@@ -2786,5 +2861,5 @@ exports.PROVIDER_REGISTRY = PROVIDER_REGISTRY;
2786
2861
  exports.getProviderConfig = getProviderConfig;
2787
2862
  exports.parseModelString = parseModelString;
2788
2863
  exports.resolveModelConfig = resolveModelConfig;
2789
- //# sourceMappingURL=chunk-YIK3ASEG.cjs.map
2790
- //# sourceMappingURL=chunk-YIK3ASEG.cjs.map
2864
+ //# sourceMappingURL=chunk-2ZVKF4HP.cjs.map
2865
+ //# sourceMappingURL=chunk-2ZVKF4HP.cjs.map