@mastra/core 1.18.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 (211) hide show
  1. package/CHANGELOG.md +26 -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-KLVNQDUR.cjs → chunk-2W7R236U.cjs} +3 -3
  7. package/dist/chunk-2W7R236U.cjs.map +1 -0
  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-KOTSKPTF.cjs → chunk-6R5PT6ZP.cjs} +5 -5
  11. package/dist/{chunk-KOTSKPTF.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-2M3HWTRI.js → chunk-7IE4K74P.js} +4 -4
  15. package/dist/{chunk-2M3HWTRI.js.map → chunk-7IE4K74P.js.map} +1 -1
  16. package/dist/{chunk-I4ZSA3XJ.js → chunk-7V3UNILV.js} +4 -4
  17. package/dist/{chunk-I4ZSA3XJ.js.map → chunk-7V3UNILV.js.map} +1 -1
  18. package/dist/{chunk-ZRLAR66M.js → chunk-AJZQPWAV.js} +59 -19
  19. package/dist/chunk-AJZQPWAV.js.map +1 -0
  20. package/dist/{chunk-XOBRMYFA.js → chunk-BZ2MSXOF.js} +3 -3
  21. package/dist/chunk-BZ2MSXOF.js.map +1 -0
  22. package/dist/{chunk-HRT662B6.js → chunk-EAJDF6UV.js} +12 -7
  23. package/dist/chunk-EAJDF6UV.js.map +1 -0
  24. package/dist/{chunk-PWFPYJGG.cjs → chunk-EXDBQKH4.cjs} +15 -15
  25. package/dist/{chunk-PWFPYJGG.cjs.map → chunk-EXDBQKH4.cjs.map} +1 -1
  26. package/dist/{chunk-GJ62FP5X.js → chunk-HQCBFWL2.js} +18 -35
  27. package/dist/chunk-HQCBFWL2.js.map +1 -0
  28. package/dist/{chunk-UPBMT3QM.js → chunk-JTJCFEIY.js} +8 -8
  29. package/dist/{chunk-UPBMT3QM.js.map → chunk-JTJCFEIY.js.map} +1 -1
  30. package/dist/{chunk-GJIN53S6.cjs → chunk-L2GYXPJJ.cjs} +9 -9
  31. package/dist/{chunk-GJIN53S6.cjs.map → chunk-L2GYXPJJ.cjs.map} +1 -1
  32. package/dist/{chunk-2H53MD2U.cjs → chunk-LVZKPNQO.cjs} +50 -50
  33. package/dist/{chunk-2H53MD2U.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-6Z4GSLLO.js → chunk-OTJAMDX5.js} +3 -3
  37. package/dist/{chunk-6Z4GSLLO.js.map → chunk-OTJAMDX5.js.map} +1 -1
  38. package/dist/{chunk-EKFG6JWW.js → chunk-PB3KXPNE.js} +8 -7
  39. package/dist/chunk-PB3KXPNE.js.map +1 -0
  40. package/dist/{chunk-TVZCMQTV.cjs → chunk-QADPCUBX.cjs} +83 -82
  41. package/dist/chunk-QADPCUBX.cjs.map +1 -0
  42. package/dist/{chunk-RTBZOGTO.js → chunk-QNNFMCSE.js} +3 -3
  43. package/dist/{chunk-RTBZOGTO.js.map → chunk-QNNFMCSE.js.map} +1 -1
  44. package/dist/{chunk-7GLVV6CZ.js → chunk-RF4TETYQ.js} +4 -4
  45. package/dist/{chunk-7GLVV6CZ.js.map → chunk-RF4TETYQ.js.map} +1 -1
  46. package/dist/{chunk-XQN3BKCI.js → chunk-UJX2TJIF.js} +3 -3
  47. package/dist/{chunk-XQN3BKCI.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-J47RNLSY.cjs → chunk-WLNT3YJ7.cjs} +95 -55
  53. package/dist/chunk-WLNT3YJ7.cjs.map +1 -0
  54. package/dist/{chunk-L3X22YTN.cjs → chunk-WMF4CWAL.cjs} +185 -185
  55. package/dist/{chunk-L3X22YTN.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-RTXCZT3M.cjs → chunk-XDZOEUNU.cjs} +19 -36
  59. package/dist/chunk-XDZOEUNU.cjs.map +1 -0
  60. package/dist/{chunk-GXXNF6NF.cjs → chunk-XNBGNCVV.cjs} +15 -10
  61. package/dist/chunk-XNBGNCVV.cjs.map +1 -0
  62. package/dist/{chunk-ZVGS2O2W.cjs → chunk-YCT2YQDL.cjs} +6 -6
  63. package/dist/{chunk-ZVGS2O2W.cjs.map → chunk-YCT2YQDL.cjs.map} +1 -1
  64. package/dist/{chunk-ZQE2VUYD.cjs → chunk-YMPV2RMB.cjs} +7 -7
  65. package/dist/{chunk-ZQE2VUYD.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 +254 -254
  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/llm/model/provider-types.generated.d.ts +5 -13
  124. package/dist/loop/index.cjs +14 -14
  125. package/dist/loop/index.js +1 -1
  126. package/dist/loop/network/validation.d.ts.map +1 -1
  127. package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
  128. package/dist/mastra/index.cjs +2 -2
  129. package/dist/mastra/index.js +1 -1
  130. package/dist/memory/index.cjs +14 -14
  131. package/dist/memory/index.js +1 -1
  132. package/dist/models-dev-WD6XLSFC.cjs +12 -0
  133. package/dist/{models-dev-5WY37RVC.cjs.map → models-dev-WD6XLSFC.cjs.map} +1 -1
  134. package/dist/models-dev-XG4KIUFT.js +3 -0
  135. package/dist/{models-dev-Y2UFJEOO.js.map → models-dev-XG4KIUFT.js.map} +1 -1
  136. package/dist/netlify-FMBBUFKT.cjs +12 -0
  137. package/dist/{netlify-ADZQ5ZNY.cjs.map → netlify-FMBBUFKT.cjs.map} +1 -1
  138. package/dist/netlify-NDOVF45T.js +3 -0
  139. package/dist/{netlify-I4AUVRO2.js.map → netlify-NDOVF45T.js.map} +1 -1
  140. package/dist/processor-provider/index.cjs +10 -10
  141. package/dist/processor-provider/index.js +1 -1
  142. package/dist/processors/index.cjs +44 -44
  143. package/dist/processors/index.js +1 -1
  144. package/dist/provider-registry-KHXFOGCK.js +3 -0
  145. package/dist/{provider-registry-C7SZ5ZT4.js.map → provider-registry-KHXFOGCK.js.map} +1 -1
  146. package/dist/provider-registry-VUG7E4SG.cjs +40 -0
  147. package/dist/{provider-registry-I5RW3MEE.cjs.map → provider-registry-VUG7E4SG.cjs.map} +1 -1
  148. package/dist/provider-registry.json +14 -31
  149. package/dist/relevance/index.cjs +3 -3
  150. package/dist/relevance/index.js +1 -1
  151. package/dist/storage/index.cjs +74 -74
  152. package/dist/storage/index.js +1 -1
  153. package/dist/stream/aisdk/v5/compat/prepare-tools.d.ts.map +1 -1
  154. package/dist/stream/index.cjs +8 -8
  155. package/dist/stream/index.js +1 -1
  156. package/dist/test-utils/llm-mock.cjs +4 -4
  157. package/dist/test-utils/llm-mock.js +1 -1
  158. package/dist/tool-loop-agent/index.cjs +4 -4
  159. package/dist/tool-loop-agent/index.js +1 -1
  160. package/dist/tools/tool-builder/builder.d.ts.map +1 -1
  161. package/dist/utils.cjs +31 -23
  162. package/dist/utils.d.ts +10 -0
  163. package/dist/utils.d.ts.map +1 -1
  164. package/dist/utils.js +1 -1
  165. package/dist/vector/index.cjs +7 -7
  166. package/dist/vector/index.js +1 -1
  167. package/dist/workflows/evented/index.cjs +10 -10
  168. package/dist/workflows/evented/index.js +1 -1
  169. package/dist/workflows/index.cjs +24 -24
  170. package/dist/workflows/index.js +1 -1
  171. package/dist/workflows/workflow.d.ts.map +1 -1
  172. package/dist/workspace/index.cjs +68 -68
  173. package/dist/workspace/index.js +1 -1
  174. package/dist/workspace/workspace.d.ts +1 -0
  175. package/dist/workspace/workspace.d.ts.map +1 -1
  176. package/package.json +2 -2
  177. package/src/llm/model/provider-types.generated.d.ts +5 -13
  178. package/dist/chunk-4FMKWOPC.js.map +0 -1
  179. package/dist/chunk-EKFG6JWW.js.map +0 -1
  180. package/dist/chunk-GJ62FP5X.js.map +0 -1
  181. package/dist/chunk-GXXNF6NF.cjs.map +0 -1
  182. package/dist/chunk-HRT662B6.js.map +0 -1
  183. package/dist/chunk-J47RNLSY.cjs.map +0 -1
  184. package/dist/chunk-K7AE4BHR.js.map +0 -1
  185. package/dist/chunk-KLVNQDUR.cjs.map +0 -1
  186. package/dist/chunk-LKZQG2ZZ.cjs.map +0 -1
  187. package/dist/chunk-RTXCZT3M.cjs.map +0 -1
  188. package/dist/chunk-TVZCMQTV.cjs.map +0 -1
  189. package/dist/chunk-XOBRMYFA.js.map +0 -1
  190. package/dist/chunk-XQRTJIC7.cjs.map +0 -1
  191. package/dist/chunk-ZRLAR66M.js.map +0 -1
  192. package/dist/docs/references/docs-observability-logging.md +0 -99
  193. package/dist/docs/references/docs-observability-overview.md +0 -70
  194. package/dist/docs/references/docs-observability-tracing-bridges-otel.md +0 -209
  195. package/dist/docs/references/docs-observability-tracing-exporters-arize.md +0 -272
  196. package/dist/docs/references/docs-observability-tracing-exporters-braintrust.md +0 -126
  197. package/dist/docs/references/docs-observability-tracing-exporters-cloud.md +0 -127
  198. package/dist/docs/references/docs-observability-tracing-exporters-datadog.md +0 -317
  199. package/dist/docs/references/docs-observability-tracing-exporters-default.md +0 -209
  200. package/dist/docs/references/docs-observability-tracing-exporters-laminar.md +0 -100
  201. package/dist/docs/references/docs-observability-tracing-exporters-langfuse.md +0 -213
  202. package/dist/docs/references/docs-observability-tracing-exporters-langsmith.md +0 -198
  203. package/dist/docs/references/docs-observability-tracing-exporters-otel.md +0 -476
  204. package/dist/docs/references/docs-observability-tracing-exporters-posthog.md +0 -148
  205. package/dist/docs/references/docs-observability-tracing-overview.md +0 -1112
  206. package/dist/models-dev-5WY37RVC.cjs +0 -12
  207. package/dist/models-dev-Y2UFJEOO.js +0 -3
  208. package/dist/netlify-ADZQ5ZNY.cjs +0 -12
  209. package/dist/netlify-I4AUVRO2.js +0 -3
  210. package/dist/provider-registry-C7SZ5ZT4.js +0 -3
  211. package/dist/provider-registry-I5RW3MEE.cjs +0 -40
@@ -1,180 +1,180 @@
1
1
  'use strict';
2
2
 
3
- var chunkJ47RNLSY_cjs = require('../chunk-J47RNLSY.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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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 chunkJ47RNLSY_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-ZRLAR66M.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-C7SZ5ZT4.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-I5RW3MEE.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-VUG7E4SG.cjs"}
@@ -778,7 +778,8 @@
778
778
  "mimo-v2-pro-free",
779
779
  "minimax-m2.5",
780
780
  "minimax-m2.5-free",
781
- "nemotron-3-super-free"
781
+ "nemotron-3-super-free",
782
+ "qwen3.6-plus-free"
782
783
  ],
783
784
  "docUrl": "https://opencode.ai/docs/zen",
784
785
  "gateway": "models.dev"
@@ -2169,6 +2170,7 @@
2169
2170
  "qwen/qwen3-next-80b-a3b-thinking",
2170
2171
  "qwen/qwen3.5-397b-a17b",
2171
2172
  "qwen/qwen3.5-plus-02-15",
2173
+ "qwen/qwen3.6-plus-preview:free",
2172
2174
  "sourceful/riverflow-v2-fast-preview",
2173
2175
  "sourceful/riverflow-v2-max-preview",
2174
2176
  "sourceful/riverflow-v2-standard-preview",
@@ -2202,7 +2204,7 @@
2202
2204
  "npm": "@openrouter/ai-sdk-provider"
2203
2205
  },
