@mastra/core 1.23.1-alpha.0 → 1.24.0-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 +71 -0
  2. package/dist/agent/index.cjs +13 -13
  3. package/dist/agent/index.js +2 -2
  4. package/dist/agent/message-list/adapters/AIV5Adapter.d.ts.map +1 -1
  5. package/dist/agent/message-list/conversion/input-converter.d.ts.map +1 -1
  6. package/dist/agent/message-list/index.cjs +19 -19
  7. package/dist/agent/message-list/index.js +1 -1
  8. package/dist/agent/message-list/message-list.d.ts.map +1 -1
  9. package/dist/agent/message-list/state/types.d.ts +7 -4
  10. package/dist/agent/message-list/state/types.d.ts.map +1 -1
  11. package/dist/agent/message-list/utils/stamp-part.d.ts +4 -0
  12. package/dist/agent/message-list/utils/stamp-part.d.ts.map +1 -0
  13. package/dist/browser/index.cjs +2 -2
  14. package/dist/browser/index.js +1 -1
  15. package/dist/channels/index.cjs +4 -4
  16. package/dist/channels/index.js +1 -1
  17. package/dist/{chunk-LB3GO6MV.js → chunk-234T424F.js} +5 -5
  18. package/dist/{chunk-LB3GO6MV.js.map → chunk-234T424F.js.map} +1 -1
  19. package/dist/{chunk-WCQOOGVM.cjs → chunk-365PDOQ4.cjs} +9 -9
  20. package/dist/{chunk-WCQOOGVM.cjs.map → chunk-365PDOQ4.cjs.map} +1 -1
  21. package/dist/{chunk-N7W2KRUH.js → chunk-3RI7ILBW.js} +3 -3
  22. package/dist/{chunk-N7W2KRUH.js.map → chunk-3RI7ILBW.js.map} +1 -1
  23. package/dist/{chunk-B4OOPFD3.cjs → chunk-4FFOOHE5.cjs} +27 -2
  24. package/dist/chunk-4FFOOHE5.cjs.map +1 -0
  25. package/dist/{chunk-S2546L42.js → chunk-7BBERBXP.js} +6 -6
  26. package/dist/{chunk-S2546L42.js.map → chunk-7BBERBXP.js.map} +1 -1
  27. package/dist/{chunk-BG3IPQZ7.cjs → chunk-B2FQ6L2I.cjs} +21 -21
  28. package/dist/{chunk-BG3IPQZ7.cjs.map → chunk-B2FQ6L2I.cjs.map} +1 -1
  29. package/dist/{chunk-UNQCLA7I.cjs → chunk-BFOZOAU2.cjs} +54 -26
  30. package/dist/chunk-BFOZOAU2.cjs.map +1 -0
  31. package/dist/{chunk-JC2RW3N5.js → chunk-CN6AFOVV.js} +4 -4
  32. package/dist/{chunk-JC2RW3N5.js.map → chunk-CN6AFOVV.js.map} +1 -1
  33. package/dist/{chunk-IAUQYADS.cjs → chunk-CY4AMNDV.cjs} +7 -7
  34. package/dist/{chunk-IAUQYADS.cjs.map → chunk-CY4AMNDV.cjs.map} +1 -1
  35. package/dist/{chunk-MW6HBUMV.cjs → chunk-D64ZY3NT.cjs} +29 -27
  36. package/dist/chunk-D64ZY3NT.cjs.map +1 -0
  37. package/dist/{chunk-JVXQTSRU.js → chunk-E7PBOS66.js} +3 -3
  38. package/dist/{chunk-JVXQTSRU.js.map → chunk-E7PBOS66.js.map} +1 -1
  39. package/dist/{chunk-GBUKRAUU.cjs → chunk-EAQQP6OK.cjs} +75 -75
  40. package/dist/{chunk-GBUKRAUU.cjs.map → chunk-EAQQP6OK.cjs.map} +1 -1
  41. package/dist/chunk-EGIEQEHP.js +35 -0
  42. package/dist/chunk-EGIEQEHP.js.map +1 -0
  43. package/dist/{chunk-C3RGHCOG.js → chunk-EJ62D3QH.js} +7 -7
  44. package/dist/{chunk-C3RGHCOG.js.map → chunk-EJ62D3QH.js.map} +1 -1
  45. package/dist/{chunk-J5JND5CL.cjs → chunk-FCW225T4.cjs} +84 -84
  46. package/dist/{chunk-J5JND5CL.cjs.map → chunk-FCW225T4.cjs.map} +1 -1
  47. package/dist/{chunk-OVQVLGT2.cjs → chunk-FLMCO42Y.cjs} +4 -4
  48. package/dist/{chunk-OVQVLGT2.cjs.map → chunk-FLMCO42Y.cjs.map} +1 -1
  49. package/dist/{chunk-RNKRA4W6.js → chunk-GAW7WFCY.js} +6 -6
  50. package/dist/{chunk-RNKRA4W6.js.map → chunk-GAW7WFCY.js.map} +1 -1
  51. package/dist/{chunk-7CWIKWHN.js → chunk-I7DUPZFN.js} +90 -43
  52. package/dist/chunk-I7DUPZFN.js.map +1 -0
  53. package/dist/{chunk-HMVCVSAM.js → chunk-IKUMKFM4.js} +5 -5
  54. package/dist/{chunk-HMVCVSAM.js.map → chunk-IKUMKFM4.js.map} +1 -1
  55. package/dist/{chunk-YTLU3Q7Q.js → chunk-JBFAGOAG.js} +13 -11
  56. package/dist/chunk-JBFAGOAG.js.map +1 -0
  57. package/dist/{chunk-6WRVZNQL.cjs → chunk-L56725IW.cjs} +7 -2
  58. package/dist/chunk-L56725IW.cjs.map +1 -0
  59. package/dist/{chunk-FDSY7ZGW.cjs → chunk-L73KZFX6.cjs} +10 -10
  60. package/dist/{chunk-FDSY7ZGW.cjs.map → chunk-L73KZFX6.cjs.map} +1 -1
  61. package/dist/{chunk-QX5YBALM.js → chunk-LUEXY2QV.js} +3 -3
  62. package/dist/{chunk-QX5YBALM.js.map → chunk-LUEXY2QV.js.map} +1 -1
  63. package/dist/{chunk-235IILEY.js → chunk-MD3VGE3F.js} +7 -2
  64. package/dist/chunk-MD3VGE3F.js.map +1 -0
  65. package/dist/{chunk-Q2RTFBSF.js → chunk-MK5IF24D.js} +8 -8
  66. package/dist/{chunk-Q2RTFBSF.js.map → chunk-MK5IF24D.js.map} +1 -1
  67. package/dist/{chunk-PJ5YCHXB.js → chunk-MZJQ7OKW.js} +3 -3
  68. package/dist/{chunk-PJ5YCHXB.js.map → chunk-MZJQ7OKW.js.map} +1 -1
  69. package/dist/{chunk-3UBTJXPW.cjs → chunk-P5C4HEAB.cjs} +32 -32
  70. package/dist/{chunk-3UBTJXPW.cjs.map → chunk-P5C4HEAB.cjs.map} +1 -1
  71. package/dist/{chunk-AMQICJHD.js → chunk-PCHML5XO.js} +11 -11
  72. package/dist/{chunk-AMQICJHD.js.map → chunk-PCHML5XO.js.map} +1 -1
  73. package/dist/{chunk-4LJ4M2DI.js → chunk-PQKSETS5.js} +3 -3
  74. package/dist/{chunk-4LJ4M2DI.js.map → chunk-PQKSETS5.js.map} +1 -1
  75. package/dist/{chunk-PHSDY5MP.cjs → chunk-QFGYBEP3.cjs} +10 -10
  76. package/dist/{chunk-PHSDY5MP.cjs.map → chunk-QFGYBEP3.cjs.map} +1 -1
  77. package/dist/{chunk-2M6QAFRM.cjs → chunk-RJAOQKHJ.cjs} +90 -43
  78. package/dist/chunk-RJAOQKHJ.cjs.map +1 -0
  79. package/dist/{chunk-WXCT24DY.cjs → chunk-SRQR5UN6.cjs} +27 -27
  80. package/dist/{chunk-WXCT24DY.cjs.map → chunk-SRQR5UN6.cjs.map} +1 -1
  81. package/dist/{chunk-7OU57YXD.cjs → chunk-SUEVJYTA.cjs} +185 -185
  82. package/dist/{chunk-7OU57YXD.cjs.map → chunk-SUEVJYTA.cjs.map} +1 -1
  83. package/dist/{chunk-LYCAEN2H.cjs → chunk-SYH64AGV.cjs} +219 -219
  84. package/dist/{chunk-LYCAEN2H.cjs.map → chunk-SYH64AGV.cjs.map} +1 -1
  85. package/dist/{chunk-ZHMULBPD.js → chunk-V2HSN7VZ.js} +26 -3
  86. package/dist/chunk-V2HSN7VZ.js.map +1 -0
  87. package/dist/{chunk-KPNURYWF.js → chunk-V657RNGK.js} +42 -14
  88. package/dist/chunk-V657RNGK.js.map +1 -0
  89. package/dist/{chunk-JGPMCTG4.cjs → chunk-XEDVYHBK.cjs} +3 -3
  90. package/dist/{chunk-JGPMCTG4.cjs.map → chunk-XEDVYHBK.cjs.map} +1 -1
  91. package/dist/{chunk-CLNGCSHU.cjs → chunk-XEM4OYJI.cjs} +15 -15
  92. package/dist/{chunk-CLNGCSHU.cjs.map → chunk-XEM4OYJI.cjs.map} +1 -1
  93. package/dist/{chunk-QG5JWMFX.cjs → chunk-XS3FHQ34.cjs} +11 -11
  94. package/dist/{chunk-QG5JWMFX.cjs.map → chunk-XS3FHQ34.cjs.map} +1 -1
  95. package/dist/{chunk-STZTHX32.js → chunk-XS75QEED.js} +5 -5
  96. package/dist/{chunk-STZTHX32.js.map → chunk-XS75QEED.js.map} +1 -1
  97. package/dist/{chunk-5OXVECLF.js → chunk-Y4SL4WJQ.js} +3 -3
  98. package/dist/{chunk-5OXVECLF.js.map → chunk-Y4SL4WJQ.js.map} +1 -1
  99. package/dist/chunk-ZPHI6QAA.cjs +40 -0
  100. package/dist/chunk-ZPHI6QAA.cjs.map +1 -0
  101. package/dist/datasets/index.cjs +17 -17
  102. package/dist/datasets/index.js +2 -2
  103. package/dist/docs/SKILL.md +2 -1
  104. package/dist/docs/assets/SOURCE_MAP.json +450 -450
  105. package/dist/docs/references/reference-observability-tracing-configuration.md +8 -1
  106. package/dist/docs/references/reference-observability-tracing-span-filtering.md +95 -0
  107. package/dist/docs/references/reference.md +1 -0
  108. package/dist/evals/index.cjs +23 -23
  109. package/dist/evals/index.js +3 -3
  110. package/dist/evals/scoreTraces/index.cjs +7 -7
  111. package/dist/evals/scoreTraces/index.js +3 -3
  112. package/dist/harness/index.cjs +9 -9
  113. package/dist/harness/index.js +6 -6
  114. package/dist/index.cjs +2 -2
  115. package/dist/index.js +1 -1
  116. package/dist/llm/index.cjs +20 -20
  117. package/dist/llm/index.js +5 -5
  118. package/dist/llm/model/provider-types.generated.d.ts +11 -1
  119. package/dist/logger/index.cjs +6 -6
  120. package/dist/logger/index.js +1 -1
  121. package/dist/loop/index.cjs +14 -14
  122. package/dist/loop/index.js +1 -1
  123. package/dist/mastra/index.cjs +2 -2
  124. package/dist/mastra/index.d.ts.map +1 -1
  125. package/dist/mastra/index.js +1 -1
  126. package/dist/mastra-5YHFXAJO.js +3 -0
  127. package/dist/{mastra-JWFZL5TC.js.map → mastra-5YHFXAJO.js.map} +1 -1
  128. package/dist/mastra-7CFH7DGM.cjs +12 -0
  129. package/dist/{mastra-ZQK3PKEU.cjs.map → mastra-7CFH7DGM.cjs.map} +1 -1
  130. package/dist/memory/index.cjs +19 -19
  131. package/dist/memory/index.js +1 -1
  132. package/dist/models-dev-X2MWNPAU.cjs +12 -0
  133. package/dist/{models-dev-6DVNVKP4.cjs.map → models-dev-X2MWNPAU.cjs.map} +1 -1
  134. package/dist/models-dev-ZXC3IYLG.js +3 -0
  135. package/dist/{models-dev-FOTHHSEK.js.map → models-dev-ZXC3IYLG.js.map} +1 -1
  136. package/dist/netlify-GOILLTQO.cjs +12 -0
  137. package/dist/{netlify-S2IW3O2X.cjs.map → netlify-GOILLTQO.cjs.map} +1 -1
  138. package/dist/netlify-HJL7EXHY.js +3 -0
  139. package/dist/{netlify-NMTX7SVL.js.map → netlify-HJL7EXHY.js.map} +1 -1
  140. package/dist/observability/context-storage.cjs +18 -28
  141. package/dist/observability/context-storage.cjs.map +1 -1
  142. package/dist/observability/context-storage.d.ts +9 -0
  143. package/dist/observability/context-storage.d.ts.map +1 -1
  144. package/dist/observability/context-storage.js +1 -28
  145. package/dist/observability/context-storage.js.map +1 -1
  146. package/dist/observability/index.cjs +33 -25
  147. package/dist/observability/index.d.ts +2 -0
  148. package/dist/observability/index.d.ts.map +1 -1
  149. package/dist/observability/index.js +3 -3
  150. package/dist/observability/rag-ingestion.d.ts +108 -0
  151. package/dist/observability/rag-ingestion.d.ts.map +1 -0
  152. package/dist/observability/types/core.d.ts +31 -1
  153. package/dist/observability/types/core.d.ts.map +1 -1
  154. package/dist/observability/types/tracing.d.ts +133 -1
  155. package/dist/observability/types/tracing.d.ts.map +1 -1
  156. package/dist/processor-provider/index.cjs +10 -10
  157. package/dist/processor-provider/index.js +1 -1
  158. package/dist/processors/index.cjs +44 -44
  159. package/dist/processors/index.js +1 -1
  160. package/dist/provider-registry-25ELOB67.cjs +44 -0
  161. package/dist/{provider-registry-7WS3N5BF.cjs.map → provider-registry-25ELOB67.cjs.map} +1 -1
  162. package/dist/provider-registry-UWTCPEFF.js +3 -0
  163. package/dist/{provider-registry-YADLRYW6.js.map → provider-registry-UWTCPEFF.js.map} +1 -1
  164. package/dist/provider-registry.json +34 -6
  165. package/dist/relevance/index.cjs +3 -3
  166. package/dist/relevance/index.js +1 -1
  167. package/dist/storage/constants.cjs +56 -56
  168. package/dist/storage/constants.js +1 -1
  169. package/dist/storage/index.cjs +286 -286
  170. package/dist/storage/index.js +3 -3
  171. package/dist/stream/index.cjs +11 -11
  172. package/dist/stream/index.js +2 -2
  173. package/dist/test-utils/llm-mock.cjs +4 -4
  174. package/dist/test-utils/llm-mock.js +1 -1
  175. package/dist/tool-loop-agent/index.cjs +4 -4
  176. package/dist/tool-loop-agent/index.js +1 -1
  177. package/dist/utils.cjs +25 -25
  178. package/dist/utils.js +1 -1
  179. package/dist/vector/index.cjs +7 -7
  180. package/dist/vector/index.js +1 -1
  181. package/dist/workflows/evented/index.cjs +10 -10
  182. package/dist/workflows/evented/index.js +1 -1
  183. package/dist/workflows/index.cjs +24 -24
  184. package/dist/workflows/index.js +1 -1
  185. package/package.json +5 -5
  186. package/src/llm/model/provider-types.generated.d.ts +11 -1
  187. package/dist/chunk-235IILEY.js.map +0 -1
  188. package/dist/chunk-2M6QAFRM.cjs.map +0 -1
  189. package/dist/chunk-6WRVZNQL.cjs.map +0 -1
  190. package/dist/chunk-7CWIKWHN.js.map +0 -1
  191. package/dist/chunk-B4OOPFD3.cjs.map +0 -1
  192. package/dist/chunk-KPNURYWF.js.map +0 -1
  193. package/dist/chunk-MW6HBUMV.cjs.map +0 -1
  194. package/dist/chunk-UNQCLA7I.cjs.map +0 -1
  195. package/dist/chunk-YTLU3Q7Q.js.map +0 -1
  196. package/dist/chunk-ZHMULBPD.js.map +0 -1
  197. package/dist/mastra-JWFZL5TC.js +0 -3
  198. package/dist/mastra-ZQK3PKEU.cjs +0 -12
  199. package/dist/models-dev-6DVNVKP4.cjs +0 -12
  200. package/dist/models-dev-FOTHHSEK.js +0 -3
  201. package/dist/netlify-NMTX7SVL.js +0 -3
  202. package/dist/netlify-S2IW3O2X.cjs +0 -12
  203. package/dist/provider-registry-7WS3N5BF.cjs +0 -44
  204. package/dist/provider-registry-YADLRYW6.js +0 -3
