@mastra/core 0.21.0-alpha.2 → 0.21.0
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 +109 -0
- package/dist/agent/agent.types.d.ts +0 -1
- package/dist/agent/agent.types.d.ts.map +1 -1
- 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/ai-tracing/index.cjs +32 -32
- package/dist/ai-tracing/index.js +1 -1
- package/dist/{chunk-YWLOJRIX.js → chunk-2KES233Q.js} +3 -3
- package/dist/{chunk-YWLOJRIX.js.map → chunk-2KES233Q.js.map} +1 -1
- package/dist/{chunk-X3ECC3CB.js → chunk-3Q5AADIA.js} +17 -9
- package/dist/chunk-3Q5AADIA.js.map +1 -0
- package/dist/{chunk-NOY6XIU4.js → chunk-4EXSSE3I.js} +4 -4
- package/dist/{chunk-NOY6XIU4.js.map → chunk-4EXSSE3I.js.map} +1 -1
- package/dist/{chunk-EBF2GIFE.cjs → chunk-AJQHJNNW.cjs} +24 -16
- package/dist/chunk-AJQHJNNW.cjs.map +1 -0
- package/dist/{chunk-S4FM66W4.cjs → chunk-AVKWVYFN.cjs} +9 -9
- package/dist/{chunk-S4FM66W4.cjs.map → chunk-AVKWVYFN.cjs.map} +1 -1
- package/dist/{chunk-SJKHIH44.cjs → chunk-BBNBATLR.cjs} +4 -4
- package/dist/{chunk-SJKHIH44.cjs.map → chunk-BBNBATLR.cjs.map} +1 -1
- package/dist/{chunk-OVJ2WBFK.js → chunk-DD3PWTXW.js} +11 -6
- package/dist/chunk-DD3PWTXW.js.map +1 -0
- package/dist/{chunk-X6EDVW3U.cjs → chunk-EABGDF4D.cjs} +6 -6
- package/dist/{chunk-X6EDVW3U.cjs.map → chunk-EABGDF4D.cjs.map} +1 -1
- package/dist/{chunk-FVVPBIUS.cjs → chunk-FJJV3END.cjs} +6 -6
- package/dist/{chunk-FVVPBIUS.cjs.map → chunk-FJJV3END.cjs.map} +1 -1
- package/dist/{chunk-F3X3A5KA.cjs → chunk-G4GBV44L.cjs} +4 -4
- package/dist/{chunk-F3X3A5KA.cjs.map → chunk-G4GBV44L.cjs.map} +1 -1
- package/dist/{chunk-M4ZLVM2E.cjs → chunk-HOPRWFM3.cjs} +12 -12
- package/dist/{chunk-M4ZLVM2E.cjs.map → chunk-HOPRWFM3.cjs.map} +1 -1
- package/dist/{chunk-JRNJL27F.cjs → chunk-HQKCS7H7.cjs} +4 -4
- package/dist/{chunk-JRNJL27F.cjs.map → chunk-HQKCS7H7.cjs.map} +1 -1
- package/dist/{chunk-T3MCLRO6.cjs → chunk-JKJW6ASJ.cjs} +11 -6
- package/dist/chunk-JKJW6ASJ.cjs.map +1 -0
- package/dist/{chunk-OBNF7UO2.js → chunk-MUBNGSAO.js} +3 -3
- package/dist/{chunk-OBNF7UO2.js.map → chunk-MUBNGSAO.js.map} +1 -1
- package/dist/{chunk-GOCHWSR7.js → chunk-NXBBSTIG.js} +3 -3
- package/dist/{chunk-GOCHWSR7.js.map → chunk-NXBBSTIG.js.map} +1 -1
- package/dist/{chunk-LN5I7LG3.js → chunk-R37WYGEC.js} +3 -3
- package/dist/{chunk-LN5I7LG3.js.map → chunk-R37WYGEC.js.map} +1 -1
- package/dist/{chunk-KUFI34FC.js → chunk-T4MYULBA.js} +3 -3
- package/dist/{chunk-KUFI34FC.js.map → chunk-T4MYULBA.js.map} +1 -1
- package/dist/{chunk-TGWK6V72.js → chunk-U5JW6KRX.js} +3 -3
- package/dist/{chunk-TGWK6V72.js.map → chunk-U5JW6KRX.js.map} +1 -1
- package/dist/{chunk-K7INT7EE.js → chunk-UMLRW5Y3.js} +6 -6
- package/dist/chunk-UMLRW5Y3.js.map +1 -0
- package/dist/{chunk-KJZFXTQR.cjs → chunk-VLJO4NT4.cjs} +42 -42
- package/dist/chunk-VLJO4NT4.cjs.map +1 -0
- package/dist/index.cjs +40 -40
- package/dist/index.js +7 -7
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/mastra/hooks.d.ts.map +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 +9 -9
- package/dist/scores/index.js +2 -2
- package/dist/scores/scoreTraces/index.cjs +8 -8
- package/dist/scores/scoreTraces/index.js +3 -3
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/stream/aisdk/v5/execute.d.ts +6 -1
- package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
- package/dist/stream/index.cjs +10 -10
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +12 -12
- 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-EBF2GIFE.cjs.map +0 -1
- package/dist/chunk-K7INT7EE.js.map +0 -1
- package/dist/chunk-KJZFXTQR.cjs.map +0 -1
- package/dist/chunk-OVJ2WBFK.js.map +0 -1
- package/dist/chunk-T3MCLRO6.cjs.map +0 -1
- package/dist/chunk-X3ECC3CB.js.map +0 -1
package/dist/stream/index.cjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkVLJO4NT4_cjs = require('../chunk-VLJO4NT4.cjs');
|
|
4
|
+
var chunkG4GBV44L_cjs = require('../chunk-G4GBV44L.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 chunkVLJO4NT4_cjs.AISDKV5OutputStream; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkVLJO4NT4_cjs.ChunkFrom; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkVLJO4NT4_cjs.MastraAgentNetworkStream; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkVLJO4NT4_cjs.MastraModelOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkVLJO4NT4_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkVLJO4NT4_cjs.convertMastraChunkToAISDKv5; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkG4GBV44L_cjs.DefaultGeneratedFile; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkG4GBV44L_cjs.DefaultGeneratedFileWithType; }
|
|
39
39
|
});
|
|
40
40
|
//# sourceMappingURL=index.cjs.map
|
|
41
41
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
2
|
-
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-
|
|
1
|
+
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-UMLRW5Y3.js';
|
|
2
|
+
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-2KES233Q.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFJJV3END_cjs = require('../chunk-FJJV3END.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 chunkFJJV3END_cjs.MastraLLMV1 {
|
|
62
62
|
constructor({
|
|
63
63
|
spyGenerate,
|
|
64
64
|
spyStream,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/tools/tool-builder/builder.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAyB,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGtG,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC;AAClF,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,CAAC;AAazD,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,OAAO,CAAC,YAAY,CAAgB;IACpC,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,OAAO,CAAC,CAAU;gBAEd,KAAK,EAAE;QAAE,YAAY,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE,WAAW,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE;IAQ3F,OAAO,CAAC,aAAa,CAMnB;IAEF,OAAO,CAAC,eAAe,CAGrB;IAGF,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,uBAAuB;IAkB/B,OAAO,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/tools/tool-builder/builder.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAyB,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGtG,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC;AAClF,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,CAAC;AAazD,qBAAa,eAAgB,SAAQ,UAAU;IAC7C,OAAO,CAAC,YAAY,CAAgB;IACpC,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,OAAO,CAAC,CAAU;gBAEd,KAAK,EAAE;QAAE,YAAY,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE,WAAW,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE;IAQ3F,OAAO,CAAC,aAAa,CAMnB;IAEF,OAAO,CAAC,eAAe,CAGrB;IAGF,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,uBAAuB;IAkB/B,OAAO,CAAC,aAAa;IA4IrB,OAAO,IAaA,YAAY;IAGnB,KAAK,IAAI,QAAQ;CAoElB"}
|
package/dist/utils.cjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJKJW6ASJ_cjs = require('./chunk-JKJW6ASJ.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 chunkJKJW6ASJ_cjs.checkEvalStorageFields; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJKJW6ASJ_cjs.createMastraProxy; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "deepMerge", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJKJW6ASJ_cjs.deepMerge; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "delay", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJKJW6ASJ_cjs.delay; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkJKJW6ASJ_cjs.ensureToolProperties; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkJKJW6ASJ_cjs.fetchWithRetry; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkJKJW6ASJ_cjs.generateEmptyFromSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkJKJW6ASJ_cjs.isCoreMessage; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isUiMessage", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkJKJW6ASJ_cjs.isUiMessage; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isZodType", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkJKJW6ASJ_cjs.isZodType; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkJKJW6ASJ_cjs.makeCoreTool; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkJKJW6ASJ_cjs.makeCoreToolV5; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkJKJW6ASJ_cjs.maskStreamTags; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkJKJW6ASJ_cjs.parseFieldKey; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkJKJW6ASJ_cjs.parseSqlIdentifier; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkJKJW6ASJ_cjs.resolveSerializedZodOutput; }
|
|
70
70
|
});
|
|
71
71
|
//# sourceMappingURL=utils.cjs.map
|
|
72
72
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/utils.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-DD3PWTXW.js';
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
3
3
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHOPRWFM3_cjs = require('../../chunk-HOPRWFM3.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 chunkHOPRWFM3_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkHOPRWFM3_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHOPRWFM3_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHOPRWFM3_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHOPRWFM3_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHOPRWFM3_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkHOPRWFM3_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkHOPRWFM3_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkHOPRWFM3_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-R37WYGEC.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVLJO4NT4_cjs = require('../chunk-VLJO4NT4.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 chunkVLJO4NT4_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVLJO4NT4_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVLJO4NT4_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVLJO4NT4_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkVLJO4NT4_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkVLJO4NT4_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkVLJO4NT4_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkVLJO4NT4_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "getStepResult", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkVLJO4NT4_cjs.getStepResult; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "mapVariable", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkVLJO4NT4_cjs.mapVariable; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "validateStepInput", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkVLJO4NT4_cjs.validateStepInput; }
|
|
50
50
|
});
|
|
51
51
|
//# sourceMappingURL=index.cjs.map
|
|
52
52
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from '../chunk-UMLRW5Y3.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 chunkVLJO4NT4_cjs = require('../../chunk-VLJO4NT4.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 chunkVLJO4NT4_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVLJO4NT4_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVLJO4NT4_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVLJO4NT4_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkVLJO4NT4_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkVLJO4NT4_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkVLJO4NT4_cjs.getStepResult2; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkVLJO4NT4_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkVLJO4NT4_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkVLJO4NT4_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkVLJO4NT4_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkVLJO4NT4_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkVLJO4NT4_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkVLJO4NT4_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkVLJO4NT4_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkVLJO4NT4_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkVLJO4NT4_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkVLJO4NT4_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkVLJO4NT4_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkVLJO4NT4_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkVLJO4NT4_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-UMLRW5Y3.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.21.0
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -244,8 +244,8 @@
|
|
|
244
244
|
"typescript": "^5.8.3",
|
|
245
245
|
"vitest": "^3.2.4",
|
|
246
246
|
"zod": "^3.25.76",
|
|
247
|
-
"@internal/lint": "0.0.
|
|
248
|
-
"@internal/types-builder": "0.0.
|
|
247
|
+
"@internal/lint": "0.0.49",
|
|
248
|
+
"@internal/types-builder": "0.0.24"
|
|
249
249
|
},
|
|
250
250
|
"engines": {
|
|
251
251
|
"node": ">=20"
|