2204
2206
  "zenmux": {
2205
- "url": "https://zenmux.ai/api/anthropic/v1",
2207
+ "url": "https://zenmux.ai/api/v1",
2206
2208
  "apiKeyEnvVar": "ZENMUX_API_KEY",
2207
2209
  "apiKeyHeader": "Authorization",
2208
2210
  "name": "ZenMux",
@@ -2225,7 +2227,6 @@
2225
2227
  "google/gemini-2.5-flash-lite",
2226
2228
  "google/gemini-2.5-pro",
2227
2229
  "google/gemini-3-flash-preview",
2228
- "google/gemini-3-pro-image-preview",
2229
2230
  "google/gemini-3-pro-preview",
2230
2231
  "google/gemini-3.1-flash-lite-preview",
2231
2232
  "google/gemini-3.1-pro-preview",
@@ -2295,8 +2296,7 @@
2295
2296
  "z-ai/glm-5-turbo"
2296
2297
  ],
2297
2298
  "docUrl": "https://docs.zenmux.ai",
2298
- "gateway": "models.dev",
2299
- "npm": "@ai-sdk/anthropic"
2299
+ "gateway": "models.dev"
2300
2300
  },
2301
2301
  "perplexity": {
2302
2302
  "apiKeyEnvVar": "PERPLEXITY_API_KEY",
@@ -2713,6 +2713,7 @@
2713
2713
  "inception/mercury-2",
2714
2714
  "inception/mercury-coder-small",
2715
2715
  "kwaipilot/kat-coder-pro-v1",
2716
+ "kwaipilot/kat-coder-pro-v2",
2716
2717
  "meituan/longcat-flash-chat",
2717
2718
  "meituan/longcat-flash-thinking",
2718
2719
  "meituan/longcat-flash-thinking-2601",
@@ -2758,6 +2759,7 @@
2758
2759
  "morph/morph-v3-fast",
2759
2760
  "morph/morph-v3-large",
2760
2761
  "nvidia/nemotron-3-nano-30b-a3b",
2762
+ "nvidia/nemotron-3-super-120b-a12b",
2761
2763
  "nvidia/nemotron-nano-12b-v2-vl",
2762
2764
  "nvidia/nemotron-nano-9b-v2",
2763
2765
  "openai/codex-mini",
@@ -3445,17 +3447,7 @@
3445
3447
  "apiKeyEnvVar": "VULTR_API_KEY",
3446
3448
  "apiKeyHeader": "Authorization",
3447
3449
  "name": "Vultr",
3448
- "models": [
3449
- "DeepSeek-R1-Distill-Llama-70B",
3450
- "DeepSeek-R1-Distill-Qwen-32B",
3451
- "DeepSeek-V3.2",
3452
- "GLM-5-FP8",
3453
- "Kimi-K2.5",
3454
- "Llama-3_1-Nemotron-Ultra-253B-v1",
3455
- "MiniMax-M2.5",
3456
- "NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
3457
- "gpt-oss-120b"
3458
- ],
3450
+ "models": ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
3459
3451
  "docUrl": "https://api.vultrinference.com/",
3460
3452
  "gateway": "models.dev"
3461
3453
  },
