@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.
Files changed (62) hide show
  1. package/dist/agent/index.cjs +13 -13
  2. package/dist/agent/index.js +2 -2
  3. package/dist/agent/input-processor/index.cjs +6 -6
  4. package/dist/agent/input-processor/index.js +1 -1
  5. package/dist/agent/message-list/prompt/convert-to-mastra-v1.d.ts.map +1 -1
  6. package/dist/{chunk-Q6XG7GDC.js → chunk-3I7XXWZN.js} +4 -4
  7. package/dist/{chunk-Q6XG7GDC.js.map → chunk-3I7XXWZN.js.map} +1 -1
  8. package/dist/{chunk-CU4HTLWA.cjs → chunk-3VCLYHY6.cjs} +4 -4
  9. package/dist/{chunk-CU4HTLWA.cjs.map → chunk-3VCLYHY6.cjs.map} +1 -1
  10. package/dist/{chunk-U3JPTEAU.cjs → chunk-AXYN5P4Y.cjs} +30 -16
  11. package/dist/chunk-AXYN5P4Y.cjs.map +1 -0
  12. package/dist/{chunk-AZNEZR7L.cjs → chunk-BSXBT7PY.cjs} +12 -12
  13. package/dist/{chunk-AZNEZR7L.cjs.map → chunk-BSXBT7PY.cjs.map} +1 -1
  14. package/dist/{chunk-JVJRWHA2.js → chunk-DNQ3WTBD.js} +3 -3
  15. package/dist/{chunk-JVJRWHA2.js.map → chunk-DNQ3WTBD.js.map} +1 -1
  16. package/dist/{chunk-4KFLI6P3.js → chunk-GJSPBKAD.js} +30 -16
  17. package/dist/chunk-GJSPBKAD.js.map +1 -0
  18. package/dist/{chunk-WU5GJU3T.cjs → chunk-RZ4GHIRV.cjs} +21 -21
  19. package/dist/{chunk-WU5GJU3T.cjs.map → chunk-RZ4GHIRV.cjs.map} +1 -1
  20. package/dist/{chunk-6FZN2LUN.cjs → chunk-TGKFH6R3.cjs} +9 -9
  21. package/dist/{chunk-6FZN2LUN.cjs.map → chunk-TGKFH6R3.cjs.map} +1 -1
  22. package/dist/{chunk-EGNFOKJB.js → chunk-TWTYYRSV.js} +4 -4
  23. package/dist/{chunk-EGNFOKJB.js.map → chunk-TWTYYRSV.js.map} +1 -1
  24. package/dist/{chunk-2DXW53LD.cjs → chunk-UIPKWM5S.cjs} +5 -5
  25. package/dist/{chunk-2DXW53LD.cjs.map → chunk-UIPKWM5S.cjs.map} +1 -1
  26. package/dist/{chunk-DZDMMWMA.js → chunk-UZCAGQCP.js} +3 -3
  27. package/dist/{chunk-DZDMMWMA.js.map → chunk-UZCAGQCP.js.map} +1 -1
  28. package/dist/{chunk-MGEBT2TA.cjs → chunk-WPYZUO5P.cjs} +4 -4
  29. package/dist/{chunk-MGEBT2TA.cjs.map → chunk-WPYZUO5P.cjs.map} +1 -1
  30. package/dist/{chunk-ROWKALJ6.js → chunk-YMHVUGTM.js} +3 -3
  31. package/dist/{chunk-ROWKALJ6.js.map → chunk-YMHVUGTM.js.map} +1 -1
  32. package/dist/{chunk-ATHHKW7H.js → chunk-YRRJWUCV.js} +3 -3
  33. package/dist/{chunk-ATHHKW7H.js.map → chunk-YRRJWUCV.js.map} +1 -1
  34. package/dist/index.cjs +33 -33
  35. package/dist/index.js +8 -8
  36. package/dist/loop/index.cjs +2 -2
  37. package/dist/loop/index.js +1 -1
  38. package/dist/mastra/index.cjs +2 -2
  39. package/dist/mastra/index.js +1 -1
  40. package/dist/memory/index.cjs +4 -4
  41. package/dist/memory/index.js +1 -1
  42. package/dist/processors/index.cjs +11 -11
  43. package/dist/processors/index.js +1 -1
  44. package/dist/relevance/index.cjs +4 -4
  45. package/dist/relevance/index.js +1 -1
  46. package/dist/scores/index.cjs +4 -4
  47. package/dist/scores/index.js +1 -1
  48. package/dist/scores/scoreTraces/index.cjs +6 -6
  49. package/dist/scores/scoreTraces/index.js +2 -2
  50. package/dist/storage/index.cjs +3 -3
  51. package/dist/storage/index.js +1 -1
  52. package/dist/stream/index.cjs +11 -11
  53. package/dist/stream/index.js +2 -2
  54. package/dist/workflows/evented/index.cjs +10 -10
  55. package/dist/workflows/evented/index.js +1 -1
  56. package/dist/workflows/index.cjs +14 -14
  57. package/dist/workflows/index.js +1 -1
  58. package/dist/workflows/legacy/index.cjs +22 -22
  59. package/dist/workflows/legacy/index.js +1 -1
  60. package/package.json +3 -3
  61. package/dist/chunk-4KFLI6P3.js.map +0 -1
  62. package/dist/chunk-U3JPTEAU.cjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunk2DXW53LD_cjs = require('../chunk-2DXW53LD.cjs');
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 chunk2DXW53LD_cjs.Mastra; }
9
+ get: function () { return chunkUIPKWM5S_cjs.Mastra; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { Mastra } from '../chunk-Q6XG7GDC.js';
1
+ export { Mastra } from '../chunk-3I7XXWZN.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkCU4HTLWA_cjs = require('../chunk-CU4HTLWA.cjs');
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 chunkCU4HTLWA_cjs.MastraMemory; }
9
+ get: function () { return chunk3VCLYHY6_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkCU4HTLWA_cjs.MemoryProcessor; }
13
+ get: function () { return chunk3VCLYHY6_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "memoryDefaultOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunkCU4HTLWA_cjs.memoryDefaultOptions; }
17
+ get: function () { return chunk3VCLYHY6_cjs.memoryDefaultOptions; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-JVJRWHA2.js';
1
+ export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-DNQ3WTBD.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,48 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var chunkWU5GJU3T_cjs = require('../chunk-WU5GJU3T.cjs');
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 chunkWU5GJU3T_cjs.BatchPartsProcessor; }
9
+ get: function () { return chunkRZ4GHIRV_cjs.BatchPartsProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "LanguageDetector", {
12
12
  enumerable: true,
13
- get: function () { return chunkWU5GJU3T_cjs.LanguageDetector; }
13
+ get: function () { return chunkRZ4GHIRV_cjs.LanguageDetector; }
14
14
  });
15
15
  Object.defineProperty(exports, "ModerationProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkWU5GJU3T_cjs.ModerationProcessor; }
17
+ get: function () { return chunkRZ4GHIRV_cjs.ModerationProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "PIIDetector", {
20
20
  enumerable: true,
21
- get: function () { return chunkWU5GJU3T_cjs.PIIDetector; }
21
+ get: function () { return chunkRZ4GHIRV_cjs.PIIDetector; }
22
22
  });
23
23
  Object.defineProperty(exports, "ProcessorState", {
24
24
  enumerable: true,
25
- get: function () { return chunkWU5GJU3T_cjs.ProcessorState; }
25
+ get: function () { return chunkRZ4GHIRV_cjs.ProcessorState; }
26
26
  });
27
27
  Object.defineProperty(exports, "PromptInjectionDetector", {
28
28
  enumerable: true,
29
- get: function () { return chunkWU5GJU3T_cjs.PromptInjectionDetector; }
29
+ get: function () { return chunkRZ4GHIRV_cjs.PromptInjectionDetector; }
30
30
  });
31
31
  Object.defineProperty(exports, "StructuredOutputProcessor", {
32
32
  enumerable: true,
33
- get: function () { return chunkWU5GJU3T_cjs.StructuredOutputProcessor; }
33
+ get: function () { return chunkRZ4GHIRV_cjs.StructuredOutputProcessor; }
34
34
  });
35
35
  Object.defineProperty(exports, "SystemPromptScrubber", {
36
36
  enumerable: true,
37
- get: function () { return chunkWU5GJU3T_cjs.SystemPromptScrubber; }
37
+ get: function () { return chunkRZ4GHIRV_cjs.SystemPromptScrubber; }
38
38
  });
39
39
  Object.defineProperty(exports, "TokenLimiterProcessor", {
40
40
  enumerable: true,
41
- get: function () { return chunkWU5GJU3T_cjs.TokenLimiterProcessor; }
41
+ get: function () { return chunkRZ4GHIRV_cjs.TokenLimiterProcessor; }
42
42
  });
43
43
  Object.defineProperty(exports, "UnicodeNormalizer", {
44
44
  enumerable: true,
45
- get: function () { return chunkWU5GJU3T_cjs.UnicodeNormalizer; }
45
+ get: function () { return chunkRZ4GHIRV_cjs.UnicodeNormalizer; }
46
46
  });
47
47
  //# sourceMappingURL=index.cjs.map
48
48
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { BatchPartsProcessor, LanguageDetector, ModerationProcessor, PIIDetector, ProcessorState, PromptInjectionDetector, StructuredOutputProcessor, SystemPromptScrubber, TokenLimiterProcessor, UnicodeNormalizer } from '../chunk-EGNFOKJB.js';
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
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkMGEBT2TA_cjs = require('../chunk-MGEBT2TA.cjs');
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 chunkMGEBT2TA_cjs.CohereRelevanceScorer; }
9
+ get: function () { return chunkWPYZUO5P_cjs.CohereRelevanceScorer; }
10
10
  });
