@scoutqa/mastra-core 0.24.6-fork.3 → 0.24.6-fork.4
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/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/agent/message-list/prompt/convert-to-mastra-v1.d.ts.map +1 -1
- package/dist/{chunk-Q6XG7GDC.js → chunk-3I7XXWZN.js} +4 -4
- package/dist/{chunk-Q6XG7GDC.js.map → chunk-3I7XXWZN.js.map} +1 -1
- package/dist/{chunk-CU4HTLWA.cjs → chunk-3VCLYHY6.cjs} +4 -4
- package/dist/{chunk-CU4HTLWA.cjs.map → chunk-3VCLYHY6.cjs.map} +1 -1
- package/dist/{chunk-U3JPTEAU.cjs → chunk-AXYN5P4Y.cjs} +30 -16
- package/dist/chunk-AXYN5P4Y.cjs.map +1 -0
- package/dist/{chunk-AZNEZR7L.cjs → chunk-BSXBT7PY.cjs} +12 -12
- package/dist/{chunk-AZNEZR7L.cjs.map → chunk-BSXBT7PY.cjs.map} +1 -1
- package/dist/{chunk-JVJRWHA2.js → chunk-DNQ3WTBD.js} +3 -3
- package/dist/{chunk-JVJRWHA2.js.map → chunk-DNQ3WTBD.js.map} +1 -1
- package/dist/{chunk-4KFLI6P3.js → chunk-GJSPBKAD.js} +30 -16
- package/dist/chunk-GJSPBKAD.js.map +1 -0
- package/dist/{chunk-WU5GJU3T.cjs → chunk-RZ4GHIRV.cjs} +21 -21
- package/dist/{chunk-WU5GJU3T.cjs.map → chunk-RZ4GHIRV.cjs.map} +1 -1
- package/dist/{chunk-6FZN2LUN.cjs → chunk-TGKFH6R3.cjs} +9 -9
- package/dist/{chunk-6FZN2LUN.cjs.map → chunk-TGKFH6R3.cjs.map} +1 -1
- package/dist/{chunk-EGNFOKJB.js → chunk-TWTYYRSV.js} +4 -4
- package/dist/{chunk-EGNFOKJB.js.map → chunk-TWTYYRSV.js.map} +1 -1
- package/dist/{chunk-2DXW53LD.cjs → chunk-UIPKWM5S.cjs} +5 -5
- package/dist/{chunk-2DXW53LD.cjs.map → chunk-UIPKWM5S.cjs.map} +1 -1
- package/dist/{chunk-DZDMMWMA.js → chunk-UZCAGQCP.js} +3 -3
- package/dist/{chunk-DZDMMWMA.js.map → chunk-UZCAGQCP.js.map} +1 -1
- package/dist/{chunk-MGEBT2TA.cjs → chunk-WPYZUO5P.cjs} +4 -4
- package/dist/{chunk-MGEBT2TA.cjs.map → chunk-WPYZUO5P.cjs.map} +1 -1
- package/dist/{chunk-ROWKALJ6.js → chunk-YMHVUGTM.js} +3 -3
- package/dist/{chunk-ROWKALJ6.js.map → chunk-YMHVUGTM.js.map} +1 -1
- package/dist/{chunk-ATHHKW7H.js → chunk-YRRJWUCV.js} +3 -3
- package/dist/{chunk-ATHHKW7H.js.map → chunk-YRRJWUCV.js.map} +1 -1
- package/dist/index.cjs +33 -33
- package/dist/index.js +8 -8
- 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/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/processors/index.cjs +11 -11
- package/dist/processors/index.js +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +4 -4
- package/dist/scores/index.js +1 -1
- package/dist/scores/scoreTraces/index.cjs +6 -6
- package/dist/scores/scoreTraces/index.js +2 -2
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +14 -14
- 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 +3 -3
- package/dist/chunk-4KFLI6P3.js.map +0 -1
- package/dist/chunk-U3JPTEAU.cjs.map +0 -1
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUIPKWM5S_cjs = require('../chunk-UIPKWM5S.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 chunkUIPKWM5S_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
package/dist/memory/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3VCLYHY6_cjs = require('../chunk-3VCLYHY6.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 chunk3VCLYHY6_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3VCLYHY6_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3VCLYHY6_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRZ4GHIRV_cjs = require('../chunk-RZ4GHIRV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRZ4GHIRV_cjs.BatchPartsProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRZ4GHIRV_cjs.LanguageDetector; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRZ4GHIRV_cjs.ModerationProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PIIDetector", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRZ4GHIRV_cjs.PIIDetector; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ProcessorState", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRZ4GHIRV_cjs.ProcessorState; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRZ4GHIRV_cjs.PromptInjectionDetector; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRZ4GHIRV_cjs.StructuredOutputProcessor; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRZ4GHIRV_cjs.SystemPromptScrubber; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRZ4GHIRV_cjs.TokenLimiterProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRZ4GHIRV_cjs.UnicodeNormalizer; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=index.cjs.map
|
|
48
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BatchPartsProcessor, LanguageDetector, ModerationProcessor, PIIDetector, ProcessorState, PromptInjectionDetector, StructuredOutputProcessor, SystemPromptScrubber, TokenLimiterProcessor, UnicodeNormalizer } from '../chunk-
|
|
1
|
+
export { BatchPartsProcessor, LanguageDetector, ModerationProcessor, PIIDetector, ProcessorState, PromptInjectionDetector, StructuredOutputProcessor, SystemPromptScrubber, TokenLimiterProcessor, UnicodeNormalizer } from '../chunk-TWTYYRSV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWPYZUO5P_cjs = require('../chunk-WPYZUO5P.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 chunkWPYZUO5P_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWPYZUO5P_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWPYZUO5P_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-YRRJWUCV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/scores/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTGKFH6R3_cjs = require('../chunk-TGKFH6R3.cjs');
|
|
4
4
|
var chunkBKE436B3_cjs = require('../chunk-BKE436B3.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "MastraScorer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkTGKFH6R3_cjs.MastraScorer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createScorer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTGKFH6R3_cjs.createScorer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "runExperiment", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTGKFH6R3_cjs.runExperiment; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "saveScorePayloadSchema", {
|
|
21
21
|
enumerable: true,
|
package/dist/scores/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MastraScorer, createScorer, runExperiment } from '../chunk-
|
|
1
|
+
export { MastraScorer, createScorer, runExperiment } from '../chunk-YMHVUGTM.js';
|
|
2
2
|
export { saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-DRQRLD5G.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBSXBT7PY_cjs = require('../../chunk-BSXBT7PY.cjs');
|
|
4
4
|
var chunkBKE436B3_cjs = require('../../chunk-BKE436B3.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkAXYN5P4Y_cjs = require('../../chunk-AXYN5P4Y.cjs');
|
|
6
6
|
var chunk5NTO7S5I_cjs = require('../../chunk-5NTO7S5I.cjs');
|
|
7
7
|
var pMap = require('p-map');
|
|
8
8
|
var z = require('zod');
|
|
@@ -76,7 +76,7 @@ function normalizeMessageContent(content) {
|
|
|
76
76
|
role: "user",
|
|
77
77
|
parts: content.map((part) => ({ type: part.type, text: part.text }))
|
|
78
78
|
};
|
|
79
|
-
const converted =
|
|
79
|
+
const converted = chunkAXYN5P4Y_cjs.convertMessages(tempMessage).to("AIV4.UI");
|
|
80
80
|
return converted[0]?.content || "";
|
|
81
81
|
}
|
|
82
82
|
function convertToUIMessage(message, createdAt) {
|
|
@@ -94,7 +94,7 @@ function convertToUIMessage(message, createdAt) {
|
|
|
94
94
|
parts: message.content.map((part) => ({ type: part.type, text: part.text }))
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
const converted =
|
|
97
|
+
const converted = chunkAXYN5P4Y_cjs.convertMessages(messageInput).to("AIV4.UI");
|
|
98
98
|
const result = converted[0];
|
|
99
99
|
if (!result) {
|
|
100
100
|
throw new Error("Failed to convert message");
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/scores/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunkBSXBT7PY_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: z__default.default.object({
|
|
240
240
|
targets: z__default.default.array(
|
|
@@ -404,7 +404,7 @@ async function attachScoreToSpan({
|
|
|
404
404
|
updates: { links: [...existingLinks, link] }
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
var scoreTracesWorkflow =
|
|
407
|
+
var scoreTracesWorkflow = chunkBSXBT7PY_cjs.createWorkflow({
|
|
408
408
|
id: "__batch-scoring-traces",
|
|
409
409
|
inputSchema: z__default.default.object({
|
|
410
410
|
targets: z__default.default.array(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-UZCAGQCP.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-DRQRLD5G.js';
|
|
3
|
-
import { convertMessages } from '../../chunk-
|
|
3
|
+
import { convertMessages } from '../../chunk-GJSPBKAD.js';
|
|
4
4
|
import { MastraError } from '../../chunk-PZUZNPFM.js';
|
|
5
5
|
import pMap from 'p-map';
|
|
6
6
|
import z from 'zod';
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTX4TTPYJ_cjs = require('../chunk-TX4TTPYJ.cjs');
|
|
4
|
-
var chunkU3JPTEAU_cjs = require('../chunk-U3JPTEAU.cjs');
|
|
5
4
|
var chunk4R2TBRS7_cjs = require('../chunk-4R2TBRS7.cjs');
|
|
5
|
+
var chunkAXYN5P4Y_cjs = require('../chunk-AXYN5P4Y.cjs');
|
|
6
6
|
var chunk5NTO7S5I_cjs = require('../chunk-5NTO7S5I.cjs');
|
|
7
7
|
var chunk6VOPKVYH_cjs = require('../chunk-6VOPKVYH.cjs');
|
|
8
8
|
|
|
@@ -311,7 +311,7 @@ var InMemoryMemory = class extends MemoryStorage {
|
|
|
311
311
|
}) {
|
|
312
312
|
this.logger.debug(`MockStore: getMessagesById called`);
|
|
313
313
|
const rawMessages = messageIds.map((id) => this.collection.messages.get(id)).filter((message) => !!message);
|
|
314
|
-
const list = new
|
|
314
|
+
const list = new chunkAXYN5P4Y_cjs.MessageList().add(rawMessages.map(this.parseStoredMessage), "memory");
|
|
315
315
|
if (format === "v1") return list.get.all.v1();
|
|
316
316
|
return list.get.all.v2();
|
|
317
317
|
}
|
|
@@ -341,7 +341,7 @@ var InMemoryMemory = class extends MemoryStorage {
|
|
|
341
341
|
};
|
|
342
342
|
this.collection.messages.set(key, storageMessage);
|
|
343
343
|
}
|
|
344
|
-
const list = new
|
|
344
|
+
const list = new chunkAXYN5P4Y_cjs.MessageList().add(messages, "memory");
|
|
345
345
|
if (format === `v2`) return list.get.all.v2();
|
|
346
346
|
return list.get.all.v1();
|
|
347
347
|
}
|
package/dist/storage/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MastraStorage } from '../chunk-JVV5LREI.js';
|
|
2
2
|
export { MastraStorage, ensureDate, resolveMessageLimit, serializeDate } from '../chunk-JVV5LREI.js';
|
|
3
|
-
import { MessageList } from '../chunk-4KFLI6P3.js';
|
|
4
3
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_EVALS, TABLE_TRACES } from '../chunk-SJMKDSRF.js';
|
|
5
4
|
export { AI_SPAN_SCHEMA, SCORERS_SCHEMA, TABLE_AI_SPANS, TABLE_EVALS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-SJMKDSRF.js';
|
|
5
|
+
import { MessageList } from '../chunk-GJSPBKAD.js';
|
|
6
6
|
import { MastraError } from '../chunk-PZUZNPFM.js';
|
|
7
7
|
import { MastraBase } from '../chunk-VQASQG5D.js';
|
|
8
8
|
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkRZ4GHIRV_cjs = require('../chunk-RZ4GHIRV.cjs');
|
|
4
|
+
var chunkAXYN5P4Y_cjs = require('../chunk-AXYN5P4Y.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AISDKV5OutputStream", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkRZ4GHIRV_cjs.AISDKV5OutputStream; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRZ4GHIRV_cjs.ChunkFrom; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRZ4GHIRV_cjs.MastraAgentNetworkStream; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkRZ4GHIRV_cjs.MastraModelOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkRZ4GHIRV_cjs.WorkflowRunOutput; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkRZ4GHIRV_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRZ4GHIRV_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkAXYN5P4Y_cjs.DefaultGeneratedFile; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkAXYN5P4Y_cjs.DefaultGeneratedFileWithType; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
45
45
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
2
|
-
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-
|
|
1
|
+
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-TWTYYRSV.js';
|
|
2
|
+
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-GJSPBKAD.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBSXBT7PY_cjs = require('../../chunk-BSXBT7PY.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 chunkBSXBT7PY_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBSXBT7PY_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBSXBT7PY_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBSXBT7PY_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBSXBT7PY_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBSXBT7PY_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBSXBT7PY_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBSXBT7PY_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBSXBT7PY_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-UZCAGQCP.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRZ4GHIRV_cjs = require('../chunk-RZ4GHIRV.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 chunkRZ4GHIRV_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRZ4GHIRV_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRZ4GHIRV_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRZ4GHIRV_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRZ4GHIRV_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRZ4GHIRV_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRZ4GHIRV_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRZ4GHIRV_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRZ4GHIRV_cjs.getResumeLabelsByStepId; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getStepResult", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRZ4GHIRV_cjs.getStepResult; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getZodErrors", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkRZ4GHIRV_cjs.getZodErrors; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "mapVariable", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkRZ4GHIRV_cjs.mapVariable; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "validateStepInput", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRZ4GHIRV_cjs.validateStepInput; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getResumeLabelsByStepId, getStepResult, getZodErrors, mapVariable, validateStepInput } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getResumeLabelsByStepId, getStepResult, getZodErrors, mapVariable, validateStepInput } from '../chunk-TWTYYRSV.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 chunkRZ4GHIRV_cjs = require('../../chunk-RZ4GHIRV.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 chunkRZ4GHIRV_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRZ4GHIRV_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRZ4GHIRV_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRZ4GHIRV_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRZ4GHIRV_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRZ4GHIRV_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRZ4GHIRV_cjs.getStepResult2; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRZ4GHIRV_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRZ4GHIRV_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRZ4GHIRV_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkRZ4GHIRV_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkRZ4GHIRV_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRZ4GHIRV_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkRZ4GHIRV_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkRZ4GHIRV_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkRZ4GHIRV_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkRZ4GHIRV_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkRZ4GHIRV_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkRZ4GHIRV_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkRZ4GHIRV_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkRZ4GHIRV_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, getStepResult2 as 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, getStepResult2 as getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-TWTYYRSV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scoutqa/mastra-core",
|
|
3
|
-
"version": "0.24.6-fork.
|
|
3
|
+
"version": "0.24.6-fork.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -248,8 +248,8 @@
|
|
|
248
248
|
"zod": "^3.25.76",
|
|
249
249
|
"zod-v4": "npm:zod@4.1.12",
|
|
250
250
|
"@internal/external-types": "0.0.14",
|
|
251
|
-
"@internal/
|
|
252
|
-
"@internal/
|
|
251
|
+
"@internal/lint": "0.0.64",
|
|
252
|
+
"@internal/types-builder": "0.0.39"
|
|
253
253
|
},
|
|
254
254
|
"engines": {
|
|
255
255
|
"node": ">=20"
|