@mastra/core 1.32.0-alpha.3 → 1.32.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 +206 -0
- package/dist/agent/durable/index.cjs +22 -22
- package/dist/agent/durable/index.js +4 -4
- package/dist/agent/index.cjs +9 -9
- package/dist/agent/index.js +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/channels/index.cjs +4 -4
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-CRMUTN3A.js → chunk-2RXMQLX7.js} +4 -4
- package/dist/{chunk-CRMUTN3A.js.map → chunk-2RXMQLX7.js.map} +1 -1
- package/dist/{chunk-PQRH3PWI.cjs → chunk-3DIJ3TQS.cjs} +30 -20
- package/dist/chunk-3DIJ3TQS.cjs.map +1 -0
- package/dist/{chunk-XGYB6VEV.js → chunk-4FQ5HEEG.js} +21 -11
- package/dist/chunk-4FQ5HEEG.js.map +1 -0
- package/dist/{chunk-KMPDWFMV.js → chunk-5VJTKVXF.js} +3 -3
- package/dist/chunk-5VJTKVXF.js.map +1 -0
- package/dist/{chunk-52UBCOSR.js → chunk-AF3BGEBT.js} +68 -60
- package/dist/chunk-AF3BGEBT.js.map +1 -0
- package/dist/{chunk-MCOBK6VA.cjs → chunk-CTWPJGFQ.cjs} +9 -9
- package/dist/{chunk-MCOBK6VA.cjs.map → chunk-CTWPJGFQ.cjs.map} +1 -1
- package/dist/{chunk-ESBDVN5F.cjs → chunk-F3PTR2CN.cjs} +7 -7
- package/dist/{chunk-ESBDVN5F.cjs.map → chunk-F3PTR2CN.cjs.map} +1 -1
- package/dist/{chunk-4VYOBEPT.cjs → chunk-K6PAVEJM.cjs} +29 -22
- package/dist/chunk-K6PAVEJM.cjs.map +1 -0
- package/dist/{chunk-AYDHVBUD.cjs → chunk-NNV6BI2Y.cjs} +7 -7
- package/dist/{chunk-AYDHVBUD.cjs.map → chunk-NNV6BI2Y.cjs.map} +1 -1
- package/dist/{chunk-6A76JI5S.js → chunk-PQYP7GQ5.js} +3 -3
- package/dist/{chunk-6A76JI5S.js.map → chunk-PQYP7GQ5.js.map} +1 -1
- package/dist/{chunk-HSAITG44.js → chunk-PX7T4PC6.js} +3 -3
- package/dist/{chunk-HSAITG44.js.map → chunk-PX7T4PC6.js.map} +1 -1
- package/dist/{chunk-SAIICI7H.cjs → chunk-RSDFW5HF.cjs} +389 -389
- package/dist/{chunk-SAIICI7H.cjs.map → chunk-RSDFW5HF.cjs.map} +1 -1
- package/dist/{chunk-SMR6DHFJ.js → chunk-RVIBAGE6.js} +3 -3
- package/dist/{chunk-SMR6DHFJ.js.map → chunk-RVIBAGE6.js.map} +1 -1
- package/dist/{chunk-LEGBLENH.js → chunk-SHGUKDQZ.js} +6 -6
- package/dist/{chunk-LEGBLENH.js.map → chunk-SHGUKDQZ.js.map} +1 -1
- package/dist/{chunk-CG6L7CTT.js → chunk-UDNQPUQT.js} +16 -9
- package/dist/chunk-UDNQPUQT.js.map +1 -0
- package/dist/{chunk-FAELCC5F.cjs → chunk-UHNI2YJT.cjs} +59 -59
- package/dist/{chunk-FAELCC5F.cjs.map → chunk-UHNI2YJT.cjs.map} +1 -1
- package/dist/{chunk-L53QFD2S.cjs → chunk-W6CUCCSU.cjs} +224 -224
- package/dist/{chunk-L53QFD2S.cjs.map → chunk-W6CUCCSU.cjs.map} +1 -1
- package/dist/{chunk-EST7RKR7.cjs → chunk-X3QQBZTZ.cjs} +3 -3
- package/dist/chunk-X3QQBZTZ.cjs.map +1 -0
- package/dist/{chunk-KEDXZSM5.cjs → chunk-X6QCOFLV.cjs} +5 -5
- package/dist/{chunk-KEDXZSM5.cjs.map → chunk-X6QCOFLV.cjs.map} +1 -1
- package/dist/{chunk-APBJDSFX.cjs → chunk-XCHWDKHQ.cjs} +80 -72
- package/dist/chunk-XCHWDKHQ.cjs.map +1 -0
- package/dist/{chunk-IFKB6ZQS.js → chunk-Y54HBV7I.js} +4 -4
- package/dist/{chunk-IFKB6ZQS.js.map → chunk-Y54HBV7I.js.map} +1 -1
- package/dist/{chunk-GPT5SQXO.js → chunk-ZJC3HACG.js} +3 -3
- package/dist/{chunk-GPT5SQXO.js.map → chunk-ZJC3HACG.js.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 +177 -177
- package/dist/docs/references/docs-memory-observational-memory.md +3 -3
- package/dist/docs/references/reference-tools-mcp-client.md +32 -0
- package/dist/docs/references/reference-tools-mcp-server.md +64 -0
- package/dist/evals/index.cjs +6 -6
- 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 +9 -9
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +7 -7
- package/dist/harness/index.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +19 -15
- 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.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mastra-CENQLMA6.js +3 -0
- package/dist/{mastra-P7D6XEYW.js.map → mastra-CENQLMA6.js.map} +1 -1
- package/dist/mastra-PJ7PYLZ6.cjs +12 -0
- package/dist/{mastra-INQ6GNG4.cjs.map → mastra-PJ7PYLZ6.cjs.map} +1 -1
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.d.ts +33 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-5SC3L3PB.js +3 -0
- package/dist/{models-dev-BLHW7AM7.js.map → models-dev-5SC3L3PB.js.map} +1 -1
- package/dist/models-dev-WOAKARBQ.cjs +12 -0
- package/dist/{models-dev-4MLGR5B2.cjs.map → models-dev-WOAKARBQ.cjs.map} +1 -1
- package/dist/netlify-ILOH4ELW.cjs +12 -0
- package/dist/{netlify-CVSZUJTB.cjs.map → netlify-ILOH4ELW.cjs.map} +1 -1
- package/dist/netlify-MWWN7KT6.js +3 -0
- package/dist/{netlify-O33IHBMM.js.map → netlify-MWWN7KT6.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +51 -51
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-4SRAXFDR.cjs +44 -0
- package/dist/{provider-registry-JFMEYRW2.cjs.map → provider-registry-4SRAXFDR.cjs.map} +1 -1
- package/dist/provider-registry-F6SO6FHQ.js +3 -0
- package/dist/{provider-registry-QNY4B7KD.js.map → provider-registry-F6SO6FHQ.js.map} +1 -1
- package/dist/provider-registry.json +60 -52
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/runner-AUMIO4LP.cjs +16 -0
- package/dist/{runner-QFYUIEKV.cjs.map → runner-AUMIO4LP.cjs.map} +1 -1
- package/dist/runner-XMNVMZFT.js +3 -0
- package/dist/{runner-CLVA3GWS.js.map → runner-XMNVMZFT.js.map} +1 -1
- package/dist/stream/index.cjs +11 -11
- 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/handlers/entry.d.ts.map +1 -1
- package/dist/workflows/index.cjs +28 -28
- package/dist/workflows/index.js +1 -1
- package/package.json +10 -10
- package/src/llm/model/provider-types.generated.d.ts +19 -15
- package/dist/chunk-4VYOBEPT.cjs.map +0 -1
- package/dist/chunk-52UBCOSR.js.map +0 -1
- package/dist/chunk-APBJDSFX.cjs.map +0 -1
- package/dist/chunk-CG6L7CTT.js.map +0 -1
- package/dist/chunk-EST7RKR7.cjs.map +0 -1
- package/dist/chunk-KMPDWFMV.js.map +0 -1
- package/dist/chunk-PQRH3PWI.cjs.map +0 -1
- package/dist/chunk-XGYB6VEV.js.map +0 -1
- package/dist/mastra-INQ6GNG4.cjs +0 -12
- package/dist/mastra-P7D6XEYW.js +0 -3
- package/dist/models-dev-4MLGR5B2.cjs +0 -12
- package/dist/models-dev-BLHW7AM7.js +0 -3
- package/dist/netlify-CVSZUJTB.cjs +0 -12
- package/dist/netlify-O33IHBMM.js +0 -3
- package/dist/provider-registry-JFMEYRW2.cjs +0 -44
- package/dist/provider-registry-QNY4B7KD.js +0 -3
- package/dist/runner-CLVA3GWS.js +0 -3
- package/dist/runner-QFYUIEKV.cjs +0 -16
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkW6CUCCSU_cjs = require('./chunk-W6CUCCSU.cjs');
|
|
4
|
+
var chunkCTWPJGFQ_cjs = require('./chunk-CTWPJGFQ.cjs');
|
|
5
|
+
var chunkX3QQBZTZ_cjs = require('./chunk-X3QQBZTZ.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('./chunk-4U7ZLI36.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
8
8
|
var module$1 = require('module');
|
|
@@ -17,7 +17,7 @@ var os__default = /*#__PURE__*/_interopDefault(os);
|
|
|
17
17
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
18
18
|
|
|
19
19
|
// src/llm/model/gateways/mastra.ts
|
|
20
|
-
var MastraGateway = class extends
|
|
20
|
+
var MastraGateway = class extends chunkX3QQBZTZ_cjs.MastraModelGateway {
|
|
21
21
|
constructor(config) {
|
|
22
22
|
super();
|
|
23
23
|
this.config = config;
|
|
@@ -74,34 +74,34 @@ var MastraGateway = class extends chunkEST7RKR7_cjs.MastraModelGateway {
|
|
|
74
74
|
const baseURL = `${this.getBaseUrl()}/v1`;
|
|
75
75
|
const fullModelId = `${providerId}/${modelId}`;
|
|
76
76
|
if (this.config?.customFetch && providerId === "anthropic") {
|
|
77
|
-
return
|
|
77
|
+
return chunkX3QQBZTZ_cjs.createAnthropic({
|
|
78
78
|
apiKey: "oauth-gateway-placeholder",
|
|
79
79
|
baseURL,
|
|
80
80
|
headers: {
|
|
81
|
-
"User-Agent":
|
|
82
|
-
[
|
|
81
|
+
"User-Agent": chunkX3QQBZTZ_cjs.MASTRA_USER_AGENT,
|
|
82
|
+
[chunkX3QQBZTZ_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
|
|
83
83
|
...headers
|
|
84
84
|
},
|
|
85
85
|
fetch: this.config.customFetch
|
|
86
86
|
})(modelId);
|
|
87
87
|
}
|
|
88
88
|
if (this.config?.customFetch) {
|
|
89
|
-
return
|
|
89
|
+
return chunkW6CUCCSU_cjs.createOpenRouter({
|
|
90
90
|
apiKey: "oauth-gateway-placeholder",
|
|
91
91
|
baseURL,
|
|
92
92
|
headers: {
|
|
93
|
-
"User-Agent":
|
|
94
|
-
[
|
|
93
|
+
"User-Agent": chunkX3QQBZTZ_cjs.MASTRA_USER_AGENT,
|
|
94
|
+
[chunkX3QQBZTZ_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
|
|
95
95
|
...headers
|
|
96
96
|
},
|
|
97
97
|
fetch: this.config.customFetch
|
|
98
98
|
}).chat(fullModelId);
|
|
99
99
|
}
|
|
100
|
-
return
|
|
100
|
+
return chunkW6CUCCSU_cjs.createOpenRouter({
|
|
101
101
|
apiKey,
|
|
102
102
|
baseURL,
|
|
103
103
|
headers: {
|
|
104
|
-
"User-Agent":
|
|
104
|
+
"User-Agent": chunkX3QQBZTZ_cjs.MASTRA_USER_AGENT,
|
|
105
105
|
...headers
|
|
106
106
|
}
|
|
107
107
|
}).chat(fullModelId);
|
|
@@ -1273,6 +1273,7 @@ var provider_registry_default = {
|
|
|
1273
1273
|
"x-ai/grok-4.1-fast",
|
|
1274
1274
|
"x-ai/grok-4.20-beta",
|
|
1275
1275
|
"x-ai/grok-4.20-multi-agent-beta",
|
|
1276
|
+
"x-ai/grok-4.3",
|
|
1276
1277
|
"x-ai/grok-code-fast-1",
|
|
1277
1278
|
"xiaomi/mimo-v2-flash",
|
|
1278
1279
|
"xiaomi/mimo-v2-omni",
|
|
@@ -1985,7 +1986,7 @@ var provider_registry_default = {
|
|
|
1985
1986
|
apiKeyEnvVar: "DINFERENCE_API_KEY",
|
|
1986
1987
|
apiKeyHeader: "Authorization",
|
|
1987
1988
|
name: "DInference",
|
|
1988
|
-
models: ["glm-4.7", "glm-5", "gpt-oss-120b"],
|
|
1989
|
+
models: ["glm-4.7", "glm-5", "glm-5.1", "gpt-oss-120b", "minimax-m2.5"],
|
|
1989
1990
|
docUrl: "https://dinference.com",
|
|
1990
1991
|
gateway: "models.dev"
|
|
1991
1992
|
},
|
|
@@ -2030,6 +2031,8 @@ var provider_registry_default = {
|
|
|
2030
2031
|
"deepseek-ai/DeepSeek-R1-0528",
|
|
2031
2032
|
"deepseek-ai/DeepSeek-V3.2",
|
|
2032
2033
|
"deepseek-ai/DeepSeek-V4-Pro",
|
|
2034
|
+
"google/gemma-4-26B-A4B-it",
|
|
2035
|
+
"google/gemma-4-31B-it",
|
|
2033
2036
|
"meta-llama/Llama-3.1-70B-Instruct",
|
|
2034
2037
|
"meta-llama/Llama-3.1-70B-Instruct-Turbo",
|
|
2035
2038
|
"meta-llama/Llama-3.1-8B-Instruct",
|
|
@@ -3013,6 +3016,42 @@ var provider_registry_default = {
|
|
|
3013
3016
|
docUrl: "https://docs.baseten.co/development/model-apis/overview",
|
|
3014
3017
|
gateway: "models.dev"
|
|
3015
3018
|
},
|
|
3019
|
+
frogbot: {
|
|
3020
|
+
url: "https://app.frogbot.ai/api/v1",
|
|
3021
|
+
apiKeyEnvVar: "FROGBOT_API_KEY",
|
|
3022
|
+
apiKeyHeader: "Authorization",
|
|
3023
|
+
name: "FrogBot",
|
|
3024
|
+
models: [
|
|
3025
|
+
"claude-haiku-4-5",
|
|
3026
|
+
"claude-opus-4-6",
|
|
3027
|
+
"claude-opus-4-7",
|
|
3028
|
+
"claude-sonnet-4-6",
|
|
3029
|
+
"deepseek-v4-pro",
|
|
3030
|
+
"gemini-2.5-flash",
|
|
3031
|
+
"gemini-2.5-pro",
|
|
3032
|
+
"gemini-3-1-pro-preview",
|
|
3033
|
+
"gemini-3-flash-preview",
|
|
3034
|
+
"gpt-4o",
|
|
3035
|
+
"gpt-5-3-codex",
|
|
3036
|
+
"gpt-5-4-mini",
|
|
3037
|
+
"gpt-5-4-nano",
|
|
3038
|
+
"gpt-5-5",
|
|
3039
|
+
"gpt-oss-120b",
|
|
3040
|
+
"gpt-oss-20b",
|
|
3041
|
+
"grok-4-1-fast-non-reasoning",
|
|
3042
|
+
"grok-4-1-fast-reasoning",
|
|
3043
|
+
"grok-4-3",
|
|
3044
|
+
"grok-code-fast-1",
|
|
3045
|
+
"kimi-k2-6",
|
|
3046
|
+
"kimi-k2.5",
|
|
3047
|
+
"minimax-m2-5",
|
|
3048
|
+
"minimax-m2-7",
|
|
3049
|
+
"qwen-3-6-plus",
|
|
3050
|
+
"zai-glm-5-1"
|
|
3051
|
+
],
|
|
3052
|
+
docUrl: "https://docs.frogbot.ai",
|
|
3053
|
+
gateway: "models.dev"
|
|
3054
|
+
},
|
|
3016
3055
|
"zhipuai-coding-plan": {
|
|
3017
3056
|
url: "https://open.bigmodel.cn/api/coding/paas/v4",
|
|
3018
3057
|
apiKeyEnvVar: "ZHIPU_API_KEY",
|
|
@@ -3049,42 +3088,6 @@ var provider_registry_default = {
|
|
|
3049
3088
|
gateway: "models.dev",
|
|
3050
3089
|
npm: "@ai-sdk/cerebras"
|
|
3051
3090
|
},
|
|
3052
|
-
firmware: {
|
|
3053
|
-
url: "https://app.frogbot.ai/api/v1",
|
|
3054
|
-
apiKeyEnvVar: "FIRMWARE_API_KEY",
|
|
3055
|
-
apiKeyHeader: "Authorization",
|
|
3056
|
-
name: "Firmware",
|
|
3057
|
-
models: [
|
|
3058
|
-
"claude-haiku-4-5",
|
|
3059
|
-
"claude-opus-4-6",
|
|
3060
|
-
"claude-opus-4-7",
|
|
3061
|
-
"claude-sonnet-4-6",
|
|
3062
|
-
"deepseek-v4-pro",
|
|
3063
|
-
"gemini-2.5-flash",
|
|
3064
|
-
"gemini-2.5-pro",
|
|
3065
|
-
"gemini-3-1-pro-preview",
|
|
3066
|
-
"gemini-3-flash-preview",
|
|
3067
|
-
"gpt-4o",
|
|
3068
|
-
"gpt-5-3-codex",
|
|
3069
|
-
"gpt-5-4-mini",
|
|
3070
|
-
"gpt-5-4-nano",
|
|
3071
|
-
"gpt-5-5",
|
|
3072
|
-
"gpt-oss-120b",
|
|
3073
|
-
"gpt-oss-20b",
|
|
3074
|
-
"grok-4-1-fast-non-reasoning",
|
|
3075
|
-
"grok-4-1-fast-reasoning",
|
|
3076
|
-
"grok-4-3",
|
|
3077
|
-
"grok-code-fast-1",
|
|
3078
|
-
"kimi-k2-6",
|
|
3079
|
-
"kimi-k2.5",
|
|
3080
|
-
"minimax-m2-5",
|
|
3081
|
-
"minimax-m2-7",
|
|
3082
|
-
"qwen-3-6-plus",
|
|
3083
|
-
"zai-glm-5-1"
|
|
3084
|
-
],
|
|
3085
|
-
docUrl: "https://docs.frogbot.ai",
|
|
3086
|
-
gateway: "models.dev"
|
|
3087
|
-
},
|
|
3088
3091
|
lmstudio: {
|
|
3089
3092
|
url: "http://127.0.0.1:1234/v1",
|
|
3090
3093
|
apiKeyEnvVar: "LMSTUDIO_API_KEY",
|
|
@@ -4738,6 +4741,7 @@ var provider_registry_default = {
|
|
|
4738
4741
|
"minimaxai/chat-completion/models/MiniMax-M2_5-high-throughput",
|
|
4739
4742
|
"mistralai/completion/models/Ministral-3-14B-Reasoning-2512",
|
|
4740
4743
|
"mistralai/completion/models/Ministral-3-3B-Reasoning-2512",
|
|
4744
|
+
"moonshotai/chat-completion/models/Kimi-K2_6",
|
|
4741
4745
|
"openai/chat-completion/models/gpt-oss-120b-high-throughput",
|
|
4742
4746
|
"openai/chat-completion/models/gpt-oss-20b",
|
|
4743
4747
|
"qwen/qwenCoder/models/Qwen3-Coder-30B-A3B-Instruct",
|
|
@@ -5966,6 +5970,7 @@ var provider_registry_default = {
|
|
|
5966
5970
|
"x-ai/grok-4.1-fast",
|
|
5967
5971
|
"x-ai/grok-4.20-beta",
|
|
5968
5972
|
"x-ai/grok-4.20-multi-agent-beta",
|
|
5973
|
+
"x-ai/grok-4.3",
|
|
5969
5974
|
"x-ai/grok-code-fast-1",
|
|
5970
5975
|
"xiaomi/mimo-v2-flash",
|
|
5971
5976
|
"xiaomi/mimo-v2-omni",
|
|
@@ -6531,7 +6536,7 @@ var provider_registry_default = {
|
|
|
6531
6536
|
"zai-org/GLM-5-Turbo",
|
|
6532
6537
|
"zai-org/GLM-5.1-TEE"
|
|
6533
6538
|
],
|
|
6534
|
-
dinference: ["glm-4.7", "glm-5", "gpt-oss-120b"],
|
|
6539
|
+
dinference: ["glm-4.7", "glm-5", "glm-5.1", "gpt-oss-120b", "minimax-m2.5"],
|
|
6535
6540
|
vivgrid: [
|
|
6536
6541
|
"deepseek-v3.2",
|
|
6537
6542
|
"deepseek-v4-pro",
|
|
@@ -6561,6 +6566,8 @@ var provider_registry_default = {
|
|
|
6561
6566
|
"deepseek-ai/DeepSeek-R1-0528",
|
|
6562
6567
|
"deepseek-ai/DeepSeek-V3.2",
|
|
6563
6568
|
"deepseek-ai/DeepSeek-V4-Pro",
|
|
6569
|
+
"google/gemma-4-26B-A4B-it",
|
|
6570
|
+
"google/gemma-4-31B-it",
|
|
6564
6571
|
"meta-llama/Llama-3.1-70B-Instruct",
|
|
6565
6572
|
"meta-llama/Llama-3.1-70B-Instruct-Turbo",
|
|
6566
6573
|
"meta-llama/Llama-3.1-8B-Instruct",
|
|
@@ -7420,20 +7427,7 @@ var provider_registry_default = {
|
|
|
7420
7427
|
"zai-org/GLM-4.7",
|
|
7421
7428
|
"zai-org/GLM-5"
|
|
7422
7429
|
],
|
|
7423
|
-
|
|
7424
|
-
"alibaba-coding-plan": [
|
|
7425
|
-
"MiniMax-M2.5",
|
|
7426
|
-
"glm-4.7",
|
|
7427
|
-
"glm-5",
|
|
7428
|
-
"kimi-k2.5",
|
|
7429
|
-
"qwen3-coder-next",
|
|
7430
|
-
"qwen3-coder-plus",
|
|
7431
|
-
"qwen3-max-2026-01-23",
|
|
7432
|
-
"qwen3.5-plus",
|
|
7433
|
-
"qwen3.6-plus"
|
|
7434
|
-
],
|
|
7435
|
-
cerebras: ["gpt-oss-120b", "llama3.1-8b", "qwen-3-235b-a22b-instruct-2507", "zai-glm-4.7"],
|
|
7436
|
-
firmware: [
|
|
7430
|
+
frogbot: [
|
|
7437
7431
|
"claude-haiku-4-5",
|
|
7438
7432
|
"claude-opus-4-6",
|
|
7439
7433
|
"claude-opus-4-7",
|
|
@@ -7461,6 +7455,19 @@ var provider_registry_default = {
|
|
|
7461
7455
|
"qwen-3-6-plus",
|
|
7462
7456
|
"zai-glm-5-1"
|
|
7463
7457
|
],
|
|
7458
|
+
"zhipuai-coding-plan": ["glm-4.5-air", "glm-4.7", "glm-5-turbo", "glm-5.1", "glm-5v-turbo"],
|
|
7459
|
+
"alibaba-coding-plan": [
|
|
7460
|
+
"MiniMax-M2.5",
|
|
7461
|
+
"glm-4.7",
|
|
7462
|
+
"glm-5",
|
|
7463
|
+
"kimi-k2.5",
|
|
7464
|
+
"qwen3-coder-next",
|
|
7465
|
+
"qwen3-coder-plus",
|
|
7466
|
+
"qwen3-max-2026-01-23",
|
|
7467
|
+
"qwen3.5-plus",
|
|
7468
|
+
"qwen3.6-plus"
|
|
7469
|
+
],
|
|
7470
|
+
cerebras: ["gpt-oss-120b", "llama3.1-8b", "qwen-3-235b-a22b-instruct-2507", "zai-glm-4.7"],
|
|
7464
7471
|
lmstudio: ["openai/gpt-oss-20b", "qwen/qwen3-30b-a3b-2507", "qwen/qwen3-coder-30b"],
|
|
7465
7472
|
lucidquery: ["lucidnova-rf1-100b", "lucidquery-nexus-coder"],
|
|
7466
7473
|
"moonshotai-cn": [
|
|
@@ -8745,6 +8752,7 @@ var provider_registry_default = {
|
|
|
8745
8752
|
"minimaxai/chat-completion/models/MiniMax-M2_5-high-throughput",
|
|
8746
8753
|
"mistralai/completion/models/Ministral-3-14B-Reasoning-2512",
|
|
8747
8754
|
"mistralai/completion/models/Ministral-3-3B-Reasoning-2512",
|
|
8755
|
+
"moonshotai/chat-completion/models/Kimi-K2_6",
|
|
8748
8756
|
"openai/chat-completion/models/gpt-oss-120b-high-throughput",
|
|
8749
8757
|
"openai/chat-completion/models/gpt-oss-20b",
|
|
8750
8758
|
"qwen/qwenCoder/models/Qwen3-Coder-30B-A3B-Instruct",
|
|
@@ -8994,7 +9002,7 @@ function saveLastRefreshTimeToDisk(date) {
|
|
|
8994
9002
|
}
|
|
8995
9003
|
function getPackageRoot() {
|
|
8996
9004
|
try {
|
|
8997
|
-
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
9005
|
+
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-XCHWDKHQ.cjs', document.baseURI).href)) || "file://");
|
|
8998
9006
|
const packageJsonPath = require2.resolve("@mastra/core/package.json");
|
|
8999
9007
|
return path__default.default.dirname(packageJsonPath);
|
|
9000
9008
|
} catch {
|
|
@@ -9003,8 +9011,8 @@ function getPackageRoot() {
|
|
|
9003
9011
|
}
|
|
9004
9012
|
function loadRegistry(useDynamicLoading, customGateways = []) {
|
|
9005
9013
|
const enabledGatewayIds = getEnabledGatewayIds([
|
|
9006
|
-
new
|
|
9007
|
-
new
|
|
9014
|
+
new chunkW6CUCCSU_cjs.ModelsDevGateway({}),
|
|
9015
|
+
new chunkCTWPJGFQ_cjs.NetlifyGateway(),
|
|
9008
9016
|
new MastraGateway(),
|
|
9009
9017
|
...customGateways
|
|
9010
9018
|
]);
|
|
@@ -9204,9 +9212,9 @@ var GatewayRegistry = class _GatewayRegistry {
|
|
|
9204
9212
|
}
|
|
9205
9213
|
this.isRefreshing = true;
|
|
9206
9214
|
try {
|
|
9207
|
-
const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-
|
|
9208
|
-
const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-
|
|
9209
|
-
const { MastraGateway: MastraGateway2 } = await import('./mastra-
|
|
9215
|
+
const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-WOAKARBQ.cjs');
|
|
9216
|
+
const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-ILOH4ELW.cjs');
|
|
9217
|
+
const { MastraGateway: MastraGateway2 } = await import('./mastra-PJ7PYLZ6.cjs');
|
|
9210
9218
|
const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-VNYH6GDH.cjs');
|
|
9211
9219
|
const defaultGateways = [
|
|
9212
9220
|
new ModelsDevGateway2({}),
|
|
@@ -9340,5 +9348,5 @@ exports.isOfflineMode = isOfflineMode;
|
|
|
9340
9348
|
exports.isProviderRegistered = isProviderRegistered;
|
|
9341
9349
|
exports.isValidModelId = isValidModelId;
|
|
9342
9350
|
exports.parseModelString = parseModelString;
|
|
9343
|
-
//# sourceMappingURL=chunk-
|
|
9344
|
-
//# sourceMappingURL=chunk-
|
|
9351
|
+
//# sourceMappingURL=chunk-XCHWDKHQ.cjs.map
|
|
9352
|
+
//# sourceMappingURL=chunk-XCHWDKHQ.cjs.map
|