@@ -4432,7 +4424,6 @@
4432
4424
  "gemini/gemini-2.5-flash",
4433
4425
  "gemini/gemini-2.5-flash-image",
4434
4426
  "gemini/gemini-2.5-flash-lite",
4435
- "gemini/gemini-2.5-flash-lite-preview-09-2025",
4436
4427
  "gemini/gemini-2.5-pro",
4437
4428
  "gemini/gemini-3-flash-preview",
4438
4429
  "gemini/gemini-3-pro-image-preview",
@@ -5066,7 +5057,8 @@
5066
5057
  "mimo-v2-pro-free",
5067
5058
  "minimax-m2.5",
5068
5059
  "minimax-m2.5-free",
5069
- "nemotron-3-super-free"
5060
+ "nemotron-3-super-free",
5061
+ "qwen3.6-plus-free"
5070
5062
  ],
5071
5063
  "berget": [
5072
5064
  "BAAI/bge-reranker-v2-m3",
@@ -6267,6 +6259,7 @@
6267
6259
  "qwen/qwen3-next-80b-a3b-thinking",
6268
6260
  "qwen/qwen3.5-397b-a17b",
6269
6261
  "qwen/qwen3.5-plus-02-15",
6262
+ "qwen/qwen3.6-plus-preview:free",
6270
6263
  "sourceful/riverflow-v2-fast-preview",
6271
6264
  "sourceful/riverflow-v2-max-preview",
6272
6265
  "sourceful/riverflow-v2-standard-preview",
@@ -6314,7 +6307,6 @@
6314
6307
  "google/gemini-2.5-flash-lite",
6315
6308
  "google/gemini-2.5-pro",
6316
6309
  "google/gemini-3-flash-preview",
6317
- "google/gemini-3-pro-image-preview",
6318
6310
  "google/gemini-3-pro-preview",
6319
6311
  "google/gemini-3.1-flash-lite-preview",
6320
6312
  "google/gemini-3.1-pro-preview",
@@ -6690,6 +6682,7 @@
6690
6682
  "inception/mercury-2",
6691
6683
  "inception/mercury-coder-small",
6692
6684
  "kwaipilot/kat-coder-pro-v1",
6685
+ "kwaipilot/kat-coder-pro-v2",
6693
6686
  "meituan/longcat-flash-chat",
6694
6687
  "meituan/longcat-flash-thinking",
6695
6688
  "meituan/longcat-flash-thinking-2601",
@@ -6735,6 +6728,7 @@
6735
6728
  "morph/morph-v3-fast",
6736
6729
  "morph/morph-v3-large",
6737
6730
  "nvidia/nemotron-3-nano-30b-a3b",
6731
+ "nvidia/nemotron-3-super-120b-a12b",
6738
6732
  "nvidia/nemotron-nano-12b-v2-vl",
6739
6733
  "nvidia/nemotron-nano-9b-v2",
6740
6734
  "openai/codex-mini",
@@ -7299,17 +7293,7 @@
7299
7293
  "zai-org/GLM-4.5-Air",
7300
7294
  "zai-org/GLM-4.5-FP8"
7301
7295
  ],
