@mastra/core 1.18.1-alpha.0 → 1.18.1-alpha.1

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 (204) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/agent/agent.d.ts.map +1 -1
  3. package/dist/agent/index.cjs +8 -8
  4. package/dist/agent/index.js +1 -1
  5. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  6. package/dist/{chunk-DTT543MP.cjs → chunk-2W7R236U.cjs} +3 -3
  7. package/dist/{chunk-DTT543MP.cjs.map → chunk-2W7R236U.cjs.map} +1 -1
  8. package/dist/{chunk-V2NQOABM.cjs → chunk-5ANYSU2W.cjs} +9 -9
  9. package/dist/{chunk-V2NQOABM.cjs.map → chunk-5ANYSU2W.cjs.map} +1 -1
  10. package/dist/{chunk-RVBOSWN5.cjs → chunk-6R5PT6ZP.cjs} +5 -5
  11. package/dist/{chunk-RVBOSWN5.cjs.map → chunk-6R5PT6ZP.cjs.map} +1 -1
  12. package/dist/{chunk-LKZQG2ZZ.cjs → chunk-6VRSFFQ4.cjs} +7 -6
  13. package/dist/chunk-6VRSFFQ4.cjs.map +1 -0
  14. package/dist/{chunk-OF7ELKXY.js → chunk-7IE4K74P.js} +4 -4
  15. package/dist/{chunk-OF7ELKXY.js.map → chunk-7IE4K74P.js.map} +1 -1
  16. package/dist/{chunk-KEYCLRBI.js → chunk-7V3UNILV.js} +4 -4
  17. package/dist/{chunk-KEYCLRBI.js.map → chunk-7V3UNILV.js.map} +1 -1
  18. package/dist/{chunk-IVXAQT6H.js → chunk-AJZQPWAV.js} +59 -19
  19. package/dist/chunk-AJZQPWAV.js.map +1 -0
  20. package/dist/{chunk-NRIT3KHS.js → chunk-BZ2MSXOF.js} +3 -3
  21. package/dist/{chunk-NRIT3KHS.js.map → chunk-BZ2MSXOF.js.map} +1 -1
  22. package/dist/{chunk-HRT662B6.js → chunk-EAJDF6UV.js} +12 -7
  23. package/dist/chunk-EAJDF6UV.js.map +1 -0
  24. package/dist/{chunk-CU764D5P.cjs → chunk-EXDBQKH4.cjs} +15 -15
  25. package/dist/{chunk-CU764D5P.cjs.map → chunk-EXDBQKH4.cjs.map} +1 -1
  26. package/dist/{chunk-WGJL6F3F.js → chunk-HQCBFWL2.js} +4 -4
  27. package/dist/{chunk-WGJL6F3F.js.map → chunk-HQCBFWL2.js.map} +1 -1
  28. package/dist/{chunk-KG5NOH3Z.js → chunk-JTJCFEIY.js} +8 -8
  29. package/dist/{chunk-KG5NOH3Z.js.map → chunk-JTJCFEIY.js.map} +1 -1
  30. package/dist/{chunk-H5ZOJOQ2.cjs → chunk-L2GYXPJJ.cjs} +9 -9
  31. package/dist/{chunk-H5ZOJOQ2.cjs.map → chunk-L2GYXPJJ.cjs.map} +1 -1
  32. package/dist/{chunk-Z7DO2WCR.cjs → chunk-LVZKPNQO.cjs} +50 -50
  33. package/dist/{chunk-Z7DO2WCR.cjs.map → chunk-LVZKPNQO.cjs.map} +1 -1
  34. package/dist/{chunk-MJF7NZEF.js → chunk-OLHODPXN.js} +3 -3
  35. package/dist/{chunk-MJF7NZEF.js.map → chunk-OLHODPXN.js.map} +1 -1
  36. package/dist/{chunk-L3V6LSQF.js → chunk-OTJAMDX5.js} +3 -3
  37. package/dist/{chunk-L3V6LSQF.js.map → chunk-OTJAMDX5.js.map} +1 -1
  38. package/dist/{chunk-HZI7AYCD.js → chunk-PB3KXPNE.js} +8 -7
  39. package/dist/chunk-PB3KXPNE.js.map +1 -0
  40. package/dist/{chunk-7W6PDCOH.cjs → chunk-QADPCUBX.cjs} +83 -82
  41. package/dist/chunk-QADPCUBX.cjs.map +1 -0
  42. package/dist/{chunk-BWRB3RPC.js → chunk-QNNFMCSE.js} +3 -3
  43. package/dist/{chunk-BWRB3RPC.js.map → chunk-QNNFMCSE.js.map} +1 -1
  44. package/dist/{chunk-KFL6ZGWG.js → chunk-RF4TETYQ.js} +4 -4
  45. package/dist/{chunk-KFL6ZGWG.js.map → chunk-RF4TETYQ.js.map} +1 -1
  46. package/dist/{chunk-GALW5K2E.js → chunk-UJX2TJIF.js} +3 -3
  47. package/dist/{chunk-GALW5K2E.js.map → chunk-UJX2TJIF.js.map} +1 -1
  48. package/dist/{chunk-XQRTJIC7.cjs → chunk-VEP4CV7E.cjs} +32 -3
  49. package/dist/chunk-VEP4CV7E.cjs.map +1 -0
  50. package/dist/{chunk-K7AE4BHR.js → chunk-VMBWVH4B.js} +4 -3
  51. package/dist/chunk-VMBWVH4B.js.map +1 -0
  52. package/dist/{chunk-CJ4RMDJJ.cjs → chunk-WLNT3YJ7.cjs} +95 -55
  53. package/dist/chunk-WLNT3YJ7.cjs.map +1 -0
  54. package/dist/{chunk-NMDKJUHA.cjs → chunk-WMF4CWAL.cjs} +185 -185
  55. package/dist/{chunk-NMDKJUHA.cjs.map → chunk-WMF4CWAL.cjs.map} +1 -1
  56. package/dist/{chunk-4FMKWOPC.js → chunk-X4Q4KB6C.js} +31 -4
  57. package/dist/chunk-X4Q4KB6C.js.map +1 -0
  58. package/dist/{chunk-TJNYXDI7.cjs → chunk-XDZOEUNU.cjs} +5 -5
  59. package/dist/{chunk-TJNYXDI7.cjs.map → chunk-XDZOEUNU.cjs.map} +1 -1
  60. package/dist/{chunk-GXXNF6NF.cjs → chunk-XNBGNCVV.cjs} +15 -10
  61. package/dist/chunk-XNBGNCVV.cjs.map +1 -0
  62. package/dist/{chunk-TPE5VTVF.cjs → chunk-YCT2YQDL.cjs} +6 -6
  63. package/dist/{chunk-TPE5VTVF.cjs.map → chunk-YCT2YQDL.cjs.map} +1 -1
  64. package/dist/{chunk-45LU555A.cjs → chunk-YMPV2RMB.cjs} +7 -7
  65. package/dist/{chunk-45LU555A.cjs.map → chunk-YMPV2RMB.cjs.map} +1 -1
  66. package/dist/datasets/index.cjs +17 -17
  67. package/dist/datasets/index.js +2 -2
  68. package/dist/docs/SKILL.md +8 -18
  69. package/dist/docs/assets/SOURCE_MAP.json +252 -252
  70. package/dist/docs/references/docs-agents-overview.md +4 -4
  71. package/dist/docs/references/docs-agents-processors.md +1 -1
  72. package/dist/docs/references/{docs-observability-datasets-overview.md → docs-evals-datasets-overview.md} +12 -12
  73. package/dist/docs/references/{docs-observability-datasets-running-experiments.md → docs-evals-datasets-running-experiments.md} +9 -9
  74. package/dist/docs/references/docs-evals-overview.md +8 -9
  75. package/dist/docs/references/docs-memory-observational-memory.md +20 -11
  76. package/dist/docs/references/docs-memory-overview.md +4 -4
  77. package/dist/docs/references/docs-memory-semantic-recall.md +28 -19
  78. package/dist/docs/references/docs-memory-storage.md +4 -4
  79. package/dist/docs/references/docs-rag-chunking-and-embedding.md +2 -2
  80. package/dist/docs/references/docs-server-auth-composite-auth.md +1 -7
  81. package/dist/docs/references/docs-server-auth-custom-auth-provider.md +2 -4
  82. package/dist/docs/references/docs-server-auth-jwt.md +1 -1
  83. package/dist/docs/references/docs-server-auth-simple-auth.md +1 -7
  84. package/dist/docs/references/docs-server-custom-adapters.md +3 -1
  85. package/dist/docs/references/docs-server-custom-api-routes.md +1 -1
  86. package/dist/docs/references/docs-server-mastra-client.md +1 -3
  87. package/dist/docs/references/docs-server-mastra-server.md +8 -0
  88. package/dist/docs/references/docs-server-request-context.md +17 -17
  89. package/dist/docs/references/docs-streaming-events.md +1 -90
  90. package/dist/docs/references/docs-studio-auth.md +142 -0
  91. package/dist/docs/references/docs-studio-deployment.md +260 -0
  92. package/dist/docs/references/docs-studio-observability.md +98 -0
  93. package/dist/docs/references/docs-studio-overview.md +127 -0
  94. package/dist/docs/references/docs-workflows-agents-and-tools.md +7 -10
  95. package/dist/docs/references/docs-workflows-control-flow.md +1 -1
  96. package/dist/docs/references/docs-workflows-overview.md +12 -7
  97. package/dist/docs/references/docs-workflows-suspend-and-resume.md +1 -1
  98. package/dist/docs/references/guides-concepts-multi-agent-systems.md +4 -4
  99. package/dist/docs/references/reference-agents-agent.md +1 -1
  100. package/dist/docs/references/reference-configuration.md +4 -4
  101. package/dist/docs/references/reference-memory-observational-memory.md +1 -1
  102. package/dist/docs/references/reference-storage-cloudflare-d1.md +1 -1
  103. package/dist/docs/references/reference-storage-lance.md +1 -1
  104. package/dist/docs/references/reference-storage-upstash.md +1 -1
  105. package/dist/docs/references/reference.md +16 -14
  106. package/dist/evals/index.cjs +5 -5
  107. package/dist/evals/index.js +2 -2
  108. package/dist/evals/scoreTraces/index.cjs +3 -3
  109. package/dist/evals/scoreTraces/index.js +1 -1
  110. package/dist/harness/harness.d.ts.map +1 -1
  111. package/dist/harness/index.cjs +13 -12
  112. package/dist/harness/index.cjs.map +1 -1
  113. package/dist/harness/index.js +8 -7
  114. package/dist/harness/index.js.map +1 -1
  115. package/dist/index.cjs +2 -2
  116. package/dist/index.js +1 -1
  117. package/dist/llm/index.cjs +16 -16
  118. package/dist/llm/index.js +5 -5
  119. package/dist/llm/model/aisdk/v5/model.d.ts +5 -0
  120. package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
  121. package/dist/llm/model/aisdk/v6/model.d.ts +5 -0
  122. package/dist/llm/model/aisdk/v6/model.d.ts.map +1 -1
  123. package/dist/loop/index.cjs +14 -14
  124. package/dist/loop/index.js +1 -1
  125. package/dist/loop/network/validation.d.ts.map +1 -1
  126. package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
  127. package/dist/mastra/index.cjs +2 -2
  128. package/dist/mastra/index.js +1 -1
  129. package/dist/memory/index.cjs +14 -14
  130. package/dist/memory/index.js +1 -1
  131. package/dist/models-dev-WD6XLSFC.cjs +12 -0
  132. package/dist/{models-dev-674ULLFE.cjs.map → models-dev-WD6XLSFC.cjs.map} +1 -1
  133. package/dist/models-dev-XG4KIUFT.js +3 -0
  134. package/dist/{models-dev-AVV7SNWL.js.map → models-dev-XG4KIUFT.js.map} +1 -1
  135. package/dist/netlify-FMBBUFKT.cjs +12 -0
  136. package/dist/{netlify-QP3MZ4FK.cjs.map → netlify-FMBBUFKT.cjs.map} +1 -1
  137. package/dist/netlify-NDOVF45T.js +3 -0
  138. package/dist/{netlify-KWEJPG27.js.map → netlify-NDOVF45T.js.map} +1 -1
  139. package/dist/processor-provider/index.cjs +10 -10
  140. package/dist/processor-provider/index.js +1 -1
  141. package/dist/processors/index.cjs +44 -44
  142. package/dist/processors/index.js +1 -1
  143. package/dist/provider-registry-KHXFOGCK.js +3 -0
  144. package/dist/{provider-registry-L3LFTZUA.js.map → provider-registry-KHXFOGCK.js.map} +1 -1
  145. package/dist/provider-registry-VUG7E4SG.cjs +40 -0
  146. package/dist/{provider-registry-KZN4FOFE.cjs.map → provider-registry-VUG7E4SG.cjs.map} +1 -1
  147. package/dist/relevance/index.cjs +3 -3
  148. package/dist/relevance/index.js +1 -1
  149. package/dist/storage/index.cjs +74 -74
  150. package/dist/storage/index.js +1 -1
  151. package/dist/stream/aisdk/v5/compat/prepare-tools.d.ts.map +1 -1
  152. package/dist/stream/index.cjs +8 -8
  153. package/dist/stream/index.js +1 -1
  154. package/dist/test-utils/llm-mock.cjs +4 -4
  155. package/dist/test-utils/llm-mock.js +1 -1
  156. package/dist/tool-loop-agent/index.cjs +4 -4
  157. package/dist/tool-loop-agent/index.js +1 -1
  158. package/dist/tools/tool-builder/builder.d.ts.map +1 -1
  159. package/dist/utils.cjs +31 -23
  160. package/dist/utils.d.ts +10 -0
  161. package/dist/utils.d.ts.map +1 -1
  162. package/dist/utils.js +1 -1
  163. package/dist/vector/index.cjs +7 -7
  164. package/dist/vector/index.js +1 -1
  165. package/dist/workflows/evented/index.cjs +10 -10
  166. package/dist/workflows/evented/index.js +1 -1
  167. package/dist/workflows/index.cjs +24 -24
  168. package/dist/workflows/index.js +1 -1
  169. package/dist/workflows/workflow.d.ts.map +1 -1
  170. package/dist/workspace/index.cjs +68 -68
  171. package/dist/workspace/index.js +1 -1
  172. package/dist/workspace/workspace.d.ts +1 -0
  173. package/dist/workspace/workspace.d.ts.map +1 -1
  174. package/package.json +5 -5
  175. package/dist/chunk-4FMKWOPC.js.map +0 -1
  176. package/dist/chunk-7W6PDCOH.cjs.map +0 -1
  177. package/dist/chunk-CJ4RMDJJ.cjs.map +0 -1
  178. package/dist/chunk-GXXNF6NF.cjs.map +0 -1
  179. package/dist/chunk-HRT662B6.js.map +0 -1
  180. package/dist/chunk-HZI7AYCD.js.map +0 -1
  181. package/dist/chunk-IVXAQT6H.js.map +0 -1
  182. package/dist/chunk-K7AE4BHR.js.map +0 -1
  183. package/dist/chunk-LKZQG2ZZ.cjs.map +0 -1
  184. package/dist/chunk-XQRTJIC7.cjs.map +0 -1
  185. package/dist/docs/references/docs-observability-logging.md +0 -99
  186. package/dist/docs/references/docs-observability-overview.md +0 -70
  187. package/dist/docs/references/docs-observability-tracing-bridges-otel.md +0 -209
  188. package/dist/docs/references/docs-observability-tracing-exporters-arize.md +0 -272
  189. package/dist/docs/references/docs-observability-tracing-exporters-braintrust.md +0 -126
  190. package/dist/docs/references/docs-observability-tracing-exporters-cloud.md +0 -127
  191. package/dist/docs/references/docs-observability-tracing-exporters-datadog.md +0 -317
  192. package/dist/docs/references/docs-observability-tracing-exporters-default.md +0 -209
  193. package/dist/docs/references/docs-observability-tracing-exporters-laminar.md +0 -100
  194. package/dist/docs/references/docs-observability-tracing-exporters-langfuse.md +0 -213
  195. package/dist/docs/references/docs-observability-tracing-exporters-langsmith.md +0 -198
  196. package/dist/docs/references/docs-observability-tracing-exporters-otel.md +0 -476
  197. package/dist/docs/references/docs-observability-tracing-exporters-posthog.md +0 -148
  198. package/dist/docs/references/docs-observability-tracing-overview.md +0 -1112
  199. package/dist/models-dev-674ULLFE.cjs +0 -12
  200. package/dist/models-dev-AVV7SNWL.js +0 -3
  201. package/dist/netlify-KWEJPG27.js +0 -3
  202. package/dist/netlify-QP3MZ4FK.cjs +0 -12
  203. package/dist/provider-registry-KZN4FOFE.cjs +0 -40
  204. package/dist/provider-registry-L3LFTZUA.js +0 -3
