@mastra/core 1.18.1-alpha.1 → 1.19.0-alpha.2

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 (150) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/agent/agent-legacy.d.ts +3 -1
  3. package/dist/agent/agent-legacy.d.ts.map +1 -1
  4. package/dist/agent/agent.d.ts +3 -1
  5. package/dist/agent/agent.d.ts.map +1 -1
  6. package/dist/agent/index.cjs +8 -8
  7. package/dist/agent/index.js +1 -1
  8. package/dist/{chunk-AV4YSAZL.cjs → chunk-2OYWVA6F.cjs} +17 -2
  9. package/dist/chunk-2OYWVA6F.cjs.map +1 -0
  10. package/dist/{chunk-YMPV2RMB.cjs → chunk-2RTFET56.cjs} +7 -7
  11. package/dist/{chunk-YMPV2RMB.cjs.map → chunk-2RTFET56.cjs.map} +1 -1
  12. package/dist/{chunk-6VRSFFQ4.cjs → chunk-4TUILCMR.cjs} +6 -6
  13. package/dist/{chunk-6VRSFFQ4.cjs.map → chunk-4TUILCMR.cjs.map} +1 -1
  14. package/dist/{chunk-WMF4CWAL.cjs → chunk-5OBBDZBA.cjs} +185 -185
  15. package/dist/{chunk-WMF4CWAL.cjs.map → chunk-5OBBDZBA.cjs.map} +1 -1
  16. package/dist/{chunk-7IE4K74P.js → chunk-6TEEIOHA.js} +4 -4
  17. package/dist/{chunk-7IE4K74P.js.map → chunk-6TEEIOHA.js.map} +1 -1
  18. package/dist/{chunk-JTJCFEIY.js → chunk-6XYHMM2X.js} +8 -8
  19. package/dist/{chunk-JTJCFEIY.js.map → chunk-6XYHMM2X.js.map} +1 -1
  20. package/dist/{chunk-AJZQPWAV.js → chunk-BS5UESNT.js} +41 -30
  21. package/dist/chunk-BS5UESNT.js.map +1 -0
  22. package/dist/{chunk-BZ2MSXOF.js → chunk-CSIKD56W.js} +3 -3
  23. package/dist/{chunk-BZ2MSXOF.js.map → chunk-CSIKD56W.js.map} +1 -1
  24. package/dist/{chunk-7V3UNILV.js → chunk-D5EXC3XM.js} +4 -4
  25. package/dist/{chunk-7V3UNILV.js.map → chunk-D5EXC3XM.js.map} +1 -1
  26. package/dist/{chunk-VEP4CV7E.cjs → chunk-E2SMTTP6.cjs} +15 -15
  27. package/dist/{chunk-VEP4CV7E.cjs.map → chunk-E2SMTTP6.cjs.map} +1 -1
  28. package/dist/{chunk-6R5PT6ZP.cjs → chunk-E3JUOJME.cjs} +5 -5
  29. package/dist/{chunk-6R5PT6ZP.cjs.map → chunk-E3JUOJME.cjs.map} +1 -1
  30. package/dist/{chunk-FA4PTEBK.js → chunk-EWPUWV33.js} +18 -3
  31. package/dist/chunk-EWPUWV33.js.map +1 -0
  32. package/dist/{chunk-QNNFMCSE.js → chunk-F4PVOQKD.js} +3 -3
  33. package/dist/{chunk-QNNFMCSE.js.map → chunk-F4PVOQKD.js.map} +1 -1
  34. package/dist/{chunk-XDZOEUNU.cjs → chunk-GFQPMPSV.cjs} +7 -113
  35. package/dist/chunk-GFQPMPSV.cjs.map +1 -0
  36. package/dist/{chunk-5ANYSU2W.cjs → chunk-GNA52EF4.cjs} +9 -9
  37. package/dist/{chunk-5ANYSU2W.cjs.map → chunk-GNA52EF4.cjs.map} +1 -1
  38. package/dist/{chunk-UJX2TJIF.js → chunk-IOHKSHT4.js} +3 -3
  39. package/dist/{chunk-UJX2TJIF.js.map → chunk-IOHKSHT4.js.map} +1 -1
  40. package/dist/{chunk-LVZKPNQO.cjs → chunk-IQV2SVCE.cjs} +52 -52
  41. package/dist/{chunk-LVZKPNQO.cjs.map → chunk-IQV2SVCE.cjs.map} +1 -1
  42. package/dist/{chunk-XNBGNCVV.cjs → chunk-L2FL7HMV.cjs} +25 -25
  43. package/dist/{chunk-XNBGNCVV.cjs.map → chunk-L2FL7HMV.cjs.map} +1 -1
  44. package/dist/{chunk-PB3KXPNE.js → chunk-M62LMDHE.js} +7 -7
  45. package/dist/{chunk-PB3KXPNE.js.map → chunk-M62LMDHE.js.map} +1 -1
  46. package/dist/{chunk-YCT2YQDL.cjs → chunk-MN7WNZE6.cjs} +6 -6
  47. package/dist/{chunk-YCT2YQDL.cjs.map → chunk-MN7WNZE6.cjs.map} +1 -1
  48. package/dist/{chunk-QADPCUBX.cjs → chunk-NWOPWLJ3.cjs} +82 -82
  49. package/dist/{chunk-QADPCUBX.cjs.map → chunk-NWOPWLJ3.cjs.map} +1 -1
  50. package/dist/{chunk-WLNT3YJ7.cjs → chunk-O542TXPV.cjs} +97 -86
  51. package/dist/chunk-O542TXPV.cjs.map +1 -0
  52. package/dist/{chunk-X4Q4KB6C.js → chunk-OZHBY6NY.js} +3 -3
  53. package/dist/{chunk-X4Q4KB6C.js.map → chunk-OZHBY6NY.js.map} +1 -1
  54. package/dist/{chunk-OLHODPXN.js → chunk-PPCEPCG7.js} +3 -3
  55. package/dist/{chunk-OLHODPXN.js.map → chunk-PPCEPCG7.js.map} +1 -1
  56. package/dist/{chunk-EXDBQKH4.cjs → chunk-QB4YHCVA.cjs} +15 -15
  57. package/dist/{chunk-EXDBQKH4.cjs.map → chunk-QB4YHCVA.cjs.map} +1 -1
  58. package/dist/{chunk-VMBWVH4B.js → chunk-QIOD3LOP.js} +3 -3
  59. package/dist/{chunk-VMBWVH4B.js.map → chunk-QIOD3LOP.js.map} +1 -1
  60. package/dist/{chunk-2W7R236U.cjs → chunk-RD76XK7E.cjs} +3 -3
  61. package/dist/{chunk-2W7R236U.cjs.map → chunk-RD76XK7E.cjs.map} +1 -1
  62. package/dist/{chunk-EAJDF6UV.js → chunk-SVIEJH5H.js} +3 -3
  63. package/dist/{chunk-EAJDF6UV.js.map → chunk-SVIEJH5H.js.map} +1 -1
  64. package/dist/{chunk-RF4TETYQ.js → chunk-VYZRHQUD.js} +5 -5
  65. package/dist/{chunk-RF4TETYQ.js.map → chunk-VYZRHQUD.js.map} +1 -1
  66. package/dist/{chunk-L2GYXPJJ.cjs → chunk-WKAEIA42.cjs} +9 -9
  67. package/dist/{chunk-L2GYXPJJ.cjs.map → chunk-WKAEIA42.cjs.map} +1 -1
  68. package/dist/{chunk-OTJAMDX5.js → chunk-X5BBF6AG.js} +3 -3
  69. package/dist/{chunk-OTJAMDX5.js.map → chunk-X5BBF6AG.js.map} +1 -1
  70. package/dist/{chunk-HQCBFWL2.js → chunk-Z6I5PBGG.js} +6 -112
  71. package/dist/chunk-Z6I5PBGG.js.map +1 -0
  72. package/dist/datasets/index.cjs +17 -17
  73. package/dist/datasets/index.js +2 -2
  74. package/dist/docs/SKILL.md +1 -1
  75. package/dist/docs/assets/SOURCE_MAP.json +232 -232
  76. package/dist/evals/index.cjs +5 -5
  77. package/dist/evals/index.js +2 -2
  78. package/dist/evals/scoreTraces/index.cjs +3 -3
  79. package/dist/evals/scoreTraces/index.js +1 -1
  80. package/dist/harness/index.cjs +19 -19
  81. package/dist/harness/index.js +8 -8
  82. package/dist/index.cjs +2 -2
  83. package/dist/index.js +1 -1
  84. package/dist/integration/index.cjs +2 -2
  85. package/dist/integration/index.js +1 -1
  86. package/dist/llm/index.cjs +16 -16
  87. package/dist/llm/index.js +5 -5
  88. package/dist/llm/model/provider-types.generated.d.ts +1 -50
  89. package/dist/loop/index.cjs +14 -14
  90. package/dist/loop/index.js +1 -1
  91. package/dist/mastra/index.cjs +2 -2
  92. package/dist/mastra/index.js +1 -1
  93. package/dist/memory/index.cjs +14 -14
  94. package/dist/memory/index.js +1 -1
  95. package/dist/models-dev-VAVD7BDV.cjs +12 -0
  96. package/dist/{models-dev-WD6XLSFC.cjs.map → models-dev-VAVD7BDV.cjs.map} +1 -1
  97. package/dist/models-dev-VFIUOVG4.js +3 -0
  98. package/dist/{models-dev-XG4KIUFT.js.map → models-dev-VFIUOVG4.js.map} +1 -1
  99. package/dist/netlify-KL3UR26O.cjs +12 -0
  100. package/dist/{netlify-FMBBUFKT.cjs.map → netlify-KL3UR26O.cjs.map} +1 -1
  101. package/dist/netlify-Q3SJTV4U.js +3 -0
  102. package/dist/{netlify-NDOVF45T.js.map → netlify-Q3SJTV4U.js.map} +1 -1
  103. package/dist/processor-provider/index.cjs +10 -10
  104. package/dist/processor-provider/index.js +1 -1
  105. package/dist/processors/index.cjs +44 -44
  106. package/dist/processors/index.js +1 -1
  107. package/dist/provider-registry-COX4XKGI.js +3 -0
  108. package/dist/{provider-registry-KHXFOGCK.js.map → provider-registry-COX4XKGI.js.map} +1 -1
  109. package/dist/provider-registry-IAU4XHVY.cjs +40 -0
  110. package/dist/{provider-registry-VUG7E4SG.cjs.map → provider-registry-IAU4XHVY.cjs.map} +1 -1
  111. package/dist/provider-registry.json +2 -108
  112. package/dist/relevance/index.cjs +3 -3
  113. package/dist/relevance/index.js +1 -1
  114. package/dist/storage/index.cjs +74 -74
  115. package/dist/storage/index.js +1 -1
  116. package/dist/stream/index.cjs +8 -8
  117. package/dist/stream/index.js +1 -1
  118. package/dist/test-utils/llm-mock.cjs +4 -4
  119. package/dist/test-utils/llm-mock.js +1 -1
  120. package/dist/tool-loop-agent/index.cjs +4 -4
  121. package/dist/tool-loop-agent/index.js +1 -1
  122. package/dist/tools/index.cjs +8 -8
  123. package/dist/tools/index.js +1 -1
  124. package/dist/tools/is-vercel-tool.cjs +2 -2
  125. package/dist/tools/is-vercel-tool.js +1 -1
  126. package/dist/tools/validation.d.ts.map +1 -1
  127. package/dist/utils.cjs +25 -25
  128. package/dist/utils.js +1 -1
  129. package/dist/vector/index.cjs +7 -7
  130. package/dist/vector/index.js +1 -1
  131. package/dist/workflows/evented/index.cjs +10 -10
  132. package/dist/workflows/evented/index.js +1 -1
  133. package/dist/workflows/index.cjs +24 -24
  134. package/dist/workflows/index.js +1 -1
  135. package/dist/workspace/index.cjs +68 -68
  136. package/dist/workspace/index.js +1 -1
  137. package/package.json +4 -4
  138. package/src/llm/model/provider-types.generated.d.ts +1 -50
  139. package/dist/chunk-AJZQPWAV.js.map +0 -1
  140. package/dist/chunk-AV4YSAZL.cjs.map +0 -1
  141. package/dist/chunk-FA4PTEBK.js.map +0 -1
  142. package/dist/chunk-HQCBFWL2.js.map +0 -1
  143. package/dist/chunk-WLNT3YJ7.cjs.map +0 -1
  144. package/dist/chunk-XDZOEUNU.cjs.map +0 -1
  145. package/dist/models-dev-WD6XLSFC.cjs +0 -12
  146. package/dist/models-dev-XG4KIUFT.js +0 -3
  147. package/dist/netlify-FMBBUFKT.cjs +0 -12
  148. package/dist/netlify-NDOVF45T.js +0 -3
  149. package/dist/provider-registry-KHXFOGCK.js +0 -3
  150. package/dist/provider-registry-VUG7E4SG.cjs +0 -40
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-WD6XLSFC.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-VAVD7BDV.cjs"}
@@ -0,0 +1,3 @@
1
+ export { ModelsDevGateway } from './chunk-F4PVOQKD.js';
2
+ //# sourceMappingURL=models-dev-VFIUOVG4.js.map
3
+ //# sourceMappingURL=models-dev-VFIUOVG4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-XG4KIUFT.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-VFIUOVG4.js"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkWKAEIA42_cjs = require('./chunk-WKAEIA42.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "NetlifyGateway", {
8
+ enumerable: true,
9
+ get: function () { return chunkWKAEIA42_cjs.NetlifyGateway; }
10
+ });
11
+ //# sourceMappingURL=netlify-KL3UR26O.cjs.map
12
+ //# sourceMappingURL=netlify-KL3UR26O.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-FMBBUFKT.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-KL3UR26O.cjs"}
@@ -0,0 +1,3 @@
1
+ export { NetlifyGateway } from './chunk-X5BBF6AG.js';
2
+ //# sourceMappingURL=netlify-Q3SJTV4U.js.map
3
+ //# sourceMappingURL=netlify-Q3SJTV4U.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-NDOVF45T.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-Q3SJTV4U.js"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
3
+ var chunkO542TXPV_cjs = require('../chunk-O542TXPV.cjs');
4
4
  var v4 = require('zod/v4');
