@mastra/core 1.1.0-alpha.0 → 1.1.0-alpha.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.
- package/CHANGELOG.md +28 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-DXTYXWYM.cjs → chunk-4ACKGMN2.cjs} +7 -7
- package/dist/{chunk-DXTYXWYM.cjs.map → chunk-4ACKGMN2.cjs.map} +1 -1
- package/dist/{chunk-ZZCLGEMJ.js → chunk-4KQEQ4NM.js} +192 -353
- package/dist/chunk-4KQEQ4NM.js.map +1 -0
- package/dist/{chunk-6FHHT22W.cjs → chunk-4PERRFZD.cjs} +44 -44
- package/dist/{chunk-6FHHT22W.cjs.map → chunk-4PERRFZD.cjs.map} +1 -1
- package/dist/{chunk-XSRROONT.cjs → chunk-4QJBNJI4.cjs} +5 -5
- package/dist/{chunk-XSRROONT.cjs.map → chunk-4QJBNJI4.cjs.map} +1 -1
- package/dist/{chunk-QGVPEZ5T.js → chunk-BG6DCMO2.js} +20 -10
- package/dist/chunk-BG6DCMO2.js.map +1 -0
- package/dist/{chunk-REH5FX2O.js → chunk-FVVQY6UU.js} +28 -25
- package/dist/chunk-FVVQY6UU.js.map +1 -0
- package/dist/{chunk-Z3XVFOTH.js → chunk-FZZI2V2T.js} +4 -4
- package/dist/{chunk-Z3XVFOTH.js.map → chunk-FZZI2V2T.js.map} +1 -1
- package/dist/{chunk-ACEGVEZF.js → chunk-H4C5NORS.js} +66 -46
- package/dist/chunk-H4C5NORS.js.map +1 -0
- package/dist/{chunk-N2FELMHU.cjs → chunk-HR67B4UM.cjs} +57 -24
- package/dist/chunk-HR67B4UM.cjs.map +1 -0
- package/dist/{chunk-YETWOFQL.js → chunk-KPIJA2R5.js} +21 -31
- package/dist/chunk-KPIJA2R5.js.map +1 -0
- package/dist/{chunk-ETSBNSRY.cjs → chunk-MGOFRL36.cjs} +21 -11
- package/dist/chunk-MGOFRL36.cjs.map +1 -0
- package/dist/{chunk-5VWOGZLE.js → chunk-OSIE5L6N.js} +49 -16
- package/dist/chunk-OSIE5L6N.js.map +1 -0
- package/dist/{chunk-ARMHYWF5.js → chunk-OW7H7G5N.js} +4 -4
- package/dist/{chunk-ARMHYWF5.js.map → chunk-OW7H7G5N.js.map} +1 -1
- package/dist/{chunk-TV4DA7RI.cjs → chunk-RIPKI7ON.cjs} +21 -31
- package/dist/chunk-RIPKI7ON.cjs.map +1 -0
- package/dist/{chunk-WBJMSOYD.cjs → chunk-RYVRCT7Z.cjs} +192 -354
- package/dist/chunk-RYVRCT7Z.cjs.map +1 -0
- package/dist/{chunk-3CXWVB55.cjs → chunk-SLMSUZBA.cjs} +39 -36
- package/dist/{chunk-3CXWVB55.cjs.map → chunk-SLMSUZBA.cjs.map} +1 -1
- package/dist/{chunk-5BEYS33K.js → chunk-VAJRNUEF.js} +3 -3
- package/dist/{chunk-5BEYS33K.js.map → chunk-VAJRNUEF.js.map} +1 -1
- package/dist/{chunk-OZFBUMI3.cjs → chunk-VNGQXHUE.cjs} +7 -7
- package/dist/{chunk-OZFBUMI3.cjs.map → chunk-VNGQXHUE.cjs.map} +1 -1
- package/dist/{chunk-CEYA6FNF.js → chunk-YQMDMIP6.js} +3 -3
- package/dist/{chunk-CEYA6FNF.js.map → chunk-YQMDMIP6.js.map} +1 -1
- package/dist/{chunk-RFTFSXJY.cjs → chunk-YSFYUEEG.cjs} +72 -52
- package/dist/chunk-YSFYUEEG.cjs.map +1 -0
- package/dist/docs/README.md +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/SOURCE_MAP.json +271 -271
- package/dist/docs/agents/01-overview.md +2 -2
- package/dist/docs/evals/01-overview.md +5 -5
- package/dist/docs/mcp/01-overview.md +2 -2
- package/dist/docs/observability/01-overview.md +1 -1
- package/dist/docs/observability/03-overview.md +3 -3
- package/dist/docs/rag/01-overview.md +1 -1
- package/dist/docs/tools-mcp/01-mcp-overview.md +2 -2
- package/dist/docs/voice/01-overview.md +1 -1
- package/dist/docs/workflows/01-overview.md +5 -5
- package/dist/docs/workspace/01-overview.md +32 -29
- package/dist/docs/workspace/02-filesystem.md +13 -0
- package/dist/docs/workspace/03-sandbox.md +11 -4
- package/dist/docs/workspace/05-search.md +1 -1
- package/dist/docs/workspace/06-reference.md +304 -12
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +9 -9
- package/dist/llm/index.js +2 -2
- package/dist/llm/model/provider-types.generated.d.ts +7 -2
- package/dist/loop/index.cjs +12 -12
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +3 -3
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +11 -11
- package/dist/memory/index.js +1 -1
- package/dist/processors/index.cjs +40 -40
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-B3CGX3OF.js +3 -0
- package/dist/{provider-registry-4RA5NQGH.js.map → provider-registry-B3CGX3OF.js.map} +1 -1
- package/dist/provider-registry-CHV3DFFA.cjs +40 -0
- package/dist/{provider-registry-63ZEAPKK.cjs.map → provider-registry-CHV3DFFA.cjs.map} +1 -1
- package/dist/provider-registry.json +18 -8
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +16 -16
- package/dist/storage/constants.d.ts.map +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/agents/base.d.ts +17 -23
- package/dist/storage/domains/agents/base.d.ts.map +1 -1
- package/dist/storage/domains/agents/inmemory.d.ts +1 -1
- package/dist/storage/domains/agents/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +101 -101
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.ts +53 -37
- package/dist/storage/types.d.ts.map +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/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/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workspace/index.cjs +32 -32
- package/dist/workspace/index.d.ts +1 -1
- package/dist/workspace/index.d.ts.map +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/skills/schemas.d.ts +17 -47
- package/dist/workspace/skills/schemas.d.ts.map +1 -1
- package/dist/workspace/skills/skill-source.d.ts +1 -13
- package/dist/workspace/skills/skill-source.d.ts.map +1 -1
- package/dist/workspace/skills/types.d.ts +9 -74
- package/dist/workspace/skills/types.d.ts.map +1 -1
- package/dist/workspace/skills/workspace-skills.d.ts +2 -19
- package/dist/workspace/skills/workspace-skills.d.ts.map +1 -1
- package/dist/workspace/workspace.d.ts +0 -12
- package/dist/workspace/workspace.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +7 -2
- package/dist/chunk-5VWOGZLE.js.map +0 -1
- package/dist/chunk-ACEGVEZF.js.map +0 -1
- package/dist/chunk-ETSBNSRY.cjs.map +0 -1
- package/dist/chunk-N2FELMHU.cjs.map +0 -1
- package/dist/chunk-QGVPEZ5T.js.map +0 -1
- package/dist/chunk-REH5FX2O.js.map +0 -1
- package/dist/chunk-RFTFSXJY.cjs.map +0 -1
- package/dist/chunk-TV4DA7RI.cjs.map +0 -1
- package/dist/chunk-WBJMSOYD.cjs.map +0 -1
- package/dist/chunk-YETWOFQL.js.map +0 -1
- package/dist/chunk-ZZCLGEMJ.js.map +0 -1
- package/dist/provider-registry-4RA5NQGH.js +0 -3
- package/dist/provider-registry-63ZEAPKK.cjs +0 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDOVI2C5F_cjs = require('./chunk-DOVI2C5F.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMGOFRL36_cjs = require('./chunk-MGOFRL36.cjs');
|
|
5
5
|
var chunkENLG644T_cjs = require('./chunk-ENLG644T.cjs');
|
|
6
6
|
var chunk4NGQR4ML_cjs = require('./chunk-4NGQR4ML.cjs');
|
|
7
7
|
var chunkKNPIRLQQ_cjs = require('./chunk-KNPIRLQQ.cjs');
|
|
@@ -4613,7 +4613,7 @@ function isLanguageModelV3(model) {
|
|
|
4613
4613
|
return model.specificationVersion === "v3";
|
|
4614
4614
|
}
|
|
4615
4615
|
function getStaticProvidersByGateway(name) {
|
|
4616
|
-
return Object.fromEntries(Object.entries(
|
|
4616
|
+
return Object.fromEntries(Object.entries(chunkMGOFRL36_cjs.PROVIDER_REGISTRY).filter(([_provider, config]) => config.gateway === name));
|
|
4617
4617
|
}
|
|
4618
4618
|
var defaultGateways = [new chunkDOVI2C5F_cjs.NetlifyGateway(), new chunkENLG644T_cjs.ModelsDevGateway(getStaticProvidersByGateway(`models.dev`))];
|
|
4619
4619
|
var ModelRouterLanguageModel = class _ModelRouterLanguageModel {
|
|
@@ -4899,7 +4899,7 @@ var ModelRouterEmbeddingModel = class {
|
|
|
4899
4899
|
headers: normalizedConfig.headers
|
|
4900
4900
|
}).textEmbeddingModel(normalizedConfig.modelId);
|
|
4901
4901
|
} else {
|
|
4902
|
-
const registry =
|
|
4902
|
+
const registry = chunkMGOFRL36_cjs.GatewayRegistry.getInstance();
|
|
4903
4903
|
const providerConfig = registry.getProviderConfig(normalizedConfig.providerId);
|
|
4904
4904
|
if (!providerConfig) {
|
|
4905
4905
|
throw new Error(`Unknown provider: ${normalizedConfig.providerId}`);
|
|
@@ -4955,5 +4955,5 @@ exports.AzureOpenAIGateway = AzureOpenAIGateway;
|
|
|
4955
4955
|
exports.ModelRouterEmbeddingModel = ModelRouterEmbeddingModel;
|
|
4956
4956
|
exports.ModelRouterLanguageModel = ModelRouterLanguageModel;
|
|
4957
4957
|
exports.resolveModelConfig = resolveModelConfig;
|
|
4958
|
-
//# sourceMappingURL=chunk-
|
|
4959
|
-
//# sourceMappingURL=chunk-
|
|
4958
|
+
//# sourceMappingURL=chunk-4QJBNJI4.cjs.map
|
|
4959
|
+
//# sourceMappingURL=chunk-4QJBNJI4.cjs.map
|