@@ -1,180 +1,180 @@
1
1
  'use strict';
2
2
 
3
- var chunkCJ4RMDJJ_cjs = require('../chunk-CJ4RMDJJ.cjs');
3
+ var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AgentsMDInjector", {
8
8
  enumerable: true,
9
- get: function () { return chunkCJ4RMDJJ_cjs.AgentsMDInjector; }
9
+ get: function () { return chunkWLNT3YJ7_cjs.AgentsMDInjector; }
10
10
  });
11
11
  Object.defineProperty(exports, "BaseProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkCJ4RMDJJ_cjs.BaseProcessor; }
13
+ get: function () { return chunkWLNT3YJ7_cjs.BaseProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "BatchPartsProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkCJ4RMDJJ_cjs.BatchPartsProcessor; }
17
+ get: function () { return chunkWLNT3YJ7_cjs.BatchPartsProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "FilePartSchema", {
20
20
  enumerable: true,
21
- get: function () { return chunkCJ4RMDJJ_cjs.FilePartSchema; }
21
+ get: function () { return chunkWLNT3YJ7_cjs.FilePartSchema; }
22
22
  });
23
23
  Object.defineProperty(exports, "ImagePartSchema", {
24
24
  enumerable: true,
25
- get: function () { return chunkCJ4RMDJJ_cjs.ImagePartSchema; }
25
+ get: function () { return chunkWLNT3YJ7_cjs.ImagePartSchema; }
26
26
  });
27
27
  Object.defineProperty(exports, "LanguageDetector", {
28
28
  enumerable: true,
29
- get: function () { return chunkCJ4RMDJJ_cjs.LanguageDetector; }
29
+ get: function () { return chunkWLNT3YJ7_cjs.LanguageDetector; }
30
30
  });
31
31
  Object.defineProperty(exports, "MessageContentSchema", {
32
32
  enumerable: true,
33
- get: function () { return chunkCJ4RMDJJ_cjs.MessageContentSchema; }
33
+ get: function () { return chunkWLNT3YJ7_cjs.MessageContentSchema; }
34
34
  });
35
35
  Object.defineProperty(exports, "MessageHistory", {
36
36
  enumerable: true,
37
- get: function () { return chunkCJ4RMDJJ_cjs.MessageHistory; }
37
+ get: function () { return chunkWLNT3YJ7_cjs.MessageHistory; }
38
38
  });
39
39
  Object.defineProperty(exports, "MessagePartSchema", {
40
40
  enumerable: true,
41
- get: function () { return chunkCJ4RMDJJ_cjs.MessagePartSchema; }
41
+ get: function () { return chunkWLNT3YJ7_cjs.MessagePartSchema; }
42
42
  });
43
43
  Object.defineProperty(exports, "ModerationProcessor", {
44
44
  enumerable: true,
45
- get: function () { return chunkCJ4RMDJJ_cjs.ModerationProcessor; }
45
+ get: function () { return chunkWLNT3YJ7_cjs.ModerationProcessor; }
46
46
  });
47
47
  Object.defineProperty(exports, "PIIDetector", {
48
48
  enumerable: true,
49
- get: function () { return chunkCJ4RMDJJ_cjs.PIIDetector; }
49
+ get: function () { return chunkWLNT3YJ7_cjs.PIIDetector; }
50
50
  });
51
51
  Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
52
52
  enumerable: true,
53
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorInputPhaseSchema; }
53
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputPhaseSchema; }
54
54
  });