11
11
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
12
12
  enumerable: true,
13
- get: function () { return chunkMGEBT2TA_cjs.MastraAgentRelevanceScorer; }
13
+ get: function () { return chunkWPYZUO5P_cjs.MastraAgentRelevanceScorer; }
14
14
  });
15
15
  Object.defineProperty(exports, "createSimilarityPrompt", {
16
16
  enumerable: true,
17
- get: function () { return chunkMGEBT2TA_cjs.createSimilarityPrompt; }
17
+ get: function () { return chunkWPYZUO5P_cjs.createSimilarityPrompt; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-ATHHKW7H.js';
1
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-YRRJWUCV.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunk6FZN2LUN_cjs = require('../chunk-6FZN2LUN.cjs');
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 chunk6FZN2LUN_cjs.MastraScorer; }
10
+ get: function () { return chunkTGKFH6R3_cjs.MastraScorer; }
11
11
  });
12
12
  Object.defineProperty(exports, "createScorer", {
13
13
  enumerable: true,
14
- get: function () { return chunk6FZN2LUN_cjs.createScorer; }
14
+ get: function () { return chunkTGKFH6R3_cjs.createScorer; }
15
15
  });
16
16
  Object.defineProperty(exports, "runExperiment", {
17
17
  enumerable: true,
18
- get: function () { return chunk6FZN2LUN_cjs.runExperiment; }
18
+ get: function () { return chunkTGKFH6R3_cjs.runExperiment; }
19
19
  });
