@mastra/core 0.24.7 → 0.24.8-alpha.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 +2 -0
- 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 +36 -36
- package/dist/ai-tracing/index.js +1 -1
- package/dist/{chunk-GIK7MM2K.js → chunk-2KSE77GL.js} +3 -3
- package/dist/{chunk-GIK7MM2K.js.map → chunk-2KSE77GL.js.map} +1 -1
- package/dist/{chunk-FQTJPLCW.cjs → chunk-4G3YJRW5.cjs} +15 -15
- package/dist/{chunk-FQTJPLCW.cjs.map → chunk-4G3YJRW5.cjs.map} +1 -1
- package/dist/{chunk-6VB52TJV.js → chunk-4RXCP6HM.js} +3 -3
- package/dist/{chunk-6VB52TJV.js.map → chunk-4RXCP6HM.js.map} +1 -1
- package/dist/{chunk-2YN6HGEH.js → chunk-53WB5OXR.js} +3 -3
- package/dist/{chunk-2YN6HGEH.js.map → chunk-53WB5OXR.js.map} +1 -1
- package/dist/{chunk-YPYLWTZI.cjs → chunk-BNQUN4AP.cjs} +4 -4
- package/dist/{chunk-YPYLWTZI.cjs.map → chunk-BNQUN4AP.cjs.map} +1 -1
- package/dist/{chunk-RWPKCFZT.cjs → chunk-BWCZZ3JR.cjs} +4 -4
- package/dist/{chunk-RWPKCFZT.cjs.map → chunk-BWCZZ3JR.cjs.map} +1 -1
- package/dist/{chunk-Y2BH2LUD.js → chunk-CASJBGBM.js} +8 -8
- package/dist/{chunk-Y2BH2LUD.js.map → chunk-CASJBGBM.js.map} +1 -1
- package/dist/{chunk-4YYPQOP7.cjs → chunk-DSDIDSG5.cjs} +4 -4
- package/dist/{chunk-4YYPQOP7.cjs.map → chunk-DSDIDSG5.cjs.map} +1 -1
- package/dist/{chunk-Z6ZIJYKK.js → chunk-EEMW5S2E.js} +4 -4
- package/dist/{chunk-Z6ZIJYKK.js.map → chunk-EEMW5S2E.js.map} +1 -1
- package/dist/{chunk-N6P5GJRO.js → chunk-G3L4ZD2T.js} +6 -6
- package/dist/{chunk-N6P5GJRO.js.map → chunk-G3L4ZD2T.js.map} +1 -1
- package/dist/{chunk-CNIM7N4E.cjs → chunk-GH47ARSY.cjs} +13 -13
- package/dist/{chunk-CNIM7N4E.cjs.map → chunk-GH47ARSY.cjs.map} +1 -1
- package/dist/{chunk-RQPGIUUA.cjs → chunk-JZB25TWH.cjs} +6 -6
- package/dist/{chunk-RQPGIUUA.cjs.map → chunk-JZB25TWH.cjs.map} +1 -1
- package/dist/{chunk-ICICKWAG.cjs → chunk-OPWVVCHZ.cjs} +6 -6
- package/dist/{chunk-ICICKWAG.cjs.map → chunk-OPWVVCHZ.cjs.map} +1 -1
- package/dist/{chunk-2BY7C6Y7.js → chunk-PE2PFJQ3.js} +4 -4
- package/dist/{chunk-2BY7C6Y7.js.map → chunk-PE2PFJQ3.js.map} +1 -1
- package/dist/{chunk-YYKN3NDZ.cjs → chunk-Q3KCYA73.cjs} +48 -48
- package/dist/{chunk-YYKN3NDZ.cjs.map → chunk-Q3KCYA73.cjs.map} +1 -1
- package/dist/{chunk-PPAIPZ6C.js → chunk-QE7J6M6C.js} +4 -4
- package/dist/{chunk-PPAIPZ6C.js.map → chunk-QE7J6M6C.js.map} +1 -1
- package/dist/{chunk-2YE6RNCZ.cjs → chunk-SGXTRKZ7.cjs} +4 -4
- package/dist/{chunk-2YE6RNCZ.cjs.map → chunk-SGXTRKZ7.cjs.map} +1 -1
- package/dist/{chunk-E5NCEJEJ.js → chunk-UBQ4CZKE.js} +3 -3
- package/dist/{chunk-E5NCEJEJ.js.map → chunk-UBQ4CZKE.js.map} +1 -1
- package/dist/{chunk-RLYWCJQ6.js → chunk-UEAPU6M5.js} +3 -3
- package/dist/{chunk-RLYWCJQ6.js.map → chunk-UEAPU6M5.js.map} +1 -1
- package/dist/{chunk-X5JTTWMF.cjs → chunk-YNRIIUEW.cjs} +9 -9
- package/dist/{chunk-X5JTTWMF.cjs.map → chunk-YNRIIUEW.cjs.map} +1 -1
- package/dist/index.cjs +64 -64
- package/dist/index.js +9 -9
- 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 +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/index.cjs +11 -11
- 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/utils.cjs +22 -22
- 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 +17 -17
- 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/storage/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkZZ2DSE2G_cjs = require('../chunk-ZZ2DSE2G.cjs');
|
|
4
4
|
var chunk4R2TBRS7_cjs = require('../chunk-4R2TBRS7.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkDSDIDSG5_cjs = require('../chunk-DSDIDSG5.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 chunkDSDIDSG5_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 chunkDSDIDSG5_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
|
@@ -2,7 +2,7 @@ import { MastraStorage } from '../chunk-BKBVQTOH.js';
|
|
|
2
2
|
export { MastraStorage, ensureDate, resolveMessageLimit, serializeDate } from '../chunk-BKBVQTOH.js';
|
|
3
3
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_EVALS, TABLE_TRACES } from '../chunk-SJMKDSRF.js';
|
|
4
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-
|
|
5
|
+
import { MessageList } from '../chunk-2KSE77GL.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 chunkQ3KCYA73_cjs = require('../chunk-Q3KCYA73.cjs');
|
|
4
|
+
var chunkDSDIDSG5_cjs = require('../chunk-DSDIDSG5.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 chunkQ3KCYA73_cjs.AISDKV5OutputStream; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkQ3KCYA73_cjs.ChunkFrom; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQ3KCYA73_cjs.MastraAgentNetworkStream; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkQ3KCYA73_cjs.MastraModelOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkQ3KCYA73_cjs.WorkflowRunOutput; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkQ3KCYA73_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkQ3KCYA73_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkDSDIDSG5_cjs.DefaultGeneratedFile; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkDSDIDSG5_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-CASJBGBM.js';
|
|
2
|
+
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-2KSE77GL.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 chunkJZB25TWH_cjs = require('../chunk-JZB25TWH.cjs');
|
|
4
4
|
var ai = require('ai');
|
|
5
5
|
var test = require('ai/test');
|
|
6
6
|
var test$1 = require('ai-v5/test');
|
|
@@ -96,7 +96,7 @@ function createMockModel({
|
|
|
96
96
|
});
|
|
97
97
|
return mockModel;
|
|
98
98
|
}
|
|
99
|
-
var MockProvider = class extends
|
|
99
|
+
var MockProvider = class extends chunkJZB25TWH_cjs.MastraLLMV1 {
|
|
100
100
|
constructor({
|
|
101
101
|
spyGenerate,
|
|
102
102
|
spyStream,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraLLMV1 } from '../chunk-
|
|
1
|
+
import { MastraLLMV1 } from '../chunk-4RXCP6HM.js';
|
|
2
2
|
import { simulateReadableStream } from 'ai';
|
|
3
3
|
import { MockLanguageModelV1 } from 'ai/test';
|
|
4
4
|
import { MockLanguageModelV2, convertArrayToReadableStream } from 'ai-v5/test';
|
package/dist/utils.cjs
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBNQUN4AP_cjs = require('./chunk-BNQUN4AP.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 chunkBNQUN4AP_cjs.checkEvalStorageFields; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBNQUN4AP_cjs.createMastraProxy; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "deepMerge", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBNQUN4AP_cjs.deepMerge; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "delay", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBNQUN4AP_cjs.delay; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBNQUN4AP_cjs.ensureToolProperties; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBNQUN4AP_cjs.fetchWithRetry; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBNQUN4AP_cjs.generateEmptyFromSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getNestedValue", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBNQUN4AP_cjs.getNestedValue2; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBNQUN4AP_cjs.isCoreMessage; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isUiMessage", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBNQUN4AP_cjs.isUiMessage; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isZodType", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBNQUN4AP_cjs.isZodType; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBNQUN4AP_cjs.makeCoreTool; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBNQUN4AP_cjs.makeCoreToolV5; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkBNQUN4AP_cjs.maskStreamTags; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "omitKeys", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkBNQUN4AP_cjs.omitKeys2; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkBNQUN4AP_cjs.parseFieldKey; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkBNQUN4AP_cjs.parseSqlIdentifier; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "removeUndefinedValues", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkBNQUN4AP_cjs.removeUndefinedValues; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkBNQUN4AP_cjs.resolveSerializedZodOutput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "selectFields", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkBNQUN4AP_cjs.selectFields2; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "setNestedValue", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkBNQUN4AP_cjs.setNestedValue2; }
|
|
90
90
|
});
|
|
91
91
|
//# sourceMappingURL=utils.cjs.map
|
|
92
92
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/utils.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue2 as getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys2 as omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields2 as selectFields, setNestedValue2 as setNestedValue } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue2 as getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys2 as omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields2 as selectFields, setNestedValue2 as setNestedValue } from './chunk-QE7J6M6C.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 chunk4G3YJRW5_cjs = require('../../chunk-4G3YJRW5.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 chunk4G3YJRW5_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk4G3YJRW5_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4G3YJRW5_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk4G3YJRW5_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk4G3YJRW5_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk4G3YJRW5_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk4G3YJRW5_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk4G3YJRW5_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk4G3YJRW5_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-PE2PFJQ3.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ3KCYA73_cjs = require('../chunk-Q3KCYA73.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 chunkQ3KCYA73_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkQ3KCYA73_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQ3KCYA73_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQ3KCYA73_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQ3KCYA73_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkQ3KCYA73_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQ3KCYA73_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkQ3KCYA73_cjs.createTimeTravelExecutionParams; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkQ3KCYA73_cjs.createWorkflow; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkQ3KCYA73_cjs.getResumeLabelsByStepId; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getStepIds", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkQ3KCYA73_cjs.getStepIds; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getStepResult", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkQ3KCYA73_cjs.getStepResult; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getZodErrors", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkQ3KCYA73_cjs.getZodErrors; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "mapVariable", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkQ3KCYA73_cjs.mapVariable; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "validateStepInput", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkQ3KCYA73_cjs.validateStepInput; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkQ3KCYA73_cjs.validateStepResumeData; }
|
|
70
70
|
});
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
72
72
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, getZodErrors, mapVariable, validateStepInput, validateStepResumeData } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, getZodErrors, mapVariable, validateStepInput, validateStepResumeData } from '../chunk-CASJBGBM.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 chunkQ3KCYA73_cjs = require('../../chunk-Q3KCYA73.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 chunkQ3KCYA73_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkQ3KCYA73_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQ3KCYA73_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQ3KCYA73_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQ3KCYA73_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkQ3KCYA73_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQ3KCYA73_cjs.getStepResult2; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkQ3KCYA73_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkQ3KCYA73_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkQ3KCYA73_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkQ3KCYA73_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkQ3KCYA73_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkQ3KCYA73_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkQ3KCYA73_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkQ3KCYA73_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkQ3KCYA73_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkQ3KCYA73_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkQ3KCYA73_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkQ3KCYA73_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkQ3KCYA73_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkQ3KCYA73_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-CASJBGBM.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.24.
|
|
3
|
+
"version": "0.24.8-alpha.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -247,9 +247,9 @@
|
|
|
247
247
|
"vitest": "^3.2.4",
|
|
248
248
|
"zod": "^3.25.76",
|
|
249
249
|
"zod-v4": "npm:zod@4.1.12",
|
|
250
|
+
"@internal/lint": "0.0.65",
|
|
250
251
|
"@internal/external-types": "0.0.15",
|
|
251
|
-
"@internal/types-builder": "0.0.40"
|
|
252
|
-
"@internal/lint": "0.0.65"
|
|
252
|
+
"@internal/types-builder": "0.0.40"
|
|
253
253
|
},
|
|
254
254
|
"engines": {
|
|
255
255
|
"node": ">=20"
|