5
5
 
6
6
  // src/processor-provider/types.ts
@@ -67,7 +67,7 @@ var unicodeNormalizerProvider = {
67
67
  }),
68
68
  availablePhases: ["processInput"],
69
69
  createProcessor(config) {
70
- return new chunkWLNT3YJ7_cjs.UnicodeNormalizer(config);
70
+ return new chunkO542TXPV_cjs.UnicodeNormalizer(config);
71
71
  }
72
72
  };
73
73
  var tokenLimiterProvider = {
@@ -83,7 +83,7 @@ var tokenLimiterProvider = {
83
83
  }),
84
84
  availablePhases: ["processInput", "processOutputStream", "processOutputResult"],
85
85
  createProcessor(config) {
86
- return new chunkWLNT3YJ7_cjs.TokenLimiterProcessor(
86
+ return new chunkO542TXPV_cjs.TokenLimiterProcessor(
87
87
  config
88
88
  );
89
89
  }
@@ -99,7 +99,7 @@ var toolCallFilterProvider = {
99
99
  }),
100
100
  availablePhases: ["processInput"],
101
101
  createProcessor(config) {
102
- return new chunkWLNT3YJ7_cjs.ToolCallFilter(config);
102
+ return new chunkO542TXPV_cjs.ToolCallFilter(config);
103
103
  }