20
20
  Object.defineProperty(exports, "saveScorePayloadSchema", {
21
21
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { MastraScorer, createScorer, runExperiment } from '../chunk-ROWKALJ6.js';
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 chunkAZNEZR7L_cjs = require('../../chunk-AZNEZR7L.cjs');
3
+ var chunkBSXBT7PY_cjs = require('../../chunk-BSXBT7PY.cjs');
4
4
  var chunkBKE436B3_cjs = require('../../chunk-BKE436B3.cjs');
5
- var chunkU3JPTEAU_cjs = require('../../chunk-U3JPTEAU.cjs');
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 = chunkU3JPTEAU_cjs.convertMessages(tempMessage).to("AIV4.UI");
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 = chunkU3JPTEAU_cjs.convertMessages(messageInput).to("AIV4.UI");
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 = chunkAZNEZR7L_cjs.createStep({
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 = chunkAZNEZR7L_cjs.createWorkflow({
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-DZDMMWMA.js';
1
+ import { createStep, createWorkflow } from '../../chunk-UZCAGQCP.js';
2
2
  import { saveScorePayloadSchema } from '../../chunk-DRQRLD5G.js';
3
- import { convertMessages } from '../../chunk-4KFLI6P3.js';
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';
@@ -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 chunkU3JPTEAU_cjs.MessageList().add(rawMessages.map(this.parseStoredMessage), "memory");
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 chunkU3JPTEAU_cjs.MessageList().add(messages, "memory");
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
  }
@@ -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
 
@@ -1,45 +1,45 @@
1
1
  'use strict';
2
2
 
3
- var chunkWU5GJU3T_cjs = require('../chunk-WU5GJU3T.cjs');
4
- var chunkU3JPTEAU_cjs = require('../chunk-U3JPTEAU.cjs');
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 chunkWU5GJU3T_cjs.AISDKV5OutputStream; }
10
+ get: function () { return chunkRZ4GHIRV_cjs.AISDKV5OutputStream; }
11
11
  });
12
12
  Object.defineProperty(exports, "ChunkFrom", {
13
13
  enumerable: true,
14
- get: function () { return chunkWU5GJU3T_cjs.ChunkFrom; }
14
+ get: function () { return chunkRZ4GHIRV_cjs.ChunkFrom; }
15
15
  });
16
16
  Object.defineProperty(exports, "MastraAgentNetworkStream", {
17
17
  enumerable: true,
18
- get: function () { return chunkWU5GJU3T_cjs.MastraAgentNetworkStream; }
18
+ get: function () { return chunkRZ4GHIRV_cjs.MastraAgentNetworkStream; }
19
19
  });
20
20
  Object.defineProperty(exports, "MastraModelOutput", {
21
21
  enumerable: true,
22
- get: function () { return chunkWU5GJU3T_cjs.MastraModelOutput; }
22
+ get: function () { return chunkRZ4GHIRV_cjs.MastraModelOutput; }
23
23
  });
24
24
  Object.defineProperty(exports, "WorkflowRunOutput", {
25
25
  enumerable: true,
26
- get: function () { return chunkWU5GJU3T_cjs.WorkflowRunOutput; }
26
+ get: function () { return chunkRZ4GHIRV_cjs.WorkflowRunOutput; }
27
27
  });
28
28
  Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
29
29
  enumerable: true,
30
- get: function () { return chunkWU5GJU3T_cjs.convertFullStreamChunkToUIMessageStream; }
30
+ get: function () { return chunkRZ4GHIRV_cjs.convertFullStreamChunkToUIMessageStream; }
31
31
  });