55
55
  Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorInputStepPhaseSchema; }
57
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputStepPhaseSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "ProcessorMessageContentSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorMessageContentSchema; }
61
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageContentSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "ProcessorMessageSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorMessageSchema; }
65
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
68
68
  enumerable: true,
69
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorOutputResultPhaseSchema; }
69
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputResultPhaseSchema; }
70
70
  });
71
71
  Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
72
72
  enumerable: true,
73
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorOutputStepPhaseSchema; }
73
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStepPhaseSchema; }
74
74
  });
75
75
  Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
76
76
  enumerable: true,
77
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorOutputStreamPhaseSchema; }
77
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStreamPhaseSchema; }
78
78
  });
79
79
  Object.defineProperty(exports, "ProcessorRunner", {
80
80
  enumerable: true,
81
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorRunner; }
81
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorRunner; }
82
82
  });
83
83
  Object.defineProperty(exports, "ProcessorState", {
84
84
  enumerable: true,
85
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorState; }
85
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorState; }
86
86
  });
87
87
  Object.defineProperty(exports, "ProcessorStepInputSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorStepInputSchema; }
89
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepInputSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "ProcessorStepOutputSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorStepOutputSchema; }
93
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepOutputSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "ProcessorStepSchema", {
96
96
  enumerable: true,
97
- get: function () { return chunkCJ4RMDJJ_cjs.ProcessorStepSchema; }
97
+ get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepSchema; }
98
98
  });