104
104
  };
105
105
  var batchPartsProvider = {
@@ -115,7 +115,7 @@ var batchPartsProvider = {
115
115
  }),
116
116
  availablePhases: ["processOutputStream"],
117
117
  createProcessor(config) {
118
- return new chunkWLNT3YJ7_cjs.BatchPartsProcessor(config);
118
+ return new chunkO542TXPV_cjs.BatchPartsProcessor(config);
119
119
  }
120
120
  };
121
121
  var moderationProvider = {
@@ -137,7 +137,7 @@ var moderationProvider = {
137
137
  }),
138
138
  availablePhases: ["processInput", "processOutputResult", "processOutputStream"],
139
139
  createProcessor(config) {
140
- return new chunkWLNT3YJ7_cjs.ModerationProcessor(config);
140
+ return new chunkO542TXPV_cjs.ModerationProcessor(config);
141
141
  }
142
142
  };
143
143
  var promptInjectionDetectorProvider = {
@@ -158,7 +158,7 @@ var promptInjectionDetectorProvider = {
158
158
  }),
159
159
  availablePhases: ["processInput"],
160
160
  createProcessor(config) {
161
- return new chunkWLNT3YJ7_cjs.PromptInjectionDetector(config);
161
+ return new chunkO542TXPV_cjs.PromptInjectionDetector(config);
162
162
  }
