@mastra/core 1.24.1-alpha.1 → 1.24.1
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 +8 -0
- package/dist/agent/index.cjs +8 -8
- 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-IIKJ5JCQ.cjs → chunk-26ZXSSBE.cjs} +3 -3
- package/dist/chunk-26ZXSSBE.cjs.map +1 -0
- package/dist/{chunk-ABEBCXBS.js → chunk-3GZBQLYX.js} +3 -3
- package/dist/{chunk-ABEBCXBS.js.map → chunk-3GZBQLYX.js.map} +1 -1
- package/dist/{chunk-OFDFDY4Z.js → chunk-4RGVQ5CO.js} +3 -3
- package/dist/{chunk-OFDFDY4Z.js.map → chunk-4RGVQ5CO.js.map} +1 -1
- package/dist/{chunk-5SVDDL2G.js → chunk-4TUIZXRS.js} +3 -3
- package/dist/{chunk-5SVDDL2G.js.map → chunk-4TUIZXRS.js.map} +1 -1
- package/dist/{chunk-UHYAP2CY.cjs → chunk-53O3B7YA.cjs} +5 -5
- package/dist/{chunk-UHYAP2CY.cjs.map → chunk-53O3B7YA.cjs.map} +1 -1
- package/dist/{chunk-UO7YAJUZ.cjs → chunk-5POWUC5M.cjs} +77 -77
- package/dist/{chunk-UO7YAJUZ.cjs.map → chunk-5POWUC5M.cjs.map} +1 -1
- package/dist/{chunk-PZM6K6FM.cjs → chunk-F3QBBJBD.cjs} +9 -9
- package/dist/{chunk-PZM6K6FM.cjs.map → chunk-F3QBBJBD.cjs.map} +1 -1
- package/dist/{chunk-AX4KVIF5.js → chunk-GYRJZMNH.js} +3 -3
- package/dist/chunk-GYRJZMNH.js.map +1 -0
- package/dist/{chunk-ZOAOX42T.js → chunk-HCFZEQOD.js} +16 -10
- package/dist/chunk-HCFZEQOD.js.map +1 -0
- package/dist/{chunk-M4SXMLXQ.cjs → chunk-IQH7JT26.cjs} +48 -48
- package/dist/{chunk-M4SXMLXQ.cjs.map → chunk-IQH7JT26.cjs.map} +1 -1
- package/dist/{chunk-LWVE3M3O.js → chunk-KYMJARXA.js} +9 -9
- package/dist/{chunk-LWVE3M3O.js.map → chunk-KYMJARXA.js.map} +1 -1
- package/dist/{chunk-CWGTLGSP.cjs → chunk-LILBXY3Z.cjs} +17 -17
- package/dist/{chunk-CWGTLGSP.cjs.map → chunk-LILBXY3Z.cjs.map} +1 -1
- package/dist/{chunk-VU6HRJVR.js → chunk-PI6G5HKZ.js} +4 -4
- package/dist/{chunk-VU6HRJVR.js.map → chunk-PI6G5HKZ.js.map} +1 -1
- package/dist/{chunk-ME233XCK.js → chunk-PVBMRGDA.js} +3 -3
- package/dist/{chunk-ME233XCK.js.map → chunk-PVBMRGDA.js.map} +1 -1
- package/dist/{chunk-47CEV52O.js → chunk-QWTELAMT.js} +6 -6
- package/dist/{chunk-47CEV52O.js.map → chunk-QWTELAMT.js.map} +1 -1
- package/dist/{chunk-NLXCE3DZ.cjs → chunk-RFARTLSL.cjs} +185 -185
- package/dist/{chunk-NLXCE3DZ.cjs.map → chunk-RFARTLSL.cjs.map} +1 -1
- package/dist/{chunk-35VW6IXX.js → chunk-RJXIBFWM.js} +3 -3
- package/dist/{chunk-35VW6IXX.js.map → chunk-RJXIBFWM.js.map} +1 -1
- package/dist/{chunk-4MTDYIII.cjs → chunk-TSAH7BD4.cjs} +28 -22
- package/dist/chunk-TSAH7BD4.cjs.map +1 -0
- package/dist/{chunk-PPO7XBMN.cjs → chunk-TSSVO2DE.cjs} +6 -6
- package/dist/{chunk-PPO7XBMN.cjs.map → chunk-TSSVO2DE.cjs.map} +1 -1
- package/dist/{chunk-7RO64H5E.js → chunk-WGOLVEGM.js} +4 -4
- package/dist/{chunk-7RO64H5E.js.map → chunk-WGOLVEGM.js.map} +1 -1
- package/dist/{chunk-PYASEKXX.cjs → chunk-ZMGEKD6A.cjs} +7 -7
- package/dist/{chunk-PYASEKXX.cjs.map → chunk-ZMGEKD6A.cjs.map} +1 -1
- package/dist/{chunk-NPYKTS7A.cjs → chunk-ZYCSOEMD.cjs} +13 -13
- package/dist/{chunk-NPYKTS7A.cjs.map → chunk-ZYCSOEMD.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 +133 -133
- 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 +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +3 -0
- 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-F5NHIZT4.js +3 -0
- package/dist/{mastra-YHTRM6PO.js.map → mastra-F5NHIZT4.js.map} +1 -1
- package/dist/mastra-UZMVHX5W.cjs +12 -0
- package/dist/{mastra-OH6I32WA.cjs.map → mastra-UZMVHX5W.cjs.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-6G5YAXMB.js +3 -0
- package/dist/{models-dev-AK3PM7JN.js.map → models-dev-6G5YAXMB.js.map} +1 -1
- package/dist/models-dev-VFHWG4YA.cjs +12 -0
- package/dist/{models-dev-EG6RENUZ.cjs.map → models-dev-VFHWG4YA.cjs.map} +1 -1
- package/dist/netlify-MGGY5TEN.cjs +12 -0
- package/dist/{netlify-YRTIOZZA.cjs.map → netlify-MGGY5TEN.cjs.map} +1 -1
- package/dist/netlify-U7FEFJEC.js +3 -0
- package/dist/{netlify-UT6JYWWM.js.map → netlify-U7FEFJEC.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 +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-7SHON2PJ.cjs +44 -0
- package/dist/{provider-registry-W3UHSSXG.cjs.map → provider-registry-7SHON2PJ.cjs.map} +1 -1
- package/dist/provider-registry-YLBLTJRK.js +3 -0
- package/dist/{provider-registry-LIYLQVA7.js.map → provider-registry-YLBLTJRK.js.map} +1 -1
- package/dist/provider-registry.json +8 -2
- 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 +9 -9
- package/src/llm/model/provider-types.generated.d.ts +3 -0
- package/dist/chunk-4MTDYIII.cjs.map +0 -1
- package/dist/chunk-AX4KVIF5.js.map +0 -1
- package/dist/chunk-IIKJ5JCQ.cjs.map +0 -1
- package/dist/chunk-ZOAOX42T.js.map +0 -1
- package/dist/mastra-OH6I32WA.cjs +0 -12
- package/dist/mastra-YHTRM6PO.js +0 -3
- package/dist/models-dev-AK3PM7JN.js +0 -3
- package/dist/models-dev-EG6RENUZ.cjs +0 -12
- package/dist/netlify-UT6JYWWM.js +0 -3
- package/dist/netlify-YRTIOZZA.cjs +0 -12
- package/dist/provider-registry-LIYLQVA7.js +0 -3
- package/dist/provider-registry-W3UHSSXG.cjs +0 -44
package/dist/evals/index.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk53O3B7YA_cjs = require('../chunk-53O3B7YA.cjs');
|
|
4
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
5
5
|
var chunkP5C4HEAB_cjs = require('../chunk-P5C4HEAB.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "runEvals", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk53O3B7YA_cjs.runEvals; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "MastraScorer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkZYCSOEMD_cjs.MastraScorer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createScorer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkZYCSOEMD_cjs.createScorer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "extractTrajectory", {
|
|
22
22
|
enumerable: true,
|
package/dist/evals/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { runEvals } from '../chunk-
|
|
2
|
-
export { MastraScorer, createScorer } from '../chunk-
|
|
1
|
+
export { runEvals } from '../chunk-3GZBQLYX.js';
|
|
2
|
+
export { MastraScorer, createScorer } from '../chunk-4TUIZXRS.js';
|
|
3
3
|
export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-Y4SL4WJQ.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIQH7JT26_cjs = require('../../chunk-IQH7JT26.cjs');
|
|
4
4
|
var chunkP5C4HEAB_cjs = require('../../chunk-P5C4HEAB.cjs');
|
|
5
5
|
var chunkQFGYBEP3_cjs = require('../../chunk-QFGYBEP3.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/evals/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunkIQH7JT26_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: v4.z.object({
|
|
240
240
|
targets: v4.z.array(
|
|
@@ -429,7 +429,7 @@ async function attachScoreToSpan({
|
|
|
429
429
|
} catch {
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
var scoreTracesWorkflow =
|
|
432
|
+
var scoreTracesWorkflow = chunkIQH7JT26_cjs.createWorkflow({
|
|
433
433
|
id: "__batch-scoring-traces",
|
|
434
434
|
inputSchema: v4.z.object({
|
|
435
435
|
targets: v4.z.array(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-4RGVQ5CO.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-Y4SL4WJQ.js';
|
|
3
3
|
import { getEntityTypeForSpan } from '../../chunk-E7PBOS66.js';
|
|
4
4
|
import { MastraError } from '../../chunk-FJEVLHJT.js';
|
package/dist/harness/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkLILBXY3Z_cjs = require('../chunk-LILBXY3Z.cjs');
|
|
4
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
5
5
|
var chunkRNJ2FXGD_cjs = require('../chunk-RNJ2FXGD.cjs');
|
|
6
6
|
var chunkXS3FHQ34_cjs = require('../chunk-XS3FHQ34.cjs');
|
|
7
7
|
var chunkLDLHW3QN_cjs = require('../chunk-LDLHW3QN.cjs');
|
|
@@ -313,7 +313,7 @@ Use this tool when:
|
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
315
|
const workspace = context?.workspace;
|
|
316
|
-
const subagent = new
|
|
316
|
+
const subagent = new chunkZYCSOEMD_cjs.Agent({
|
|
317
317
|
id: `subagent-${definition.id}`,
|
|
318
318
|
name: `${definition.name} Subagent`,
|
|
319
319
|
instructions: definition.instructions,
|
|
@@ -581,7 +581,7 @@ var Harness = class {
|
|
|
581
581
|
*/
|
|
582
582
|
async init() {
|
|
583
583
|
if (this.config.storage) {
|
|
584
|
-
this.#internalMastra = new
|
|
584
|
+
this.#internalMastra = new chunkLILBXY3Z_cjs.Mastra({ logger: false, storage: this.config.storage });
|
|
585
585
|
await this.#internalMastra.getStorage().init();
|
|
586
586
|
}
|
|
587
587
|
if (this.config.workspace && !this.workspaceInitialized && !this.workspaceFn) {
|
|
@@ -837,7 +837,7 @@ var Harness = class {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
try {
|
|
840
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
840
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-7SHON2PJ.cjs');
|
|
841
841
|
const registry = PROVIDER_REGISTRY;
|
|
842
842
|
const providerConfig = registry[provider];
|
|
843
843
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -857,7 +857,7 @@ var Harness = class {
|
|
|
857
857
|
*/
|
|
858
858
|
async listAvailableModels() {
|
|
859
859
|
try {
|
|
860
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
860
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-7SHON2PJ.cjs');
|
|
861
861
|
if (!PROVIDER_REGISTRY) return [];
|
|
862
862
|
const registry = PROVIDER_REGISTRY;
|
|
863
863
|
const providers = Object.keys(registry);
|
|
@@ -916,7 +916,7 @@ var Harness = class {
|
|
|
916
916
|
}
|
|
917
917
|
async getProviderApiKeyEnvVar(provider) {
|
|
918
918
|
try {
|
|
919
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
919
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-7SHON2PJ.cjs');
|
|
920
920
|
const registry = PROVIDER_REGISTRY;
|
|
921
921
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
922
922
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/harness/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mastra } from '../chunk-
|
|
2
|
-
import { Agent } from '../chunk-
|
|
1
|
+
import { Mastra } from '../chunk-KYMJARXA.js';
|
|
2
|
+
import { Agent } from '../chunk-4TUIZXRS.js';
|
|
3
3
|
import { Workspace, createWorkspaceTools } from '../chunk-TD7IL7ZC.js';
|
|
4
4
|
import { safeStringify } from '../chunk-234T424F.js';
|
|
5
5
|
import { createTool } from '../chunk-JTIQYXE2.js';
|
|
@@ -835,7 +835,7 @@ var Harness = class {
|
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
try {
|
|
838
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
838
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-YLBLTJRK.js');
|
|
839
839
|
const registry = PROVIDER_REGISTRY;
|
|
840
840
|
const providerConfig = registry[provider];
|
|
841
841
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -855,7 +855,7 @@ var Harness = class {
|
|
|
855
855
|
*/
|
|
856
856
|
async listAvailableModels() {
|
|
857
857
|
try {
|
|
858
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
858
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-YLBLTJRK.js');
|
|
859
859
|
if (!PROVIDER_REGISTRY) return [];
|
|
860
860
|
const registry = PROVIDER_REGISTRY;
|
|
861
861
|
const providers = Object.keys(registry);
|
|
@@ -914,7 +914,7 @@ var Harness = class {
|
|
|
914
914
|
}
|
|
915
915
|
async getProviderApiKeyEnvVar(provider) {
|
|
916
916
|
try {
|
|
917
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
917
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-YLBLTJRK.js');
|
|
918
918
|
const registry = PROVIDER_REGISTRY;
|
|
919
919
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
920
920
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLILBXY3Z_cjs = require('./chunk-LILBXY3Z.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLILBXY3Z_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/dist/llm/index.cjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunk5POWUC5M_cjs = require('../chunk-5POWUC5M.cjs');
|
|
4
|
+
var chunkTSAH7BD4_cjs = require('../chunk-TSAH7BD4.cjs');
|
|
5
|
+
var chunkRFARTLSL_cjs = require('../chunk-RFARTLSL.cjs');
|
|
6
|
+
var chunkF3QBBJBD_cjs = require('../chunk-F3QBBJBD.cjs');
|
|
7
|
+
var chunk26ZXSSBE_cjs = require('../chunk-26ZXSSBE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AzureOpenAIGateway", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk5POWUC5M_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk5POWUC5M_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk5POWUC5M_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk5POWUC5M_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "defaultGateways", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk5POWUC5M_cjs.defaultGateways; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk5POWUC5M_cjs.resolveModelConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GatewayRegistry", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTSAH7BD4_cjs.GatewayRegistry; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTSAH7BD4_cjs.MastraGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTSAH7BD4_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTSAH7BD4_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTSAH7BD4_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRFARTLSL_cjs.ModelsDevGateway; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkF3QBBJBD_cjs.NetlifyGateway; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "GATEWAY_AUTH_HEADER", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk26ZXSSBE_cjs.GATEWAY_AUTH_HEADER; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk26ZXSSBE_cjs.MastraModelGateway; }
|
|
70
70
|
});
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
72
72
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
3
|
-
export { ModelsDevGateway } from '../chunk-
|
|
4
|
-
export { NetlifyGateway } from '../chunk-
|
|
5
|
-
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-
|
|
1
|
+
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-QWTELAMT.js';
|
|
2
|
+
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-HCFZEQOD.js';
|
|
3
|
+
export { ModelsDevGateway } from '../chunk-RJXIBFWM.js';
|
|
4
|
+
export { NetlifyGateway } from '../chunk-PVBMRGDA.js';
|
|
5
|
+
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-GYRJZMNH.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -18,6 +18,7 @@ export type ProviderModelsMap = {
|
|
|
18
18
|
'gemma3:12b',
|
|
19
19
|
'gemma3:27b',
|
|
20
20
|
'gemma3:4b',
|
|
21
|
+
'gemma4:31b',
|
|
21
22
|
'glm-4.6',
|
|
22
23
|
'glm-4.7',
|
|
23
24
|
'glm-5',
|
|
@@ -2425,10 +2426,12 @@ export type ProviderModelsMap = {
|
|
|
2425
2426
|
'hf:moonshotai/Kimi-K2-Thinking',
|
|
2426
2427
|
'hf:moonshotai/Kimi-K2.5',
|
|
2427
2428
|
'hf:nvidia/Kimi-K2.5-NVFP4',
|
|
2429
|
+
'hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4',
|
|
2428
2430
|
'hf:openai/gpt-oss-120b',
|
|
2429
2431
|
'hf:zai-org/GLM-4.6',
|
|
2430
2432
|
'hf:zai-org/GLM-4.7',
|
|
2431
2433
|
'hf:zai-org/GLM-4.7-Flash',
|
|
2434
|
+
'hf:zai-org/GLM-5',
|
|
2432
2435
|
];
|
|
2433
2436
|
readonly llmgateway: readonly [
|
|
2434
2437
|
'auto',
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZYCSOEMD_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZYCSOEMD_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZYCSOEMD_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZYCSOEMD_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZYCSOEMD_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZYCSOEMD_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZYCSOEMD_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZYCSOEMD_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZYCSOEMD_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZYCSOEMD_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZYCSOEMD_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZYCSOEMD_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZYCSOEMD_cjs.runValidation; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-
|
|
1
|
+
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-4TUIZXRS.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLILBXY3Z_cjs = require('../chunk-LILBXY3Z.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLILBXY3Z_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-F5NHIZT4.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTSAH7BD4_cjs = require('./chunk-TSAH7BD4.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "MastraGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTSAH7BD4_cjs.MastraGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=mastra-UZMVHX5W.cjs.map
|
|
12
|
+
//# sourceMappingURL=mastra-UZMVHX5W.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-UZMVHX5W.cjs"}
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZYCSOEMD_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZYCSOEMD_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MockMemory", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZYCSOEMD_cjs.MockMemory; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SYSTEM_REMINDER_END_TAG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZYCSOEMD_cjs.SYSTEM_REMINDER_END_TAG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SYSTEM_REMINDER_START_TAG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZYCSOEMD_cjs.SYSTEM_REMINDER_START_TAG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "WORKING_MEMORY_END_TAG", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZYCSOEMD_cjs.WORKING_MEMORY_END_TAG; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "WORKING_MEMORY_START_TAG", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZYCSOEMD_cjs.WORKING_MEMORY_START_TAG; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "extractWorkingMemoryContent", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZYCSOEMD_cjs.extractWorkingMemoryContent; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZYCSOEMD_cjs.extractWorkingMemoryTags; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "filterSystemReminderMessages", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZYCSOEMD_cjs.filterSystemReminderMessages; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getThreadOMMetadata", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZYCSOEMD_cjs.getThreadOMMetadata; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isObservationalMemoryEnabled", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZYCSOEMD_cjs.isObservationalMemoryEnabled; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isSystemReminderMessage", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZYCSOEMD_cjs.isSystemReminderMessage; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkZYCSOEMD_cjs.memoryDefaultOptions; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "parseMemoryRequestContext", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkZYCSOEMD_cjs.parseMemoryRequestContext; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "removeSystemReminderTags", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkZYCSOEMD_cjs.removeSystemReminderTags; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkZYCSOEMD_cjs.removeWorkingMemoryTags; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "setThreadOMMetadata", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkZYCSOEMD_cjs.setThreadOMMetadata; }
|
|
78
78
|
});
|
|
79
79
|
//# sourceMappingURL=index.cjs.map
|
|
80
80
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, MockMemory, SYSTEM_REMINDER_END_TAG, SYSTEM_REMINDER_START_TAG, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, filterSystemReminderMessages, getThreadOMMetadata, isObservationalMemoryEnabled, isSystemReminderMessage, memoryDefaultOptions, parseMemoryRequestContext, removeSystemReminderTags, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, MockMemory, SYSTEM_REMINDER_END_TAG, SYSTEM_REMINDER_START_TAG, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, filterSystemReminderMessages, getThreadOMMetadata, isObservationalMemoryEnabled, isSystemReminderMessage, memoryDefaultOptions, parseMemoryRequestContext, removeSystemReminderTags, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-4TUIZXRS.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-6G5YAXMB.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkRFARTLSL_cjs = require('./chunk-RFARTLSL.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkRFARTLSL_cjs.ModelsDevGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=models-dev-VFHWG4YA.cjs.map
|
|
12
|
+
//# sourceMappingURL=models-dev-VFHWG4YA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-VFHWG4YA.cjs"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkF3QBBJBD_cjs = require('./chunk-F3QBBJBD.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "NetlifyGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkF3QBBJBD_cjs.NetlifyGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=netlify-MGGY5TEN.cjs.map
|
|
12
|
+
//# sourceMappingURL=netlify-MGGY5TEN.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-MGGY5TEN.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-U7FEFJEC.js"}
|