@@ -26,6 +26,8 @@ interface ObservabilityInstanceConfig {
26
26
  exporters?: ObservabilityExporter[]
27
27
  spanOutputProcessors?: SpanOutputProcessor[]
28
28
  includeInternalSpans?: boolean
29
+ excludeSpanTypes?: SpanType[]
30
+ spanFilter?: (span: AnyExportedSpan) => boolean
29
31
  requestContextKeys?: string[]
30
32
  serializationOptions?: SerializationOptions
31
33
  logging?: { enabled?: boolean; level?: LogLevel }
@@ -44,6 +46,10 @@ interface ObservabilityInstanceConfig {
44
46
 
45
47
  **includeInternalSpans** (`boolean`): Include spans internal to Mastra operations
46
48
 
49
+ **excludeSpanTypes** (`SpanType[]`): Span types to exclude from export. Useful for reducing noise and costs in per-span billing platforms. See the \[Span filtering reference]\(/reference/observability/tracing/span-filtering) for details.
50
+
51
+ **spanFilter** (`(span: AnyExportedSpan) => boolean`): Filter function to control which spans are exported. Return true to keep, false to drop. Runs after excludeSpanTypes and spanOutputProcessors. See the \[Span filtering reference]\(/reference/observability/tracing/span-filtering) for details.
52
+
47
53
  **requestContextKeys** (`string[]`): RequestContext keys to extract as metadata (supports dot notation)
48
54
 
49
55
  **serializationOptions** (`SerializationOptions`): Options for controlling serialization of span data (input/output/attributes)
@@ -199,4 +205,5 @@ Shuts down all observability instances and clears the registry.
199
205
  - [CloudExporter](https://mastra.ai/reference/observability/tracing/exporters/cloud-exporter) - Cloud setup
200
206
  - [Braintrust](https://mastra.ai/reference/observability/tracing/exporters/braintrust) - Braintrust integration
201
207
  - [Langfuse](https://mastra.ai/reference/observability/tracing/exporters/langfuse) - Langfuse integration
202
- - [LangSmith](https://mastra.ai/reference/observability/tracing/exporters/langsmith) - LangSmith integration
208
+ - [LangSmith](https://mastra.ai/reference/observability/tracing/exporters/langsmith) - LangSmith integration
209
+ - [Span filtering](https://mastra.ai/reference/observability/tracing/span-filtering) - Selectively exclude spans
@@ -0,0 +1,95 @@
1
+ # Span filtering
2
+
3
+ Span filtering controls which spans are exported from an observability config. Use it to reduce noise, lower per-span costs, or keep only the spans that matter for a specific exporter or environment.
4
+
5
+ For a shorter overview of tracing configuration, see [Tracing](https://mastra.ai/docs/observability/tracing/overview).
6
+
7
+ ## Usage example
8
+
9
+ The following example demonstrates how to combine `excludeSpanTypes` and `spanFilter` in one observability config:
10
+
11
+ ```ts
12
+ import { Mastra } from '@mastra/core'
13
+ import { SpanType } from '@mastra/core/observability'
14
+ import { Observability, DefaultExporter } from '@mastra/observability'
15
+ import { LangfuseExporter } from '@mastra/langfuse'
16
+
17
+ export const mastra = new Mastra({
18
+ observability: new Observability({
19
+ configs: {
20
+ default: {
21
+ serviceName: 'my-app',
22
+ exporters: [new DefaultExporter(), new LangfuseExporter()],
23
+ excludeSpanTypes: [SpanType.MODEL_CHUNK, SpanType.MODEL_STEP],
24
+ spanFilter: span => {
25
+ if (span.type === SpanType.TOOL_CALL && span.attributes?.success) {
26
+ return false
27
+ }
28
+
29
+ return true
30
+ },
31
+ },
32
+ },
33
+ }),
34
+ })
35
+ ```
36
+
37
+ ## Configuration options
38
+
39
+ **excludeSpanTypes** (`SpanType[]`): Drops spans by type before processors and spanFilter run. Use this for broad, low-overhead filtering.
40
+
41
+ **spanFilter** (`(span: AnyExportedSpan) => boolean`): Receives the exported span and returns true to keep it or false to drop it. Use this when filtering depends on attributes, metadata, timing, or entity identifiers.
42
+
43
+ ### `excludeSpanTypes`
44
+
45
+ Use `excludeSpanTypes` when you want to suppress whole categories of spans with minimal configuration.
46
+
47
+ For the current set of supported values, see the [`SpanType` enum](https://github.com/mastra-ai/mastra/blob/main/packages/core/src/observability/types/tracing.ts).
48
+
49
+ ```ts
50
+ import { SpanType } from '@mastra/core/observability'
51
+
52
+ excludeSpanTypes: [SpanType.MODEL_CHUNK, SpanType.MODEL_STEP, SpanType.WORKFLOW_SLEEP]
53
+ ```
54
+
55
+ ### `spanFilter`
56
+
57
+ When filtering depends on the exported span contents, use `spanFilter`.
58
+
59
+ ```ts
60
+ import { SpanType } from '@mastra/core/observability'
61
+
62
+ spanFilter: span => {
63
+ if (span.type === SpanType.MODEL_CHUNK) return false
64
+ if (span.type === SpanType.TOOL_CALL && span.attributes?.success) return false
65
+
66
+ return true
67
+ }
68
+ ```
69
+
70
+ Additional examples:
71
+
72
+ ```ts
73
+ // Only export spans from production
74
+ spanFilter: span => span.metadata?.environment === 'production'
75
+
76
+ // Exclude spans from a specific entity
77
+ spanFilter: span => span.entityId !== 'noisy-agent'
78
+ ```
79
+
80
+ ## Processing order
81
+
82
+ Span filtering happens at export time in this order:
83
+
84
+ 1. Internal spans are dropped unless `includeInternalSpans` is `true`.
85
+ 2. `excludeSpanTypes` removes matching span types.
86
+ 3. `spanOutputProcessors` transform the remaining spans.
87
+ 4. `spanFilter` decides whether to keep the final exported span.
88
+
89
+ If `spanFilter` throws an error, Mastra keeps the span and logs the error to avoid silent data loss.
90
+
91
+ ## Related
92
+
93
+ - [Tracing overview](https://mastra.ai/docs/observability/tracing/overview) for setup and concepts
94
+ - [Configuration API](https://mastra.ai/reference/observability/tracing/configuration) for `ObservabilityInstanceConfig`
95
+ - [Sensitive data filter](https://mastra.ai/docs/observability/tracing/processors/sensitive-data-filter) for redacting span data
@@ -151,6 +151,7 @@ The Reference section provides documentation of Mastra's API, including paramete
151
151
  - [Configuration](https://mastra.ai/reference/observability/tracing/configuration)
152
152
  - [Instances](https://mastra.ai/reference/observability/tracing/instances)
153
153
  - [Interfaces](https://mastra.ai/reference/observability/tracing/interfaces)
154
+ - [Span filtering](https://mastra.ai/reference/observability/tracing/span-filtering)
154
155
  - [Spans](https://mastra.ai/reference/observability/tracing/spans)
155
156
  - [BatchPartsProcessor](https://mastra.ai/reference/processors/batch-parts-processor)
156
157
  - [LanguageDetector](https://mastra.ai/reference/processors/language-detector)
@@ -1,90 +1,90 @@
1
1
  'use strict';
2
2
 
3
- var chunkBG3IPQZ7_cjs = require('../chunk-BG3IPQZ7.cjs');
4
- var chunkLYCAEN2H_cjs = require('../chunk-LYCAEN2H.cjs');
5
- var chunk3UBTJXPW_cjs = require('../chunk-3UBTJXPW.cjs');
3
+ var chunkB2FQ6L2I_cjs = require('../chunk-B2FQ6L2I.cjs');
4
+ var chunkSYH64AGV_cjs = require('../chunk-SYH64AGV.cjs');
5
+ var chunkP5C4HEAB_cjs = require('../chunk-P5C4HEAB.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "runEvals", {
10
10
  enumerable: true,
11
- get: function () { return chunkBG3IPQZ7_cjs.runEvals; }
11
+ get: function () { return chunkB2FQ6L2I_cjs.runEvals; }
12
12
  });
13
13
  Object.defineProperty(exports, "MastraScorer", {
14
14
  enumerable: true,
15
- get: function () { return chunkLYCAEN2H_cjs.MastraScorer; }
15
+ get: function () { return chunkSYH64AGV_cjs.MastraScorer; }
16
16
  });
17
17
  Object.defineProperty(exports, "createScorer", {
18
18
  enumerable: true,
19
- get: function () { return chunkLYCAEN2H_cjs.createScorer; }
19
+ get: function () { return chunkSYH64AGV_cjs.createScorer; }
20
20
  });
21
21
  Object.defineProperty(exports, "extractTrajectory", {
22
22
  enumerable: true,
23
- get: function () { return chunk3UBTJXPW_cjs.extractTrajectory; }
23
+ get: function () { return chunkP5C4HEAB_cjs.extractTrajectory; }
24
24
  });
25
25
  Object.defineProperty(exports, "extractTrajectoryFromTrace", {
26
26
  enumerable: true,
27
- get: function () { return chunk3UBTJXPW_cjs.extractTrajectoryFromTrace; }
27
+ get: function () { return chunkP5C4HEAB_cjs.extractTrajectoryFromTrace; }
28
28
  });
29
29
  Object.defineProperty(exports, "extractWorkflowTrajectory", {
30
30
  enumerable: true,
31
- get: function () { return chunk3UBTJXPW_cjs.extractWorkflowTrajectory; }
31
+ get: function () { return chunkP5C4HEAB_cjs.extractWorkflowTrajectory; }
32
32
  });
33
33
  Object.defineProperty(exports, "listScoresResponseSchema", {
34
34
  enumerable: true,
35
- get: function () { return chunk3UBTJXPW_cjs.listScoresResponseSchema; }
35
+ get: function () { return chunkP5C4HEAB_cjs.listScoresResponseSchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "saveScorePayloadSchema", {
38
38
  enumerable: true,
39
- get: function () { return chunk3UBTJXPW_cjs.saveScorePayloadSchema; }
39
+ get: function () { return chunkP5C4HEAB_cjs.saveScorePayloadSchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "scoreResultSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunk3UBTJXPW_cjs.scoreResultSchema; }
43
+ get: function () { return chunkP5C4HEAB_cjs.scoreResultSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "scoreRowDataSchema", {
46
46
  enumerable: true,
47
- get: function () { return chunk3UBTJXPW_cjs.scoreRowDataSchema; }
47
+ get: function () { return chunkP5C4HEAB_cjs.scoreRowDataSchema; }
48
48
  });
49
49
  Object.defineProperty(exports, "scoringEntityTypeSchema", {
50
50
  enumerable: true,
51
- get: function () { return chunk3UBTJXPW_cjs.scoringEntityTypeSchema; }
51
+ get: function () { return chunkP5C4HEAB_cjs.scoringEntityTypeSchema; }
52
52
  });
53
53
  Object.defineProperty(exports, "scoringExtractStepResultSchema", {
54
54
  enumerable: true,
55
- get: function () { return chunk3UBTJXPW_cjs.scoringExtractStepResultSchema; }
55
+ get: function () { return chunkP5C4HEAB_cjs.scoringExtractStepResultSchema; }
56
56
  });
57
57
  Object.defineProperty(exports, "scoringHookInputSchema", {
58
58
  enumerable: true,
59
- get: function () { return chunk3UBTJXPW_cjs.scoringHookInputSchema; }
59
+ get: function () { return chunkP5C4HEAB_cjs.scoringHookInputSchema; }
60
60
  });
61
61
  Object.defineProperty(exports, "scoringInputSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunk3UBTJXPW_cjs.scoringInputSchema; }
63
+ get: function () { return chunkP5C4HEAB_cjs.scoringInputSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "scoringInputWithExtractStepResultAndAnalyzeStepResultSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunk3UBTJXPW_cjs.scoringInputWithExtractStepResultAndAnalyzeStepResultSchema; }
67
+ get: function () { return chunkP5C4HEAB_cjs.scoringInputWithExtractStepResultAndAnalyzeStepResultSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "scoringInputWithExtractStepResultAndScoreAndReasonSchema", {
70
70
  enumerable: true,
71
- get: function () { return chunk3UBTJXPW_cjs.scoringInputWithExtractStepResultAndScoreAndReasonSchema; }
71
+ get: function () { return chunkP5C4HEAB_cjs.scoringInputWithExtractStepResultAndScoreAndReasonSchema; }
72
72
  });
73
73
  Object.defineProperty(exports, "scoringInputWithExtractStepResultSchema", {
74
74
  enumerable: true,
75
- get: function () { return chunk3UBTJXPW_cjs.scoringInputWithExtractStepResultSchema; }
75
+ get: function () { return chunkP5C4HEAB_cjs.scoringInputWithExtractStepResultSchema; }
76
76
  });
77
77
  Object.defineProperty(exports, "scoringPromptsSchema", {
78
78
  enumerable: true,
79
- get: function () { return chunk3UBTJXPW_cjs.scoringPromptsSchema; }
79
+ get: function () { return chunkP5C4HEAB_cjs.scoringPromptsSchema; }
80
80
  });
81
81
  Object.defineProperty(exports, "scoringSourceSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunk3UBTJXPW_cjs.scoringSourceSchema; }
83
+ get: function () { return chunkP5C4HEAB_cjs.scoringSourceSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "scoringValueSchema", {
86
86
  enumerable: true,
87
- get: function () { return chunk3UBTJXPW_cjs.scoringValueSchema; }
87
+ get: function () { return chunkP5C4HEAB_cjs.scoringValueSchema; }
88
88
  });
89
89
  //# sourceMappingURL=index.cjs.map
90
90
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { runEvals } from '../chunk-RNKRA4W6.js';
2
- export { MastraScorer, createScorer } from '../chunk-AMQICJHD.js';
3
- export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-5OXVECLF.js';
1
+ export { runEvals } from '../chunk-GAW7WFCY.js';
2
+ export { MastraScorer, createScorer } from '../chunk-PCHML5XO.js';
3
+ export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-Y4SL4WJQ.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkGBUKRAUU_cjs = require('../../chunk-GBUKRAUU.cjs');
4
- var chunk3UBTJXPW_cjs = require('../../chunk-3UBTJXPW.cjs');
5
- var chunkPHSDY5MP_cjs = require('../../chunk-PHSDY5MP.cjs');
3
+ var chunkEAQQP6OK_cjs = require('../../chunk-EAQQP6OK.cjs');
4
+ var chunkP5C4HEAB_cjs = require('../../chunk-P5C4HEAB.cjs');
5
+ var chunkQFGYBEP3_cjs = require('../../chunk-QFGYBEP3.cjs');
6
6
  var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
7
7
  var pMap = require('p-map');
8
8
  var v4 = require('zod/v4');
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
234
234
  }
235
235
 
236
236
  // src/evals/scoreTraces/scoreTracesWorkflow.ts
237
- var getTraceStep = chunkGBUKRAUU_cjs.createStep({
237
+ var getTraceStep = chunkEAQQP6OK_cjs.createStep({
238
238
  id: "__process-trace-scoring",
239
239
  inputSchema: v4.z.object({
240
240
  targets: v4.z.array(
@@ -350,7 +350,7 @@ async function runScorerOnTarget({
350
350
  ...scorerRun,
351
351
  scoreSource: "trace",
352
352
  targetScope: "span",
353
- targetEntityType: chunkPHSDY5MP_cjs.getEntityTypeForSpan(span),
353
+ targetEntityType: chunkQFGYBEP3_cjs.getEntityTypeForSpan(span),
354
354
  targetTraceId: target.traceId,
355
355
  targetSpanId: span.spanId
356
356
  });
@@ -383,7 +383,7 @@ async function validateAndSaveScore({ storage, scorerResult }) {
383
383
  text: "Scores storage domain is not available"
384
384
  });
385
385
  }
386
- const payloadToSave = chunk3UBTJXPW_cjs.saveScorePayloadSchema.parse(scorerResult);
386
+ const payloadToSave = chunkP5C4HEAB_cjs.saveScorePayloadSchema.parse(scorerResult);
387
387
  const result = await scoresStore.saveScore(payloadToSave);
388
388
  return result.score;
389
389
  }
@@ -429,7 +429,7 @@ async function attachScoreToSpan({
429
429
  } catch {
430
430
  }
431
431
  }
432
- var scoreTracesWorkflow = chunkGBUKRAUU_cjs.createWorkflow({
432
+ var scoreTracesWorkflow = chunkEAQQP6OK_cjs.createWorkflow({
433
433
  id: "__batch-scoring-traces",
434
434
  inputSchema: v4.z.object({
435
435
  targets: v4.z.array(
@@ -1,6 +1,6 @@
1
- import { createStep, createWorkflow } from '../../chunk-Q2RTFBSF.js';
2
- import { saveScorePayloadSchema } from '../../chunk-5OXVECLF.js';
3
- import { getEntityTypeForSpan } from '../../chunk-JVXQTSRU.js';
1
+ import { createStep, createWorkflow } from '../../chunk-MK5IF24D.js';
2
+ import { saveScorePayloadSchema } from '../../chunk-Y4SL4WJQ.js';
3
+ import { getEntityTypeForSpan } from '../../chunk-E7PBOS66.js';
4
4
  import { MastraError } from '../../chunk-FJEVLHJT.js';
5
5
  import pMap from 'p-map';
6
6
  import { z } from 'zod/v4';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkMW6HBUMV_cjs = require('../chunk-MW6HBUMV.cjs');
4
- var chunkLYCAEN2H_cjs = require('../chunk-LYCAEN2H.cjs');
3
+ var chunkD64ZY3NT_cjs = require('../chunk-D64ZY3NT.cjs');
4
+ var chunkSYH64AGV_cjs = require('../chunk-SYH64AGV.cjs');
5
5
  var chunkRNJ2FXGD_cjs = require('../chunk-RNJ2FXGD.cjs');
6
- var chunkQG5JWMFX_cjs = require('../chunk-QG5JWMFX.cjs');
6
+ var chunkXS3FHQ34_cjs = require('../chunk-XS3FHQ34.cjs');
7
7
  var chunkLDLHW3QN_cjs = require('../chunk-LDLHW3QN.cjs');
8
8
  var chunkXB4FLS7A_cjs = require('../chunk-XB4FLS7A.cjs');
9
9
  var chunk5WBEMKE2_cjs = require('../chunk-5WBEMKE2.cjs');
@@ -313,7 +313,7 @@ Use this tool when:
313
313
  };
314
314
  }
315
315
  const workspace = context?.workspace;
316
- const subagent = new chunkLYCAEN2H_cjs.Agent({
316
+ const subagent = new chunkSYH64AGV_cjs.Agent({
317
317
  id: `subagent-${definition.id}`,
318
318
  name: `${definition.name} Subagent`,
319
319
  instructions: definition.instructions,
@@ -576,7 +576,7 @@ var Harness = class {
576
576
  */
577
577
  async init() {
578
578
  if (this.config.storage) {
579
- this.#internalMastra = new chunkMW6HBUMV_cjs.Mastra({ logger: false, storage: this.config.storage });
579
+ this.#internalMastra = new chunkD64ZY3NT_cjs.Mastra({ logger: false, storage: this.config.storage });
580
580
  await this.#internalMastra.getStorage().init();
581
581
  }
582
582
  if (this.config.workspace && !this.workspaceInitialized && !this.workspaceFn) {
@@ -832,7 +832,7 @@ var Harness = class {
832
832
  }
833
833
  }
834
834
  try {
835
- const { PROVIDER_REGISTRY } = await import('../provider-registry-7WS3N5BF.cjs');
835
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-25ELOB67.cjs');
836
836
  const registry = PROVIDER_REGISTRY;
837
837
  const providerConfig = registry[provider];
838
838
  const envVars = providerConfig?.apiKeyEnvVar;
@@ -852,7 +852,7 @@ var Harness = class {
852
852
  */
853
853
  async listAvailableModels() {
854
854
  try {
855
- const { PROVIDER_REGISTRY } = await import('../provider-registry-7WS3N5BF.cjs');
855
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-25ELOB67.cjs');
856
856
  if (!PROVIDER_REGISTRY) return [];
857
857
  const registry = PROVIDER_REGISTRY;
858
858
  const providers = Object.keys(registry);
@@ -911,7 +911,7 @@ var Harness = class {
911
911
  }
912
912
  async getProviderApiKeyEnvVar(provider) {
913
913
  try {
914
- const { PROVIDER_REGISTRY } = await import('../provider-registry-7WS3N5BF.cjs');
914
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-25ELOB67.cjs');
915
915
  const registry = PROVIDER_REGISTRY;
916
916
  const envVars = registry[provider]?.apiKeyEnvVar;
917
917
  return Array.isArray(envVars) ? envVars[0] : envVars;
@@ -2573,7 +2573,7 @@ ${textContent}
2573
2573
  case "tool_update": {
2574
2574
  const tool = ds.activeTools.get(event.toolCallId);
2575
2575
  if (tool) {
2576
- tool.partialResult = typeof event.partialResult === "string" ? event.partialResult : chunkQG5JWMFX_cjs.safeStringify(event.partialResult);
2576
+ tool.partialResult = typeof event.partialResult === "string" ? event.partialResult : chunkXS3FHQ34_cjs.safeStringify(event.partialResult);
2577
2577
  }
2578
2578
  break;
2579
2579
  }
@@ -1,7 +1,7 @@
1
- import { Mastra } from '../chunk-YTLU3Q7Q.js';
2
- import { Agent } from '../chunk-AMQICJHD.js';
1
+ import { Mastra } from '../chunk-JBFAGOAG.js';
2
+ import { Agent } from '../chunk-PCHML5XO.js';
3
3
  import { Workspace, createWorkspaceTools } from '../chunk-TD7IL7ZC.js';
4
- import { safeStringify } from '../chunk-LB3GO6MV.js';
4
+ import { safeStringify } from '../chunk-234T424F.js';
5
5
  import { createTool } from '../chunk-JTIQYXE2.js';
6
6
  import { toStandardSchema } from '../chunk-6SRTDZ7S.js';
7
7
  import { RequestContext } from '../chunk-JGOH7RWL.js';
@@ -830,7 +830,7 @@ var Harness = class {
830
830
  }
831
831
  }
832
832
  try {
833
- const { PROVIDER_REGISTRY } = await import('../provider-registry-YADLRYW6.js');
833
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-UWTCPEFF.js');
834
834
  const registry = PROVIDER_REGISTRY;
835
835
  const providerConfig = registry[provider];
836
836
  const envVars = providerConfig?.apiKeyEnvVar;
@@ -850,7 +850,7 @@ var Harness = class {
850
850
  */
851
851
  async listAvailableModels() {
852
852
  try {
853
- const { PROVIDER_REGISTRY } = await import('../provider-registry-YADLRYW6.js');
853
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-UWTCPEFF.js');
854
854
  if (!PROVIDER_REGISTRY) return [];
855
855
  const registry = PROVIDER_REGISTRY;
856
856
  const providers = Object.keys(registry);
@@ -909,7 +909,7 @@ var Harness = class {
909
909
  }
910
910
  async getProviderApiKeyEnvVar(provider) {
911
911
  try {
912
- const { PROVIDER_REGISTRY } = await import('../provider-registry-YADLRYW6.js');
912
+ const { PROVIDER_REGISTRY } = await import('../provider-registry-UWTCPEFF.js');
913
913
  const registry = PROVIDER_REGISTRY;
914
914
  const envVars = registry[provider]?.apiKeyEnvVar;
915
915
  return Array.isArray(envVars) ? envVars[0] : envVars;
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkMW6HBUMV_cjs = require('./chunk-MW6HBUMV.cjs');
3
+ var chunkD64ZY3NT_cjs = require('./chunk-D64ZY3NT.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunkMW6HBUMV_cjs.Mastra; }
9
+ get: function () { return chunkD64ZY3NT_cjs.Mastra; }
10
10
  });
11
11
  //# sourceMappingURL=index.cjs.map
12
12
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Mastra } from './chunk-YTLU3Q7Q.js';
1
+ export { Mastra } from './chunk-JBFAGOAG.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,72 +1,72 @@
1
1
  'use strict';
2
2
 
3
- var chunkJ5JND5CL_cjs = require('../chunk-J5JND5CL.cjs');
4
- var chunkUNQCLA7I_cjs = require('../chunk-UNQCLA7I.cjs');
5
- var chunk7OU57YXD_cjs = require('../chunk-7OU57YXD.cjs');
6
- var chunkWCQOOGVM_cjs = require('../chunk-WCQOOGVM.cjs');
7
- var chunkJGPMCTG4_cjs = require('../chunk-JGPMCTG4.cjs');
3
+ var chunkFCW225T4_cjs = require('../chunk-FCW225T4.cjs');
4
+ var chunkBFOZOAU2_cjs = require('../chunk-BFOZOAU2.cjs');
5
+ var chunkSUEVJYTA_cjs = require('../chunk-SUEVJYTA.cjs');
6
+ var chunk365PDOQ4_cjs = require('../chunk-365PDOQ4.cjs');
7
+ var chunkXEDVYHBK_cjs = require('../chunk-XEDVYHBK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "AzureOpenAIGateway", {
12
12
  enumerable: true,
13
- get: function () { return chunkJ5JND5CL_cjs.AzureOpenAIGateway; }
13
+ get: function () { return chunkFCW225T4_cjs.AzureOpenAIGateway; }
14
14
  });
15
15
  Object.defineProperty(exports, "EMBEDDING_MODELS", {
16
16
  enumerable: true,
17
- get: function () { return chunkJ5JND5CL_cjs.EMBEDDING_MODELS; }
17
+ get: function () { return chunkFCW225T4_cjs.EMBEDDING_MODELS; }
18
18
  });
19
19
  Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
20
20
  enumerable: true,
21
- get: function () { return chunkJ5JND5CL_cjs.ModelRouterEmbeddingModel; }
21
+ get: function () { return chunkFCW225T4_cjs.ModelRouterEmbeddingModel; }
22
22
  });
23
23
  Object.defineProperty(exports, "ModelRouterLanguageModel", {
24
24
  enumerable: true,
25
- get: function () { return chunkJ5JND5CL_cjs.ModelRouterLanguageModel; }
25
+ get: function () { return chunkFCW225T4_cjs.ModelRouterLanguageModel; }
26
26
  });
27
27
  Object.defineProperty(exports, "defaultGateways", {
28
28
  enumerable: true,
29
- get: function () { return chunkJ5JND5CL_cjs.defaultGateways; }
29
+ get: function () { return chunkFCW225T4_cjs.defaultGateways; }
30
30
  });
31
31
  Object.defineProperty(exports, "resolveModelConfig", {
32
32
  enumerable: true,
33
- get: function () { return chunkJ5JND5CL_cjs.resolveModelConfig; }
33
+ get: function () { return chunkFCW225T4_cjs.resolveModelConfig; }
34
34
  });
35
35
  Object.defineProperty(exports, "GatewayRegistry", {
36
36
  enumerable: true,
37
- get: function () { return chunkUNQCLA7I_cjs.GatewayRegistry; }
37
+ get: function () { return chunkBFOZOAU2_cjs.GatewayRegistry; }
38
38
  });
39
39
  Object.defineProperty(exports, "MastraGateway", {
40
40
  enumerable: true,
41
- get: function () { return chunkUNQCLA7I_cjs.MastraGateway; }
41
+ get: function () { return chunkBFOZOAU2_cjs.MastraGateway; }
42
42
  });
43
43
  Object.defineProperty(exports, "PROVIDER_REGISTRY", {
44
44
  enumerable: true,
45
- get: function () { return chunkUNQCLA7I_cjs.PROVIDER_REGISTRY; }
45
+ get: function () { return chunkBFOZOAU2_cjs.PROVIDER_REGISTRY; }
46
46
  });
47
47
  Object.defineProperty(exports, "getProviderConfig", {
48
48
  enumerable: true,
49
- get: function () { return chunkUNQCLA7I_cjs.getProviderConfig; }
49
+ get: function () { return chunkBFOZOAU2_cjs.getProviderConfig; }
50
50
  });
51
51
  Object.defineProperty(exports, "parseModelString", {
52
52
  enumerable: true,
53
- get: function () { return chunkUNQCLA7I_cjs.parseModelString; }
53
+ get: function () { return chunkBFOZOAU2_cjs.parseModelString; }
54
54
  });
55
55
  Object.defineProperty(exports, "ModelsDevGateway", {
56
56
  enumerable: true,
57
- get: function () { return chunk7OU57YXD_cjs.ModelsDevGateway; }
57
+ get: function () { return chunkSUEVJYTA_cjs.ModelsDevGateway; }
58
58
  });
59
59
  Object.defineProperty(exports, "NetlifyGateway", {
60
60
  enumerable: true,
61
- get: function () { return chunkWCQOOGVM_cjs.NetlifyGateway; }
61
+ get: function () { return chunk365PDOQ4_cjs.NetlifyGateway; }
62
62
  });
63
63
  Object.defineProperty(exports, "GATEWAY_AUTH_HEADER", {
64
64
  enumerable: true,
65
- get: function () { return chunkJGPMCTG4_cjs.GATEWAY_AUTH_HEADER; }
65
+ get: function () { return chunkXEDVYHBK_cjs.GATEWAY_AUTH_HEADER; }
66
66
  });
67
67
  Object.defineProperty(exports, "MastraModelGateway", {
68
68
  enumerable: true,
69
- get: function () { return chunkJGPMCTG4_cjs.MastraModelGateway; }
69
+ get: function () { return chunkXEDVYHBK_cjs.MastraModelGateway; }
70
70
  });
71
71
  //# sourceMappingURL=index.cjs.map
72
72
  //# sourceMappingURL=index.cjs.map
package/dist/llm/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-C3RGHCOG.js';
2
- export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-KPNURYWF.js';
3
- export { ModelsDevGateway } from '../chunk-N7W2KRUH.js';
4
- export { NetlifyGateway } from '../chunk-4LJ4M2DI.js';
5
- export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-QX5YBALM.js';
1
+ export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-EJ62D3QH.js';
2
+ export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-V657RNGK.js';
3
+ export { ModelsDevGateway } from '../chunk-3RI7ILBW.js';
4
+ export { NetlifyGateway } from '../chunk-PQKSETS5.js';
5
+ export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-LUEXY2QV.js';
6
6
  //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -21,6 +21,7 @@ export type ProviderModelsMap = {
21
21
  'glm-4.6',
22
22
  'glm-4.7',
23
23
  'glm-5',
24
+ 'glm-5.1',
24
25
  'gpt-oss:120b',
25
26
  'gpt-oss:20b',
26
27
  'kimi-k2-thinking',
@@ -1833,6 +1834,7 @@ export type ProviderModelsMap = {
1833
1834
  'z-ai/glm-4.7-flash',
1834
1835
  'z-ai/glm-5',
1835
1836
  'z-ai/glm-5-turbo',
1837
+ 'z-ai/glm-5.1',
1836
1838
  ];
1837
1839
  readonly zenmux: readonly [
1838
1840
  'anthropic/claude-3.5-haiku',
@@ -2126,8 +2128,9 @@ export type ProviderModelsMap = {
2126
2128
  'zai-org/GLM-4.7',
2127
2129
  'zai-org/GLM-4.7-Flash',
2128
2130
  'zai-org/GLM-5',
2131
+ 'zai-org/GLM-5.1',
2129
2132
  ];
2130
- readonly stepfun: readonly ['step-1-32k', 'step-2-16k', 'step-3.5-flash'];
2133
+ readonly stepfun: readonly ['step-1-32k', 'step-2-16k', 'step-3.5-flash', 'step-3.5-flash-2603'];
2131
2134
  readonly fastrouter: readonly [
2132
2135
  'anthropic/claude-opus-4.1',
2133
2136
  'anthropic/claude-sonnet-4',
@@ -2736,6 +2739,13 @@ export type ProviderModelsMap = {
2736
2739
  'qwen3.6-plus',
2737
2740
  'qwq-plus',
2738
2741
  ];
2742
+ readonly mixlayer: readonly [
2743
+ 'qwen/qwen3.5-122b-a10b',
2744
+ 'qwen/qwen3.5-27b',
2745
+ 'qwen/qwen3.5-35b-a3b',
2746
+ 'qwen/qwen3.5-397b-a17b',
2747
+ 'qwen/qwen3.5-9b',
2748
+ ];
2739
2749
  readonly mistral: readonly [
2740
2750
  'codestral-latest',
2741
2751
  'devstral-2512',
@@ -1,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunkOVQVLGT2_cjs = require('../chunk-OVQVLGT2.cjs');
3
+ var chunkFLMCO42Y_cjs = require('../chunk-FLMCO42Y.cjs');
4
4
  var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "DualLogger", {
9
9
  enumerable: true,
10
- get: function () { return chunkOVQVLGT2_cjs.DualLogger; }
10
+ get: function () { return chunkFLMCO42Y_cjs.DualLogger; }
11
11
  });
12
12
  Object.defineProperty(exports, "LoggerTransport", {
13
13
  enumerable: true,
14
- get: function () { return chunkOVQVLGT2_cjs.LoggerTransport; }
14
+ get: function () { return chunkFLMCO42Y_cjs.LoggerTransport; }
15
15
  });
16
16
  Object.defineProperty(exports, "MultiLogger", {
17
17
  enumerable: true,
18
- get: function () { return chunkOVQVLGT2_cjs.MultiLogger; }
18
+ get: function () { return chunkFLMCO42Y_cjs.MultiLogger; }
19
19
  });
20
20
  Object.defineProperty(exports, "createCustomTransport", {
21
21
  enumerable: true,
22
- get: function () { return chunkOVQVLGT2_cjs.createCustomTransport; }
22
+ get: function () { return chunkFLMCO42Y_cjs.createCustomTransport; }
23
23
  });
24
24
  Object.defineProperty(exports, "noopLogger", {
25
25
  enumerable: true,
26
- get: function () { return chunkOVQVLGT2_cjs.noopLogger; }
26
+ get: function () { return chunkFLMCO42Y_cjs.noopLogger; }
27
27
  });
28
28
  Object.defineProperty(exports, "ConsoleLogger", {
29
29
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { DualLogger, LoggerTransport, MultiLogger, createCustomTransport, noopLogger } from '../chunk-PJ5YCHXB.js';
1
+ export { DualLogger, LoggerTransport, MultiLogger, createCustomTransport, noopLogger } from '../chunk-MZJQ7OKW.js';
2
2
  export { ConsoleLogger, LogLevel, MastraLogger, RegisteredLogger, createLogger } from '../chunk-DBBWTK24.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map