99
99
  Object.defineProperty(exports, "PromptInjectionDetector", {
100
100
  enumerable: true,
101
- get: function () { return chunkCJ4RMDJJ_cjs.PromptInjectionDetector; }
101
+ get: function () { return chunkWLNT3YJ7_cjs.PromptInjectionDetector; }
102
102
  });
103
103
  Object.defineProperty(exports, "ReasoningPartSchema", {
104
104
  enumerable: true,
105
- get: function () { return chunkCJ4RMDJJ_cjs.ReasoningPartSchema; }
105
+ get: function () { return chunkWLNT3YJ7_cjs.ReasoningPartSchema; }
106
106
  });
107
107
  Object.defineProperty(exports, "SemanticRecall", {
108
108
  enumerable: true,
109
- get: function () { return chunkCJ4RMDJJ_cjs.SemanticRecall; }
109
+ get: function () { return chunkWLNT3YJ7_cjs.SemanticRecall; }
110
110
  });
111
111
  Object.defineProperty(exports, "SkillSearchProcessor", {
112
112
  enumerable: true,
113
- get: function () { return chunkCJ4RMDJJ_cjs.SkillSearchProcessor; }
113
+ get: function () { return chunkWLNT3YJ7_cjs.SkillSearchProcessor; }
114
114
  });
