@mastra/core 0.17.0-alpha.4 → 0.17.0-alpha.5
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 +6 -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/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/{chunk-X3MOJJYH.cjs → chunk-3DHX2SDR.cjs} +7 -7
- package/dist/{chunk-X3MOJJYH.cjs.map → chunk-3DHX2SDR.cjs.map} +1 -1
- package/dist/{chunk-UWUM3F3X.js → chunk-666JQVO5.js} +4 -4
- package/dist/chunk-666JQVO5.js.map +1 -0
- package/dist/{chunk-6MDSS7WL.cjs → chunk-7UO6UWCO.cjs} +4 -4
- package/dist/{chunk-6MDSS7WL.cjs.map → chunk-7UO6UWCO.cjs.map} +1 -1
- package/dist/{chunk-TUXCO343.js → chunk-D43ZGJR3.js} +3 -3
- package/dist/{chunk-TUXCO343.js.map → chunk-D43ZGJR3.js.map} +1 -1
- package/dist/{chunk-BGAJ72HJ.cjs → chunk-EXG53YAJ.cjs} +4 -4
- package/dist/chunk-EXG53YAJ.cjs.map +1 -0
- package/dist/{chunk-BY37WSX5.js → chunk-IYN65QCO.js} +4 -4
- package/dist/{chunk-BY37WSX5.js.map → chunk-IYN65QCO.js.map} +1 -1
- package/dist/{chunk-XKVDOO2O.js → chunk-KYFRWMTX.js} +3 -3
- package/dist/{chunk-XKVDOO2O.js.map → chunk-KYFRWMTX.js.map} +1 -1
- package/dist/{chunk-4OT7CXAS.js → chunk-NRGXWM6C.js} +3 -3
- package/dist/{chunk-4OT7CXAS.js.map → chunk-NRGXWM6C.js.map} +1 -1
- package/dist/{chunk-HZGYVRVN.cjs → chunk-SZZPFXZ7.cjs} +7 -7
- package/dist/{chunk-HZGYVRVN.cjs.map → chunk-SZZPFXZ7.cjs.map} +1 -1
- package/dist/{chunk-F3XF7MEZ.cjs → chunk-VBBMXF7Z.cjs} +6 -6
- package/dist/{chunk-F3XF7MEZ.cjs.map → chunk-VBBMXF7Z.cjs.map} +1 -1
- package/dist/index.cjs +17 -17
- package/dist/index.js +4 -4
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.js +1 -1
- package/dist/network/vNext/index.cjs +27 -27
- package/dist/network/vNext/index.js +1 -1
- package/dist/processors/index.cjs +8 -8
- package/dist/processors/index.js +2 -2
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +8 -8
- package/dist/scores/index.js +1 -1
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/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 +10 -10
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BGAJ72HJ.cjs.map +0 -1
- package/dist/chunk-UWUM3F3X.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEXG53YAJ_cjs = require('../../chunk-EXG53YAJ.cjs');
|
|
4
4
|
var chunkABJOUEVA_cjs = require('../../chunk-ABJOUEVA.cjs');
|
|
5
5
|
var chunkMRZHPP3G_cjs = require('../../chunk-MRZHPP3G.cjs');
|
|
6
6
|
var chunkGPWMM745_cjs = require('../../chunk-GPWMM745.cjs');
|
|
@@ -212,7 +212,7 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
212
212
|
|
|
213
213
|
Keep in mind that the user only sees the final result of the task. When reviewing completion, you should know that the user will not see the intermediate results.
|
|
214
214
|
`;
|
|
215
|
-
return new
|
|
215
|
+
return new chunkEXG53YAJ_cjs.Agent({
|
|
216
216
|
name: "routing-agent",
|
|
217
217
|
instructions,
|
|
218
218
|
model: this.#model,
|
|
@@ -228,7 +228,7 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
228
228
|
resourceId
|
|
229
229
|
}) {
|
|
230
230
|
const networkWorkflow = this.createWorkflow({ runtimeContext });
|
|
231
|
-
const finalStep =
|
|
231
|
+
const finalStep = chunkEXG53YAJ_cjs.createStep({
|
|
232
232
|
id: "final-step",
|
|
233
233
|
inputSchema: networkWorkflow.outputSchema,
|
|
234
234
|
outputSchema: networkWorkflow.outputSchema,
|
|
@@ -242,12 +242,12 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
242
242
|
return inputData;
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
|
-
const mainWorkflow =
|
|
245
|
+
const mainWorkflow = chunkEXG53YAJ_cjs.createWorkflow({
|
|
246
246
|
id: "Agent-Network-Main-Workflow",
|
|
247
247
|
inputSchema: zod.z.object({
|
|
248
248
|
iteration: zod.z.number(),
|
|
249
249
|
task: zod.z.string(),
|
|
250
|
-
resourceType:
|
|
250
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
251
251
|
threadId: zod.z.string().optional(),
|
|
252
252
|
threadResourceId: zod.z.string().optional()
|
|
253
253
|
}),
|
|
@@ -287,7 +287,7 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
287
287
|
resourceId
|
|
288
288
|
}) {
|
|
289
289
|
const networkWorkflow = this.createWorkflow({ runtimeContext });
|
|
290
|
-
const finalStep =
|
|
290
|
+
const finalStep = chunkEXG53YAJ_cjs.createStep({
|
|
291
291
|
id: "final-step",
|
|
292
292
|
inputSchema: networkWorkflow.outputSchema,
|
|
293
293
|
outputSchema: networkWorkflow.outputSchema,
|
|
@@ -301,13 +301,13 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
301
301
|
return inputData;
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
|
-
const mainWorkflow =
|
|
304
|
+
const mainWorkflow = chunkEXG53YAJ_cjs.createWorkflow({
|
|
305
305
|
id: "Agent-Network-Main-Workflow",
|
|
306
306
|
inputSchema: zod.z.object({
|
|
307
307
|
iteration: zod.z.number(),
|
|
308
308
|
task: zod.z.string(),
|
|
309
309
|
resourceId: zod.z.string(),
|
|
310
|
-
resourceType:
|
|
310
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
311
311
|
result: zod.z.string().optional(),
|
|
312
312
|
threadId: zod.z.string().optional(),
|
|
313
313
|
threadResourceId: zod.z.string().optional(),
|
|
@@ -317,7 +317,7 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
317
317
|
outputSchema: zod.z.object({
|
|
318
318
|
task: zod.z.string(),
|
|
319
319
|
resourceId: zod.z.string(),
|
|
320
|
-
resourceType:
|
|
320
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
321
321
|
prompt: zod.z.string(),
|
|
322
322
|
result: zod.z.string(),
|
|
323
323
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -351,12 +351,12 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
351
351
|
createWorkflow({ runtimeContext }) {
|
|
352
352
|
const runId = this.#mastra?.generateId() || crypto.randomUUID();
|
|
353
353
|
const runtimeContextToUse = runtimeContext || new chunkGPWMM745_cjs.RuntimeContext();
|
|
354
|
-
const routingStep =
|
|
354
|
+
const routingStep = chunkEXG53YAJ_cjs.createStep({
|
|
355
355
|
id: "routing-step",
|
|
356
356
|
inputSchema: zod.z.object({
|
|
357
357
|
task: zod.z.string(),
|
|
358
358
|
resourceId: zod.z.string(),
|
|
359
|
-
resourceType:
|
|
359
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
360
360
|
result: zod.z.string().optional(),
|
|
361
361
|
iteration: zod.z.number(),
|
|
362
362
|
threadId: zod.z.string().optional(),
|
|
@@ -367,7 +367,7 @@ var NewAgentNetwork = class extends chunkKXCUCBEI_cjs.MastraBase {
|
|
|
367
367
|
outputSchema: zod.z.object({
|
|
368
368
|
task: zod.z.string(),
|
|
369
369
|
resourceId: zod.z.string(),
|
|
370
|
-
resourceType:
|
|
370
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
371
371
|
prompt: zod.z.string(),
|
|
372
372
|
result: zod.z.string(),
|
|
373
373
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -456,7 +456,7 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
456
456
|
const options = {
|
|
457
457
|
output: zod.z.object({
|
|
458
458
|
resourceId: zod.z.string(),
|
|
459
|
-
resourceType:
|
|
459
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
460
460
|
prompt: zod.z.string(),
|
|
461
461
|
selectionReason: zod.z.string()
|
|
462
462
|
}),
|
|
@@ -481,12 +481,12 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
|
-
const agentStep =
|
|
484
|
+
const agentStep = chunkEXG53YAJ_cjs.createStep({
|
|
485
485
|
id: "agent-step",
|
|
486
486
|
inputSchema: zod.z.object({
|
|
487
487
|
task: zod.z.string(),
|
|
488
488
|
resourceId: zod.z.string(),
|
|
489
|
-
resourceType:
|
|
489
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
490
490
|
prompt: zod.z.string(),
|
|
491
491
|
result: zod.z.string(),
|
|
492
492
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -496,7 +496,7 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
496
496
|
outputSchema: zod.z.object({
|
|
497
497
|
task: zod.z.string(),
|
|
498
498
|
resourceId: zod.z.string(),
|
|
499
|
-
resourceType:
|
|
499
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
500
500
|
result: zod.z.string(),
|
|
501
501
|
isComplete: zod.z.boolean().optional(),
|
|
502
502
|
iteration: zod.z.number()
|
|
@@ -617,12 +617,12 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
|
-
const workflowStep =
|
|
620
|
+
const workflowStep = chunkEXG53YAJ_cjs.createStep({
|
|
621
621
|
id: "workflow-step",
|
|
622
622
|
inputSchema: zod.z.object({
|
|
623
623
|
task: zod.z.string(),
|
|
624
624
|
resourceId: zod.z.string(),
|
|
625
|
-
resourceType:
|
|
625
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
626
626
|
prompt: zod.z.string(),
|
|
627
627
|
result: zod.z.string(),
|
|
628
628
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -632,7 +632,7 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
632
632
|
outputSchema: zod.z.object({
|
|
633
633
|
task: zod.z.string(),
|
|
634
634
|
resourceId: zod.z.string(),
|
|
635
|
-
resourceType:
|
|
635
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
636
636
|
result: zod.z.string(),
|
|
637
637
|
isComplete: zod.z.boolean().optional(),
|
|
638
638
|
iteration: zod.z.number()
|
|
@@ -739,12 +739,12 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
739
739
|
};
|
|
740
740
|
}
|
|
741
741
|
});
|
|
742
|
-
const toolStep =
|
|
742
|
+
const toolStep = chunkEXG53YAJ_cjs.createStep({
|
|
743
743
|
id: "toolStep",
|
|
744
744
|
inputSchema: zod.z.object({
|
|
745
745
|
task: zod.z.string(),
|
|
746
746
|
resourceId: zod.z.string(),
|
|
747
|
-
resourceType:
|
|
747
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
748
748
|
prompt: zod.z.string(),
|
|
749
749
|
result: zod.z.string(),
|
|
750
750
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -754,7 +754,7 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
754
754
|
outputSchema: zod.z.object({
|
|
755
755
|
task: zod.z.string(),
|
|
756
756
|
resourceId: zod.z.string(),
|
|
757
|
-
resourceType:
|
|
757
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
758
758
|
result: zod.z.string(),
|
|
759
759
|
isComplete: zod.z.boolean().optional(),
|
|
760
760
|
iteration: zod.z.number()
|
|
@@ -811,12 +811,12 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
811
811
|
};
|
|
812
812
|
}
|
|
813
813
|
});
|
|
814
|
-
const finishStep =
|
|
814
|
+
const finishStep = chunkEXG53YAJ_cjs.createStep({
|
|
815
815
|
id: "finish-step",
|
|
816
816
|
inputSchema: zod.z.object({
|
|
817
817
|
task: zod.z.string(),
|
|
818
818
|
resourceId: zod.z.string(),
|
|
819
|
-
resourceType:
|
|
819
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
820
820
|
prompt: zod.z.string(),
|
|
821
821
|
result: zod.z.string(),
|
|
822
822
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -838,12 +838,12 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
838
838
|
};
|
|
839
839
|
}
|
|
840
840
|
});
|
|
841
|
-
const networkWorkflow =
|
|
841
|
+
const networkWorkflow = chunkEXG53YAJ_cjs.createWorkflow({
|
|
842
842
|
id: "Agent-Network-Outer-Workflow",
|
|
843
843
|
inputSchema: zod.z.object({
|
|
844
844
|
task: zod.z.string(),
|
|
845
845
|
resourceId: zod.z.string(),
|
|
846
|
-
resourceType:
|
|
846
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
847
847
|
result: zod.z.string().optional(),
|
|
848
848
|
iteration: zod.z.number(),
|
|
849
849
|
threadId: zod.z.string().optional(),
|
|
@@ -854,7 +854,7 @@ ${completionResult.object.finalResult}` : ""}
|
|
|
854
854
|
outputSchema: zod.z.object({
|
|
855
855
|
task: zod.z.string(),
|
|
856
856
|
resourceId: zod.z.string(),
|
|
857
|
-
resourceType:
|
|
857
|
+
resourceType: chunkEXG53YAJ_cjs.RESOURCE_TYPES,
|
|
858
858
|
prompt: zod.z.string(),
|
|
859
859
|
result: zod.z.string(),
|
|
860
860
|
isComplete: zod.z.boolean().optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Agent, createStep, createWorkflow, RESOURCE_TYPES } from '../../chunk-
|
|
1
|
+
import { Agent, createStep, createWorkflow, RESOURCE_TYPES } from '../../chunk-666JQVO5.js';
|
|
2
2
|
import { EMITTER_SYMBOL } from '../../chunk-NLNKQD2T.js';
|
|
3
3
|
import { MessageList } from '../../chunk-XRJDA7BI.js';
|
|
4
4
|
import { RuntimeContext } from '../../chunk-HLRWYUFN.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEXG53YAJ_cjs = require('../chunk-EXG53YAJ.cjs');
|
|
4
4
|
var lite = require('js-tiktoken/lite');
|
|
5
5
|
var o200k_base = require('js-tiktoken/ranks/o200k_base');
|
|
6
6
|
var zod = require('zod');
|
|
@@ -271,7 +271,7 @@ var SystemPromptScrubber = class {
|
|
|
271
271
|
this.placeholderText = options.placeholderText || "[SYSTEM_PROMPT]";
|
|
272
272
|
this.instructions = options.instructions || this.getDefaultInstructions();
|
|
273
273
|
this.model = options.model;
|
|
274
|
-
this.detectionAgent = new
|
|
274
|
+
this.detectionAgent = new chunkEXG53YAJ_cjs.Agent({
|
|
275
275
|
name: "system-prompt-detector",
|
|
276
276
|
model: this.model,
|
|
277
277
|
instructions: this.instructions
|
|
@@ -499,27 +499,27 @@ Be thorough but avoid false positives. Only flag content that genuinely represen
|
|
|
499
499
|
|
|
500
500
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkEXG53YAJ_cjs.LanguageDetector; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
505
505
|
enumerable: true,
|
|
506
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkEXG53YAJ_cjs.ModerationProcessor; }
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "PIIDetector", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkEXG53YAJ_cjs.PIIDetector; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkEXG53YAJ_cjs.PromptInjectionDetector; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
517
517
|
enumerable: true,
|
|
518
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkEXG53YAJ_cjs.StructuredOutputProcessor; }
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkEXG53YAJ_cjs.UnicodeNormalizer; }
|
|
523
523
|
});
|
|
524
524
|
exports.BatchPartsProcessor = BatchPartsProcessor;
|
|
525
525
|
exports.SystemPromptScrubber = SystemPromptScrubber;
|
package/dist/processors/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Agent } from '../chunk-
|
|
2
|
-
export { LanguageDetector, ModerationProcessor, PIIDetector, PromptInjectionDetector, StructuredOutputProcessor, UnicodeNormalizer } from '../chunk-
|
|
1
|
+
import { Agent } from '../chunk-666JQVO5.js';
|
|
2
|
+
export { LanguageDetector, ModerationProcessor, PIIDetector, PromptInjectionDetector, StructuredOutputProcessor, UnicodeNormalizer } from '../chunk-666JQVO5.js';
|
|
3
3
|
import { Tiktoken } from 'js-tiktoken/lite';
|
|
4
4
|
import o200k_base from 'js-tiktoken/ranks/o200k_base';
|
|
5
5
|
import { z } from 'zod';
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7UO6UWCO_cjs = require('../chunk-7UO6UWCO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk7UO6UWCO_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7UO6UWCO_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7UO6UWCO_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/relevance/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-KYFRWMTX.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/scores/index.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3DHX2SDR_cjs = require('../chunk-3DHX2SDR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3DHX2SDR_cjs.MastraScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3DHX2SDR_cjs.createScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "runExperiment", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3DHX2SDR_cjs.runExperiment; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "saveScorePayloadSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3DHX2SDR_cjs.saveScorePayloadSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "scoreResultSchema", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk3DHX2SDR_cjs.scoreResultSchema; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "scoringExtractStepResultSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk3DHX2SDR_cjs.scoringExtractStepResultSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "scoringValueSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk3DHX2SDR_cjs.scoringValueSchema; }
|
|
34
34
|
});
|
|
35
35
|
//# sourceMappingURL=index.cjs.map
|
|
36
36
|
//# sourceMappingURL=index.cjs.map
|
package/dist/scores/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MastraScorer, createScorer, runExperiment, saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-
|
|
1
|
+
export { MastraScorer, createScorer, runExperiment, saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-D43ZGJR3.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEXG53YAJ_cjs = require('../chunk-EXG53YAJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AISDKV5OutputStream", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEXG53YAJ_cjs.AISDKV5OutputStream; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEXG53YAJ_cjs.MastraModelOutput; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSZZPFXZ7_cjs = require('../../chunk-SZZPFXZ7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "EventedExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkSZZPFXZ7_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkSZZPFXZ7_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkSZZPFXZ7_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkSZZPFXZ7_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkSZZPFXZ7_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkSZZPFXZ7_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkSZZPFXZ7_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkSZZPFXZ7_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkSZZPFXZ7_cjs.createWorkflow; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-NRGXWM6C.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEXG53YAJ_cjs = require('../chunk-EXG53YAJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEXG53YAJ_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEXG53YAJ_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEXG53YAJ_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEXG53YAJ_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEXG53YAJ_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEXG53YAJ_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEXG53YAJ_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEXG53YAJ_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "mapVariable", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkEXG53YAJ_cjs.mapVariable; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from '../chunk-666JQVO5.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEXG53YAJ_cjs = require('../../chunk-EXG53YAJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "LegacyStep", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEXG53YAJ_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEXG53YAJ_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEXG53YAJ_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEXG53YAJ_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEXG53YAJ_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEXG53YAJ_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEXG53YAJ_cjs.getStepResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEXG53YAJ_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkEXG53YAJ_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkEXG53YAJ_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkEXG53YAJ_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkEXG53YAJ_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkEXG53YAJ_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkEXG53YAJ_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkEXG53YAJ_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkEXG53YAJ_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkEXG53YAJ_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkEXG53YAJ_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkEXG53YAJ_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkEXG53YAJ_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkEXG53YAJ_cjs.workflowToStep; }
|
|
90
90
|
});
|
|
91
91
|
//# sourceMappingURL=index.cjs.map
|
|
92
92
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-
|
|
1
|
+
export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-666JQVO5.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|