@mastra/core 1.18.0 → 1.18.1-alpha.0
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.
- package/CHANGELOG.md +6 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-ZQE2VUYD.cjs → chunk-45LU555A.cjs} +7 -7
- package/dist/{chunk-ZQE2VUYD.cjs.map → chunk-45LU555A.cjs.map} +1 -1
- package/dist/{chunk-TVZCMQTV.cjs → chunk-7W6PDCOH.cjs} +75 -75
- package/dist/{chunk-TVZCMQTV.cjs.map → chunk-7W6PDCOH.cjs.map} +1 -1
- package/dist/{chunk-RTBZOGTO.js → chunk-BWRB3RPC.js} +3 -3
- package/dist/{chunk-RTBZOGTO.js.map → chunk-BWRB3RPC.js.map} +1 -1
- package/dist/{chunk-J47RNLSY.cjs → chunk-CJ4RMDJJ.cjs} +12 -12
- package/dist/{chunk-J47RNLSY.cjs.map → chunk-CJ4RMDJJ.cjs.map} +1 -1
- package/dist/{chunk-PWFPYJGG.cjs → chunk-CU764D5P.cjs} +15 -15
- package/dist/{chunk-PWFPYJGG.cjs.map → chunk-CU764D5P.cjs.map} +1 -1
- package/dist/{chunk-KLVNQDUR.cjs → chunk-DTT543MP.cjs} +3 -3
- package/dist/chunk-DTT543MP.cjs.map +1 -0
- package/dist/{chunk-XQN3BKCI.js → chunk-GALW5K2E.js} +3 -3
- package/dist/{chunk-XQN3BKCI.js.map → chunk-GALW5K2E.js.map} +1 -1
- package/dist/{chunk-GJIN53S6.cjs → chunk-H5ZOJOQ2.cjs} +9 -9
- package/dist/{chunk-GJIN53S6.cjs.map → chunk-H5ZOJOQ2.cjs.map} +1 -1
- package/dist/{chunk-EKFG6JWW.js → chunk-HZI7AYCD.js} +6 -6
- package/dist/{chunk-EKFG6JWW.js.map → chunk-HZI7AYCD.js.map} +1 -1
- package/dist/{chunk-ZRLAR66M.js → chunk-IVXAQT6H.js} +3 -3
- package/dist/{chunk-ZRLAR66M.js.map → chunk-IVXAQT6H.js.map} +1 -1
- package/dist/{chunk-I4ZSA3XJ.js → chunk-KEYCLRBI.js} +4 -4
- package/dist/{chunk-I4ZSA3XJ.js.map → chunk-KEYCLRBI.js.map} +1 -1
- package/dist/{chunk-7GLVV6CZ.js → chunk-KFL6ZGWG.js} +3 -3
- package/dist/{chunk-7GLVV6CZ.js.map → chunk-KFL6ZGWG.js.map} +1 -1
- package/dist/{chunk-UPBMT3QM.js → chunk-KG5NOH3Z.js} +8 -8
- package/dist/{chunk-UPBMT3QM.js.map → chunk-KG5NOH3Z.js.map} +1 -1
- package/dist/{chunk-6Z4GSLLO.js → chunk-L3V6LSQF.js} +3 -3
- package/dist/{chunk-6Z4GSLLO.js.map → chunk-L3V6LSQF.js.map} +1 -1
- package/dist/{chunk-L3X22YTN.cjs → chunk-NMDKJUHA.cjs} +185 -185
- package/dist/{chunk-L3X22YTN.cjs.map → chunk-NMDKJUHA.cjs.map} +1 -1
- package/dist/{chunk-XOBRMYFA.js → chunk-NRIT3KHS.js} +3 -3
- package/dist/chunk-NRIT3KHS.js.map +1 -0
- package/dist/{chunk-2M3HWTRI.js → chunk-OF7ELKXY.js} +4 -4
- package/dist/{chunk-2M3HWTRI.js.map → chunk-OF7ELKXY.js.map} +1 -1
- package/dist/{chunk-KOTSKPTF.cjs → chunk-RVBOSWN5.cjs} +5 -5
- package/dist/{chunk-KOTSKPTF.cjs.map → chunk-RVBOSWN5.cjs.map} +1 -1
- package/dist/{chunk-RTXCZT3M.cjs → chunk-TJNYXDI7.cjs} +19 -36
- package/dist/chunk-TJNYXDI7.cjs.map +1 -0
- package/dist/{chunk-ZVGS2O2W.cjs → chunk-TPE5VTVF.cjs} +6 -6
- package/dist/{chunk-ZVGS2O2W.cjs.map → chunk-TPE5VTVF.cjs.map} +1 -1
- package/dist/{chunk-GJ62FP5X.js → chunk-WGJL6F3F.js} +18 -35
- package/dist/chunk-WGJL6F3F.js.map +1 -0
- package/dist/{chunk-2H53MD2U.cjs → chunk-Z7DO2WCR.cjs} +48 -48
- package/dist/{chunk-2H53MD2U.cjs.map → chunk-Z7DO2WCR.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +123 -123
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +5 -13
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-674ULLFE.cjs +12 -0
- package/dist/{models-dev-5WY37RVC.cjs.map → models-dev-674ULLFE.cjs.map} +1 -1
- package/dist/models-dev-AVV7SNWL.js +3 -0
- package/dist/{models-dev-Y2UFJEOO.js.map → models-dev-AVV7SNWL.js.map} +1 -1
- package/dist/netlify-KWEJPG27.js +3 -0
- package/dist/{netlify-I4AUVRO2.js.map → netlify-KWEJPG27.js.map} +1 -1
- package/dist/netlify-QP3MZ4FK.cjs +12 -0
- package/dist/{netlify-ADZQ5ZNY.cjs.map → netlify-QP3MZ4FK.cjs.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-KZN4FOFE.cjs +40 -0
- package/dist/{provider-registry-I5RW3MEE.cjs.map → provider-registry-KZN4FOFE.cjs.map} +1 -1
- package/dist/provider-registry-L3LFTZUA.js +3 -0
- package/dist/{provider-registry-C7SZ5ZT4.js.map → provider-registry-L3LFTZUA.js.map} +1 -1
- package/dist/provider-registry.json +14 -31
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +5 -5
- package/src/llm/model/provider-types.generated.d.ts +5 -13
- package/dist/chunk-GJ62FP5X.js.map +0 -1
- package/dist/chunk-KLVNQDUR.cjs.map +0 -1
- package/dist/chunk-RTXCZT3M.cjs.map +0 -1
- package/dist/chunk-XOBRMYFA.js.map +0 -1
- package/dist/models-dev-5WY37RVC.cjs +0 -12
- package/dist/models-dev-Y2UFJEOO.js +0 -3
- package/dist/netlify-ADZQ5ZNY.cjs +0 -12
- package/dist/netlify-I4AUVRO2.js +0 -3
- package/dist/provider-registry-C7SZ5ZT4.js +0 -3
- package/dist/provider-registry-I5RW3MEE.cjs +0 -40
|
@@ -795,7 +795,8 @@ var provider_registry_default = {
|
|
|
795
795
|
"mimo-v2-pro-free",
|
|
796
796
|
"minimax-m2.5",
|
|
797
797
|
"minimax-m2.5-free",
|
|
798
|
-
"nemotron-3-super-free"
|
|
798
|
+
"nemotron-3-super-free",
|
|
799
|
+
"qwen3.6-plus-free"
|
|
799
800
|
],
|
|
800
801
|
docUrl: "https://opencode.ai/docs/zen",
|
|
801
802
|
gateway: "models.dev"
|
|
@@ -2186,6 +2187,7 @@ var provider_registry_default = {
|
|
|
2186
2187
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
2187
2188
|
"qwen/qwen3.5-397b-a17b",
|
|
2188
2189
|
"qwen/qwen3.5-plus-02-15",
|
|
2190
|
+
"qwen/qwen3.6-plus-preview:free",
|
|
2189
2191
|
"sourceful/riverflow-v2-fast-preview",
|
|
2190
2192
|
"sourceful/riverflow-v2-max-preview",
|
|
2191
2193
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -2219,7 +2221,7 @@ var provider_registry_default = {
|
|
|
2219
2221
|
npm: "@openrouter/ai-sdk-provider"
|
|
2220
2222
|
},
|
|
2221
2223
|
zenmux: {
|
|
2222
|
-
url: "https://zenmux.ai/api/
|
|
2224
|
+
url: "https://zenmux.ai/api/v1",
|
|
2223
2225
|
apiKeyEnvVar: "ZENMUX_API_KEY",
|
|
2224
2226
|
apiKeyHeader: "Authorization",
|
|
2225
2227
|
name: "ZenMux",
|
|
@@ -2242,7 +2244,6 @@ var provider_registry_default = {
|
|
|
2242
2244
|
"google/gemini-2.5-flash-lite",
|
|
2243
2245
|
"google/gemini-2.5-pro",
|
|
2244
2246
|
"google/gemini-3-flash-preview",
|
|
2245
|
-
"google/gemini-3-pro-image-preview",
|
|
2246
2247
|
"google/gemini-3-pro-preview",
|
|
2247
2248
|
"google/gemini-3.1-flash-lite-preview",
|
|
2248
2249
|
"google/gemini-3.1-pro-preview",
|
|
@@ -2312,8 +2313,7 @@ var provider_registry_default = {
|
|
|
2312
2313
|
"z-ai/glm-5-turbo"
|
|
2313
2314
|
],
|
|
2314
2315
|
docUrl: "https://docs.zenmux.ai",
|
|
2315
|
-
gateway: "models.dev"
|
|
2316
|
-
npm: "@ai-sdk/anthropic"
|
|
2316
|
+
gateway: "models.dev"
|
|
2317
2317
|
},
|
|
2318
2318
|
perplexity: {
|
|
2319
2319
|
apiKeyEnvVar: "PERPLEXITY_API_KEY",
|
|
@@ -2730,6 +2730,7 @@ var provider_registry_default = {
|
|
|
2730
2730
|
"inception/mercury-2",
|
|
2731
2731
|
"inception/mercury-coder-small",
|
|
2732
2732
|
"kwaipilot/kat-coder-pro-v1",
|
|
2733
|
+
"kwaipilot/kat-coder-pro-v2",
|
|
2733
2734
|
"meituan/longcat-flash-chat",
|
|
2734
2735
|
"meituan/longcat-flash-thinking",
|
|
2735
2736
|
"meituan/longcat-flash-thinking-2601",
|
|
@@ -2775,6 +2776,7 @@ var provider_registry_default = {
|
|
|
2775
2776
|
"morph/morph-v3-fast",
|
|
2776
2777
|
"morph/morph-v3-large",
|
|
2777
2778
|
"nvidia/nemotron-3-nano-30b-a3b",
|
|
2779
|
+
"nvidia/nemotron-3-super-120b-a12b",
|
|
2778
2780
|
"nvidia/nemotron-nano-12b-v2-vl",
|
|
2779
2781
|
"nvidia/nemotron-nano-9b-v2",
|
|
2780
2782
|
"openai/codex-mini",
|
|
@@ -3462,17 +3464,7 @@ var provider_registry_default = {
|
|
|
3462
3464
|
apiKeyEnvVar: "VULTR_API_KEY",
|
|
3463
3465
|
apiKeyHeader: "Authorization",
|
|
3464
3466
|
name: "Vultr",
|
|
3465
|
-
models: [
|
|
3466
|
-
"DeepSeek-R1-Distill-Llama-70B",
|
|
3467
|
-
"DeepSeek-R1-Distill-Qwen-32B",
|
|
3468
|
-
"DeepSeek-V3.2",
|
|
3469
|
-
"GLM-5-FP8",
|
|
3470
|
-
"Kimi-K2.5",
|
|
3471
|
-
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
3472
|
-
"MiniMax-M2.5",
|
|
3473
|
-
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
3474
|
-
"gpt-oss-120b"
|
|
3475
|
-
],
|
|
3467
|
+
models: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
3476
3468
|
docUrl: "https://api.vultrinference.com/",
|
|
3477
3469
|
gateway: "models.dev"
|
|
3478
3470
|
},
|
|
@@ -4449,7 +4441,6 @@ var provider_registry_default = {
|
|
|
4449
4441
|
"gemini/gemini-2.5-flash",
|
|
4450
4442
|
"gemini/gemini-2.5-flash-image",
|
|
4451
4443
|
"gemini/gemini-2.5-flash-lite",
|
|
4452
|
-
"gemini/gemini-2.5-flash-lite-preview-09-2025",
|
|
4453
4444
|
"gemini/gemini-2.5-pro",
|
|
4454
4445
|
"gemini/gemini-3-flash-preview",
|
|
4455
4446
|
"gemini/gemini-3-pro-image-preview",
|
|
@@ -5083,7 +5074,8 @@ var provider_registry_default = {
|
|
|
5083
5074
|
"mimo-v2-pro-free",
|
|
5084
5075
|
"minimax-m2.5",
|
|
5085
5076
|
"minimax-m2.5-free",
|
|
5086
|
-
"nemotron-3-super-free"
|
|
5077
|
+
"nemotron-3-super-free",
|
|
5078
|
+
"qwen3.6-plus-free"
|
|
5087
5079
|
],
|
|
5088
5080
|
berget: [
|
|
5089
5081
|
"BAAI/bge-reranker-v2-m3",
|
|
@@ -6284,6 +6276,7 @@ var provider_registry_default = {
|
|
|
6284
6276
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
6285
6277
|
"qwen/qwen3.5-397b-a17b",
|
|
6286
6278
|
"qwen/qwen3.5-plus-02-15",
|
|
6279
|
+
"qwen/qwen3.6-plus-preview:free",
|
|
6287
6280
|
"sourceful/riverflow-v2-fast-preview",
|
|
6288
6281
|
"sourceful/riverflow-v2-max-preview",
|
|
6289
6282
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -6331,7 +6324,6 @@ var provider_registry_default = {
|
|
|
6331
6324
|
"google/gemini-2.5-flash-lite",
|
|
6332
6325
|
"google/gemini-2.5-pro",
|
|
6333
6326
|
"google/gemini-3-flash-preview",
|
|
6334
|
-
"google/gemini-3-pro-image-preview",
|
|
6335
6327
|
"google/gemini-3-pro-preview",
|
|
6336
6328
|
"google/gemini-3.1-flash-lite-preview",
|
|
6337
6329
|
"google/gemini-3.1-pro-preview",
|
|
@@ -6707,6 +6699,7 @@ var provider_registry_default = {
|
|
|
6707
6699
|
"inception/mercury-2",
|
|
6708
6700
|
"inception/mercury-coder-small",
|
|
6709
6701
|
"kwaipilot/kat-coder-pro-v1",
|
|
6702
|
+
"kwaipilot/kat-coder-pro-v2",
|
|
6710
6703
|
"meituan/longcat-flash-chat",
|
|
6711
6704
|
"meituan/longcat-flash-thinking",
|
|
6712
6705
|
"meituan/longcat-flash-thinking-2601",
|
|
@@ -6752,6 +6745,7 @@ var provider_registry_default = {
|
|
|
6752
6745
|
"morph/morph-v3-fast",
|
|
6753
6746
|
"morph/morph-v3-large",
|
|
6754
6747
|
"nvidia/nemotron-3-nano-30b-a3b",
|
|
6748
|
+
"nvidia/nemotron-3-super-120b-a12b",
|
|
6755
6749
|
"nvidia/nemotron-nano-12b-v2-vl",
|
|
6756
6750
|
"nvidia/nemotron-nano-9b-v2",
|
|
6757
6751
|
"openai/codex-mini",
|
|
@@ -7316,17 +7310,7 @@ var provider_registry_default = {
|
|
|
7316
7310
|
"zai-org/GLM-4.5-Air",
|
|
7317
7311
|
"zai-org/GLM-4.5-FP8"
|
|
7318
7312
|
],
|
|
7319
|
-
vultr: [
|
|
7320
|
-
"DeepSeek-R1-Distill-Llama-70B",
|
|
7321
|
-
"DeepSeek-R1-Distill-Qwen-32B",
|
|
7322
|
-
"DeepSeek-V3.2",
|
|
7323
|
-
"GLM-5-FP8",
|
|
7324
|
-
"Kimi-K2.5",
|
|
7325
|
-
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
7326
|
-
"MiniMax-M2.5",
|
|
7327
|
-
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
7328
|
-
"gpt-oss-120b"
|
|
7329
|
-
],
|
|
7313
|
+
vultr: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
7330
7314
|
"github-models": [
|
|
7331
7315
|
"ai21-labs/ai21-jamba-1.5-large",
|
|
7332
7316
|
"ai21-labs/ai21-jamba-1.5-mini",
|
|
@@ -8183,7 +8167,6 @@ var provider_registry_default = {
|
|
|
8183
8167
|
"gemini/gemini-2.5-flash",
|
|
8184
8168
|
"gemini/gemini-2.5-flash-image",
|
|
8185
8169
|
"gemini/gemini-2.5-flash-lite",
|
|
8186
|
-
"gemini/gemini-2.5-flash-lite-preview-09-2025",
|
|
8187
8170
|
"gemini/gemini-2.5-pro",
|
|
8188
8171
|
"gemini/gemini-3-flash-preview",
|
|
8189
8172
|
"gemini/gemini-3-pro-image-preview",
|
|
@@ -8340,7 +8323,7 @@ function saveLastRefreshTimeToDisk(date) {
|
|
|
8340
8323
|
}
|
|
8341
8324
|
function getPackageRoot() {
|
|
8342
8325
|
try {
|
|
8343
|
-
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
8326
|
+
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-TJNYXDI7.cjs', document.baseURI).href)) || "file://");
|
|
8344
8327
|
const packageJsonPath = require2.resolve("@mastra/core/package.json");
|
|
8345
8328
|
return path__default.default.dirname(packageJsonPath);
|
|
8346
8329
|
} catch {
|
|
@@ -8536,8 +8519,8 @@ var GatewayRegistry = class _GatewayRegistry {
|
|
|
8536
8519
|
}
|
|
8537
8520
|
this.isRefreshing = true;
|
|
8538
8521
|
try {
|
|
8539
|
-
const { ModelsDevGateway } = await import('./models-dev-
|
|
8540
|
-
const { NetlifyGateway } = await import('./netlify-
|
|
8522
|
+
const { ModelsDevGateway } = await import('./models-dev-674ULLFE.cjs');
|
|
8523
|
+
const { NetlifyGateway } = await import('./netlify-QP3MZ4FK.cjs');
|
|
8541
8524
|
const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-PUWKZKVW.cjs');
|
|
8542
8525
|
const defaultGateways = [new ModelsDevGateway({}), new NetlifyGateway()];
|
|
8543
8526
|
const gateways = [...defaultGateways, ...this.customGateways];
|
|
@@ -8662,5 +8645,5 @@ exports.getRegisteredProviders = getRegisteredProviders;
|
|
|
8662
8645
|
exports.isProviderRegistered = isProviderRegistered;
|
|
8663
8646
|
exports.isValidModelId = isValidModelId;
|
|
8664
8647
|
exports.parseModelString = parseModelString;
|
|
8665
|
-
//# sourceMappingURL=chunk-
|
|
8666
|
-
//# sourceMappingURL=chunk-
|
|
8648
|
+
//# sourceMappingURL=chunk-TJNYXDI7.cjs.map
|
|
8649
|
+
//# sourceMappingURL=chunk-TJNYXDI7.cjs.map
|