115
115
  Object.defineProperty(exports, "SkillsProcessor", {
116
116
  enumerable: true,
117
- get: function () { return chunkCJ4RMDJJ_cjs.SkillsProcessor; }
117
+ get: function () { return chunkWLNT3YJ7_cjs.SkillsProcessor; }
118
118
  });
119
119
  Object.defineProperty(exports, "SourcePartSchema", {
120
120
  enumerable: true,
121
- get: function () { return chunkCJ4RMDJJ_cjs.SourcePartSchema; }
121
+ get: function () { return chunkWLNT3YJ7_cjs.SourcePartSchema; }
122
122
  });
123
123
  Object.defineProperty(exports, "StepStartPartSchema", {
124
124
  enumerable: true,
125
- get: function () { return chunkCJ4RMDJJ_cjs.StepStartPartSchema; }
125
+ get: function () { return chunkWLNT3YJ7_cjs.StepStartPartSchema; }
126
126
  });
127
127
  Object.defineProperty(exports, "StructuredOutputProcessor", {
128
128
  enumerable: true,
129
- get: function () { return chunkCJ4RMDJJ_cjs.StructuredOutputProcessor; }
129
+ get: function () { return chunkWLNT3YJ7_cjs.StructuredOutputProcessor; }
130
130
  });
