@mastra/core 1.5.0-alpha.1 → 1.5.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +364 -0
  2. package/dist/agent/index.cjs +8 -8
  3. package/dist/agent/index.js +1 -1
  4. package/dist/{chunk-I3AWF54W.js → chunk-4GB2GS4S.js} +3 -3
  5. package/dist/{chunk-I3AWF54W.js.map → chunk-4GB2GS4S.js.map} +1 -1
  6. package/dist/{chunk-RH2K66O2.cjs → chunk-7S6LA43E.cjs} +3 -3
  7. package/dist/{chunk-RH2K66O2.cjs.map → chunk-7S6LA43E.cjs.map} +1 -1
  8. package/dist/{chunk-IJIE3ZID.cjs → chunk-7WC7ALDW.cjs} +6 -6
  9. package/dist/{chunk-IJIE3ZID.cjs.map → chunk-7WC7ALDW.cjs.map} +1 -1
  10. package/dist/{chunk-E2FHTXAI.cjs → chunk-CQ4Z6ZAV.cjs} +5 -5
  11. package/dist/{chunk-E2FHTXAI.cjs.map → chunk-CQ4Z6ZAV.cjs.map} +1 -1
  12. package/dist/{chunk-GEDGDKQ6.js → chunk-D57U4II4.js} +7 -7
  13. package/dist/{chunk-GEDGDKQ6.js.map → chunk-D57U4II4.js.map} +1 -1
  14. package/dist/{chunk-5EOLBHHS.js → chunk-DST75PA4.js} +4 -4
  15. package/dist/{chunk-5EOLBHHS.js.map → chunk-DST75PA4.js.map} +1 -1
  16. package/dist/{chunk-BKQAP27M.cjs → chunk-G5JVVFIG.cjs} +5 -5
  17. package/dist/{chunk-BKQAP27M.cjs.map → chunk-G5JVVFIG.cjs.map} +1 -1
  18. package/dist/{chunk-A7V2NSY3.js → chunk-MZIMV2BB.js} +3 -3
  19. package/dist/{chunk-A7V2NSY3.js.map → chunk-MZIMV2BB.js.map} +1 -1
  20. package/dist/{chunk-JWG272ZZ.cjs → chunk-NUV3BLRH.cjs} +15 -15
  21. package/dist/{chunk-JWG272ZZ.cjs.map → chunk-NUV3BLRH.cjs.map} +1 -1
  22. package/dist/{chunk-FTBLAVTF.cjs → chunk-OQ5LZ6OV.cjs} +46 -46
  23. package/dist/{chunk-FTBLAVTF.cjs.map → chunk-OQ5LZ6OV.cjs.map} +1 -1
  24. package/dist/{chunk-PECKKR4C.js → chunk-R3364RAL.js} +3 -3
  25. package/dist/{chunk-PECKKR4C.js.map → chunk-R3364RAL.js.map} +1 -1
  26. package/dist/{chunk-IBNCZTNQ.js → chunk-YV2YGQRY.js} +3 -3
  27. package/dist/{chunk-IBNCZTNQ.js.map → chunk-YV2YGQRY.js.map} +1 -1
  28. package/dist/datasets/index.cjs +11 -11
  29. package/dist/datasets/index.js +1 -1
  30. package/dist/docs/SKILL.md +1 -1
  31. package/dist/docs/assets/SOURCE_MAP.json +103 -103
  32. package/dist/docs/references/docs-workflows-suspend-and-resume.md +1 -1
  33. package/dist/evals/index.cjs +5 -5
  34. package/dist/evals/index.js +2 -2
  35. package/dist/evals/scoreTraces/index.cjs +3 -3
  36. package/dist/evals/scoreTraces/index.js +1 -1
  37. package/dist/harness/index.cjs +2 -2
  38. package/dist/harness/index.js +1 -1
  39. package/dist/index.cjs +2 -2
  40. package/dist/index.js +1 -1
  41. package/dist/loop/index.cjs +12 -12
  42. package/dist/loop/index.js +1 -1
  43. package/dist/mastra/index.cjs +2 -2
  44. package/dist/mastra/index.js +1 -1
  45. package/dist/memory/index.cjs +14 -14
  46. package/dist/memory/index.js +1 -1
  47. package/dist/processors/index.cjs +41 -41
  48. package/dist/processors/index.js +1 -1
  49. package/dist/relevance/index.cjs +3 -3
  50. package/dist/relevance/index.js +1 -1
  51. package/dist/stream/index.cjs +8 -8
  52. package/dist/stream/index.js +1 -1
  53. package/dist/tool-loop-agent/index.cjs +4 -4
  54. package/dist/tool-loop-agent/index.js +1 -1
  55. package/dist/workflows/evented/index.cjs +10 -10
  56. package/dist/workflows/evented/index.js +1 -1
  57. package/dist/workflows/index.cjs +25 -25
  58. package/dist/workflows/index.js +1 -1
  59. package/package.json +8 -8
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkFTBLAVTF_cjs = require('../../chunk-FTBLAVTF.cjs');
3
+ var chunkOQ5LZ6OV_cjs = require('../../chunk-OQ5LZ6OV.cjs');
4
4
  var chunkKNXZ7KYL_cjs = require('../../chunk-KNXZ7KYL.cjs');