163
163
  };
164
164
  var piiDetectorProvider = {
@@ -181,7 +181,7 @@ var piiDetectorProvider = {
181
181
  }),
182
182
  availablePhases: ["processInput"],
183
183
  createProcessor(config) {
184
- return new chunkWLNT3YJ7_cjs.PIIDetector(config);
184
+ return new chunkO542TXPV_cjs.PIIDetector(config);
185
185
  }
186
186
  };
187
187
  var languageDetectorProvider = {
@@ -204,7 +204,7 @@ var languageDetectorProvider = {
204
204
  }),
205
205
  availablePhases: ["processInput"],
206
206
  createProcessor(config) {
207
- return new chunkWLNT3YJ7_cjs.LanguageDetector(config);
207
+ return new chunkO542TXPV_cjs.LanguageDetector(config);
208
208
  }
209
209
  };
210
210
  var systemPromptScrubberProvider = {
@@ -225,7 +225,7 @@ var systemPromptScrubberProvider = {
225
225
  }),
226
226
  availablePhases: ["processOutputStream", "processOutputResult"],
227
227
  createProcessor(config) {
228
- return new chunkWLNT3YJ7_cjs.SystemPromptScrubber(config);
228
+ return new chunkO542TXPV_cjs.SystemPromptScrubber(config);
229
229
  }
230
230
  };
231
231
  var BUILT_IN_PROCESSOR_PROVIDERS = {
@@ -1,4 +1,4 @@
1
- import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-AJZQPWAV.js';
1
+ import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-BS5UESNT.js';
2
2
  import { z } from 'zod/v4';
3
3
 
4
4
  // src/processor-provider/types.ts
@@ -1,180 +1,180 @@
1
1
  'use strict';
2
2
 
3
- var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
3
+ var chunkO542TXPV_cjs = require('../chunk-O542TXPV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AgentsMDInjector", {
8
8
  enumerable: true,
9
- get: function () { return chunkWLNT3YJ7_cjs.AgentsMDInjector; }
9
+ get: function () { return chunkO542TXPV_cjs.AgentsMDInjector; }
10
10
  });