32
32
  Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
33
33
  enumerable: true,
34
- get: function () { return chunkWU5GJU3T_cjs.convertMastraChunkToAISDKv5; }
34
+ get: function () { return chunkRZ4GHIRV_cjs.convertMastraChunkToAISDKv5; }
35
35
  });
36
36
  Object.defineProperty(exports, "DefaultGeneratedFile", {
37
37
  enumerable: true,
38
- get: function () { return chunkU3JPTEAU_cjs.DefaultGeneratedFile; }
38
+ get: function () { return chunkAXYN5P4Y_cjs.DefaultGeneratedFile; }
39
39
  });
40
40
  Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
41
41
  enumerable: true,
42
- get: function () { return chunkU3JPTEAU_cjs.DefaultGeneratedFileWithType; }
42
+ get: function () { return chunkAXYN5P4Y_cjs.DefaultGeneratedFileWithType; }
43
43
  });
44
44
  //# sourceMappingURL=index.cjs.map
45
45
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-EGNFOKJB.js';
2
- export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-4KFLI6P3.js';
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 chunkAZNEZR7L_cjs = require('../../chunk-AZNEZR7L.cjs');
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 chunkAZNEZR7L_cjs.EventedExecutionEngine; }
9
+ get: function () { return chunkBSXBT7PY_cjs.EventedExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "EventedRun", {
12
12
  enumerable: true,
13
- get: function () { return chunkAZNEZR7L_cjs.EventedRun; }
13
+ get: function () { return chunkBSXBT7PY_cjs.EventedRun; }
14
14
  });
