@mastra/core 1.24.0-alpha.1 → 1.24.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/dist/agent/index.cjs +8 -8
  3. package/dist/agent/index.js +1 -1
  4. package/dist/browser/index.cjs +2 -2
  5. package/dist/browser/index.js +1 -1
  6. package/dist/channels/index.cjs +4 -4
  7. package/dist/channels/index.js +1 -1
  8. package/dist/{chunk-BFOZOAU2.cjs → chunk-4636ENMP.cjs} +56 -108
  9. package/dist/chunk-4636ENMP.cjs.map +1 -0
  10. package/dist/{chunk-MK5IF24D.js → chunk-5CPRW7GV.js} +3 -3
  11. package/dist/{chunk-MK5IF24D.js.map → chunk-5CPRW7GV.js.map} +1 -1
  12. package/dist/{chunk-EJ62D3QH.js → chunk-6TQZIQ23.js} +6 -6
  13. package/dist/{chunk-EJ62D3QH.js.map → chunk-6TQZIQ23.js.map} +1 -1
  14. package/dist/{chunk-L73KZFX6.cjs → chunk-AX3PKXOT.cjs} +6 -6
  15. package/dist/{chunk-L73KZFX6.cjs.map → chunk-AX3PKXOT.cjs.map} +1 -1
  16. package/dist/{chunk-365PDOQ4.cjs → chunk-CNCOPROQ.cjs} +9 -9
  17. package/dist/{chunk-365PDOQ4.cjs.map → chunk-CNCOPROQ.cjs.map} +1 -1
  18. package/dist/{chunk-CY4AMNDV.cjs → chunk-H2SFI3RZ.cjs} +7 -7
  19. package/dist/{chunk-CY4AMNDV.cjs.map → chunk-H2SFI3RZ.cjs.map} +1 -1
  20. package/dist/{chunk-D64ZY3NT.cjs → chunk-HAF2U4ON.cjs} +17 -17
  21. package/dist/{chunk-D64ZY3NT.cjs.map → chunk-HAF2U4ON.cjs.map} +1 -1
  22. package/dist/{chunk-GAW7WFCY.js → chunk-IWMYLZQ6.js} +3 -3
  23. package/dist/{chunk-GAW7WFCY.js.map → chunk-IWMYLZQ6.js.map} +1 -1
  24. package/dist/{chunk-PCHML5XO.js → chunk-JG7M2F2C.js} +4 -4
  25. package/dist/{chunk-PCHML5XO.js.map → chunk-JG7M2F2C.js.map} +1 -1
  26. package/dist/{chunk-JBFAGOAG.js → chunk-JRTGAEET.js} +9 -9
  27. package/dist/{chunk-JBFAGOAG.js.map → chunk-JRTGAEET.js.map} +1 -1
  28. package/dist/{chunk-SYH64AGV.cjs → chunk-K2NJIVZ5.cjs} +14 -14
  29. package/dist/{chunk-SYH64AGV.cjs.map → chunk-K2NJIVZ5.cjs.map} +1 -1
  30. package/dist/{chunk-IKUMKFM4.js → chunk-KQABOPAK.js} +4 -4
  31. package/dist/{chunk-IKUMKFM4.js.map → chunk-KQABOPAK.js.map} +1 -1
  32. package/dist/{chunk-3RI7ILBW.js → chunk-MYYPIBLR.js} +3 -3
  33. package/dist/{chunk-3RI7ILBW.js.map → chunk-MYYPIBLR.js.map} +1 -1
  34. package/dist/{chunk-SUEVJYTA.cjs → chunk-NC3NDZWM.cjs} +185 -185
  35. package/dist/{chunk-SUEVJYTA.cjs.map → chunk-NC3NDZWM.cjs.map} +1 -1
  36. package/dist/{chunk-EAQQP6OK.cjs → chunk-NWGH6OSA.cjs} +48 -48
  37. package/dist/{chunk-EAQQP6OK.cjs.map → chunk-NWGH6OSA.cjs.map} +1 -1
  38. package/dist/{chunk-V657RNGK.js → chunk-Q55SOMNM.js} +44 -96
  39. package/dist/chunk-Q55SOMNM.js.map +1 -0
  40. package/dist/{chunk-LUEXY2QV.js → chunk-QBUDLHGF.js} +3 -3
  41. package/dist/{chunk-LUEXY2QV.js.map → chunk-QBUDLHGF.js.map} +1 -1
  42. package/dist/{chunk-CN6AFOVV.js → chunk-RKBY3V7R.js} +4 -4
  43. package/dist/{chunk-CN6AFOVV.js.map → chunk-RKBY3V7R.js.map} +1 -1
  44. package/dist/{chunk-XEDVYHBK.cjs → chunk-W7JPJ5VP.cjs} +3 -3
  45. package/dist/{chunk-XEDVYHBK.cjs.map → chunk-W7JPJ5VP.cjs.map} +1 -1
  46. package/dist/{chunk-B2FQ6L2I.cjs → chunk-XCFSSKCI.cjs} +5 -5
  47. package/dist/{chunk-B2FQ6L2I.cjs.map → chunk-XCFSSKCI.cjs.map} +1 -1
  48. package/dist/{chunk-PQKSETS5.js → chunk-XOJF3SNB.js} +3 -3
  49. package/dist/{chunk-PQKSETS5.js.map → chunk-XOJF3SNB.js.map} +1 -1
  50. package/dist/{chunk-FCW225T4.cjs → chunk-Y6I7BKY3.cjs} +77 -77
  51. package/dist/{chunk-FCW225T4.cjs.map → chunk-Y6I7BKY3.cjs.map} +1 -1
  52. package/dist/datasets/index.cjs +11 -11
  53. package/dist/datasets/index.js +1 -1
  54. package/dist/docs/SKILL.md +6 -1
  55. package/dist/docs/assets/SOURCE_MAP.json +133 -133
  56. package/dist/docs/references/docs-editor-overview.md +221 -0
  57. package/dist/docs/references/docs-editor-prompts.md +134 -0
  58. package/dist/docs/references/docs-editor-tools.md +152 -0
  59. package/dist/docs/references/docs-studio-overview.md +2 -0
  60. package/dist/docs/references/reference-client-js-agents.md +136 -0
  61. package/dist/docs/references/reference-core-getEditor.md +35 -0
  62. package/dist/docs/references/reference-editor-mastra-editor.md +168 -0
  63. package/dist/docs/references/reference.md +3 -0
  64. package/dist/evals/index.cjs +5 -5
  65. package/dist/evals/index.js +2 -2
  66. package/dist/evals/scoreTraces/index.cjs +3 -3
  67. package/dist/evals/scoreTraces/index.js +1 -1
  68. package/dist/harness/index.cjs +7 -7
  69. package/dist/harness/index.js +5 -5
  70. package/dist/index.cjs +2 -2
  71. package/dist/index.js +1 -1
  72. package/dist/llm/index.cjs +20 -20
  73. package/dist/llm/index.js +5 -5
  74. package/dist/llm/model/provider-types.generated.d.ts +15 -40
  75. package/dist/loop/index.cjs +14 -14
  76. package/dist/loop/index.js +1 -1
  77. package/dist/mastra/index.cjs +2 -2
  78. package/dist/mastra/index.js +1 -1
  79. package/dist/mastra-KYZOJWVP.cjs +12 -0
  80. package/dist/{mastra-7CFH7DGM.cjs.map → mastra-KYZOJWVP.cjs.map} +1 -1
  81. package/dist/mastra-THXHB2YW.js +3 -0
  82. package/dist/{mastra-5YHFXAJO.js.map → mastra-THXHB2YW.js.map} +1 -1
  83. package/dist/memory/index.cjs +19 -19
  84. package/dist/memory/index.js +1 -1
  85. package/dist/models-dev-JNR72RHW.cjs +12 -0
  86. package/dist/{models-dev-X2MWNPAU.cjs.map → models-dev-JNR72RHW.cjs.map} +1 -1
  87. package/dist/models-dev-Y4N5GCLA.js +3 -0
  88. package/dist/{models-dev-ZXC3IYLG.js.map → models-dev-Y4N5GCLA.js.map} +1 -1
  89. package/dist/netlify-C25NVF5O.cjs +12 -0
  90. package/dist/{netlify-GOILLTQO.cjs.map → netlify-C25NVF5O.cjs.map} +1 -1
  91. package/dist/netlify-IGYUFSZG.js +3 -0
  92. package/dist/{netlify-HJL7EXHY.js.map → netlify-IGYUFSZG.js.map} +1 -1
  93. package/dist/processor-provider/index.cjs +10 -10
  94. package/dist/processor-provider/index.js +1 -1
  95. package/dist/processors/index.cjs +44 -44
  96. package/dist/processors/index.js +1 -1
  97. package/dist/provider-registry-3HZNLU3V.js +3 -0
  98. package/dist/{provider-registry-UWTCPEFF.js.map → provider-registry-3HZNLU3V.js.map} +1 -1
  99. package/dist/provider-registry-PKUEVZXH.cjs +44 -0
  100. package/dist/{provider-registry-25ELOB67.cjs.map → provider-registry-PKUEVZXH.cjs.map} +1 -1
  101. package/dist/provider-registry.json +36 -88
  102. package/dist/relevance/index.cjs +3 -3
  103. package/dist/relevance/index.js +1 -1
  104. package/dist/stream/index.cjs +8 -8
  105. package/dist/stream/index.js +1 -1
  106. package/dist/tool-loop-agent/index.cjs +4 -4
  107. package/dist/tool-loop-agent/index.js +1 -1
  108. package/dist/workflows/evented/index.cjs +10 -10
  109. package/dist/workflows/evented/index.js +1 -1
  110. package/dist/workflows/index.cjs +24 -24
  111. package/dist/workflows/index.js +1 -1
  112. package/package.json +9 -9
  113. package/src/llm/model/provider-types.generated.d.ts +15 -40
  114. package/dist/chunk-BFOZOAU2.cjs.map +0 -1
  115. package/dist/chunk-V657RNGK.js.map +0 -1
  116. package/dist/mastra-5YHFXAJO.js +0 -3
  117. package/dist/mastra-7CFH7DGM.cjs +0 -12
  118. package/dist/models-dev-X2MWNPAU.cjs +0 -12
  119. package/dist/models-dev-ZXC3IYLG.js +0 -3
  120. package/dist/netlify-GOILLTQO.cjs +0 -12
  121. package/dist/netlify-HJL7EXHY.js +0 -3
  122. package/dist/provider-registry-25ELOB67.cjs +0 -44
  123. package/dist/provider-registry-UWTCPEFF.js +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,86 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 1.24.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update provider registry and model documentation with latest models and providers ([`ef94400`](https://github.com/mastra-ai/mastra/commit/ef9440049402596b31f2ab976c5e4508f6cb6c91))
8
+
9
+ ## 1.24.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Added `excludeSpanTypes` and `spanFilter` options to `ObservabilityInstanceConfig` for selectively filtering spans before export. Use `excludeSpanTypes` to drop entire categories of spans by type (e.g., `MODEL_CHUNK`, `MODEL_STEP`) or `spanFilter` for fine-grained predicate-based filtering by attributes, metadata, entity, or any combination. Both options help reduce noise and costs in observability platforms that charge per-span. ([#15131](https://github.com/mastra-ai/mastra/pull/15131))
14
+
15
+ **`excludeSpanTypes` example:**
16
+
17
+ ```ts
18
+ excludeSpanTypes: [SpanType.MODEL_CHUNK, SpanType.MODEL_STEP, SpanType.WORKFLOW_SLEEP];
19
+ ```
20
+
21
+ **`spanFilter` example:**
22
+
23
+ ```ts
24
+ spanFilter: span => {
25
+ if (span.type === SpanType.MODEL_CHUNK) return false;
26
+ if (span.type === SpanType.TOOL_CALL && span.attributes?.success) return false;
27
+ return true;
28
+ };
29
+ ```
30
+
31
+ Resolves https://github.com/mastra-ai/mastra/issues/12710
32
+
33
+ - Add RAG observability (#10898) ([#15137](https://github.com/mastra-ai/mastra/pull/15137))
34
+
35
+ Surfaces RAG ingestion and query operations in Mastra's AI tracing.
36
+
37
+ New span types in `@mastra/core/observability`:
38
+ - `RAG_INGESTION` (root) — wraps an ingestion pipeline run
39
+ - `RAG_EMBEDDING` — embedding call (used by ingestion and query)
40
+ - `RAG_VECTOR_OPERATION` — vector store I/O (`query`/`upsert`/`delete`/`fetch`)
41
+ - `RAG_ACTION` — `chunk` / `extract_metadata` / `rerank`
42
+ - `GRAPH_ACTION` — non-RAG graph `build` / `traverse` / `update` / `prune`
43
+
44
+ New helpers exported from `@mastra/core/observability`:
45
+ - `startRagIngestion(opts)` — manual: returns `{ span, observabilityContext }`
46
+ - `withRagIngestion(opts, fn)` — scoped: runs `fn(observabilityContext)`,
47
+ attaches the return value as the span's output, routes thrown errors to
48
+ `span.error(...)`
49
+
50
+ Wired in `@mastra/rag`:
51
+ - `vectorQuerySearch` emits `RAG_EMBEDDING` (mode: `query`) and
52
+ `RAG_VECTOR_OPERATION` (operation: `query`)
53
+ - `rerank` / `rerankWithScorer` emit `RAG_ACTION` (action: `rerank`)
54
+ - `MDocument.chunk` emits `RAG_ACTION` (action: `chunk`) and
55
+ `RAG_ACTION` (action: `extract_metadata`)
56
+ - `createGraphRAGTool` emits `GRAPH_ACTION` (action: `build` / `traverse`)
57
+ - `createVectorQueryTool` and `createGraphRAGTool` thread
58
+ `observabilityContext` from the agent's `TOOL_CALL` span automatically
59
+
60
+ All new instrumentation is opt-in: functions accept an optional
61
+ `observabilityContext` and no-op when absent, so existing callers are
62
+ unaffected.
63
+
64
+ ### Patch Changes
65
+
66
+ - Update provider registry and model documentation with latest models and providers ([`8db7663`](https://github.com/mastra-ai/mastra/commit/8db7663c9a9c735828094c359d2e327fd4f8fba3))
67
+
68
+ - Added AI SDK v6 UI message support to MessageList in @mastra/core. ([#14592](https://github.com/mastra-ai/mastra/pull/14592))
69
+
70
+ MessageList can now accept AI SDK v6 UI and model messages in add(...), and project stored messages with messageList.get.all.aiV6.ui(). This adds first-class handling for v6 approval request and response message flows.
71
+
72
+ - Fix observability log correlation: logs emitted from inside an agent run were being persisted with `entityId`, `runId`, `traceId`, and the other correlation fields set to `null`, breaking trace ↔ log linking in Mastra Studio and downstream observability tools. Logs now correctly carry the active span's correlation context end to end. ([#15148](https://github.com/mastra-ai/mastra/pull/15148))
73
+
74
+ - Added `createdAt` timestamps to message parts in message history. ([#15121](https://github.com/mastra-ai/mastra/pull/15121))
75
+
76
+ Message parts now keep their own creation timestamps so downstream code can preserve part-level timing instead of relying only on the parent message timestamp.
77
+
78
+ After:
79
+
80
+ ```ts
81
+ { type: 'text', text: 'hello', createdAt: 1712534400000 }
82
+ ```
83
+
3
84
  ## 1.24.0-alpha.1
4
85
 
5
86
  ### Minor Changes
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkSYH64AGV_cjs = require('../chunk-SYH64AGV.cjs');
3
+ var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.cjs');
4
4
  var chunkRJAOQKHJ_cjs = require('../chunk-RJAOQKHJ.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkSYH64AGV_cjs.Agent; }
10
+ get: function () { return chunkK2NJIVZ5_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "TripWire", {
13
13
  enumerable: true,
14
- get: function () { return chunkSYH64AGV_cjs.TripWire; }
14
+ get: function () { return chunkK2NJIVZ5_cjs.TripWire; }
15
15
  });
16
16
  Object.defineProperty(exports, "isSupportedLanguageModel", {
17
17
  enumerable: true,
18
- get: function () { return chunkSYH64AGV_cjs.isSupportedLanguageModel; }
18
+ get: function () { return chunkK2NJIVZ5_cjs.isSupportedLanguageModel; }
19
19
  });
20
20
  Object.defineProperty(exports, "resolveThreadIdFromArgs", {
21
21
  enumerable: true,
22
- get: function () { return chunkSYH64AGV_cjs.resolveThreadIdFromArgs; }
22
+ get: function () { return chunkK2NJIVZ5_cjs.resolveThreadIdFromArgs; }
23
23
  });
24
24
  Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
25
25
  enumerable: true,
26
- get: function () { return chunkSYH64AGV_cjs.supportedLanguageModelSpecifications; }
26
+ get: function () { return chunkK2NJIVZ5_cjs.supportedLanguageModelSpecifications; }
27
27
  });
28
28
  Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
29
29
  enumerable: true,
30
- get: function () { return chunkSYH64AGV_cjs.tryGenerateWithJsonFallback; }
30
+ get: function () { return chunkK2NJIVZ5_cjs.tryGenerateWithJsonFallback; }
31
31
  });
32
32
  Object.defineProperty(exports, "tryStreamWithJsonFallback", {
33
33
  enumerable: true,
34
- get: function () { return chunkSYH64AGV_cjs.tryStreamWithJsonFallback; }
34
+ get: function () { return chunkK2NJIVZ5_cjs.tryStreamWithJsonFallback; }
35
35
  });
36
36
  Object.defineProperty(exports, "MessageList", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-PCHML5XO.js';
1
+ export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-JG7M2F2C.js';
2
2
  export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-I7DUPZFN.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSYH64AGV_cjs = require('../chunk-SYH64AGV.cjs');
3
+ var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.cjs');
4
4
  var chunkFCQNDFEW_cjs = require('../chunk-FCQNDFEW.cjs');
5
5
  var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
6
6
  var events = require('events');
@@ -1037,7 +1037,7 @@ To fix this, either:
1037
1037
  */
1038
1038
  getInputProcessors(configuredProcessors = []) {
1039
1039
  const hasProcessor = configuredProcessors.some(
1040
- (p) => !chunkSYH64AGV_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
1040
+ (p) => !chunkK2NJIVZ5_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
1041
1041
  );
1042
1042
  if (hasProcessor) return [];
1043
1043
  return [new BrowserContextProcessor()];
@@ -1,4 +1,4 @@
1
- import { isProcessorWorkflow } from '../chunk-PCHML5XO.js';
1
+ import { isProcessorWorkflow } from '../chunk-JG7M2F2C.js';
2
2
  import { MastraBase } from '../chunk-WENZPAHS.js';
3
3
  import { RegisteredLogger } from '../chunk-DBBWTK24.js';
4
4
  import { EventEmitter } from 'events';
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkSYH64AGV_cjs = require('../chunk-SYH64AGV.cjs');
3
+ var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AgentChannels", {
8
8
  enumerable: true,
9
- get: function () { return chunkSYH64AGV_cjs.AgentChannels; }
9
+ get: function () { return chunkK2NJIVZ5_cjs.AgentChannels; }
10
10
  });
11
11
  Object.defineProperty(exports, "ChatChannelProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkSYH64AGV_cjs.ChatChannelProcessor; }
13
+ get: function () { return chunkK2NJIVZ5_cjs.ChatChannelProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "MastraStateAdapter", {
16
16
  enumerable: true,
17
- get: function () { return chunkSYH64AGV_cjs.MastraStateAdapter; }
17
+ get: function () { return chunkK2NJIVZ5_cjs.MastraStateAdapter; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { AgentChannels, ChatChannelProcessor, MastraStateAdapter } from '../chunk-PCHML5XO.js';
1
+ export { AgentChannels, ChatChannelProcessor, MastraStateAdapter } from '../chunk-JG7M2F2C.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkSUEVJYTA_cjs = require('./chunk-SUEVJYTA.cjs');
4
- var chunk365PDOQ4_cjs = require('./chunk-365PDOQ4.cjs');
5
- var chunkXEDVYHBK_cjs = require('./chunk-XEDVYHBK.cjs');
3
+ var chunkNC3NDZWM_cjs = require('./chunk-NC3NDZWM.cjs');
4
+ var chunkCNCOPROQ_cjs = require('./chunk-CNCOPROQ.cjs');
5
+ var chunkW7JPJ5VP_cjs = require('./chunk-W7JPJ5VP.cjs');
6
6
  var chunk4U7ZLI36_cjs = require('./chunk-4U7ZLI36.cjs');
7
7
  var fs = require('fs');
8
8
  var module$1 = require('module');
@@ -17,7 +17,7 @@ var os__default = /*#__PURE__*/_interopDefault(os);
17
17
  var path__default = /*#__PURE__*/_interopDefault(path);
18
18
 
19
19
  // src/llm/model/gateways/mastra.ts
20
- var MastraGateway = class extends chunkXEDVYHBK_cjs.MastraModelGateway {
20
+ var MastraGateway = class extends chunkW7JPJ5VP_cjs.MastraModelGateway {
21
21
  constructor(config) {
22
22
  super();
23
23
  this.config = config;
@@ -73,34 +73,34 @@ var MastraGateway = class extends chunkXEDVYHBK_cjs.MastraModelGateway {
73
73
  const baseURL = `${this.getBaseUrl()}/v1`;
74
74
  const fullModelId = `${providerId}/${modelId}`;
75
75
  if (this.config?.customFetch && providerId === "anthropic") {
76
- return chunkXEDVYHBK_cjs.createAnthropic({
76
+ return chunkW7JPJ5VP_cjs.createAnthropic({
77
77
  apiKey: "oauth-gateway-placeholder",
78
78
  baseURL,
79
79
  headers: {
80
- "User-Agent": chunkXEDVYHBK_cjs.MASTRA_USER_AGENT,
81
- [chunkXEDVYHBK_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
80
+ "User-Agent": chunkW7JPJ5VP_cjs.MASTRA_USER_AGENT,
81
+ [chunkW7JPJ5VP_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
82
82
  ...headers
83
83
  },
84
84
  fetch: this.config.customFetch
85
85
  })(modelId);
86
86
  }
87
87
  if (this.config?.customFetch) {
88
- return chunkSUEVJYTA_cjs.createOpenRouter({
88
+ return chunkNC3NDZWM_cjs.createOpenRouter({
89
89
  apiKey: "oauth-gateway-placeholder",
90
90
  baseURL,
91
91
  headers: {
92
- "User-Agent": chunkXEDVYHBK_cjs.MASTRA_USER_AGENT,
93
- [chunkXEDVYHBK_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
92
+ "User-Agent": chunkW7JPJ5VP_cjs.MASTRA_USER_AGENT,
93
+ [chunkW7JPJ5VP_cjs.GATEWAY_AUTH_HEADER]: `Bearer ${apiKey}`,
94
94
  ...headers
95
95
  },
96
96
  fetch: this.config.customFetch
97
97
  }).chat(fullModelId);
98
98
  }
99
- return chunkSUEVJYTA_cjs.createOpenRouter({
99
+ return chunkNC3NDZWM_cjs.createOpenRouter({
100
100
  apiKey,
101
101
  baseURL,
102
102
  headers: {
103
- "User-Agent": chunkXEDVYHBK_cjs.MASTRA_USER_AGENT,
103
+ "User-Agent": chunkW7JPJ5VP_cjs.MASTRA_USER_AGENT,
104
104
  ...headers
105
105
  }
106
106
  }).chat(fullModelId);
@@ -683,6 +683,7 @@ var provider_registry_default = {
683
683
  "glm-4.7-flashx",
684
684
  "glm-5",
685
685
  "glm-5-turbo",
686
+ "glm-5.1",
686
687
  "glm-5v-turbo"
687
688
  ],
688
689
  docUrl: "https://docs.z.ai/guides/overview/pricing",
@@ -760,6 +761,7 @@ var provider_registry_default = {
760
761
  "google/gemini-3.1-flash-lite",
761
762
  "google/gemini-3.1-pro",
762
763
  "google/gemini-deep-research",
764
+ "google/gemma-4-31b",
763
765
  "google/imagen-3",
764
766
  "google/imagen-3-fast",
765
767
  "google/imagen-4",
@@ -876,6 +878,7 @@ var provider_registry_default = {
876
878
  "gemini-3-flash",
877
879
  "gemini-3.1-pro",
878
880
  "glm-5",
881
+ "glm-5.1",
879
882
  "gpt-5",
880
883
  "gpt-5-codex",
881
884
  "gpt-5-nano",
@@ -894,8 +897,7 @@ var provider_registry_default = {
894
897
  "kimi-k2.5",
895
898
  "minimax-m2.5",
896
899
  "minimax-m2.5-free",
897
- "nemotron-3-super-free",
898
- "qwen3.6-plus-free"
900
+ "nemotron-3-super-free"
899
901
  ],
900
902
  docUrl: "https://opencode.ai/docs/zen",
901
903
  gateway: "models.dev"
@@ -943,6 +945,7 @@ var provider_registry_default = {
943
945
  "glm-4.7-flash",
944
946
  "glm-4.7-flashx",
945
947
  "glm-5",
948
+ "glm-5.1",
946
949
  "glm-5v-turbo"
947
950
  ],
948
951
  docUrl: "https://docs.z.ai/guides/overview/pricing",
@@ -1282,7 +1285,8 @@ var provider_registry_default = {
1282
1285
  "zai-org/GLM-4.7-Flash",
1283
1286
  "zai-org/GLM-4.7-TEE",
1284
1287
  "zai-org/GLM-5-TEE",
1285
- "zai-org/GLM-5-Turbo"
1288
+ "zai-org/GLM-5-Turbo",
1289
+ "zai-org/GLM-5.1-TEE"
1286
1290
  ],
1287
1291
  docUrl: "https://llm.chutes.ai/v1/models",
1288
1292
  gateway: "models.dev"
@@ -1445,13 +1449,12 @@ var provider_registry_default = {
1445
1449
  apiKeyHeader: "Authorization",
1446
1450
  name: "Friendli",
1447
1451
  models: [
1448
- "MiniMaxAI/MiniMax-M2.1",
1449
1452
  "MiniMaxAI/MiniMax-M2.5",
1450
1453
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
1451
1454
  "meta-llama/Llama-3.1-8B-Instruct",
1452
1455
  "meta-llama/Llama-3.3-70B-Instruct",
1453
- "zai-org/GLM-4.7",
1454
- "zai-org/GLM-5"
1456
+ "zai-org/GLM-5",
1457
+ "zai-org/GLM-5.1"
1455
1458
  ],
1456
1459
  docUrl: "https://friendli.ai/docs/guides/serverless_endpoints/introduction",
1457
1460
  gateway: "models.dev"
@@ -1658,6 +1661,7 @@ var provider_registry_default = {
1658
1661
  "nova-pro-v1",
1659
1662
  "qwen3-32b",
1660
1663
  "qwen3-coder-480b-a35b-instruct",
1664
+ "qwen3-coder-next",
1661
1665
  "qwen3-next-80b-a3b-thinking"
1662
1666
  ],
1663
1667
  docUrl: "https://api.cortecs.ai/v1/models",
@@ -2200,7 +2204,9 @@ var provider_registry_default = {
2200
2204
  "google/gemma-3n-e4b-it",
2201
2205
  "google/gemma-3n-e4b-it:free",
2202
2206
  "google/gemma-4-26b-a4b-it",
2207
+ "google/gemma-4-26b-a4b-it:free",
2203
2208
  "google/gemma-4-31b-it",
2209
+ "google/gemma-4-31b-it:free",
2204
2210
  "inception/mercury",
2205
2211
  "inception/mercury-2",
2206
2212
  "inception/mercury-coder",
@@ -2291,7 +2297,7 @@ var provider_registry_default = {
2291
2297
  "qwen/qwen3-next-80b-a3b-thinking",
2292
2298
  "qwen/qwen3.5-397b-a17b",
2293
2299
  "qwen/qwen3.5-plus-02-15",
2294
- "qwen/qwen3.6-plus:free",
2300
+ "qwen/qwen3.6-plus",
2295
2301
  "sourceful/riverflow-v2-fast-preview",
2296
2302
  "sourceful/riverflow-v2-max-preview",
2297
2303
  "sourceful/riverflow-v2-standard-preview",
@@ -2417,6 +2423,7 @@ var provider_registry_default = {
2417
2423
  "z-ai/glm-4.7-flashx",
2418
2424
  "z-ai/glm-5",
2419
2425
  "z-ai/glm-5-turbo",
2426
+ "z-ai/glm-5.1",
2420
2427
  "z-ai/glm-5v-turbo"
2421
2428
  ],
2422
2429
  docUrl: "https://docs.zenmux.ai",
@@ -4218,47 +4225,12 @@ var provider_registry_default = {
4218
4225
  apiKeyHeader: "Authorization",
4219
4226
  name: "Cloudflare Workers AI",
4220
4227
  models: [
4221
- "@cf/ai4bharat/indictrans2-en-indic-1B",
4222
- "@cf/aisingapore/gemma-sea-lion-v4-27b-it",
4223
- "@cf/baai/bge-base-en-v1.5",
4224
- "@cf/baai/bge-large-en-v1.5",
4225
- "@cf/baai/bge-m3",
4226
- "@cf/baai/bge-reranker-base",
4227
- "@cf/baai/bge-small-en-v1.5",
4228
- "@cf/deepgram/aura-2-en",
4229
- "@cf/deepgram/aura-2-es",
4230
- "@cf/deepgram/nova-3",
4231
- "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
4232
- "@cf/facebook/bart-large-cnn",
4233
- "@cf/google/gemma-3-12b-it",
4234
- "@cf/huggingface/distilbert-sst-2-int8",
4235
- "@cf/ibm-granite/granite-4.0-h-micro",
4236
- "@cf/meta/llama-2-7b-chat-fp16",
4237
- "@cf/meta/llama-3-8b-instruct",
4238
- "@cf/meta/llama-3-8b-instruct-awq",
4239
- "@cf/meta/llama-3.1-8b-instruct",
4240
- "@cf/meta/llama-3.1-8b-instruct-awq",
4241
- "@cf/meta/llama-3.1-8b-instruct-fp8",
4242
- "@cf/meta/llama-3.2-11b-vision-instruct",
4243
- "@cf/meta/llama-3.2-1b-instruct",
4244
- "@cf/meta/llama-3.2-3b-instruct",
4245
- "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
4228
+ "@cf/google/gemma-4-26b-a4b-it",
4246
4229
  "@cf/meta/llama-4-scout-17b-16e-instruct",
4247
- "@cf/meta/llama-guard-3-8b",
4248
- "@cf/meta/m2m100-1.2b",
4249
- "@cf/mistral/mistral-7b-instruct-v0.1",
4250
- "@cf/mistralai/mistral-small-3.1-24b-instruct",
4251
4230
  "@cf/moonshotai/kimi-k2.5",
4252
- "@cf/myshell-ai/melotts",
4253
4231
  "@cf/nvidia/nemotron-3-120b-a12b",
4254
4232
  "@cf/openai/gpt-oss-120b",
4255
4233
  "@cf/openai/gpt-oss-20b",
4256
- "@cf/pfnet/plamo-embedding-1b",
4257
- "@cf/pipecat-ai/smart-turn-v2",
4258
- "@cf/qwen/qwen2.5-coder-32b-instruct",
4259
- "@cf/qwen/qwen3-30b-a3b-fp8",
4260
- "@cf/qwen/qwen3-embedding-0.6b",
4261
- "@cf/qwen/qwq-32b",
4262
4234
  "@cf/zai-org/glm-4.7-flash"
4263
4235
  ],
4264
4236
  docUrl: "https://developers.cloudflare.com/workers-ai/models/",
@@ -4435,6 +4407,7 @@ var provider_registry_default = {
4435
4407
  "accounts/fireworks/models/glm-4p5-air",
4436
4408
  "accounts/fireworks/models/glm-4p7",
4437
4409
  "accounts/fireworks/models/glm-5",
4410
+ "accounts/fireworks/models/glm-5p1",
4438
4411
  "accounts/fireworks/models/gpt-oss-120b",
4439
4412
  "accounts/fireworks/models/gpt-oss-20b",
4440
4413
  "accounts/fireworks/models/kimi-k2-instruct",
@@ -4442,6 +4415,7 @@ var provider_registry_default = {
4442
4415
  "accounts/fireworks/models/kimi-k2p5",
4443
4416
  "accounts/fireworks/models/minimax-m2p1",
4444
4417
  "accounts/fireworks/models/minimax-m2p5",
4418
+ "accounts/fireworks/models/qwen3p6-plus",
4445
4419
  "accounts/fireworks/routers/kimi-k2p5-turbo"
4446
4420
  ],
4447
4421
  docUrl: "https://fireworks.ai/docs/",
@@ -4452,7 +4426,7 @@ var provider_registry_default = {
4452
4426
  apiKeyEnvVar: "OPENCODE_API_KEY",
4453
4427
  apiKeyHeader: "Authorization",
4454
4428
  name: "OpenCode Go",
4455
- models: ["glm-5", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
4429
+ models: ["glm-5", "glm-5.1", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
4456
4430
  docUrl: "https://opencode.ai/docs/zen",
4457
4431
  gateway: "models.dev"
4458
4432
  },
@@ -5006,6 +4980,7 @@ var provider_registry_default = {
5006
4980
  "glm-4.7-flashx",
5007
4981
  "glm-5",
5008
4982
  "glm-5-turbo",
4983
+ "glm-5.1",
5009
4984
  "glm-5v-turbo"
5010
4985
  ],
5011
4986
  xai: [
@@ -5068,6 +5043,7 @@ var provider_registry_default = {
5068
5043
  "google/gemini-3.1-flash-lite",
5069
5044
  "google/gemini-3.1-pro",
5070
5045
  "google/gemini-deep-research",
5046
+ "google/gemma-4-31b",
5071
5047
  "google/imagen-3",
5072
5048
  "google/imagen-3-fast",
5073
5049
  "google/imagen-4",
@@ -5176,6 +5152,7 @@ var provider_registry_default = {
5176
5152
  "gemini-3-flash",
5177
5153
  "gemini-3.1-pro",
5178
5154
  "glm-5",
5155
+ "glm-5.1",
5179
5156
  "gpt-5",
5180
5157
  "gpt-5-codex",
5181
5158
  "gpt-5-nano",
@@ -5194,8 +5171,7 @@ var provider_registry_default = {
5194
5171
  "kimi-k2.5",
5195
5172
  "minimax-m2.5",
5196
5173
  "minimax-m2.5-free",
5197
- "nemotron-3-super-free",
5198
- "qwen3.6-plus-free"
5174
+ "nemotron-3-super-free"
5199
5175
  ],
5200
5176
  berget: [
5201
5177
  "BAAI/bge-reranker-v2-m3",
@@ -5219,6 +5195,7 @@ var provider_registry_default = {
5219
5195
  "glm-4.7-flash",
5220
5196
  "glm-4.7-flashx",
5221
5197
  "glm-5",
5198
+ "glm-5.1",
5222
5199
  "glm-5v-turbo"
5223
5200
  ],
5224
5201
  nvidia: [
@@ -5504,7 +5481,8 @@ var provider_registry_default = {
5504
5481
  "zai-org/GLM-4.7-Flash",
5505
5482
  "zai-org/GLM-4.7-TEE",
5506
5483
  "zai-org/GLM-5-TEE",
5507
- "zai-org/GLM-5-Turbo"
5484
+ "zai-org/GLM-5-Turbo",
5485
+ "zai-org/GLM-5.1-TEE"
5508
5486
  ],
5509
5487
  lmstudio: ["openai/gpt-oss-20b", "qwen/qwen3-30b-a3b-2507", "qwen/qwen3-coder-30b"],
5510
5488
  "kimi-for-coding": ["k2p5", "kimi-k2-thinking"],
@@ -5626,13 +5604,12 @@ var provider_registry_default = {
5626
5604
  "xai/grok-4-fast"
5627
5605
  ],
5628
5606
  friendli: [
5629
- "MiniMaxAI/MiniMax-M2.1",
5630
5607
  "MiniMaxAI/MiniMax-M2.5",
5631
5608
  "Qwen/Qwen3-235B-A22B-Instruct-2507",
5632
5609
  "meta-llama/Llama-3.1-8B-Instruct",
5633
5610
  "meta-llama/Llama-3.3-70B-Instruct",
5634
- "zai-org/GLM-4.7",
5635
- "zai-org/GLM-5"
5611
+ "zai-org/GLM-5",
5612
+ "zai-org/GLM-5.1"
5636
5613
  ],
5637
5614
  "302ai": [
5638
5615
  "MiniMax-M1",
@@ -5815,6 +5792,7 @@ var provider_registry_default = {
5815
5792
  "nova-pro-v1",
5816
5793
  "qwen3-32b",
5817
5794
  "qwen3-coder-480b-a35b-instruct",
5795
+ "qwen3-coder-next",
5818
5796
  "qwen3-next-80b-a3b-thinking"
5819
5797
  ],
5820
5798
  "siliconflow-cn": [
@@ -6310,7 +6288,9 @@ var provider_registry_default = {
6310
6288
  "google/gemma-3n-e4b-it",
6311
6289
  "google/gemma-3n-e4b-it:free",
6312
6290
  "google/gemma-4-26b-a4b-it",
6291
+ "google/gemma-4-26b-a4b-it:free",
6313
6292
  "google/gemma-4-31b-it",
6293
+ "google/gemma-4-31b-it:free",
6314
6294
  "inception/mercury",
6315
6295
  "inception/mercury-2",
6316
6296
  "inception/mercury-coder",
@@ -6401,7 +6381,7 @@ var provider_registry_default = {
6401
6381
  "qwen/qwen3-next-80b-a3b-thinking",
6402
6382
  "qwen/qwen3.5-397b-a17b",
6403
6383
  "qwen/qwen3.5-plus-02-15",
6404
- "qwen/qwen3.6-plus:free",
6384
+ "qwen/qwen3.6-plus",
6405
6385
  "sourceful/riverflow-v2-fast-preview",
6406
6386
  "sourceful/riverflow-v2-max-preview",
6407
6387
  "sourceful/riverflow-v2-standard-preview",
@@ -6518,6 +6498,7 @@ var provider_registry_default = {
6518
6498
  "z-ai/glm-4.7-flashx",
6519
6499
  "z-ai/glm-5",
6520
6500
  "z-ai/glm-5-turbo",
6501
+ "z-ai/glm-5.1",
6521
6502
  "z-ai/glm-5v-turbo"
6522
6503
  ],
6523
6504
  perplexity: ["sonar", "sonar-deep-research", "sonar-pro", "sonar-reasoning-pro"],
@@ -8014,47 +7995,12 @@ var provider_registry_default = {
8014
7995
  "openai/gpt-oss-120b"
8015
7996
  ],
8016
7997
  "cloudflare-workers-ai": [
8017
- "@cf/ai4bharat/indictrans2-en-indic-1B",
8018
- "@cf/aisingapore/gemma-sea-lion-v4-27b-it",
8019
- "@cf/baai/bge-base-en-v1.5",
8020
- "@cf/baai/bge-large-en-v1.5",
8021
- "@cf/baai/bge-m3",
8022
- "@cf/baai/bge-reranker-base",
8023
- "@cf/baai/bge-small-en-v1.5",
8024
- "@cf/deepgram/aura-2-en",
8025
- "@cf/deepgram/aura-2-es",
8026
- "@cf/deepgram/nova-3",
8027
- "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
8028
- "@cf/facebook/bart-large-cnn",
8029
- "@cf/google/gemma-3-12b-it",
8030
- "@cf/huggingface/distilbert-sst-2-int8",
8031
- "@cf/ibm-granite/granite-4.0-h-micro",
8032
- "@cf/meta/llama-2-7b-chat-fp16",
8033
- "@cf/meta/llama-3-8b-instruct",
8034
- "@cf/meta/llama-3-8b-instruct-awq",
8035
- "@cf/meta/llama-3.1-8b-instruct",
8036
- "@cf/meta/llama-3.1-8b-instruct-awq",
8037
- "@cf/meta/llama-3.1-8b-instruct-fp8",
8038
- "@cf/meta/llama-3.2-11b-vision-instruct",
8039
- "@cf/meta/llama-3.2-1b-instruct",
8040
- "@cf/meta/llama-3.2-3b-instruct",
8041
- "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
7998
+ "@cf/google/gemma-4-26b-a4b-it",
8042
7999
  "@cf/meta/llama-4-scout-17b-16e-instruct",
8043
- "@cf/meta/llama-guard-3-8b",
8044
- "@cf/meta/m2m100-1.2b",
8045
- "@cf/mistral/mistral-7b-instruct-v0.1",
8046
- "@cf/mistralai/mistral-small-3.1-24b-instruct",
8047
8000
  "@cf/moonshotai/kimi-k2.5",
8048
- "@cf/myshell-ai/melotts",
8049
8001
  "@cf/nvidia/nemotron-3-120b-a12b",
8050
8002
  "@cf/openai/gpt-oss-120b",
8051
8003
  "@cf/openai/gpt-oss-20b",
8052
- "@cf/pfnet/plamo-embedding-1b",
8053
- "@cf/pipecat-ai/smart-turn-v2",
8054
- "@cf/qwen/qwen2.5-coder-32b-instruct",
8055
- "@cf/qwen/qwen3-30b-a3b-fp8",
8056
- "@cf/qwen/qwen3-embedding-0.6b",
8057
- "@cf/qwen/qwq-32b",
8058
8004
  "@cf/zai-org/glm-4.7-flash"
8059
8005
  ],
8060
8006
  siliconflow: [
@@ -8174,6 +8120,7 @@ var provider_registry_default = {
8174
8120
  "accounts/fireworks/models/glm-4p5-air",
8175
8121
  "accounts/fireworks/models/glm-4p7",
8176
8122
  "accounts/fireworks/models/glm-5",
8123
+ "accounts/fireworks/models/glm-5p1",
8177
8124
  "accounts/fireworks/models/gpt-oss-120b",
8178
8125
  "accounts/fireworks/models/gpt-oss-20b",
8179
8126
  "accounts/fireworks/models/kimi-k2-instruct",
@@ -8181,9 +8128,10 @@ var provider_registry_default = {
8181
8128
  "accounts/fireworks/models/kimi-k2p5",
8182
8129
  "accounts/fireworks/models/minimax-m2p1",
8183
8130
  "accounts/fireworks/models/minimax-m2p5",
8131
+ "accounts/fireworks/models/qwen3p6-plus",
8184
8132
  "accounts/fireworks/routers/kimi-k2p5-turbo"
8185
8133
  ],
8186
- "opencode-go": ["glm-5", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
8134
+ "opencode-go": ["glm-5", "glm-5.1", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
8187
8135
  abacus: [
8188
8136
  "Qwen/QwQ-32B",
8189
8137
  "Qwen/Qwen2.5-72B-Instruct",
@@ -8451,7 +8399,7 @@ function saveLastRefreshTimeToDisk(date) {
8451
8399
  }
8452
8400
  function getPackageRoot() {
8453
8401
  try {
8454
- const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-BFOZOAU2.cjs', document.baseURI).href)) || "file://");
8402
+ const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-4636ENMP.cjs', document.baseURI).href)) || "file://");
8455
8403
  const packageJsonPath = require2.resolve("@mastra/core/package.json");
8456
8404
  return path__default.default.dirname(packageJsonPath);
8457
8405
  } catch {
@@ -8460,8 +8408,8 @@ function getPackageRoot() {
8460
8408
  }
8461
8409
  function loadRegistry(useDynamicLoading, customGateways = []) {
8462
8410
  const enabledGatewayIds = getEnabledGatewayIds([
8463
- new chunkSUEVJYTA_cjs.ModelsDevGateway({}),
8464
- new chunk365PDOQ4_cjs.NetlifyGateway(),
8411
+ new chunkNC3NDZWM_cjs.ModelsDevGateway({}),
8412
+ new chunkCNCOPROQ_cjs.NetlifyGateway(),
8465
8413
  new MastraGateway(),
8466
8414
  ...customGateways
8467
8415
  ]);
@@ -8661,9 +8609,9 @@ var GatewayRegistry = class _GatewayRegistry {
8661
8609
  }
8662
8610
  this.isRefreshing = true;
8663
8611
  try {
8664
- const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-X2MWNPAU.cjs');
8665
- const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-GOILLTQO.cjs');
8666
- const { MastraGateway: MastraGateway2 } = await import('./mastra-7CFH7DGM.cjs');
8612
+ const { ModelsDevGateway: ModelsDevGateway2 } = await import('./models-dev-JNR72RHW.cjs');
8613
+ const { NetlifyGateway: NetlifyGateway2 } = await import('./netlify-C25NVF5O.cjs');
8614
+ const { MastraGateway: MastraGateway2 } = await import('./mastra-KYZOJWVP.cjs');
8667
8615
  const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-VNYH6GDH.cjs');
8668
8616
  const defaultGateways = [
8669
8617
  new ModelsDevGateway2({}),
@@ -8797,5 +8745,5 @@ exports.isOfflineMode = isOfflineMode;
8797
8745
  exports.isProviderRegistered = isProviderRegistered;
8798
8746
  exports.isValidModelId = isValidModelId;
8799
8747
  exports.parseModelString = parseModelString;
8800
- //# sourceMappingURL=chunk-BFOZOAU2.cjs.map
8801
- //# sourceMappingURL=chunk-BFOZOAU2.cjs.map
8748
+ //# sourceMappingURL=chunk-4636ENMP.cjs.map
8749
+ //# sourceMappingURL=chunk-4636ENMP.cjs.map