11
11
  Object.defineProperty(exports, "BaseProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkWLNT3YJ7_cjs.BaseProcessor; }
13
+ get: function () { return chunkO542TXPV_cjs.BaseProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "BatchPartsProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkWLNT3YJ7_cjs.BatchPartsProcessor; }
17
+ get: function () { return chunkO542TXPV_cjs.BatchPartsProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "FilePartSchema", {
20
20
  enumerable: true,
21
- get: function () { return chunkWLNT3YJ7_cjs.FilePartSchema; }
21
+ get: function () { return chunkO542TXPV_cjs.FilePartSchema; }
22
22
  });
23
23
  Object.defineProperty(exports, "ImagePartSchema", {
24
24
  enumerable: true,
25
- get: function () { return chunkWLNT3YJ7_cjs.ImagePartSchema; }
25
+ get: function () { return chunkO542TXPV_cjs.ImagePartSchema; }
26
26
  });
27
27
  Object.defineProperty(exports, "LanguageDetector", {
28
28
  enumerable: true,
29
- get: function () { return chunkWLNT3YJ7_cjs.LanguageDetector; }
29
+ get: function () { return chunkO542TXPV_cjs.LanguageDetector; }
30
30
  });
31
31
  Object.defineProperty(exports, "MessageContentSchema", {
32
32
  enumerable: true,
33
- get: function () { return chunkWLNT3YJ7_cjs.MessageContentSchema; }
33
+ get: function () { return chunkO542TXPV_cjs.MessageContentSchema; }
34
34
  });
35
35
  Object.defineProperty(exports, "MessageHistory", {
36
36
  enumerable: true,
37
- get: function () { return chunkWLNT3YJ7_cjs.MessageHistory; }
37
+ get: function () { return chunkO542TXPV_cjs.MessageHistory; }
38
38
  });
39
39
  Object.defineProperty(exports, "MessagePartSchema", {
40
40
  enumerable: true,
41
- get: function () { return chunkWLNT3YJ7_cjs.MessagePartSchema; }
41
+ get: function () { return chunkO542TXPV_cjs.MessagePartSchema; }
42
42
  });
43
43
  Object.defineProperty(exports, "ModerationProcessor", {
44
44
  enumerable: true,
45
- get: function () { return chunkWLNT3YJ7_cjs.ModerationProcessor; }
45
+ get: function () { return chunkO542TXPV_cjs.ModerationProcessor; }
46
46
  });
47
47
  Object.defineProperty(exports, "PIIDetector", {
48
48
  enumerable: true,
49
- get: function () { return chunkWLNT3YJ7_cjs.PIIDetector; }
49
+ get: function () { return chunkO542TXPV_cjs.PIIDetector; }
50
50
  });
51
51
  Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
52
52
  enumerable: true,
53
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputPhaseSchema; }
53
+ get: function () { return chunkO542TXPV_cjs.ProcessorInputPhaseSchema; }
54
54
  });
55
55
  Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
56
56
  enumerable: true,
57
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorInputStepPhaseSchema; }
57
+ get: function () { return chunkO542TXPV_cjs.ProcessorInputStepPhaseSchema; }
58
58
  });
59
59
  Object.defineProperty(exports, "ProcessorMessageContentSchema", {
60
60
  enumerable: true,
61
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageContentSchema; }
61
+ get: function () { return chunkO542TXPV_cjs.ProcessorMessageContentSchema; }
62
62
  });
63
63
  Object.defineProperty(exports, "ProcessorMessageSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorMessageSchema; }
65
+ get: function () { return chunkO542TXPV_cjs.ProcessorMessageSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
68
68
  enumerable: true,
69
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputResultPhaseSchema; }
69
+ get: function () { return chunkO542TXPV_cjs.ProcessorOutputResultPhaseSchema; }
70
70
  });
71
71
  Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
72
72
  enumerable: true,
73
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStepPhaseSchema; }
73
+ get: function () { return chunkO542TXPV_cjs.ProcessorOutputStepPhaseSchema; }
74
74
  });
75
75
  Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
76
76
  enumerable: true,
77
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorOutputStreamPhaseSchema; }
77
+ get: function () { return chunkO542TXPV_cjs.ProcessorOutputStreamPhaseSchema; }
78
78
  });
79
79
  Object.defineProperty(exports, "ProcessorRunner", {
80
80
  enumerable: true,
81
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorRunner; }
81
+ get: function () { return chunkO542TXPV_cjs.ProcessorRunner; }
82
82
  });
83
83
  Object.defineProperty(exports, "ProcessorState", {
84
84
  enumerable: true,
85
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorState; }
85
+ get: function () { return chunkO542TXPV_cjs.ProcessorState; }
86
86
  });
87
87
  Object.defineProperty(exports, "ProcessorStepInputSchema", {
88
88
  enumerable: true,
89
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepInputSchema; }
89
+ get: function () { return chunkO542TXPV_cjs.ProcessorStepInputSchema; }
90
90
  });