7302
- "vultr": [
7303
- "DeepSeek-R1-Distill-Llama-70B",
7304
- "DeepSeek-R1-Distill-Qwen-32B",
7305
- "DeepSeek-V3.2",
7306
- "GLM-5-FP8",
7307
- "Kimi-K2.5",
7308
- "Llama-3_1-Nemotron-Ultra-253B-v1",
7309
- "MiniMax-M2.5",
7310
- "NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
7311
- "gpt-oss-120b"
7312
- ],
7296
+ "vultr": ["DeepSeek-V3.2", "GLM-5-FP8", "Kimi-K2.5", "MiniMax-M2.5"],
7313
7297
  "github-models": [
7314
7298
  "ai21-labs/ai21-jamba-1.5-large",
7315
7299
  "ai21-labs/ai21-jamba-1.5-mini",
@@ -8166,7 +8150,6 @@
8166
8150
  "gemini/gemini-2.5-flash",
8167
8151
  "gemini/gemini-2.5-flash-image",
8168
8152
  "gemini/gemini-2.5-flash-lite",
8169
- "gemini/gemini-2.5-flash-lite-preview-09-2025",
8170
8153
  "gemini/gemini-2.5-pro",
8171
8154
  "gemini/gemini-3-flash-preview",
8172
8155
  "gemini/gemini-3-pro-image-preview",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJ47RNLSY_cjs = require('../chunk-J47RNLSY.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 chunkJ47RNLSY_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 (chunkJ47RNLSY_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-ZRLAR66M.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) {