15
15
  Object.defineProperty(exports, "EventedWorkflow", {
16
16
  enumerable: true,
17
- get: function () { return chunkAZNEZR7L_cjs.EventedWorkflow; }
17
+ get: function () { return chunkBSXBT7PY_cjs.EventedWorkflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "StepExecutor", {
20
20
  enumerable: true,
21
- get: function () { return chunkAZNEZR7L_cjs.StepExecutor; }
21
+ get: function () { return chunkBSXBT7PY_cjs.StepExecutor; }
22
22
  });
23
23
  Object.defineProperty(exports, "WorkflowEventProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkAZNEZR7L_cjs.WorkflowEventProcessor; }
25
+ get: function () { return chunkBSXBT7PY_cjs.WorkflowEventProcessor; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkAZNEZR7L_cjs.cloneStep; }
29
+ get: function () { return chunkBSXBT7PY_cjs.cloneStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkAZNEZR7L_cjs.cloneWorkflow; }
33
+ get: function () { return chunkBSXBT7PY_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "createStep", {
36
36
  enumerable: true,
37
- get: function () { return chunkAZNEZR7L_cjs.createStep; }
37
+ get: function () { return chunkBSXBT7PY_cjs.createStep; }
38
38
  });
39
39
  Object.defineProperty(exports, "createWorkflow", {
40
40
  enumerable: true,
41
- get: function () { return chunkAZNEZR7L_cjs.createWorkflow; }
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-DZDMMWMA.js';
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
@@ -1,60 +1,60 @@
1
1
  'use strict';
2
2
 
3
- var chunkWU5GJU3T_cjs = require('../chunk-WU5GJU3T.cjs');
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 chunkWU5GJU3T_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkRZ4GHIRV_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkWU5GJU3T_cjs.ExecutionEngine; }
13
+ get: function () { return chunkRZ4GHIRV_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkWU5GJU3T_cjs.Run; }
17
+ get: function () { return chunkRZ4GHIRV_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkWU5GJU3T_cjs.Workflow; }
21
+ get: function () { return chunkRZ4GHIRV_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkWU5GJU3T_cjs.cloneStep; }
25
+ get: function () { return chunkRZ4GHIRV_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkWU5GJU3T_cjs.cloneWorkflow; }
29
+ get: function () { return chunkRZ4GHIRV_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkWU5GJU3T_cjs.createStep; }
33
+ get: function () { return chunkRZ4GHIRV_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkWU5GJU3T_cjs.createWorkflow; }
37
+ get: function () { return chunkRZ4GHIRV_cjs.createWorkflow; }
38
38
  });
39
39
  Object.defineProperty(exports, "getResumeLabelsByStepId", {
40
40
  enumerable: true,
41
- get: function () { return chunkWU5GJU3T_cjs.getResumeLabelsByStepId; }
41
+ get: function () { return chunkRZ4GHIRV_cjs.getResumeLabelsByStepId; }
42
42
  });
43
43
  Object.defineProperty(exports, "getStepResult", {
44
44
  enumerable: true,
45
- get: function () { return chunkWU5GJU3T_cjs.getStepResult; }
45
+ get: function () { return chunkRZ4GHIRV_cjs.getStepResult; }
46
46
  });
47
47
  Object.defineProperty(exports, "getZodErrors", {
48
48
  enumerable: true,
49
- get: function () { return chunkWU5GJU3T_cjs.getZodErrors; }
49
+ get: function () { return chunkRZ4GHIRV_cjs.getZodErrors; }
50
50
  });
51
51
  Object.defineProperty(exports, "mapVariable", {
52
52
  enumerable: true,
53
- get: function () { return chunkWU5GJU3T_cjs.mapVariable; }
53
+ get: function () { return chunkRZ4GHIRV_cjs.mapVariable; }
54
54
  });
55
55
  Object.defineProperty(exports, "validateStepInput", {
56
56
  enumerable: true,
57
- get: function () { return chunkWU5GJU3T_cjs.validateStepInput; }
57
+ get: function () { return chunkRZ4GHIRV_cjs.validateStepInput; }
58
58
  });
59
59
  //# sourceMappingURL=index.cjs.map
60
60
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getResumeLabelsByStepId, getStepResult, getZodErrors, mapVariable, validateStepInput } from '../chunk-EGNFOKJB.js';
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 chunkWU5GJU3T_cjs = require('../../chunk-WU5GJU3T.cjs');
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 chunkWU5GJU3T_cjs.LegacyStep; }
9
+ get: function () { return chunkRZ4GHIRV_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkWU5GJU3T_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkRZ4GHIRV_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkWU5GJU3T_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkRZ4GHIRV_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkWU5GJU3T_cjs.agentToStep; }
21
+ get: function () { return chunkRZ4GHIRV_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkWU5GJU3T_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkRZ4GHIRV_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkWU5GJU3T_cjs.getResultActivePaths; }
29
+ get: function () { return chunkRZ4GHIRV_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkWU5GJU3T_cjs.getStepResult2; }
33
+ get: function () { return chunkRZ4GHIRV_cjs.getStepResult2; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkWU5GJU3T_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkRZ4GHIRV_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkWU5GJU3T_cjs.isAgent; }
41
+ get: function () { return chunkRZ4GHIRV_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkWU5GJU3T_cjs.isConditionalKey; }
45
+ get: function () { return chunkRZ4GHIRV_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkWU5GJU3T_cjs.isErrorEvent; }
49
+ get: function () { return chunkRZ4GHIRV_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkWU5GJU3T_cjs.isFinalState; }
53
+ get: function () { return chunkRZ4GHIRV_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkWU5GJU3T_cjs.isLimboState; }
57
+ get: function () { return chunkRZ4GHIRV_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkWU5GJU3T_cjs.isTransitionEvent; }
61
+ get: function () { return chunkRZ4GHIRV_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkWU5GJU3T_cjs.isVariableReference; }
65
+ get: function () { return chunkRZ4GHIRV_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkWU5GJU3T_cjs.isWorkflow; }
69
+ get: function () { return chunkRZ4GHIRV_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkWU5GJU3T_cjs.mergeChildValue; }
73
+ get: function () { return chunkRZ4GHIRV_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkWU5GJU3T_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkRZ4GHIRV_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkWU5GJU3T_cjs.resolveVariables; }
81
+ get: function () { return chunkRZ4GHIRV_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkWU5GJU3T_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkRZ4GHIRV_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkWU5GJU3T_cjs.workflowToStep; }
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-EGNFOKJB.js';
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",
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/types-builder": "0.0.39",
252
- "@internal/lint": "0.0.64"
251
+ "@internal/lint": "0.0.64",
252
+ "@internal/types-builder": "0.0.39"
253
253
  },
254
254
  "engines": {
255
255
  "node": ">=20"