91
91
  Object.defineProperty(exports, "ProcessorStepOutputSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepOutputSchema; }
93
+ get: function () { return chunkO542TXPV_cjs.ProcessorStepOutputSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "ProcessorStepSchema", {
96
96
  enumerable: true,
97
- get: function () { return chunkWLNT3YJ7_cjs.ProcessorStepSchema; }
97
+ get: function () { return chunkO542TXPV_cjs.ProcessorStepSchema; }
98
98
  });
99
99
  Object.defineProperty(exports, "PromptInjectionDetector", {
100
100
  enumerable: true,
101
- get: function () { return chunkWLNT3YJ7_cjs.PromptInjectionDetector; }
101
+ get: function () { return chunkO542TXPV_cjs.PromptInjectionDetector; }
102
102
  });
103
103
  Object.defineProperty(exports, "ReasoningPartSchema", {
104
104
  enumerable: true,
105
- get: function () { return chunkWLNT3YJ7_cjs.ReasoningPartSchema; }
105
+ get: function () { return chunkO542TXPV_cjs.ReasoningPartSchema; }
106
106
  });
107
107
  Object.defineProperty(exports, "SemanticRecall", {
108
108
  enumerable: true,
109
- get: function () { return chunkWLNT3YJ7_cjs.SemanticRecall; }
109
+ get: function () { return chunkO542TXPV_cjs.SemanticRecall; }
110
110
  });
111
111
  Object.defineProperty(exports, "SkillSearchProcessor", {
112
112
  enumerable: true,
113
- get: function () { return chunkWLNT3YJ7_cjs.SkillSearchProcessor; }
113
+ get: function () { return chunkO542TXPV_cjs.SkillSearchProcessor; }
114
114
  });
115
115
  Object.defineProperty(exports, "SkillsProcessor", {
116
116
  enumerable: true,
117
- get: function () { return chunkWLNT3YJ7_cjs.SkillsProcessor; }
117
+ get: function () { return chunkO542TXPV_cjs.SkillsProcessor; }
118
118
  });
119
119
  Object.defineProperty(exports, "SourcePartSchema", {
120
120
  enumerable: true,
121
- get: function () { return chunkWLNT3YJ7_cjs.SourcePartSchema; }
121
+ get: function () { return chunkO542TXPV_cjs.SourcePartSchema; }
122
122
  });
123
123
  Object.defineProperty(exports, "StepStartPartSchema", {
124
124
  enumerable: true,
125
- get: function () { return chunkWLNT3YJ7_cjs.StepStartPartSchema; }
125
+ get: function () { return chunkO542TXPV_cjs.StepStartPartSchema; }
126
126
  });
127
127
  Object.defineProperty(exports, "StructuredOutputProcessor", {
128
128
  enumerable: true,
129
- get: function () { return chunkWLNT3YJ7_cjs.StructuredOutputProcessor; }
129
+ get: function () { return chunkO542TXPV_cjs.StructuredOutputProcessor; }
130
130
  });
131
131
  Object.defineProperty(exports, "SystemPromptScrubber", {
132
132
  enumerable: true,
133
- get: function () { return chunkWLNT3YJ7_cjs.SystemPromptScrubber; }
133
+ get: function () { return chunkO542TXPV_cjs.SystemPromptScrubber; }
134
134
  });
135
135
  Object.defineProperty(exports, "TextPartSchema", {
136
136
  enumerable: true,
137
- get: function () { return chunkWLNT3YJ7_cjs.TextPartSchema; }
137
+ get: function () { return chunkO542TXPV_cjs.TextPartSchema; }
138
138
  });
139
139
  Object.defineProperty(exports, "TokenLimiter", {
140
140
  enumerable: true,
141
- get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
141
+ get: function () { return chunkO542TXPV_cjs.TokenLimiterProcessor; }
142
142
  });
143
143
  Object.defineProperty(exports, "TokenLimiterProcessor", {
144
144
  enumerable: true,
145
- get: function () { return chunkWLNT3YJ7_cjs.TokenLimiterProcessor; }
145
+ get: function () { return chunkO542TXPV_cjs.TokenLimiterProcessor; }
146
146
  });
147
147
  Object.defineProperty(exports, "ToolCallFilter", {
148
148
  enumerable: true,
149
- get: function () { return chunkWLNT3YJ7_cjs.ToolCallFilter; }
149
+ get: function () { return chunkO542TXPV_cjs.ToolCallFilter; }
150
150
  });
151
151
  Object.defineProperty(exports, "ToolInvocationPartSchema", {
152
152
  enumerable: true,
153
- get: function () { return chunkWLNT3YJ7_cjs.ToolInvocationPartSchema; }
153
+ get: function () { return chunkO542TXPV_cjs.ToolInvocationPartSchema; }
154
154
  });
155
155
  Object.defineProperty(exports, "ToolSearchProcessor", {
156
156
  enumerable: true,
157
- get: function () { return chunkWLNT3YJ7_cjs.ToolSearchProcessor; }
157
+ get: function () { return chunkO542TXPV_cjs.ToolSearchProcessor; }
158
158
  });
159
159
  Object.defineProperty(exports, "UnicodeNormalizer", {
160
160
  enumerable: true,
161
- get: function () { return chunkWLNT3YJ7_cjs.UnicodeNormalizer; }
161
+ get: function () { return chunkO542TXPV_cjs.UnicodeNormalizer; }
162
162
  });
163
163
  Object.defineProperty(exports, "WorkingMemory", {
164
164
  enumerable: true,
165
- get: function () { return chunkWLNT3YJ7_cjs.WorkingMemory; }
165
+ get: function () { return chunkO542TXPV_cjs.WorkingMemory; }
166
166
  });
167
167
  Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
168
168
  enumerable: true,
169
- get: function () { return chunkWLNT3YJ7_cjs.WorkspaceInstructionsProcessor; }
169
+ get: function () { return chunkO542TXPV_cjs.WorkspaceInstructionsProcessor; }
170
170
  });