131
131
  Object.defineProperty(exports, "SystemPromptScrubber", {
132
132
  enumerable: true,
133
- get: function () { return chunkCJ4RMDJJ_cjs.SystemPromptScrubber; }
133
+ get: function () { return chunkWLNT3YJ7_cjs.SystemPromptScrubber; }
134
134
  });
135
135
  Object.defineProperty(exports, "TextPartSchema", {
136
136
  enumerable: true,
137
- get: function () { return chunkCJ4RMDJJ_cjs.TextPartSchema; }
137
+ get: function () { return chunkWLNT3YJ7_cjs.TextPartSchema; }
138
138
  });
139
139
  Object.defineProperty(exports, "TokenLimiter", {
140
140
  enumerable: true,
141
- get: function () { return chunkCJ4RMDJJ_cjs.TokenLimiterProcessor; }
141
+ get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
142
142
  });
143
143
  Object.defineProperty(exports, "TokenLimiterProcessor", {
144
144
  enumerable: true,
145
- get: function () { return chunkCJ4RMDJJ_cjs.TokenLimiterProcessor; }
145
+ get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
146
146
  });
147
147
  Object.defineProperty(exports, "ToolCallFilter", {
148
148
  enumerable: true,
149
- get: function () { return chunkCJ4RMDJJ_cjs.ToolCallFilter; }
149
+ get: function () { return chunkWLNT3YJ7_cjs.ToolCallFilter; }
150
150
  });
