@mastra/core 1.23.0-alpha.5 → 1.23.0-alpha.7
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 +14 -0
- package/dist/agent/agent.d.ts +13 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +2 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +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-XFLQVMNH.cjs → chunk-2COMJWSP.cjs} +18 -18
- package/dist/{chunk-XFLQVMNH.cjs.map → chunk-2COMJWSP.cjs.map} +1 -1
- package/dist/{chunk-I6XSSR4Z.js → chunk-2DOJSEKM.js} +20 -14
- package/dist/chunk-2DOJSEKM.js.map +1 -0
- package/dist/{chunk-Z63F3XHK.js → chunk-37G434JU.js} +3 -3
- package/dist/{chunk-Z63F3XHK.js.map → chunk-37G434JU.js.map} +1 -1
- package/dist/{chunk-VO6R5RZT.js → chunk-3PX4NVO4.js} +5 -5
- package/dist/{chunk-VO6R5RZT.js.map → chunk-3PX4NVO4.js.map} +1 -1
- package/dist/{chunk-QIJFD7ZC.js → chunk-4GR73476.js} +3 -3
- package/dist/{chunk-QIJFD7ZC.js.map → chunk-4GR73476.js.map} +1 -1
- package/dist/{chunk-QRK2HWHI.js → chunk-7R6CUMCQ.js} +7 -7
- package/dist/{chunk-QRK2HWHI.js.map → chunk-7R6CUMCQ.js.map} +1 -1
- package/dist/{chunk-TKH2A57J.cjs → chunk-AC4BKIH4.cjs} +185 -185
- package/dist/{chunk-TKH2A57J.cjs.map → chunk-AC4BKIH4.cjs.map} +1 -1
- package/dist/{chunk-UENWRQLR.cjs → chunk-AESXHP7M.cjs} +5 -5
- package/dist/{chunk-UENWRQLR.cjs.map → chunk-AESXHP7M.cjs.map} +1 -1
- package/dist/{chunk-YR7XRMDN.cjs → chunk-DUKZTMIA.cjs} +6 -6
- package/dist/{chunk-YR7XRMDN.cjs.map → chunk-DUKZTMIA.cjs.map} +1 -1
- package/dist/{chunk-HWAEQSOO.js → chunk-EBLC3SZU.js} +10 -10
- package/dist/{chunk-HWAEQSOO.js.map → chunk-EBLC3SZU.js.map} +1 -1
- package/dist/{chunk-Z34TVGNZ.js → chunk-EC7FJWDQ.js} +4 -4
- package/dist/{chunk-Z34TVGNZ.js.map → chunk-EC7FJWDQ.js.map} +1 -1
- package/dist/{chunk-ZHYPWNWS.js → chunk-EFX7OKPD.js} +4 -4
- package/dist/{chunk-ZHYPWNWS.js.map → chunk-EFX7OKPD.js.map} +1 -1
- package/dist/{chunk-QYQSXRFZ.js → chunk-FEUHTHXS.js} +35 -10
- package/dist/chunk-FEUHTHXS.js.map +1 -0
- package/dist/{chunk-L2MCWEEX.js → chunk-H4DMZG2G.js} +3 -3
- package/dist/{chunk-L2MCWEEX.js.map → chunk-H4DMZG2G.js.map} +1 -1
- package/dist/{chunk-V7AX2MSJ.cjs → chunk-J2R537Z7.cjs} +32 -26
- package/dist/chunk-J2R537Z7.cjs.map +1 -0
- package/dist/{chunk-EXORPYDN.js → chunk-JI4PAFKP.js} +3 -3
- package/dist/{chunk-EXORPYDN.js.map → chunk-JI4PAFKP.js.map} +1 -1
- package/dist/{chunk-JJFGNYVY.cjs → chunk-KYH7NFDR.cjs} +7 -7
- package/dist/{chunk-JJFGNYVY.cjs.map → chunk-KYH7NFDR.cjs.map} +1 -1
- package/dist/{chunk-JNXWDPCZ.js → chunk-N4QQVYW3.js} +4 -4
- package/dist/{chunk-JNXWDPCZ.js.map → chunk-N4QQVYW3.js.map} +1 -1
- package/dist/{chunk-XZCYFQ4N.cjs → chunk-OFMVPJGK.cjs} +51 -51
- package/dist/{chunk-XZCYFQ4N.cjs.map → chunk-OFMVPJGK.cjs.map} +1 -1
- package/dist/{chunk-ZUN5CMDY.cjs → chunk-OROK2RQF.cjs} +84 -84
- package/dist/{chunk-ZUN5CMDY.cjs.map → chunk-OROK2RQF.cjs.map} +1 -1
- package/dist/{chunk-7DONY7OL.cjs → chunk-R37UG42A.cjs} +3 -3
- package/dist/{chunk-7DONY7OL.cjs.map → chunk-R37UG42A.cjs.map} +1 -1
- package/dist/{chunk-FSHOQBGF.cjs → chunk-RN6YQCOU.cjs} +9 -9
- package/dist/{chunk-FSHOQBGF.cjs.map → chunk-RN6YQCOU.cjs.map} +1 -1
- package/dist/{chunk-6UQKQBIB.js → chunk-UKYZDPXL.js} +3 -3
- package/dist/{chunk-6UQKQBIB.js.map → chunk-UKYZDPXL.js.map} +1 -1
- package/dist/{chunk-7STIIXEL.cjs → chunk-VDZYHVUM.cjs} +3 -3
- package/dist/{chunk-7STIIXEL.cjs.map → chunk-VDZYHVUM.cjs.map} +1 -1
- package/dist/{chunk-4W26D7S6.cjs → chunk-WTRV3KTS.cjs} +7 -7
- package/dist/{chunk-4W26D7S6.cjs.map → chunk-WTRV3KTS.cjs.map} +1 -1
- package/dist/{chunk-Z67JQNEH.cjs → chunk-X4JUECE7.cjs} +9 -9
- package/dist/{chunk-Z67JQNEH.cjs.map → chunk-X4JUECE7.cjs.map} +1 -1
- package/dist/{chunk-DO4JBKMT.cjs → chunk-ZGOY2O3K.cjs} +74 -49
- package/dist/chunk-ZGOY2O3K.cjs.map +1 -0
- package/dist/{chunk-TG46FM6X.js → chunk-ZZK7VFFA.js} +3 -3
- package/dist/{chunk-TG46FM6X.js.map → chunk-ZZK7VFFA.js.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +242 -242
- 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/harness.d.ts +2 -0
- package/dist/harness/harness.d.ts.map +1 -1
- package/dist/harness/index.cjs +20 -9
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +17 -6
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/types.d.ts +8 -0
- package/dist/harness/types.d.ts.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 +6 -3
- 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/mastra-GK6QM5DQ.js +3 -0
- package/dist/{mastra-O4WWP6N5.js.map → mastra-GK6QM5DQ.js.map} +1 -1
- package/dist/mastra-KE4XLMI2.cjs +12 -0
- package/dist/{mastra-VHS7LVQG.cjs.map → mastra-KE4XLMI2.cjs.map} +1 -1
- package/dist/memory/index.cjs +17 -17
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-CT6FMRSU.js +3 -0
- package/dist/{models-dev-4W7JQVWR.js.map → models-dev-CT6FMRSU.js.map} +1 -1
- package/dist/models-dev-UJDAX4F3.cjs +12 -0
- package/dist/{models-dev-3IPTEPRM.cjs.map → models-dev-UJDAX4F3.cjs.map} +1 -1
- package/dist/netlify-ECN64HAF.js +3 -0
- package/dist/{netlify-FZBGNFDI.js.map → netlify-ECN64HAF.js.map} +1 -1
- package/dist/netlify-ML4C3IKP.cjs +12 -0
- package/dist/{netlify-XT32D45G.cjs.map → netlify-ML4C3IKP.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-6FR6AKYW.js +3 -0
- package/dist/{provider-registry-AWL2JDVF.js.map → provider-registry-6FR6AKYW.js.map} +1 -1
- package/dist/provider-registry-DRMNUKIF.cjs +40 -0
- package/dist/{provider-registry-X5PBSJ2G.cjs.map → provider-registry-DRMNUKIF.cjs.map} +1 -1
- package/dist/provider-registry.json +12 -6
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +74 -74
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +25 -25
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/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 +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +6 -3
- package/dist/chunk-DO4JBKMT.cjs.map +0 -1
- package/dist/chunk-I6XSSR4Z.js.map +0 -1
- package/dist/chunk-QYQSXRFZ.js.map +0 -1
- package/dist/chunk-V7AX2MSJ.cjs.map +0 -1
- package/dist/mastra-O4WWP6N5.js +0 -3
- package/dist/mastra-VHS7LVQG.cjs +0 -12
- package/dist/models-dev-3IPTEPRM.cjs +0 -12
- package/dist/models-dev-4W7JQVWR.js +0 -3
- package/dist/netlify-FZBGNFDI.js +0 -3
- package/dist/netlify-XT32D45G.cjs +0 -12
- package/dist/provider-registry-AWL2JDVF.js +0 -3
- package/dist/provider-registry-X5PBSJ2G.cjs +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ModelsDevGateway, createOpenRouter } from './chunk-
|
|
2
|
-
import { NetlifyGateway } from './chunk-
|
|
3
|
-
import { MastraModelGateway, createAnthropic, MASTRA_USER_AGENT, GATEWAY_AUTH_HEADER } from './chunk-
|
|
1
|
+
import { ModelsDevGateway, createOpenRouter } from './chunk-UKYZDPXL.js';
|
|
2
|
+
import { NetlifyGateway } from './chunk-ZZK7VFFA.js';
|
|
3
|
+
import { MastraModelGateway, createAnthropic, MASTRA_USER_AGENT, GATEWAY_AUTH_HEADER } from './chunk-JI4PAFKP.js';
|
|
4
4
|
import { MastraError } from './chunk-FJEVLHJT.js';
|
|
5
5
|
import fs from 'fs';
|
|
6
6
|
import { createRequire } from 'module';
|
|
@@ -1177,8 +1177,8 @@ var provider_registry_default = {
|
|
|
1177
1177
|
"gemma-3-4b-it",
|
|
1178
1178
|
"gemma-3n-e2b-it",
|
|
1179
1179
|
"gemma-3n-e4b-it",
|
|
1180
|
-
"gemma-4-26b",
|
|
1181
|
-
"gemma-4-31b"
|
|
1180
|
+
"gemma-4-26b-it",
|
|
1181
|
+
"gemma-4-31b-it"
|
|
1182
1182
|
],
|
|
1183
1183
|
docUrl: "https://ai.google.dev/gemini-api/docs/pricing",
|
|
1184
1184
|
gateway: "models.dev",
|
|
@@ -2151,6 +2151,7 @@ var provider_registry_default = {
|
|
|
2151
2151
|
"anthropic/claude-sonnet-4.5",
|
|
2152
2152
|
"anthropic/claude-sonnet-4.6",
|
|
2153
2153
|
"arcee-ai/trinity-large-preview:free",
|
|
2154
|
+
"arcee-ai/trinity-large-thinking",
|
|
2154
2155
|
"arcee-ai/trinity-mini:free",
|
|
2155
2156
|
"black-forest-labs/flux.2-flex",
|
|
2156
2157
|
"black-forest-labs/flux.2-klein-4b",
|
|
@@ -2188,6 +2189,8 @@ var provider_registry_default = {
|
|
|
2188
2189
|
"google/gemma-3n-e2b-it:free",
|
|
2189
2190
|
"google/gemma-3n-e4b-it",
|
|
2190
2191
|
"google/gemma-3n-e4b-it:free",
|
|
2192
|
+
"google/gemma-4-26b-a4b-it",
|
|
2193
|
+
"google/gemma-4-31b-it",
|
|
2191
2194
|
"inception/mercury",
|
|
2192
2195
|
"inception/mercury-2",
|
|
2193
2196
|
"inception/mercury-coder",
|
|
@@ -3539,7 +3542,7 @@ var provider_registry_default = {
|
|
|
3539
3542
|
apiKeyEnvVar: "VULTR_API_KEY",
|
|
3540
3543
|
apiKeyHeader: "Authorization",
|
|
3541
3544
|
name: "Vultr",
|
|
3542
|
-
models: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
3545
|
+
models: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5", "gpt-oss-120b"],
|
|
3543
3546
|
docUrl: "https://api.vultrinference.com/",
|
|
3544
3547
|
gateway: "models.dev"
|
|
3545
3548
|
},
|
|
@@ -5397,8 +5400,8 @@ var provider_registry_default = {
|
|
|
5397
5400
|
"gemma-3-4b-it",
|
|
5398
5401
|
"gemma-3n-e2b-it",
|
|
5399
5402
|
"gemma-3n-e4b-it",
|
|
5400
|
-
"gemma-4-26b",
|
|
5401
|
-
"gemma-4-31b"
|
|
5403
|
+
"gemma-4-26b-it",
|
|
5404
|
+
"gemma-4-31b-it"
|
|
5402
5405
|
],
|
|
5403
5406
|
"cloudferro-sherlock": [
|
|
5404
5407
|
"MiniMaxAI/MiniMax-M2.5",
|
|
@@ -6242,6 +6245,7 @@ var provider_registry_default = {
|
|
|
6242
6245
|
"anthropic/claude-sonnet-4.5",
|
|
6243
6246
|
"anthropic/claude-sonnet-4.6",
|
|
6244
6247
|
"arcee-ai/trinity-large-preview:free",
|
|
6248
|
+
"arcee-ai/trinity-large-thinking",
|
|
6245
6249
|
"arcee-ai/trinity-mini:free",
|
|
6246
6250
|
"black-forest-labs/flux.2-flex",
|
|
6247
6251
|
"black-forest-labs/flux.2-klein-4b",
|
|
@@ -6279,6 +6283,8 @@ var provider_registry_default = {
|
|
|
6279
6283
|
"google/gemma-3n-e2b-it:free",
|
|
6280
6284
|
"google/gemma-3n-e4b-it",
|
|
6281
6285
|
"google/gemma-3n-e4b-it:free",
|
|
6286
|
+
"google/gemma-4-26b-a4b-it",
|
|
6287
|
+
"google/gemma-4-31b-it",
|
|
6282
6288
|
"inception/mercury",
|
|
6283
6289
|
"inception/mercury-2",
|
|
6284
6290
|
"inception/mercury-coder",
|
|
@@ -7371,7 +7377,7 @@ var provider_registry_default = {
|
|
|
7371
7377
|
"zai-org/GLM-4.5-Air",
|
|
7372
7378
|
"zai-org/GLM-4.5-FP8"
|
|
7373
7379
|
],
|
|
7374
|
-
vultr: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
|
|
7380
|
+
vultr: ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5", "gpt-oss-120b"],
|
|
7375
7381
|
"github-models": [
|
|
7376
7382
|
"ai21-labs/ai21-jamba-1.5-large",
|
|
7377
7383
|
"ai21-labs/ai21-jamba-1.5-mini",
|
|
@@ -8615,9 +8621,9 @@ var GatewayRegistry = class _GatewayRegistry {
|
|
|
8615
8621
|
}
|
|
8616
8622
|
this.isRefreshing = true;
|
|
8617
8623
|
try {
|
|
8618
|
-
const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-
|
|
8619
|
-
const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-
|
|
8620
|
-
const { MastraGateway: MastraGateway2 } = await import('./mastra-
|
|
8624
|
+
const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-CT6FMRSU.js');
|
|
8625
|
+
const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-ECN64HAF.js');
|
|
8626
|
+
const { MastraGateway: MastraGateway2 } = await import('./mastra-GK6QM5DQ.js');
|
|
8621
8627
|
const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-QMLHG25G.js');
|
|
8622
8628
|
const defaultGateways = [
|
|
8623
8629
|
new ModelsDevGateway2({}),
|
|
@@ -8739,5 +8745,5 @@ if (autoRefreshEnabled) {
|
|
|
8739
8745
|
}
|
|
8740
8746
|
|
|
8741
8747
|
export { GatewayRegistry, MastraGateway, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString };
|
|
8742
|
-
//# sourceMappingURL=chunk-
|
|
8743
|
-
//# sourceMappingURL=chunk-
|
|
8748
|
+
//# sourceMappingURL=chunk-2DOJSEKM.js.map
|
|
8749
|
+
//# sourceMappingURL=chunk-2DOJSEKM.js.map
|