171
171
  Object.defineProperty(exports, "globalEmbeddingCache", {
172
172
  enumerable: true,
173
- get: function () { return chunkWLNT3YJ7_cjs.globalEmbeddingCache; }
173
+ get: function () { return chunkO542TXPV_cjs.globalEmbeddingCache; }
174
174
  });
175
175
  Object.defineProperty(exports, "isProcessorWorkflow", {
176
176
  enumerable: true,
177
- get: function () { return chunkWLNT3YJ7_cjs.isProcessorWorkflow; }
177
+ get: function () { return chunkO542TXPV_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-AJZQPWAV.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-BS5UESNT.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-Z6I5PBGG.js';
2
+ //# sourceMappingURL=provider-registry-COX4XKGI.js.map
3
+ //# sourceMappingURL=provider-registry-COX4XKGI.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-KHXFOGCK.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-COX4XKGI.js"}
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ var chunkGFQPMPSV_cjs = require('./chunk-GFQPMPSV.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "GatewayRegistry", {
8
+ enumerable: true,
9
+ get: function () { return chunkGFQPMPSV_cjs.GatewayRegistry; }
10
+ });
11
+ Object.defineProperty(exports, "PROVIDER_MODELS", {
12
+ enumerable: true,
13
+ get: function () { return chunkGFQPMPSV_cjs.PROVIDER_MODELS; }
14
+ });
15
+ Object.defineProperty(exports, "PROVIDER_REGISTRY", {
16
+ enumerable: true,
17
+ get: function () { return chunkGFQPMPSV_cjs.PROVIDER_REGISTRY; }
18
+ });
19
+ Object.defineProperty(exports, "getProviderConfig", {
20
+ enumerable: true,
21
+ get: function () { return chunkGFQPMPSV_cjs.getProviderConfig; }
22
+ });
23
+ Object.defineProperty(exports, "getRegisteredProviders", {
24
+ enumerable: true,
25
+ get: function () { return chunkGFQPMPSV_cjs.getRegisteredProviders; }
26
+ });
27
+ Object.defineProperty(exports, "isProviderRegistered", {
28
+ enumerable: true,
29
+ get: function () { return chunkGFQPMPSV_cjs.isProviderRegistered; }
30
+ });
31
+ Object.defineProperty(exports, "isValidModelId", {
32
+ enumerable: true,
33
+ get: function () { return chunkGFQPMPSV_cjs.isValidModelId; }
34
+ });
35
+ Object.defineProperty(exports, "parseModelString", {
36
+ enumerable: true,
37
+ get: function () { return chunkGFQPMPSV_cjs.parseModelString; }
38
+ });
39
+ //# sourceMappingURL=provider-registry-IAU4XHVY.cjs.map
40
+ //# sourceMappingURL=provider-registry-IAU4XHVY.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-VUG7E4SG.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-IAU4XHVY.cjs"}
@@ -2873,6 +2873,7 @@
2873
2873
  "hf:Qwen/Qwen3-235B-A22B-Instruct-2507",
2874
2874
  "hf:Qwen/Qwen3-235B-A22B-Thinking-2507",
2875
2875
  "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct",
2876
+ "hf:Qwen/Qwen3.5-397B-A17B",
2876
2877
  "hf:deepseek-ai/DeepSeek-R1",
2877
2878
  "hf:deepseek-ai/DeepSeek-R1-0528",
2878
2879
  "hf:deepseek-ai/DeepSeek-V3",
@@ -3134,64 +3135,6 @@
3134
3135
  "gateway": "models.dev",
3135
3136
  "npm": "@ai-sdk/groq"
3136
3137
  },
3137
- "aihubmix": {
3138
- "url": "https://aihubmix.com/v1",
3139
- "apiKeyEnvVar": "AIHUBMIX_API_KEY",
3140
- "apiKeyHeader": "Authorization",
3141
- "name": "AIHubMix",
3142
- "models": [
3143
- "Kimi-K2-0905",
3144
- "claude-haiku-4-5",
3145
- "claude-opus-4-1",
3146
- "claude-opus-4-5",
3147
- "claude-opus-4-6",
3148
- "claude-opus-4-6-think",
3149
- "claude-sonnet-4-5",
3150
- "claude-sonnet-4-6",
3151
- "claude-sonnet-4-6-think",
3152
- "coding-glm-4.7",
3153
- "coding-glm-4.7-free",
3154
- "coding-glm-5-free",
3155
- "coding-minimax-m2.1-free",
3156
- "deepseek-v3.2",
3157
- "deepseek-v3.2-fast",
3158
- "deepseek-v3.2-think",
3159
- "gemini-2.5-flash",
3160
- "gemini-2.5-pro",
3161
- "gemini-3-pro-preview",
3162
- "gemini-3-pro-preview-search",
3163
- "glm-4.6v",
3164
- "glm-4.7",
3165
- "glm-5",
3166
- "gpt-4.1",
3167
- "gpt-4.1-mini",
3168
- "gpt-4.1-nano",
3169
- "gpt-4o",
3170
- "gpt-5",
3171
- "gpt-5-codex",
3172
- "gpt-5-mini",
3173
- "gpt-5-nano",
3174
- "gpt-5-pro",
3175
- "gpt-5.1",
3176
- "gpt-5.1-codex",
3177
- "gpt-5.1-codex-max",
3178
- "gpt-5.1-codex-mini",
3179
- "gpt-5.2",
3180
- "gpt-5.2-codex",
3181
- "kimi-k2.5",
3182
- "minimax-m2.1",
3183
- "minimax-m2.5",
3184
- "o4-mini",
3185
- "qwen3-235b-a22b-instruct-2507",
3186
- "qwen3-235b-a22b-thinking-2507",
3187
- "qwen3-coder-480b-a35b-instruct",
3188
- "qwen3-coder-next",
3189
- "qwen3-max-2026-01-23",
3190
- "qwen3.5-plus"
3191
- ],
3192
- "docUrl": "https://docs.aihubmix.com",
3193
- "gateway": "models.dev"
3194
- },
3195
3138
  "minimax-cn-coding-plan": {
3196
3139
  "url": "https://api.minimaxi.com/anthropic/v1",
3197
3140
  "apiKeyEnvVar": "MINIMAX_API_KEY",
@@ -6834,6 +6777,7 @@
6834
6777
  "hf:Qwen/Qwen3-235B-A22B-Instruct-2507",
6835
6778
  "hf:Qwen/Qwen3-235B-A22B-Thinking-2507",
6836
6779
  "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct",
6780
+ "hf:Qwen/Qwen3.5-397B-A17B",
6837
6781
  "hf:deepseek-ai/DeepSeek-R1",
6838
6782
  "hf:deepseek-ai/DeepSeek-R1-0528",
6839
6783
  "hf:deepseek-ai/DeepSeek-V3",
@@ -7076,56 +7020,6 @@
7076
7020
  "whisper-large-v3",
7077
7021
  "whisper-large-v3-turbo"
7078
7022
  ],
7079
- "aihubmix": [
7080
- "Kimi-K2-0905",
7081
- "claude-haiku-4-5",
7082
- "claude-opus-4-1",
7083
- "claude-opus-4-5",
7084
- "claude-opus-4-6",
7085
- "claude-opus-4-6-think",
7086
- "claude-sonnet-4-5",
7087
- "claude-sonnet-4-6",
7088
- "claude-sonnet-4-6-think",
7089
- "coding-glm-4.7",
7090
- "coding-glm-4.7-free",
7091
- "coding-glm-5-free",
7092
- "coding-minimax-m2.1-free",
7093
- "deepseek-v3.2",
7094
- "deepseek-v3.2-fast",
7095
- "deepseek-v3.2-think",
7096
- "gemini-2.5-flash",
7097
- "gemini-2.5-pro",
7098
- "gemini-3-pro-preview",
7099
- "gemini-3-pro-preview-search",
7100
- "glm-4.6v",
7101
- "glm-4.7",
7102
- "glm-5",
7103
- "gpt-4.1",
7104
- "gpt-4.1-mini",
7105
- "gpt-4.1-nano",
7106
- "gpt-4o",
7107
- "gpt-5",
7108
- "gpt-5-codex",
7109
- "gpt-5-mini",
7110
- "gpt-5-nano",
7111
- "gpt-5-pro",
7112
- "gpt-5.1",
7113
- "gpt-5.1-codex",
7114
- "gpt-5.1-codex-max",
7115
- "gpt-5.1-codex-mini",
7116
- "gpt-5.2",
7117
- "gpt-5.2-codex",
7118
- "kimi-k2.5",
7119
- "minimax-m2.1",
7120
- "minimax-m2.5",
7121
- "o4-mini",
7122
- "qwen3-235b-a22b-instruct-2507",
7123
- "qwen3-235b-a22b-thinking-2507",
7124
- "qwen3-coder-480b-a35b-instruct",
7125
- "qwen3-coder-next",
7126
- "qwen3-max-2026-01-23",
7127
- "qwen3.5-plus"
7128
- ],
7129
7023
  "minimax-cn-coding-plan": [
7130
7024
  "MiniMax-M2",
7131
7025
  "MiniMax-M2.1",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkWLNT3YJ7_cjs = require('../chunk-WLNT3YJ7.cjs');
3
+ var chunkO542TXPV_cjs = require('../chunk-O542TXPV.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 chunkWLNT3YJ7_cjs.Agent({
20
+ this.agent = new chunkO542TXPV_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 (chunkWLNT3YJ7_cjs.isSupportedLanguageModel(model)) {
40
+ if (chunkO542TXPV_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-AJZQPWAV.js';
1
+ import { Agent, isSupportedLanguageModel } from '../chunk-BS5UESNT.js';
2
2
 
3
3
  // src/relevance/relevance-score-provider.ts
4
4
  function createSimilarityPrompt(query, text) {