@mastra/core 0.13.2-alpha.3 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.cjs +10 -10
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/processors/index.cjs +6 -6
- package/dist/agent/input-processor/processors/index.js +1 -1
- package/dist/{chunk-E23O7746.cjs → chunk-DCOKWJ5G.cjs} +5 -5
- package/dist/{chunk-E23O7746.cjs.map → chunk-DCOKWJ5G.cjs.map} +1 -1
- package/dist/{chunk-PPCYWXU6.js → chunk-DDYSOZ25.js} +3 -3
- package/dist/{chunk-PPCYWXU6.js.map → chunk-DDYSOZ25.js.map} +1 -1
- package/dist/{chunk-HNVHCGEY.js → chunk-IL5SHDY4.js} +6 -6
- package/dist/{chunk-HNVHCGEY.js.map → chunk-IL5SHDY4.js.map} +1 -1
- package/dist/{chunk-NCB3BNEC.js → chunk-L6YBPFYF.js} +3 -3
- package/dist/{chunk-NCB3BNEC.js.map → chunk-L6YBPFYF.js.map} +1 -1
- package/dist/{chunk-XDZQBJL7.cjs → chunk-MH64VYGF.cjs} +7 -7
- package/dist/{chunk-XDZQBJL7.cjs.map → chunk-MH64VYGF.cjs.map} +1 -1
- package/dist/{chunk-CSXGXGIW.js → chunk-MTRRRTB4.js} +4 -4
- package/dist/{chunk-CSXGXGIW.js.map → chunk-MTRRRTB4.js.map} +1 -1
- package/dist/{chunk-F2YQ7BI5.js → chunk-N2KMAW6T.js} +3 -3
- package/dist/{chunk-F2YQ7BI5.js.map → chunk-N2KMAW6T.js.map} +1 -1
- package/dist/{chunk-RT7PXU4E.cjs → chunk-N3VGOJZV.cjs} +5 -5
- package/dist/{chunk-RT7PXU4E.cjs.map → chunk-N3VGOJZV.cjs.map} +1 -1
- package/dist/{chunk-URU6ZNFZ.cjs → chunk-PLVSXEQP.cjs} +4 -4
- package/dist/{chunk-URU6ZNFZ.cjs.map → chunk-PLVSXEQP.cjs.map} +1 -1
- package/dist/{chunk-HNEPDOXO.cjs → chunk-R4HT5XUH.cjs} +25 -25
- package/dist/{chunk-HNEPDOXO.cjs.map → chunk-R4HT5XUH.cjs.map} +1 -1
- package/dist/{chunk-72OSJMJQ.js → chunk-TZOR5M7H.js} +3 -3
- package/dist/{chunk-72OSJMJQ.js.map → chunk-TZOR5M7H.js.map} +1 -1
- package/dist/{chunk-S6PCAUBQ.js → chunk-TZVJV7EV.js} +4 -4
- package/dist/{chunk-S6PCAUBQ.js.map → chunk-TZVJV7EV.js.map} +1 -1
- package/dist/{chunk-7PJTLOVL.cjs → chunk-WA3SWCXD.cjs} +6 -6
- package/dist/{chunk-7PJTLOVL.cjs.map → chunk-WA3SWCXD.cjs.map} +1 -1
- package/dist/{chunk-SGNQGPNU.cjs → chunk-Z74LG5VH.cjs} +3 -3
- package/dist/{chunk-SGNQGPNU.cjs.map → chunk-Z74LG5VH.cjs.map} +1 -1
- package/dist/index.cjs +36 -36
- package/dist/index.js +8 -8
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.js +1 -1
- package/dist/network/vNext/index.cjs +16 -16
- package/dist/network/vNext/index.js +4 -4
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +5 -5
- package/dist/scores/index.js +2 -2
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/utils.cjs +15 -15
- package/dist/utils.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 +4 -4
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPLVSXEQP_cjs = require('../chunk-PLVSXEQP.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 chunkPLVSXEQP_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPLVSXEQP_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPLVSXEQP_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-DDYSOZ25.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/scores/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkMH64VYGF_cjs = require('../chunk-MH64VYGF.cjs');
|
|
4
|
+
var chunkR4HT5XUH_cjs = require('../chunk-R4HT5XUH.cjs');
|
|
5
5
|
var chunk3BFAQTC3_cjs = require('../chunk-3BFAQTC3.cjs');
|
|
6
6
|
var zod = require('zod');
|
|
7
7
|
var crypto = require('crypto');
|
|
@@ -162,7 +162,7 @@ var MastraScorer = class _MastraScorer {
|
|
|
162
162
|
}
|
|
163
163
|
toMastraWorkflow() {
|
|
164
164
|
const workflowSteps = this.steps.map((scorerStep) => {
|
|
165
|
-
return
|
|
165
|
+
return chunkMH64VYGF_cjs.createStep({
|
|
166
166
|
id: scorerStep.name,
|
|
167
167
|
description: `Scorer step: ${scorerStep.name}`,
|
|
168
168
|
inputSchema: zod.z.any(),
|
|
@@ -195,7 +195,7 @@ var MastraScorer = class _MastraScorer {
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
|
-
const workflow =
|
|
198
|
+
const workflow = chunkMH64VYGF_cjs.createWorkflow({
|
|
199
199
|
id: `scorer-${this.config.name}`,
|
|
200
200
|
description: this.config.description,
|
|
201
201
|
inputSchema: zod.z.object({
|
|
@@ -250,7 +250,7 @@ var MastraScorer = class _MastraScorer {
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const judge = new
|
|
253
|
+
const judge = new chunkR4HT5XUH_cjs.Agent({ name: "judge", model, instructions });
|
|
254
254
|
if (scorerStep.name === "generateScore") {
|
|
255
255
|
const result = await judge.generate(prompt, {
|
|
256
256
|
output: zod.z.object({ score: zod.z.number() })
|
package/dist/scores/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../chunk-
|
|
2
|
-
import { Agent } from '../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../chunk-MTRRRTB4.js';
|
|
2
|
+
import { Agent } from '../chunk-IL5SHDY4.js';
|
|
3
3
|
import { MastraError } from '../chunk-4O4YNORN.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { randomUUID } from 'crypto';
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkKLXRYVVQ_cjs = require('../chunk-KLXRYVVQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkDCOKWJ5G_cjs = require('../chunk-DCOKWJ5G.cjs');
|
|
5
5
|
var chunk6P2Q536B_cjs = require('../chunk-6P2Q536B.cjs');
|
|
6
6
|
var chunkYT4RGZYO_cjs = require('../chunk-YT4RGZYO.cjs');
|
|
7
7
|
|
|
@@ -327,7 +327,7 @@ var InMemoryMemory = class extends MemoryStorage {
|
|
|
327
327
|
};
|
|
328
328
|
this.collection.messages.set(key, storageMessage);
|
|
329
329
|
}
|
|
330
|
-
const list = new
|
|
330
|
+
const list = new chunkDCOKWJ5G_cjs.MessageList().add(messages, "memory");
|
|
331
331
|
if (format === `v2`) return list.get.all.v2();
|
|
332
332
|
return list.get.all.v1();
|
|
333
333
|
}
|
package/dist/storage/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MastraStorage } from '../chunk-HBMZEZTO.js';
|
|
2
2
|
export { MastraStorage, ensureDate, resolveMessageLimit, serializeDate } from '../chunk-HBMZEZTO.js';
|
|
3
|
-
import { MessageList } from '../chunk-
|
|
3
|
+
import { MessageList } from '../chunk-L6YBPFYF.js';
|
|
4
4
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_EVALS, TABLE_TRACES } from '../chunk-3PL4WX65.js';
|
|
5
5
|
export { SCORERS_SCHEMA, TABLE_EVALS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-3PL4WX65.js';
|
|
6
6
|
import { MastraBase } from '../chunk-FUERFM46.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN3VGOJZV_cjs = require('../chunk-N3VGOJZV.cjs');
|
|
4
4
|
var ai = require('ai');
|
|
5
5
|
var test = require('ai/test');
|
|
6
6
|
|
|
@@ -58,7 +58,7 @@ function createMockModel({
|
|
|
58
58
|
});
|
|
59
59
|
return mockModel;
|
|
60
60
|
}
|
|
61
|
-
var MockProvider = class extends
|
|
61
|
+
var MockProvider = class extends chunkN3VGOJZV_cjs.MastraLLM {
|
|
62
62
|
constructor({
|
|
63
63
|
spyGenerate,
|
|
64
64
|
spyStream,
|
package/dist/utils.cjs
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ74LG5VH_cjs = require('./chunk-Z74LG5VH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZ74LG5VH_cjs.checkEvalStorageFields; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZ74LG5VH_cjs.createMastraProxy; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "deepMerge", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZ74LG5VH_cjs.deepMerge; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "delay", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZ74LG5VH_cjs.delay; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZ74LG5VH_cjs.ensureToolProperties; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZ74LG5VH_cjs.generateEmptyFromSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZ74LG5VH_cjs.isCoreMessage; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isUiMessage", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZ74LG5VH_cjs.isUiMessage; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isZodType", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZ74LG5VH_cjs.isZodType; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZ74LG5VH_cjs.makeCoreTool; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZ74LG5VH_cjs.maskStreamTags; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZ74LG5VH_cjs.parseFieldKey; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZ74LG5VH_cjs.parseSqlIdentifier; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkZ74LG5VH_cjs.resolveSerializedZodOutput; }
|
|
62
62
|
});
|
|
63
63
|
//# sourceMappingURL=utils.cjs.map
|
|
64
64
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/utils.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-N2KMAW6T.js';
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
3
3
|
//# sourceMappingURL=utils.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMH64VYGF_cjs = require('../chunk-MH64VYGF.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 chunkMH64VYGF_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkMH64VYGF_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkMH64VYGF_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkMH64VYGF_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkMH64VYGF_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkMH64VYGF_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkMH64VYGF_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkMH64VYGF_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "mapVariable", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkMH64VYGF_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-MTRRRTB4.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 chunkR4HT5XUH_cjs = require('../../chunk-R4HT5XUH.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 chunkR4HT5XUH_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkR4HT5XUH_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkR4HT5XUH_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkR4HT5XUH_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkR4HT5XUH_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkR4HT5XUH_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkR4HT5XUH_cjs.getStepResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkR4HT5XUH_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkR4HT5XUH_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkR4HT5XUH_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkR4HT5XUH_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkR4HT5XUH_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkR4HT5XUH_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkR4HT5XUH_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkR4HT5XUH_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkR4HT5XUH_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkR4HT5XUH_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkR4HT5XUH_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkR4HT5XUH_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkR4HT5XUH_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkR4HT5XUH_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-IL5SHDY4.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": "@mastra/core",
|
|
3
|
-
"version": "0.13.2
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"sift": "^17.1.3",
|
|
166
166
|
"xstate": "^5.20.1",
|
|
167
167
|
"zod-to-json-schema": "^3.24.5",
|
|
168
|
-
"@mastra/schema-compat": "0.10.7
|
|
168
|
+
"@mastra/schema-compat": "0.10.7"
|
|
169
169
|
},
|
|
170
170
|
"peerDependencies": {
|
|
171
171
|
"zod": "^3.0.0"
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
"typescript": "^5.8.3",
|
|
190
190
|
"vitest": "^3.2.4",
|
|
191
191
|
"zod": "^3.25.67",
|
|
192
|
-
"@internal/types-builder": "0.0.
|
|
193
|
-
"@internal/lint": "0.0.
|
|
192
|
+
"@internal/types-builder": "0.0.4",
|
|
193
|
+
"@internal/lint": "0.0.29"
|
|
194
194
|
},
|
|
195
195
|
"engines": {
|
|
196
196
|
"node": ">=20"
|