151
151
  Object.defineProperty(exports, "ToolInvocationPartSchema", {
152
152
  enumerable: true,
153
- get: function () { return chunkCJ4RMDJJ_cjs.ToolInvocationPartSchema; }
153
+ get: function () { return chunkWLNT3YJ7_cjs.ToolInvocationPartSchema; }
154
154
  });
155
155
  Object.defineProperty(exports, "ToolSearchProcessor", {
156
156
  enumerable: true,
157
- get: function () { return chunkCJ4RMDJJ_cjs.ToolSearchProcessor; }
157
+ get: function () { return chunkWLNT3YJ7_cjs.ToolSearchProcessor; }
158
158
  });
159
159
  Object.defineProperty(exports, "UnicodeNormalizer", {
160
160
  enumerable: true,
161
- get: function () { return chunkCJ4RMDJJ_cjs.UnicodeNormalizer; }
161
+ get: function () { return chunkWLNT3YJ7_cjs.UnicodeNormalizer; }
162
162
  });
163
163
  Object.defineProperty(exports, "WorkingMemory", {
164
164
  enumerable: true,
165
- get: function () { return chunkCJ4RMDJJ_cjs.WorkingMemory; }
165
+ get: function () { return chunkWLNT3YJ7_cjs.WorkingMemory; }
166
166
  });
167
167
  Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
168
168
  enumerable: true,
