@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
@@ -8,9 +8,21 @@
8
8
  * This is derived from the JSON data and provides type-safe access
9
9
  */
10
10
  export type ProviderModelsMap = {
11
- readonly 'moonshotai-cn': readonly ['kimi-k2-0711-preview', 'kimi-k2-0905-preview', 'kimi-k2-turbo-preview'];
11
+ readonly 'moonshotai-cn': readonly [
12
+ 'kimi-k2-0711-preview',
13
+ 'kimi-k2-0905-preview',
14
+ 'kimi-k2-thinking',
15
+ 'kimi-k2-thinking-turbo',
16
+ 'kimi-k2-turbo-preview',
17
+ ];
12
18
  readonly lucidquery: readonly ['lucidnova-rf1-100b', 'lucidquery-nexus-coder'];
13
- readonly moonshotai: readonly ['kimi-k2-0711-preview', 'kimi-k2-0905-preview', 'kimi-k2-turbo-preview'];
19
+ readonly moonshotai: readonly [
20
+ 'kimi-k2-0711-preview',
21
+ 'kimi-k2-0905-preview',
22
+ 'kimi-k2-thinking',
23
+ 'kimi-k2-thinking-turbo',
24
+ 'kimi-k2-turbo-preview',
25
+ ];
14
26
  readonly 'zai-coding-plan': readonly ['glm-4.5', 'glm-4.5-air', 'glm-4.5-flash', 'glm-4.5v', 'glm-4.6'];
15
27
  readonly alibaba: readonly [
16
28
  'qvq-max',
@@ -330,37 +342,58 @@ export type ProviderModelsMap = {
330
342
  'zai-org-glm-4.6',
331
343
  ];
332
344
  readonly chutes: readonly [
345
+ 'Alibaba-NLP/Tongyi-DeepResearch-30B-A3B',
346
+ 'ArliAI/QwQ-32B-ArliAI-RpR-v1',
333
347
  'MiniMaxAI/MiniMax-M2',
348
+ 'NousResearch/DeepHermes-3-Mistral-24B-Preview',
349
+ 'NousResearch/Hermes-4-14B',
350
+ 'NousResearch/Hermes-4-405B-FP8',
351
+ 'NousResearch/Hermes-4-70B',
352
+ 'OpenGVLab/InternVL3-78B',
353
+ 'Qwen/Qwen2.5-72B-Instruct',
354
+ 'Qwen/Qwen2.5-Coder-32B-Instruct',
355
+ 'Qwen/Qwen2.5-VL-32B-Instruct',
356
+ 'Qwen/Qwen2.5-VL-72B-Instruct',
357
+ 'Qwen/Qwen3-14B',
358
+ 'Qwen/Qwen3-235B-A22B',
334
359
  'Qwen/Qwen3-235B-A22B-Instruct-2507',
335
360
  'Qwen/Qwen3-235B-A22B-Thinking-2507',
336
361
  'Qwen/Qwen3-30B-A3B',
337
362
  'Qwen/Qwen3-30B-A3B-Instruct-2507',
363
+ 'Qwen/Qwen3-32B',
338
364
  'Qwen/Qwen3-Coder-30B-A3B-Instruct',
339
365
  'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8',
340
366
  'Qwen/Qwen3-Next-80B-A3B-Instruct',
341
- 'Qwen/Qwen3-Next-80B-A3B-Thinking',
367
+ 'Qwen/Qwen3-VL-235B-A22B-Instruct',
368
+ 'Qwen/Qwen3-VL-235B-A22B-Thinking',
369
+ 'chutesai/Mistral-Small-3.1-24B-Instruct-2503',
342
370
  'chutesai/Mistral-Small-3.2-24B-Instruct-2506',
371
+ 'deepseek-ai/DeepSeek-R1',
343
372
  'deepseek-ai/DeepSeek-R1-0528',
344
373
  'deepseek-ai/DeepSeek-R1-0528-Qwen3-8B',
345
374
  'deepseek-ai/DeepSeek-R1-Distill-Llama-70B',
375
+ 'deepseek-ai/DeepSeek-V3',
346
376
  'deepseek-ai/DeepSeek-V3-0324',
347
377
  'deepseek-ai/DeepSeek-V3.1',
348
378
  'deepseek-ai/DeepSeek-V3.1-Terminus',
349
- 'deepseek-ai/DeepSeek-V3.1:THINKING',
350
379
  'deepseek-ai/DeepSeek-V3.2-Exp',
351
380
  'meituan-longcat/LongCat-Flash-Chat-FP8',
381
+ 'microsoft/MAI-DS-R1-FP8',
352
382
  'moonshotai/Kimi-K2-Instruct-0905',
353
- 'moonshotai/Kimi-K2-Instruct-75k',
354
- 'moonshotai/Kimi-VL-A3B-Thinking',
383
+ 'moonshotai/Kimi-K2-Thinking',
355
384
  'openai/gpt-oss-120b',
385
+ 'openai/gpt-oss-20b',
386
+ 'rednote-hilab/dots.ocr',
356
387
  'tngtech/DeepSeek-R1T-Chimera',
357
388
  'tngtech/DeepSeek-TNG-R1T2-Chimera',
389
+ 'unsloth/Mistral-Nemo-Instruct-2407',
390
+ 'unsloth/Mistral-Small-24B-Instruct-2501',
391
+ 'unsloth/gemma-3-12b-it',
392
+ 'unsloth/gemma-3-27b-it',
393
+ 'unsloth/gemma-3-4b-it',
358
394
  'zai-org/GLM-4.5',
359
395
  'zai-org/GLM-4.5-Air',
360
- 'zai-org/GLM-4.5-FP8',
361
396
  'zai-org/GLM-4.6',
362
- 'zai-org/GLM-4.6-FP8',
363
- 'zai-org/GLM-4.6-turbo',
364
397
  ];
365
398
  readonly cortecs: readonly [
366
399
  'claude-4-5-sonnet',
@@ -441,7 +474,7 @@ export type ProviderModelsMap = {
441
474
  'openai/gpt-oss-120b',
442
475
  ];
443
476
  readonly baseten: readonly [
444
- 'Qwen3/Qwen3-Coder-480B-A35B-Instruct',
477
+ 'Qwen/Qwen3-Coder-480B-A35B-Instruct',
445
478
  'moonshotai/Kimi-K2-Instruct-0905',
446
479
  'zai-org/GLM-4.6',
447
480
  ];
@@ -625,6 +658,7 @@ export type ProviderModelsMap = {
625
658
  'moonshotai/kimi-k2',
626
659
  'moonshotai/kimi-k2-0905',
627
660
  'moonshotai/kimi-k2-0905:exacto',
661
+ 'moonshotai/kimi-k2-thinking',
628
662
  'moonshotai/kimi-k2:free',
629
663
  'nousresearch/deephermes-3-llama-3-8b-preview',
630
664
  'nousresearch/hermes-4-405b',
@@ -647,6 +681,7 @@ export type ProviderModelsMap = {
647
681
  'openrouter/cypher-alpha:free',
648
682
  'openrouter/horizon-alpha',
649
683
  'openrouter/horizon-beta',
684
+ 'openrouter/polaris-alpha',
650
685
  'openrouter/sonoma-dusk-alpha',
651
686
  'openrouter/sonoma-sky-alpha',
652
687
  'qwen/qwen-2.5-coder-32b-instruct',
@@ -747,6 +782,7 @@ export type ProviderModelsMap = {
747
782
  'hf:meta-llama/Llama-4-Scout-17B-16E-Instruct',
748
783
  'hf:moonshotai/Kimi-K2-Instruct',
749
784
  'hf:moonshotai/Kimi-K2-Instruct-0905',
785
+ 'hf:moonshotai/Kimi-K2-Thinking',
750
786
  'hf:openai/gpt-oss-120b',
751
787
  'hf:zai-org/GLM-4.5',
752
788
  'hf:zai-org/GLM-4.6',
@@ -755,6 +791,8 @@ export type ProviderModelsMap = {
755
791
  'Qwen/Qwen3-Coder-480B-A35B-Instruct',
756
792
  'Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo',
757
793
  'moonshotai/Kimi-K2-Instruct',
794
+ 'openai/gpt-oss-120b',
795
+ 'openai/gpt-oss-20b',
758
796
  'zai-org/GLM-4.5',
759
797
  ];
760
798
  readonly zhipuai: readonly ['glm-4.5', 'glm-4.5-air', 'glm-4.5-flash', 'glm-4.5v', 'glm-4.6'];