@mastra/core 1.26.0-alpha.12 → 1.26.0-alpha.13
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 +2 -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-QRGHKCIG.js → chunk-24FTWXDR.js} +3 -3
- package/dist/{chunk-QRGHKCIG.js.map → chunk-24FTWXDR.js.map} +1 -1
- package/dist/{chunk-W7KMJBO2.cjs → chunk-2NQ2TF5F.cjs} +12 -12
- package/dist/{chunk-W7KMJBO2.cjs.map → chunk-2NQ2TF5F.cjs.map} +1 -1
- package/dist/{chunk-IPSDBZHB.cjs → chunk-34M2QMAZ.cjs} +292 -292
- package/dist/{chunk-IPSDBZHB.cjs.map → chunk-34M2QMAZ.cjs.map} +1 -1
- package/dist/{chunk-2E6D5DQ5.js → chunk-37OQ7B3U.js} +3 -3
- package/dist/{chunk-2E6D5DQ5.js.map → chunk-37OQ7B3U.js.map} +1 -1
- package/dist/{chunk-WUWY4NUR.cjs → chunk-4MLJKGJI.cjs} +22 -20
- package/dist/chunk-4MLJKGJI.cjs.map +1 -0
- package/dist/{chunk-BE3VZ4TY.cjs → chunk-7IMHDDED.cjs} +57 -57
- package/dist/{chunk-BE3VZ4TY.cjs.map → chunk-7IMHDDED.cjs.map} +1 -1
- package/dist/{chunk-PB3JPQ7B.js → chunk-DHKEEJPE.js} +3 -3
- package/dist/{chunk-PB3JPQ7B.js.map → chunk-DHKEEJPE.js.map} +1 -1
- package/dist/{chunk-NTLWGWDT.js → chunk-DLDGEMBE.js} +3 -3
- package/dist/{chunk-NTLWGWDT.js.map → chunk-DLDGEMBE.js.map} +1 -1
- package/dist/{chunk-N63HAAVB.cjs → chunk-ER7WPKHP.cjs} +7 -7
- package/dist/{chunk-N63HAAVB.cjs.map → chunk-ER7WPKHP.cjs.map} +1 -1
- package/dist/{chunk-X22POPDU.js → chunk-FE3JBPGZ.js} +9 -9
- package/dist/{chunk-X22POPDU.js.map → chunk-FE3JBPGZ.js.map} +1 -1
- package/dist/{chunk-7K6DJUAN.js → chunk-GDUBYVBH.js} +4 -4
- package/dist/{chunk-7K6DJUAN.js.map → chunk-GDUBYVBH.js.map} +1 -1
- package/dist/{chunk-SUQSRI7N.cjs → chunk-GSJT6X23.cjs} +6 -6
- package/dist/{chunk-SUQSRI7N.cjs.map → chunk-GSJT6X23.cjs.map} +1 -1
- package/dist/{chunk-LUBVBTV4.cjs → chunk-KEXLOZNA.cjs} +17 -17
- package/dist/{chunk-LUBVBTV4.cjs.map → chunk-KEXLOZNA.cjs.map} +1 -1
- package/dist/{chunk-E7XQRCBI.js → chunk-NTGYHDWA.js} +10 -8
- package/dist/chunk-NTGYHDWA.js.map +1 -0
- package/dist/{chunk-SMOA623A.js → chunk-SQAGQFGX.js} +3 -3
- package/dist/{chunk-SMOA623A.js.map → chunk-SQAGQFGX.js.map} +1 -1
- package/dist/{chunk-4M66KVRT.js → chunk-T5WE2PEP.js} +6 -6
- package/dist/{chunk-4M66KVRT.js.map → chunk-T5WE2PEP.js.map} +1 -1
- package/dist/{chunk-YXGUPFLQ.cjs → chunk-TITDW65H.cjs} +9 -9
- package/dist/{chunk-YXGUPFLQ.cjs.map → chunk-TITDW65H.cjs.map} +1 -1
- package/dist/{chunk-QKGC723H.cjs → chunk-WBZ5SRGR.cjs} +3 -3
- package/dist/{chunk-QKGC723H.cjs.map → chunk-WBZ5SRGR.cjs.map} +1 -1
- package/dist/{chunk-V2EI5DBA.cjs → chunk-WDJZB44P.cjs} +224 -224
- package/dist/{chunk-V2EI5DBA.cjs.map → chunk-WDJZB44P.cjs.map} +1 -1
- package/dist/{chunk-JD7WSJTA.js → chunk-WSVLXQT6.js} +4 -4
- package/dist/{chunk-JD7WSJTA.js.map → chunk-WSVLXQT6.js.map} +1 -1
- package/dist/{chunk-GP7MJGMS.js → chunk-WYPOS74A.js} +3 -3
- package/dist/{chunk-GP7MJGMS.js.map → chunk-WYPOS74A.js.map} +1 -1
- package/dist/{chunk-J4G423VO.cjs → chunk-YQ5QJC3S.cjs} +5 -5
- package/dist/{chunk-J4G423VO.cjs.map → chunk-YQ5QJC3S.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 +134 -134
- 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 +1 -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-47JQIPP2.cjs +12 -0
- package/dist/{mastra-GAT6GCQK.cjs.map → mastra-47JQIPP2.cjs.map} +1 -1
- package/dist/mastra-MEZUGGZZ.js +3 -0
- package/dist/{mastra-MYONAFWU.js.map → mastra-MEZUGGZZ.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-BUQGQZCQ.js +3 -0
- package/dist/{models-dev-D7X3KQB6.js.map → models-dev-BUQGQZCQ.js.map} +1 -1
- package/dist/models-dev-INA3VBAK.cjs +12 -0
- package/dist/{models-dev-E4OIS4CB.cjs.map → models-dev-INA3VBAK.cjs.map} +1 -1
- package/dist/netlify-BW7IYASM.cjs +12 -0
- package/dist/{netlify-KZCZ3W3P.cjs.map → netlify-BW7IYASM.cjs.map} +1 -1
- package/dist/netlify-EQPVEYNW.js +3 -0
- package/dist/{netlify-PIYWGUPG.js.map → netlify-EQPVEYNW.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 +45 -45
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-4FV6CXQI.cjs +44 -0
- package/dist/{provider-registry-7DRCW3PP.cjs.map → provider-registry-4FV6CXQI.cjs.map} +1 -1
- package/dist/provider-registry-EAKPPU44.js +3 -0
- package/dist/{provider-registry-4PDBM3Q4.js.map → provider-registry-EAKPPU44.js.map} +1 -1
- package/dist/provider-registry.json +2 -0
- 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 +4 -4
- package/src/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/chunk-E7XQRCBI.js.map +0 -1
- package/dist/chunk-WUWY4NUR.cjs.map +0 -1
- package/dist/mastra-GAT6GCQK.cjs +0 -12
- package/dist/mastra-MYONAFWU.js +0 -3
- package/dist/models-dev-D7X3KQB6.js +0 -3
- package/dist/models-dev-E4OIS4CB.cjs +0 -12
- package/dist/netlify-KZCZ3W3P.cjs +0 -12
- package/dist/netlify-PIYWGUPG.js +0 -3
- package/dist/provider-registry-4PDBM3Q4.js +0 -3
- package/dist/provider-registry-7DRCW3PP.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 chunkYQ5QJC3S_cjs = require('../chunk-YQ5QJC3S.cjs');
|
|
4
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
|
|
5
5
|
var chunkSBWFQ2CA_cjs = require('../chunk-SBWFQ2CA.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 chunkYQ5QJC3S_cjs.runEvals; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "MastraScorer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2NQ2TF5F_cjs.MastraScorer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createScorer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2NQ2TF5F_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-SQAGQFGX.js';
|
|
2
|
+
export { MastraScorer, createScorer } from '../chunk-DLDGEMBE.js';
|
|
3
3
|
export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-XV2GQXYR.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 chunk7IMHDDED_cjs = require('../../chunk-7IMHDDED.cjs');
|
|
4
4
|
var chunkSBWFQ2CA_cjs = require('../../chunk-SBWFQ2CA.cjs');
|
|
5
5
|
var chunk2NAHFM32_cjs = require('../../chunk-2NAHFM32.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 = chunk7IMHDDED_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 = chunk7IMHDDED_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-WYPOS74A.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-XV2GQXYR.js';
|
|
3
3
|
import { getEntityTypeForSpan } from '../../chunk-YK76RFQG.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 chunkKEXLOZNA_cjs = require('../chunk-KEXLOZNA.cjs');
|
|
4
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
|
|
5
5
|
var chunkZ6FOLOPB_cjs = require('../chunk-Z6FOLOPB.cjs');
|
|
6
6
|
var chunk6ZYEOOKL_cjs = require('../chunk-6ZYEOOKL.cjs');
|
|
7
7
|
var chunkU7Z7GCXY_cjs = require('../chunk-U7Z7GCXY.cjs');
|
|
@@ -327,7 +327,7 @@ Use this tool when:
|
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
329
|
const workspace = context?.workspace;
|
|
330
|
-
const subagent = new
|
|
330
|
+
const subagent = new chunk2NQ2TF5F_cjs.Agent({
|
|
331
331
|
id: `subagent-${definition.id}`,
|
|
332
332
|
name: `${definition.name} Subagent`,
|
|
333
333
|
instructions: definition.instructions,
|
|
@@ -596,7 +596,7 @@ var Harness = class {
|
|
|
596
596
|
*/
|
|
597
597
|
async init() {
|
|
598
598
|
if (this.config.storage) {
|
|
599
|
-
this.#internalMastra = new
|
|
599
|
+
this.#internalMastra = new chunkKEXLOZNA_cjs.Mastra({ logger: false, storage: this.config.storage });
|
|
600
600
|
await this.#internalMastra.getStorage().init();
|
|
601
601
|
}
|
|
602
602
|
if (this.config.workspace && !this.workspaceInitialized && !this.workspaceFn) {
|
|
@@ -852,7 +852,7 @@ var Harness = class {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
try {
|
|
855
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
855
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-4FV6CXQI.cjs');
|
|
856
856
|
const registry = PROVIDER_REGISTRY;
|
|
857
857
|
const providerConfig = registry[provider];
|
|
858
858
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -872,7 +872,7 @@ var Harness = class {
|
|
|
872
872
|
*/
|
|
873
873
|
async listAvailableModels() {
|
|
874
874
|
try {
|
|
875
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
875
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-4FV6CXQI.cjs');
|
|
876
876
|
if (!PROVIDER_REGISTRY) return [];
|
|
877
877
|
const registry = PROVIDER_REGISTRY;
|
|
878
878
|
const providers = Object.keys(registry);
|
|
@@ -931,7 +931,7 @@ var Harness = class {
|
|
|
931
931
|
}
|
|
932
932
|
async getProviderApiKeyEnvVar(provider) {
|
|
933
933
|
try {
|
|
934
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
934
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-4FV6CXQI.cjs');
|
|
935
935
|
const registry = PROVIDER_REGISTRY;
|
|
936
936
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
937
937
|
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-FE3JBPGZ.js';
|
|
2
|
+
import { Agent } from '../chunk-DLDGEMBE.js';
|
|
3
3
|
import { Workspace, createWorkspaceTools } from '../chunk-FXB2G22E.js';
|
|
4
4
|
import { safeStringify } from '../chunk-XYWVTGZY.js';
|
|
5
5
|
import { createTool } from '../chunk-O3JJ5ZPY.js';
|
|
@@ -850,7 +850,7 @@ var Harness = class {
|
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
try {
|
|
853
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
853
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-EAKPPU44.js');
|
|
854
854
|
const registry = PROVIDER_REGISTRY;
|
|
855
855
|
const providerConfig = registry[provider];
|
|
856
856
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -870,7 +870,7 @@ var Harness = class {
|
|
|
870
870
|
*/
|
|
871
871
|
async listAvailableModels() {
|
|
872
872
|
try {
|
|
873
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
873
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-EAKPPU44.js');
|
|
874
874
|
if (!PROVIDER_REGISTRY) return [];
|
|
875
875
|
const registry = PROVIDER_REGISTRY;
|
|
876
876
|
const providers = Object.keys(registry);
|
|
@@ -929,7 +929,7 @@ var Harness = class {
|
|
|
929
929
|
}
|
|
930
930
|
async getProviderApiKeyEnvVar(provider) {
|
|
931
931
|
try {
|
|
932
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
932
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-EAKPPU44.js');
|
|
933
933
|
const registry = PROVIDER_REGISTRY;
|
|
934
934
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
935
935
|
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 chunkKEXLOZNA_cjs = require('./chunk-KEXLOZNA.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 chunkKEXLOZNA_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 chunk34M2QMAZ_cjs = require('../chunk-34M2QMAZ.cjs');
|
|
4
|
+
var chunk4MLJKGJI_cjs = require('../chunk-4MLJKGJI.cjs');
|
|
5
|
+
var chunkWDJZB44P_cjs = require('../chunk-WDJZB44P.cjs');
|
|
6
|
+
var chunkTITDW65H_cjs = require('../chunk-TITDW65H.cjs');
|
|
7
|
+
var chunkWBZ5SRGR_cjs = require('../chunk-WBZ5SRGR.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 chunk34M2QMAZ_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk34M2QMAZ_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk34M2QMAZ_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk34M2QMAZ_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "defaultGateways", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk34M2QMAZ_cjs.defaultGateways; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk34M2QMAZ_cjs.resolveModelConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GatewayRegistry", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk4MLJKGJI_cjs.GatewayRegistry; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk4MLJKGJI_cjs.MastraGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk4MLJKGJI_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk4MLJKGJI_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk4MLJKGJI_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkWDJZB44P_cjs.ModelsDevGateway; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkTITDW65H_cjs.NetlifyGateway; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "GATEWAY_AUTH_HEADER", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkWBZ5SRGR_cjs.GATEWAY_AUTH_HEADER; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkWBZ5SRGR_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-T5WE2PEP.js';
|
|
2
|
+
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-NTGYHDWA.js';
|
|
3
|
+
export { ModelsDevGateway } from '../chunk-DHKEEJPE.js';
|
|
4
|
+
export { NetlifyGateway } from '../chunk-37OQ7B3U.js';
|
|
5
|
+
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-24FTWXDR.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.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 chunk2NQ2TF5F_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk2NQ2TF5F_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2NQ2TF5F_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk2NQ2TF5F_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk2NQ2TF5F_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk2NQ2TF5F_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk2NQ2TF5F_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk2NQ2TF5F_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk2NQ2TF5F_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk2NQ2TF5F_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk2NQ2TF5F_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk2NQ2TF5F_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk2NQ2TF5F_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-DLDGEMBE.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 chunkKEXLOZNA_cjs = require('../chunk-KEXLOZNA.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 chunkKEXLOZNA_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4MLJKGJI_cjs = require('./chunk-4MLJKGJI.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "MastraGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk4MLJKGJI_cjs.MastraGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=mastra-47JQIPP2.cjs.map
|
|
12
|
+
//# sourceMappingURL=mastra-47JQIPP2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-47JQIPP2.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-MEZUGGZZ.js"}
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.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 chunk2NQ2TF5F_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk2NQ2TF5F_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MockMemory", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2NQ2TF5F_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 chunk2NQ2TF5F_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 chunk2NQ2TF5F_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 chunk2NQ2TF5F_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 chunk2NQ2TF5F_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 chunk2NQ2TF5F_cjs.extractWorkingMemoryContent; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk2NQ2TF5F_cjs.extractWorkingMemoryTags; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "filterSystemReminderMessages", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk2NQ2TF5F_cjs.filterSystemReminderMessages; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getThreadOMMetadata", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk2NQ2TF5F_cjs.getThreadOMMetadata; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isObservationalMemoryEnabled", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk2NQ2TF5F_cjs.isObservationalMemoryEnabled; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isSystemReminderMessage", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk2NQ2TF5F_cjs.isSystemReminderMessage; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk2NQ2TF5F_cjs.memoryDefaultOptions; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "parseMemoryRequestContext", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk2NQ2TF5F_cjs.parseMemoryRequestContext; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "removeSystemReminderTags", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk2NQ2TF5F_cjs.removeSystemReminderTags; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk2NQ2TF5F_cjs.removeWorkingMemoryTags; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "setThreadOMMetadata", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk2NQ2TF5F_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-DLDGEMBE.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-BUQGQZCQ.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWDJZB44P_cjs = require('./chunk-WDJZB44P.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkWDJZB44P_cjs.ModelsDevGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=models-dev-INA3VBAK.cjs.map
|
|
12
|
+
//# sourceMappingURL=models-dev-INA3VBAK.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-INA3VBAK.cjs"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTITDW65H_cjs = require('./chunk-TITDW65H.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "NetlifyGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTITDW65H_cjs.NetlifyGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=netlify-BW7IYASM.cjs.map
|
|
12
|
+
//# sourceMappingURL=netlify-BW7IYASM.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-BW7IYASM.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-EQPVEYNW.js"}
|