169
- get: function () { return chunkCJ4RMDJJ_cjs.WorkspaceInstructionsProcessor; }
169
+ get: function () { return chunkWLNT3YJ7_cjs.WorkspaceInstructionsProcessor; }
170
170
  });
171
171
  Object.defineProperty(exports, "globalEmbeddingCache", {
172
172
  enumerable: true,
173
- get: function () { return chunkCJ4RMDJJ_cjs.globalEmbeddingCache; }
173
+ get: function () { return chunkWLNT3YJ7_cjs.globalEmbeddingCache; }
174
174
  });
175
175
  Object.defineProperty(exports, "isProcessorWorkflow", {
176
176
  enumerable: true,
177
- get: function () { return chunkCJ4RMDJJ_cjs.isProcessorWorkflow; }
177
+ get: function () { return chunkWLNT3YJ7_cjs.isProcessorWorkflow; }
178
178
  });
179
179
  //# sourceMappingURL=index.cjs.map
180
180
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { AgentsMDInjector, 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, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-IVXAQT6H.js';
1
+ export { AgentsMDInjector, 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, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-AJZQPWAV.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-HQCBFWL2.js';
2
+ //# sourceMappingURL=provider-registry-KHXFOGCK.js.map
3
+ //# sourceMappingURL=provider-registry-KHXFOGCK.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-L3LFTZUA.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-KHXFOGCK.js"}
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ var chunkXDZOEUNU_cjs = require('./chunk-XDZOEUNU.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "GatewayRegistry", {
8
+ enumerable: true,
9
+ get: function () { return chunkXDZOEUNU_cjs.GatewayRegistry; }
10
+ });
11
+ Object.defineProperty(exports, "PROVIDER_MODELS", {
12
+ enumerable: true,
13
+ get: function () { return chunkXDZOEUNU_cjs.PROVIDER_MODELS; }
14
+ });
15
+ Object.defineProperty(exports, "PROVIDER_REGISTRY", {
16
+ enumerable: true,
17
+ get: function () { return chunkXDZOEUNU_cjs.PROVIDER_REGISTRY; }
18
+ });
19
+ Object.defineProperty(exports, "getProviderConfig", {
20
+ enumerable: true,
21
+ get: function () { return chunkXDZOEUNU_cjs.getProviderConfig; }
22
+ });
23
+ Object.defineProperty(exports, "getRegisteredProviders", {
24
+ enumerable: true,
25
+ get: function () { return chunkXDZOEUNU_cjs.getRegisteredProviders; }
26
+ });
27
+ Object.defineProperty(exports, "isProviderRegistered", {
28
+ enumerable: true,
29
+ get: function () { return chunkXDZOEUNU_cjs.isProviderRegistered; }
30
+ });
31
+ Object.defineProperty(exports, "isValidModelId", {
32
+ enumerable: true,
33
+ get: function () { return chunkXDZOEUNU_cjs.isValidModelId; }
34
+ });
35
+ Object.defineProperty(exports, "parseModelString", {
36
+ enumerable: true,
37
+ get: function () { return chunkXDZOEUNU_cjs.parseModelString; }
38
+ });
39
+ //# sourceMappingURL=provider-registry-VUG7E4SG.cjs.map
40
+ //# sourceMappingURL=provider-registry-VUG7E4SG.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-KZN4FOFE.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-VUG7E4SG.cjs"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkCJ4RMDJJ_cjs = require('../chunk-CJ4RMDJJ.cjs');
3
+ var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.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 chunkCJ4RMDJJ_cjs.Agent({
20
+ this.agent = new chunkWLNT3YJ7_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 (chunkCJ4RMDJJ_cjs.isSupportedLanguageModel(model)) {
40
+ if (chunkWLNT3YJ7_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-IVXAQT6H.js';
1
+ import { Agent, isSupportedLanguageModel } from '../chunk-AJZQPWAV.js';
2
2
 
3
3
  // src/relevance/relevance-score-provider.ts
4
4
  function createSimilarityPrompt(query, text) {