5
5
  var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
6
6
  var pMap = require('p-map');
@@ -235,7 +235,7 @@ function transformTraceToScorerInputAndOutput(trace) {
235
235
  }
236
236
 
237
237
  // src/evals/scoreTraces/scoreTracesWorkflow.ts
238
- var getTraceStep = chunkFTBLAVTF_cjs.createStep({
238
+ var getTraceStep = chunkOQ5LZ6OV_cjs.createStep({
239
239
  id: "__process-trace-scoring",
240
240
  inputSchema: z__default.default.object({
241
241
  targets: z__default.default.array(
@@ -432,7 +432,7 @@ async function attachScoreToSpan({
432
432
  updates: { links: [...existingLinks, link] }
433
433
  });
434
434
  }
435
- var scoreTracesWorkflow = chunkFTBLAVTF_cjs.createWorkflow({
435
+ var scoreTracesWorkflow = chunkOQ5LZ6OV_cjs.createWorkflow({
436
436
  id: "__batch-scoring-traces",
437
437
  inputSchema: z__default.default.object({
438
438
  targets: z__default.default.array(
@@ -1,4 +1,4 @@
1
- import { createStep, createWorkflow } from '../../chunk-IBNCZTNQ.js';
1
+ import { createStep, createWorkflow } from '../../chunk-YV2YGQRY.js';
2
2
  import { saveScorePayloadSchema } from '../../chunk-UZFGMMKU.js';
3
3
  import { MastraError } from '../../chunk-FJEVLHJT.js';
4
4
  import pMap from 'p-map';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
  var chunkS4VVZI4E_cjs = require('../chunk-S4VVZI4E.cjs');
5
5
  var chunkEAZ6YDCQ_cjs = require('../chunk-EAZ6YDCQ.cjs');
6
6
  var chunkVDKWYUGC_cjs = require('../chunk-VDKWYUGC.cjs');
@@ -174,7 +174,7 @@ Use this tool when:
174
174
  isError: true
175
175
  };
176
176
  }
177
- const subagent = new chunkRH2K66O2_cjs.Agent({
177
+ const subagent = new chunk7S6LA43E_cjs.Agent({
178
178
  id: `subagent-${definition.id}`,
179
179
  name: `${definition.name} Subagent`,
180
180
  instructions: definition.instructions,
@@ -1,4 +1,4 @@
1
- import { Agent } from '../chunk-A7V2NSY3.js';
1
+ import { Agent } from '../chunk-MZIMV2BB.js';
2
2
  import { Workspace } from '../chunk-FZ5DRHKE.js';
3
3
  import { createTool } from '../chunk-BQHWJLXU.js';
4
4
  import { RequestContext } from '../chunk-CCLV5CAA.js';
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkJWG272ZZ_cjs = require('./chunk-JWG272ZZ.cjs');
3
+ var chunkNUV3BLRH_cjs = require('./chunk-NUV3BLRH.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunkJWG272ZZ_cjs.Mastra; }
9
+ get: function () { return chunkNUV3BLRH_cjs.Mastra; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Mastra } from './chunk-GEDGDKQ6.js';
1
+ export { Mastra } from './chunk-D57U4II4.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,52 +1,52 @@
1
1
  'use strict';
2
2
 
3
- var chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createScorer", {
8
8
  enumerable: true,
9
- get: function () { return chunkRH2K66O2_cjs.createScorer; }
9
+ get: function () { return chunk7S6LA43E_cjs.createScorer; }
10
10
  });
11
11
  Object.defineProperty(exports, "formatCheckFeedback", {
12
12
  enumerable: true,
13
- get: function () { return chunkRH2K66O2_cjs.formatCheckFeedback; }
13
+ get: function () { return chunk7S6LA43E_cjs.formatCheckFeedback; }
14
14
  });
15
15
  Object.defineProperty(exports, "formatCompletionFeedback", {
16
16
  enumerable: true,
17
- get: function () { return chunkRH2K66O2_cjs.formatCompletionFeedback; }
17
+ get: function () { return chunk7S6LA43E_cjs.formatCompletionFeedback; }
18
18
  });
19
19
  Object.defineProperty(exports, "formatValidationFeedback", {
20
20
  enumerable: true,
21
- get: function () { return chunkRH2K66O2_cjs.formatValidationFeedback; }
21
+ get: function () { return chunk7S6LA43E_cjs.formatValidationFeedback; }
22
22
  });
23
23
  Object.defineProperty(exports, "generateFinalResult", {
24
24
  enumerable: true,
25
- get: function () { return chunkRH2K66O2_cjs.generateFinalResult; }
25
+ get: function () { return chunk7S6LA43E_cjs.generateFinalResult; }
26
26
  });
27
27
  Object.defineProperty(exports, "generateStructuredFinalResult", {
28
28
  enumerable: true,
29
- get: function () { return chunkRH2K66O2_cjs.generateStructuredFinalResult; }
29
+ get: function () { return chunk7S6LA43E_cjs.generateStructuredFinalResult; }
30
30
  });
31
31
  Object.defineProperty(exports, "loop", {
32
32
  enumerable: true,
33
- get: function () { return chunkRH2K66O2_cjs.loop; }
33
+ get: function () { return chunk7S6LA43E_cjs.loop; }
34
34
  });
35
35
  Object.defineProperty(exports, "runChecks", {
36
36
  enumerable: true,
37
- get: function () { return chunkRH2K66O2_cjs.runChecks; }
37
+ get: function () { return chunk7S6LA43E_cjs.runChecks; }
38
38
  });
39
39
  Object.defineProperty(exports, "runCompletionScorers", {
40
40
  enumerable: true,
41
- get: function () { return chunkRH2K66O2_cjs.runCompletionScorers; }
41
+ get: function () { return chunk7S6LA43E_cjs.runCompletionScorers; }
42
42
  });
43
43
  Object.defineProperty(exports, "runDefaultCompletionCheck", {
44
44
  enumerable: true,
45
- get: function () { return chunkRH2K66O2_cjs.runDefaultCompletionCheck; }
45
+ get: function () { return chunk7S6LA43E_cjs.runDefaultCompletionCheck; }
46
46
  });
47
47
  Object.defineProperty(exports, "runValidation", {
48
48
  enumerable: true,
49
- get: function () { return chunkRH2K66O2_cjs.runValidation; }
49
+ get: function () { return chunk7S6LA43E_cjs.runValidation; }
50
50
  });
51
51
  //# sourceMappingURL=index.cjs.map
52
52
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runValidation } from '../chunk-A7V2NSY3.js';
1
+ export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runValidation } from '../chunk-MZIMV2BB.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkJWG272ZZ_cjs = require('../chunk-JWG272ZZ.cjs');
3
+ var chunkNUV3BLRH_cjs = require('../chunk-NUV3BLRH.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunkJWG272ZZ_cjs.Mastra; }
9
+ get: function () { return chunkNUV3BLRH_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-GEDGDKQ6.js';
1
+ export { Mastra } from '../chunk-D57U4II4.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 chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunkRH2K66O2_cjs.MastraMemory; }
9
+ get: function () { return chunk7S6LA43E_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkRH2K66O2_cjs.MemoryProcessor; }
13
+ get: function () { return chunk7S6LA43E_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "MockMemory", {
16
16
  enumerable: true,
17
- get: function () { return chunkRH2K66O2_cjs.MockMemory; }
17
+ get: function () { return chunk7S6LA43E_cjs.MockMemory; }
18
18
  });
19
19
  Object.defineProperty(exports, "WORKING_MEMORY_END_TAG", {
20
20
  enumerable: true,
21
- get: function () { return chunkRH2K66O2_cjs.WORKING_MEMORY_END_TAG; }
21
+ get: function () { return chunk7S6LA43E_cjs.WORKING_MEMORY_END_TAG; }
22
22
  });
23
23
  Object.defineProperty(exports, "WORKING_MEMORY_START_TAG", {
24
24
  enumerable: true,
25
- get: function () { return chunkRH2K66O2_cjs.WORKING_MEMORY_START_TAG; }
25
+ get: function () { return chunk7S6LA43E_cjs.WORKING_MEMORY_START_TAG; }
26
26
  });
27
27
  Object.defineProperty(exports, "extractWorkingMemoryContent", {
28
28
  enumerable: true,
29
- get: function () { return chunkRH2K66O2_cjs.extractWorkingMemoryContent; }
29
+ get: function () { return chunk7S6LA43E_cjs.extractWorkingMemoryContent; }
30
30
  });
31
31
  Object.defineProperty(exports, "extractWorkingMemoryTags", {
32
32
  enumerable: true,
33
- get: function () { return chunkRH2K66O2_cjs.extractWorkingMemoryTags; }
33
+ get: function () { return chunk7S6LA43E_cjs.extractWorkingMemoryTags; }
34
34
  });
35
35
  Object.defineProperty(exports, "getThreadOMMetadata", {
36
36
  enumerable: true,
37
- get: function () { return chunkRH2K66O2_cjs.getThreadOMMetadata; }
37
+ get: function () { return chunk7S6LA43E_cjs.getThreadOMMetadata; }
38
38
  });
39
39
  Object.defineProperty(exports, "isObservationalMemoryEnabled", {
40
40
  enumerable: true,
41
- get: function () { return chunkRH2K66O2_cjs.isObservationalMemoryEnabled; }
41
+ get: function () { return chunk7S6LA43E_cjs.isObservationalMemoryEnabled; }
42
42
  });
43
43
  Object.defineProperty(exports, "memoryDefaultOptions", {
44
44
  enumerable: true,
45
- get: function () { return chunkRH2K66O2_cjs.memoryDefaultOptions; }
45
+ get: function () { return chunk7S6LA43E_cjs.memoryDefaultOptions; }
46
46
  });
47
47
  Object.defineProperty(exports, "parseMemoryRequestContext", {
48
48
  enumerable: true,
49
- get: function () { return chunkRH2K66O2_cjs.parseMemoryRequestContext; }
49
+ get: function () { return chunk7S6LA43E_cjs.parseMemoryRequestContext; }
50
50
  });
51
51
  Object.defineProperty(exports, "removeWorkingMemoryTags", {
52
52
  enumerable: true,
53
- get: function () { return chunkRH2K66O2_cjs.removeWorkingMemoryTags; }
53
+ get: function () { return chunk7S6LA43E_cjs.removeWorkingMemoryTags; }
54
54
  });
55
55
  Object.defineProperty(exports, "setThreadOMMetadata", {
56
56
  enumerable: true,
57
- get: function () { return chunkRH2K66O2_cjs.setThreadOMMetadata; }
57
+ get: function () { return chunk7S6LA43E_cjs.setThreadOMMetadata; }
58
58
  });
59
59
  //# sourceMappingURL=index.cjs.map
60
60
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-A7V2NSY3.js';
1
+ export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-MZIMV2BB.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,168 +1,168 @@
1
1
  'use strict';
2
2
 
3
- var chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "BaseProcessor", {
8
8
  enumerable: true,
9
- get: function () { return chunkRH2K66O2_cjs.BaseProcessor; }
9
+ get: function () { return chunk7S6LA43E_cjs.BaseProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "BatchPartsProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkRH2K66O2_cjs.BatchPartsProcessor; }
13
+ get: function () { return chunk7S6LA43E_cjs.BatchPartsProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "FilePartSchema", {
16
16
  enumerable: true,
17
- get: function () { return chunkRH2K66O2_cjs.FilePartSchema; }
17
+ get: function () { return chunk7S6LA43E_cjs.FilePartSchema; }
18
18
  });
19
19
  Object.defineProperty(exports, "ImagePartSchema", {
20
20
  enumerable: true,
21
- get: function () { return chunkRH2K66O2_cjs.ImagePartSchema; }
21
+ get: function () { return chunk7S6LA43E_cjs.ImagePartSchema; }
22
22
  });
23
23
  Object.defineProperty(exports, "LanguageDetector", {
24
24
  enumerable: true,
25
- get: function () { return chunkRH2K66O2_cjs.LanguageDetector; }
25
+ get: function () { return chunk7S6LA43E_cjs.LanguageDetector; }
26
26
  });
27
27
  Object.defineProperty(exports, "MessageContentSchema", {
28
28
  enumerable: true,
29
- get: function () { return chunkRH2K66O2_cjs.MessageContentSchema; }
29
+ get: function () { return chunk7S6LA43E_cjs.MessageContentSchema; }
30
30
  });
31
31
  Object.defineProperty(exports, "MessageHistory", {
32
32
  enumerable: true,
33
- get: function () { return chunkRH2K66O2_cjs.MessageHistory; }
33
+ get: function () { return chunk7S6LA43E_cjs.MessageHistory; }
34
34
  });
35
35
  Object.defineProperty(exports, "MessagePartSchema", {
36
36
  enumerable: true,
37
- get: function () { return chunkRH2K66O2_cjs.MessagePartSchema; }
37
+ get: function () { return chunk7S6LA43E_cjs.MessagePartSchema; }
38
38
  });
39
39
  Object.defineProperty(exports, "ModerationProcessor", {
40
40
  enumerable: true,
41
- get: function () { return chunkRH2K66O2_cjs.ModerationProcessor; }
41
+ get: function () { return chunk7S6LA43E_cjs.ModerationProcessor; }
42
42
  });
43
43
  Object.defineProperty(exports, "PIIDetector", {
44
44
  enumerable: true,
45
- get: function () { return chunkRH2K66O2_cjs.PIIDetector; }
45
+ get: function () { return chunk7S6LA43E_cjs.PIIDetector; }
46
46
  });
47
47
  Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
48
48
  enumerable: true,
49
- get: function () { return chunkRH2K66O2_cjs.ProcessorInputPhaseSchema; }
49
+ get: function () { return chunk7S6LA43E_cjs.ProcessorInputPhaseSchema; }
50
50
  });
51
51
  Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
52
52
  enumerable: true,
53
- get: function () { return chunkRH2K66O2_cjs.ProcessorInputStepPhaseSchema; }
53
+ get: function () { return chunk7S6LA43E_cjs.ProcessorInputStepPhaseSchema; }
54
54
  });
55
55
  Object.defineProperty(exports, "ProcessorMessageContentSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunkRH2K66O2_cjs.ProcessorMessageContentSchema; }
57
+ get: function () { return chunk7S6LA43E_cjs.ProcessorMessageContentSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "ProcessorMessageSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunkRH2K66O2_cjs.ProcessorMessageSchema; }
61
+ get: function () { return chunk7S6LA43E_cjs.ProcessorMessageSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkRH2K66O2_cjs.ProcessorOutputResultPhaseSchema; }
65
+ get: function () { return chunk7S6LA43E_cjs.ProcessorOutputResultPhaseSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
68
68
  enumerable: true,
69
- get: function () { return chunkRH2K66O2_cjs.ProcessorOutputStepPhaseSchema; }
69
+ get: function () { return chunk7S6LA43E_cjs.ProcessorOutputStepPhaseSchema; }
70
70
  });
71
71
  Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
72
72
  enumerable: true,
73
- get: function () { return chunkRH2K66O2_cjs.ProcessorOutputStreamPhaseSchema; }
73
+ get: function () { return chunk7S6LA43E_cjs.ProcessorOutputStreamPhaseSchema; }
74
74
  });
75
75
  Object.defineProperty(exports, "ProcessorRunner", {
76
76
  enumerable: true,
77
- get: function () { return chunkRH2K66O2_cjs.ProcessorRunner; }
77
+ get: function () { return chunk7S6LA43E_cjs.ProcessorRunner; }
78
78
  });
79
79
  Object.defineProperty(exports, "ProcessorState", {
80
80
  enumerable: true,
81
- get: function () { return chunkRH2K66O2_cjs.ProcessorState; }
81
+ get: function () { return chunk7S6LA43E_cjs.ProcessorState; }
82
82
  });
83
83
  Object.defineProperty(exports, "ProcessorStepInputSchema", {
84
84
  enumerable: true,
85
- get: function () { return chunkRH2K66O2_cjs.ProcessorStepInputSchema; }
85
+ get: function () { return chunk7S6LA43E_cjs.ProcessorStepInputSchema; }
86
86
  });
87
87
  Object.defineProperty(exports, "ProcessorStepOutputSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunkRH2K66O2_cjs.ProcessorStepOutputSchema; }
89
+ get: function () { return chunk7S6LA43E_cjs.ProcessorStepOutputSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "ProcessorStepSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunkRH2K66O2_cjs.ProcessorStepSchema; }
93
+ get: function () { return chunk7S6LA43E_cjs.ProcessorStepSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "PromptInjectionDetector", {
96
96
  enumerable: true,
97
- get: function () { return chunkRH2K66O2_cjs.PromptInjectionDetector; }
97
+ get: function () { return chunk7S6LA43E_cjs.PromptInjectionDetector; }
98
98
  });
99
99
  Object.defineProperty(exports, "ReasoningPartSchema", {
100
100
  enumerable: true,
101
- get: function () { return chunkRH2K66O2_cjs.ReasoningPartSchema; }
101
+ get: function () { return chunk7S6LA43E_cjs.ReasoningPartSchema; }
102
102
  });
103
103
  Object.defineProperty(exports, "SemanticRecall", {
104
104
  enumerable: true,
105
- get: function () { return chunkRH2K66O2_cjs.SemanticRecall; }
105
+ get: function () { return chunk7S6LA43E_cjs.SemanticRecall; }
106
106
  });
107
107
  Object.defineProperty(exports, "SkillsProcessor", {
108
108
  enumerable: true,
109
- get: function () { return chunkRH2K66O2_cjs.SkillsProcessor; }
109
+ get: function () { return chunk7S6LA43E_cjs.SkillsProcessor; }
110
110
  });
111
111
  Object.defineProperty(exports, "SourcePartSchema", {
112
112
  enumerable: true,
113
- get: function () { return chunkRH2K66O2_cjs.SourcePartSchema; }
113
+ get: function () { return chunk7S6LA43E_cjs.SourcePartSchema; }
114
114
  });
115
115
  Object.defineProperty(exports, "StepStartPartSchema", {
116
116
  enumerable: true,
117
- get: function () { return chunkRH2K66O2_cjs.StepStartPartSchema; }
117
+ get: function () { return chunk7S6LA43E_cjs.StepStartPartSchema; }
118
118
  });
119
119
  Object.defineProperty(exports, "StructuredOutputProcessor", {
120
120
  enumerable: true,
121
- get: function () { return chunkRH2K66O2_cjs.StructuredOutputProcessor; }
121
+ get: function () { return chunk7S6LA43E_cjs.StructuredOutputProcessor; }
122
122
  });
123
123
  Object.defineProperty(exports, "SystemPromptScrubber", {
124
124
  enumerable: true,
125
- get: function () { return chunkRH2K66O2_cjs.SystemPromptScrubber; }
125
+ get: function () { return chunk7S6LA43E_cjs.SystemPromptScrubber; }
126
126
  });
127
127
  Object.defineProperty(exports, "TextPartSchema", {
128
128
  enumerable: true,
129
- get: function () { return chunkRH2K66O2_cjs.TextPartSchema; }
129
+ get: function () { return chunk7S6LA43E_cjs.TextPartSchema; }
130
130
  });
131
131
  Object.defineProperty(exports, "TokenLimiter", {
132
132
  enumerable: true,
133
- get: function () { return chunkRH2K66O2_cjs.TokenLimiterProcessor; }
133
+ get: function () { return chunk7S6LA43E_cjs.TokenLimiterProcessor; }
134
134
  });
135
135
  Object.defineProperty(exports, "TokenLimiterProcessor", {
136
136
  enumerable: true,
137
- get: function () { return chunkRH2K66O2_cjs.TokenLimiterProcessor; }
137
+ get: function () { return chunk7S6LA43E_cjs.TokenLimiterProcessor; }
138
138
  });
139
139
  Object.defineProperty(exports, "ToolCallFilter", {
140
140
  enumerable: true,
141
- get: function () { return chunkRH2K66O2_cjs.ToolCallFilter; }
141
+ get: function () { return chunk7S6LA43E_cjs.ToolCallFilter; }
142
142
  });
143
143
  Object.defineProperty(exports, "ToolInvocationPartSchema", {
144
144
  enumerable: true,
145
- get: function () { return chunkRH2K66O2_cjs.ToolInvocationPartSchema; }
145
+ get: function () { return chunk7S6LA43E_cjs.ToolInvocationPartSchema; }
146
146
  });
147
147
  Object.defineProperty(exports, "ToolSearchProcessor", {
148
148
  enumerable: true,
149
- get: function () { return chunkRH2K66O2_cjs.ToolSearchProcessor; }
149
+ get: function () { return chunk7S6LA43E_cjs.ToolSearchProcessor; }
150
150
  });
151
151
  Object.defineProperty(exports, "UnicodeNormalizer", {
152
152
  enumerable: true,
153
- get: function () { return chunkRH2K66O2_cjs.UnicodeNormalizer; }
153
+ get: function () { return chunk7S6LA43E_cjs.UnicodeNormalizer; }
154
154
  });
155
155
  Object.defineProperty(exports, "WorkingMemory", {
156
156
  enumerable: true,
157
- get: function () { return chunkRH2K66O2_cjs.WorkingMemory; }
157
+ get: function () { return chunk7S6LA43E_cjs.WorkingMemory; }
158
158
  });
159
159
  Object.defineProperty(exports, "globalEmbeddingCache", {
160
160
  enumerable: true,
161
- get: function () { return chunkRH2K66O2_cjs.globalEmbeddingCache; }
161
+ get: function () { return chunk7S6LA43E_cjs.globalEmbeddingCache; }
162
162
  });
163
163
  Object.defineProperty(exports, "isProcessorWorkflow", {
164
164
  enumerable: true,
165
- get: function () { return chunkRH2K66O2_cjs.isProcessorWorkflow; }
165
+ get: function () { return chunk7S6LA43E_cjs.isProcessorWorkflow; }
166
166
  });
167
167
  //# sourceMappingURL=index.cjs.map
168
168
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-A7V2NSY3.js';
1
+ export { BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-MZIMV2BB.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
 
5
5
  // src/relevance/relevance-score-provider.ts
6
6
  function createSimilarityPrompt(query, text) {
@@ -17,7 +17,7 @@ Relevance score (0-1):`;
17
17
  var MastraAgentRelevanceScorer = class {
18
18
  agent;
19
19
  constructor(name, model) {
20
- this.agent = new chunkRH2K66O2_cjs.Agent({
20
+ this.agent = new chunk7S6LA43E_cjs.Agent({
21
21
  id: `relevance-scorer-${name}`,
22
22
  name: `Relevance Scorer ${name}`,
23
23
  instructions: `You are a specialized agent for evaluating the relevance of text to queries.
@@ -37,7 +37,7 @@ Always return just the number, no explanation.`,
37
37
  const prompt = createSimilarityPrompt(query, text);
38
38
  const model = await this.agent.getModel();
39
39
  let response;
40
- if (chunkRH2K66O2_cjs.isSupportedLanguageModel(model)) {
40
+ if (chunk7S6LA43E_cjs.isSupportedLanguageModel(model)) {
41
41
  const responseText = await this.agent.generate(prompt);
42
42
  response = responseText.text;
43
43
  } else {
@@ -1,4 +1,4 @@
1
- import { Agent, isSupportedLanguageModel } from '../chunk-A7V2NSY3.js';
1
+ import { Agent, isSupportedLanguageModel } from '../chunk-MZIMV2BB.js';
2
2
 
3
3
  // src/relevance/relevance-score-provider.ts
4
4
  function createSimilarityPrompt(query, text) {
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkRH2K66O2_cjs = require('../chunk-RH2K66O2.cjs');
3
+ var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.cjs');
4
4
  var chunkYW54RH77_cjs = require('../chunk-YW54RH77.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ChunkFrom", {
9
9
  enumerable: true,
10
- get: function () { return chunkRH2K66O2_cjs.ChunkFrom; }
10
+ get: function () { return chunk7S6LA43E_cjs.ChunkFrom; }
11
11
  });
12
12
  Object.defineProperty(exports, "MastraAgentNetworkStream", {
13
13
  enumerable: true,
14
- get: function () { return chunkRH2K66O2_cjs.MastraAgentNetworkStream; }
14
+ get: function () { return chunk7S6LA43E_cjs.MastraAgentNetworkStream; }
15
15
  });
16
16
  Object.defineProperty(exports, "MastraModelOutput", {
17
17
  enumerable: true,
18
- get: function () { return chunkRH2K66O2_cjs.MastraModelOutput; }
18
+ get: function () { return chunk7S6LA43E_cjs.MastraModelOutput; }
19
19
  });
20
20
  Object.defineProperty(exports, "WorkflowRunOutput", {
21
21
  enumerable: true,
22
- get: function () { return chunkRH2K66O2_cjs.WorkflowRunOutput; }
22
+ get: function () { return chunk7S6LA43E_cjs.WorkflowRunOutput; }
23
23
  });
24
24
  Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
25
25
  enumerable: true,
26
- get: function () { return chunkRH2K66O2_cjs.convertFullStreamChunkToMastra; }
26
+ get: function () { return chunk7S6LA43E_cjs.convertFullStreamChunkToMastra; }
27
27
  });
28
28
  Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
29
29
  enumerable: true,
30
- get: function () { return chunkRH2K66O2_cjs.convertFullStreamChunkToUIMessageStream; }
30
+ get: function () { return chunk7S6LA43E_cjs.convertFullStreamChunkToUIMessageStream; }
31
31
  });
32
32
  Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
33
33
  enumerable: true,
34
- get: function () { return chunkRH2K66O2_cjs.convertMastraChunkToAISDKv5; }
34
+ get: function () { return chunk7S6LA43E_cjs.convertMastraChunkToAISDKv5; }
35
35
  });
36
36
  Object.defineProperty(exports, "DefaultGeneratedFile", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-A7V2NSY3.js';
1
+ export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-MZIMV2BB.js';
2
2
  export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-OHLVZVIK.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkBKQAP27M_cjs = require('../chunk-BKQAP27M.cjs');
3
+ var chunkG5JVVFIG_cjs = require('../chunk-G5JVVFIG.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "getSettings", {
8
8
  enumerable: true,
9
- get: function () { return chunkBKQAP27M_cjs.getSettings; }
9
+ get: function () { return chunkG5JVVFIG_cjs.getSettings; }
10
10
  });
11
11
  Object.defineProperty(exports, "isToolLoopAgentLike", {
12
12
  enumerable: true,
13
- get: function () { return chunkBKQAP27M_cjs.isToolLoopAgentLike; }
13
+ get: function () { return chunkG5JVVFIG_cjs.isToolLoopAgentLike; }
14
14
  });
15
15
  Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
16
16
  enumerable: true,
17
- get: function () { return chunkBKQAP27M_cjs.toolLoopAgentToMastraAgent; }
17
+ get: function () { return chunkG5JVVFIG_cjs.toolLoopAgentToMastraAgent; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-I3AWF54W.js';
1
+ export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-4GB2GS4S.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map