@mastra/core 1.0.0-beta.7 → 1.0.0-beta.9
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.
- package/CHANGELOG.md +77 -0
- package/dist/agent/agent.d.ts +1 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +9 -9
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/index.cjs +3 -3
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +2 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts +2 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts.map +1 -1
- package/dist/{chunk-PJ7AYWAX.cjs → chunk-3DRGAKUH.cjs} +382 -13
- package/dist/chunk-3DRGAKUH.cjs.map +1 -0
- package/dist/{chunk-EE5NIGJ4.js → chunk-4GLDYGNN.js} +3 -3
- package/dist/{chunk-EE5NIGJ4.js.map → chunk-4GLDYGNN.js.map} +1 -1
- package/dist/{chunk-4GTU7MB2.js → chunk-7IMDJAYQ.js} +5 -5
- package/dist/{chunk-4GTU7MB2.js.map → chunk-7IMDJAYQ.js.map} +1 -1
- package/dist/{chunk-M7CQULF7.cjs → chunk-7S7TLMTS.cjs} +287 -10
- package/dist/chunk-7S7TLMTS.cjs.map +1 -0
- package/dist/{chunk-NAKPEQEQ.js → chunk-A4C3AGVS.js} +5 -5
- package/dist/{chunk-NAKPEQEQ.js.map → chunk-A4C3AGVS.js.map} +1 -1
- package/dist/{chunk-DMPHPHMU.js → chunk-APMPOYPI.js} +3 -3
- package/dist/{chunk-DMPHPHMU.js.map → chunk-APMPOYPI.js.map} +1 -1
- package/dist/{chunk-POM7FCH5.js → chunk-ARSSSQQP.js} +141 -48
- package/dist/chunk-ARSSSQQP.js.map +1 -0
- package/dist/{chunk-HJNEZRI4.cjs → chunk-CKRWR5DS.cjs} +15 -15
- package/dist/{chunk-HJNEZRI4.cjs.map → chunk-CKRWR5DS.cjs.map} +1 -1
- package/dist/{chunk-26YAGTXK.cjs → chunk-DWB7SBVC.cjs} +28 -32
- package/dist/chunk-DWB7SBVC.cjs.map +1 -0
- package/dist/{chunk-URMN7TTH.cjs → chunk-EGXQVF75.cjs} +380 -6
- package/dist/chunk-EGXQVF75.cjs.map +1 -0
- package/dist/{chunk-4AP234N6.cjs → chunk-F77YTHXI.cjs} +4 -4
- package/dist/{chunk-4AP234N6.cjs.map → chunk-F77YTHXI.cjs.map} +1 -1
- package/dist/{chunk-6C2PU6J4.cjs → chunk-HSRQXO6F.cjs} +6 -6
- package/dist/{chunk-6C2PU6J4.cjs.map → chunk-HSRQXO6F.cjs.map} +1 -1
- package/dist/{chunk-YUXTDKYN.cjs → chunk-IISGCZJ4.cjs} +15 -15
- package/dist/{chunk-YUXTDKYN.cjs.map → chunk-IISGCZJ4.cjs.map} +1 -1
- package/dist/{chunk-EPMSC67U.js → chunk-LB7UOP2X.js} +376 -7
- package/dist/chunk-LB7UOP2X.js.map +1 -0
- package/dist/{chunk-URBPEE67.js → chunk-MCRIVYUB.js} +3 -3
- package/dist/{chunk-URBPEE67.js.map → chunk-MCRIVYUB.js.map} +1 -1
- package/dist/{chunk-AZQMPE7G.cjs → chunk-MRFUISXC.cjs} +3 -3
- package/dist/{chunk-AZQMPE7G.cjs.map → chunk-MRFUISXC.cjs.map} +1 -1
- package/dist/{chunk-TLLXRG2Z.js → chunk-OEIVMCWX.js} +3 -3
- package/dist/{chunk-TLLXRG2Z.js.map → chunk-OEIVMCWX.js.map} +1 -1
- package/dist/{chunk-FNSFXWDN.js → chunk-PIHOAJTA.js} +2 -2
- package/dist/chunk-PIHOAJTA.js.map +1 -0
- package/dist/{chunk-ZUWJCGLM.js → chunk-QM5SRDJX.js} +4 -5
- package/dist/chunk-QM5SRDJX.js.map +1 -0
- package/dist/{chunk-Z4Y554NX.js → chunk-QTEIZ2XG.js} +8 -12
- package/dist/chunk-QTEIZ2XG.js.map +1 -0
- package/dist/{chunk-VBKMNIWK.cjs → chunk-RIG4JP3V.cjs} +11 -11
- package/dist/{chunk-VBKMNIWK.cjs.map → chunk-RIG4JP3V.cjs.map} +1 -1
- package/dist/{chunk-5T53HHNP.js → chunk-SLX3NVAC.js} +4 -4
- package/dist/{chunk-5T53HHNP.js.map → chunk-SLX3NVAC.js.map} +1 -1
- package/dist/{chunk-TQB2HMEC.cjs → chunk-SVLMF4UZ.cjs} +44 -45
- package/dist/chunk-SVLMF4UZ.cjs.map +1 -0
- package/dist/{chunk-3EYBRHB2.cjs → chunk-UVM27J4A.cjs} +2 -2
- package/dist/chunk-UVM27J4A.cjs.map +1 -0
- package/dist/{chunk-GZ6MCDK2.js → chunk-VQ3FTSRC.js} +379 -5
- package/dist/chunk-VQ3FTSRC.js.map +1 -0
- package/dist/{chunk-YBEW5YWC.cjs → chunk-VRFSEZBA.cjs} +6 -6
- package/dist/{chunk-YBEW5YWC.cjs.map → chunk-VRFSEZBA.cjs.map} +1 -1
- package/dist/{chunk-RBBEMTMA.cjs → chunk-XMT5T4F2.cjs} +184 -89
- package/dist/chunk-XMT5T4F2.cjs.map +1 -0
- package/dist/{chunk-G32WDDGV.js → chunk-ZINZHEXZ.js} +282 -9
- package/dist/chunk-ZINZHEXZ.js.map +1 -0
- package/dist/evals/index.cjs +9 -9
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/evals/types.d.ts +21 -20
- package/dist/evals/types.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +11 -11
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/model.loop.d.ts +1 -1
- package/dist/llm/model/model.loop.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +180 -1
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.d.ts +2 -2
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/loop/types.d.ts +1 -0
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +191 -5
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +6 -6
- package/dist/memory/index.js +1 -1
- package/dist/memory/memory.d.ts +6 -0
- package/dist/memory/memory.d.ts.map +1 -1
- package/dist/models-dev-23RN2WHG.js +3 -0
- package/dist/{models-dev-6GD3644V.js.map → models-dev-23RN2WHG.js.map} +1 -1
- package/dist/models-dev-EO3SUIY2.cjs +12 -0
- package/dist/{models-dev-IUQBXJSS.cjs.map → models-dev-EO3SUIY2.cjs.map} +1 -1
- package/dist/observability/index.cjs +10 -10
- package/dist/observability/index.js +1 -1
- package/dist/observability/types/tracing.d.ts +4 -0
- package/dist/observability/types/tracing.d.ts.map +1 -1
- package/dist/processors/index.cjs +17 -17
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-FM3IVY6C.js +3 -0
- package/dist/{provider-registry-ZTMZMTVV.js.map → provider-registry-FM3IVY6C.js.map} +1 -1
- package/dist/provider-registry-Q6T32VC5.cjs +40 -0
- package/dist/{provider-registry-7IFOXWPR.cjs.map → provider-registry-Q6T32VC5.cjs.map} +1 -1
- package/dist/provider-registry.json +376 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +1 -1
- package/dist/storage/base.d.ts +50 -2
- package/dist/storage/base.d.ts.map +1 -1
- package/dist/storage/constants.d.ts +3 -1
- package/dist/storage/constants.d.ts.map +1 -1
- package/dist/storage/domains/agents/base.d.ts +49 -0
- package/dist/storage/domains/agents/base.d.ts.map +1 -0
- package/dist/storage/domains/agents/index.d.ts +3 -0
- package/dist/storage/domains/agents/index.d.ts.map +1 -0
- package/dist/storage/domains/agents/inmemory.d.ts +22 -0
- package/dist/storage/domains/agents/inmemory.d.ts.map +1 -0
- package/dist/storage/domains/index.d.ts +1 -0
- package/dist/storage/domains/index.d.ts.map +1 -1
- package/dist/storage/domains/operations/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/scores/base.d.ts +2 -2
- package/dist/storage/domains/scores/base.d.ts.map +1 -1
- package/dist/storage/domains/scores/inmemory.d.ts +2 -2
- package/dist/storage/domains/scores/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +50 -34
- package/dist/storage/index.js +1 -1
- package/dist/storage/mock.d.ts +3 -2
- package/dist/storage/mock.d.ts.map +1 -1
- package/dist/storage/types.d.ts +82 -0
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/stream/base/output-format-handlers.d.ts +13 -0
- package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
- package/dist/stream/index.cjs +15 -11
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.d.ts.map +1 -1
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +10 -10
- package/dist/test-utils/llm-mock.js +3 -3
- package/dist/utils.cjs +22 -22
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +2 -2
- package/dist/vector/index.js +1 -1
- package/dist/workflows/default.d.ts +2 -2
- package/dist/workflows/default.d.ts.map +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/step-executor.d.ts.map +1 -1
- package/dist/workflows/handlers/control-flow.d.ts.map +1 -1
- package/dist/workflows/handlers/step.d.ts.map +1 -1
- package/dist/workflows/index.cjs +24 -20
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/step.d.ts +4 -3
- package/dist/workflows/step.d.ts.map +1 -1
- package/dist/workflows/utils.d.ts +10 -1
- package/dist/workflows/utils.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts +3 -3
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/llm/model/provider-types.generated.d.ts +180 -1
- package/dist/chunk-26YAGTXK.cjs.map +0 -1
- package/dist/chunk-3EYBRHB2.cjs.map +0 -1
- package/dist/chunk-EPMSC67U.js.map +0 -1
- package/dist/chunk-FNSFXWDN.js.map +0 -1
- package/dist/chunk-G32WDDGV.js.map +0 -1
- package/dist/chunk-GZ6MCDK2.js.map +0 -1
- package/dist/chunk-M7CQULF7.cjs.map +0 -1
- package/dist/chunk-PJ7AYWAX.cjs.map +0 -1
- package/dist/chunk-POM7FCH5.js.map +0 -1
- package/dist/chunk-RBBEMTMA.cjs.map +0 -1
- package/dist/chunk-TQB2HMEC.cjs.map +0 -1
- package/dist/chunk-URMN7TTH.cjs.map +0 -1
- package/dist/chunk-Z4Y554NX.js.map +0 -1
- package/dist/chunk-ZUWJCGLM.js.map +0 -1
- package/dist/models-dev-6GD3644V.js +0 -3
- package/dist/models-dev-IUQBXJSS.cjs +0 -12
- package/dist/provider-registry-7IFOXWPR.cjs +0 -40
- package/dist/provider-registry-ZTMZMTVV.js +0 -3
|
@@ -171,6 +171,7 @@ var provider_registry_default = {
|
|
|
171
171
|
"google/gemma-3-27b-it",
|
|
172
172
|
"microsoft/phi-4-mini-instruct",
|
|
173
173
|
"minimaxai/minimax-m2",
|
|
174
|
+
"mistralai/mistral-large-3-675b-instruct-2512",
|
|
174
175
|
"moonshotai/kimi-k2-instruct",
|
|
175
176
|
"moonshotai/kimi-k2-instruct-0905",
|
|
176
177
|
"nvidia/cosmos-nemotron-34b",
|
|
@@ -247,6 +248,8 @@ var provider_registry_default = {
|
|
|
247
248
|
"magistral-small",
|
|
248
249
|
"ministral-3b-latest",
|
|
249
250
|
"ministral-8b-latest",
|
|
251
|
+
"mistral-large-2411",
|
|
252
|
+
"mistral-large-2512",
|
|
250
253
|
"mistral-large-latest",
|
|
251
254
|
"mistral-medium-2505",
|
|
252
255
|
"mistral-medium-2508",
|
|
@@ -387,7 +390,7 @@ var provider_registry_default = {
|
|
|
387
390
|
url: "https://api.deepseek.com",
|
|
388
391
|
apiKeyEnvVar: "DEEPSEEK_API_KEY",
|
|
389
392
|
name: "DeepSeek",
|
|
390
|
-
models: ["deepseek-chat", "deepseek-reasoner"],
|
|
393
|
+
models: ["deepseek-chat", "deepseek-reasoner", "deepseek-v3.2"],
|
|
391
394
|
docUrl: "https://platform.deepseek.com/api-docs/pricing",
|
|
392
395
|
gateway: "models.dev"
|
|
393
396
|
},
|
|
@@ -468,6 +471,7 @@ var provider_registry_default = {
|
|
|
468
471
|
apiKeyHeader: "Authorization",
|
|
469
472
|
name: "Venice AI",
|
|
470
473
|
models: [
|
|
474
|
+
"claude-opus-45",
|
|
471
475
|
"deepseek-coder-v2-lite",
|
|
472
476
|
"deepseek-r1-671b",
|
|
473
477
|
"dolphin-2.9.2-qwen2-72b",
|
|
@@ -671,6 +675,7 @@ var provider_registry_default = {
|
|
|
671
675
|
name: "Baseten",
|
|
672
676
|
models: [
|
|
673
677
|
"Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
|
678
|
+
"deepseek-ai/DeepSeek-V3.2",
|
|
674
679
|
"moonshotai/Kimi-K2-Instruct-0905",
|
|
675
680
|
"moonshotai/Kimi-K2-Thinking",
|
|
676
681
|
"zai-org/GLM-4.6"
|
|
@@ -760,6 +765,107 @@ var provider_registry_default = {
|
|
|
760
765
|
docUrl: "https://cloud.siliconflow.com/models",
|
|
761
766
|
gateway: "models.dev"
|
|
762
767
|
},
|
|
768
|
+
helicone: {
|
|
769
|
+
url: "https://ai-gateway.helicone.ai/v1",
|
|
770
|
+
apiKeyEnvVar: "HELICONE_API_KEY",
|
|
771
|
+
apiKeyHeader: "Authorization",
|
|
772
|
+
name: "Helicone",
|
|
773
|
+
models: [
|
|
774
|
+
"chatgpt-4o-latest",
|
|
775
|
+
"claude-3-haiku-20240307",
|
|
776
|
+
"claude-3.5-haiku",
|
|
777
|
+
"claude-3.5-sonnet-v2",
|
|
778
|
+
"claude-3.7-sonnet",
|
|
779
|
+
"claude-4.5-haiku",
|
|
780
|
+
"claude-4.5-opus",
|
|
781
|
+
"claude-4.5-sonnet",
|
|
782
|
+
"claude-haiku-4-5-20251001",
|
|
783
|
+
"claude-opus-4",
|
|
784
|
+
"claude-opus-4-1",
|
|
785
|
+
"claude-opus-4-1-20250805",
|
|
786
|
+
"claude-sonnet-4",
|
|
787
|
+
"claude-sonnet-4-5-20250929",
|
|
788
|
+
"codex-mini-latest",
|
|
789
|
+
"deepseek-r1-distill-llama-70b",
|
|
790
|
+
"deepseek-reasoner",
|
|
791
|
+
"deepseek-tng-r1t2-chimera",
|
|
792
|
+
"deepseek-v3",
|
|
793
|
+
"deepseek-v3.1-terminus",
|
|
794
|
+
"deepseek-v3.2",
|
|
795
|
+
"ernie-4.5-21b-a3b-thinking",
|
|
796
|
+
"gemini-2.5-flash",
|
|
797
|
+
"gemini-2.5-flash-lite",
|
|
798
|
+
"gemini-2.5-pro",
|
|
799
|
+
"gemini-3-pro-preview",
|
|
800
|
+
"gemma-3-12b-it",
|
|
801
|
+
"gemma2-9b-it",
|
|
802
|
+
"glm-4.6",
|
|
803
|
+
"gpt-4.1",
|
|
804
|
+
"gpt-4.1-mini",
|
|
805
|
+
"gpt-4.1-mini-2025-04-14",
|
|
806
|
+
"gpt-4.1-nano",
|
|
807
|
+
"gpt-4o",
|
|
808
|
+
"gpt-4o-mini",
|
|
809
|
+
"gpt-5",
|
|
810
|
+
"gpt-5-chat-latest",
|
|
811
|
+
"gpt-5-codex",
|
|
812
|
+
"gpt-5-mini",
|
|
813
|
+
"gpt-5-nano",
|
|
814
|
+
"gpt-5-pro",
|
|
815
|
+
"gpt-5.1",
|
|
816
|
+
"gpt-5.1-chat-latest",
|
|
817
|
+
"gpt-5.1-codex",
|
|
818
|
+
"gpt-5.1-codex-mini",
|
|
819
|
+
"gpt-oss-120b",
|
|
820
|
+
"gpt-oss-20b",
|
|
821
|
+
"grok-3",
|
|
822
|
+
"grok-3-mini",
|
|
823
|
+
"grok-4",
|
|
824
|
+
"grok-4-1-fast-non-reasoning",
|
|
825
|
+
"grok-4-1-fast-reasoning",
|
|
826
|
+
"grok-4-fast-non-reasoning",
|
|
827
|
+
"grok-4-fast-reasoning",
|
|
828
|
+
"grok-code-fast-1",
|
|
829
|
+
"hermes-2-pro-llama-3-8b",
|
|
830
|
+
"kimi-k2-0711",
|
|
831
|
+
"kimi-k2-0905",
|
|
832
|
+
"kimi-k2-thinking",
|
|
833
|
+
"llama-3.1-8b-instant",
|
|
834
|
+
"llama-3.1-8b-instruct",
|
|
835
|
+
"llama-3.1-8b-instruct-turbo",
|
|
836
|
+
"llama-3.3-70b-instruct",
|
|
837
|
+
"llama-3.3-70b-versatile",
|
|
838
|
+
"llama-4-maverick",
|
|
839
|
+
"llama-4-scout",
|
|
840
|
+
"llama-guard-4",
|
|
841
|
+
"llama-prompt-guard-2-22m",
|
|
842
|
+
"llama-prompt-guard-2-86m",
|
|
843
|
+
"mistral-large-2411",
|
|
844
|
+
"mistral-nemo",
|
|
845
|
+
"mistral-small",
|
|
846
|
+
"o1",
|
|
847
|
+
"o1-mini",
|
|
848
|
+
"o3",
|
|
849
|
+
"o3-mini",
|
|
850
|
+
"o3-pro",
|
|
851
|
+
"o4-mini",
|
|
852
|
+
"qwen2.5-coder-7b-fast",
|
|
853
|
+
"qwen3-235b-a22b-thinking",
|
|
854
|
+
"qwen3-30b-a3b",
|
|
855
|
+
"qwen3-32b",
|
|
856
|
+
"qwen3-coder",
|
|
857
|
+
"qwen3-coder-30b-a3b-instruct",
|
|
858
|
+
"qwen3-next-80b-a3b-instruct",
|
|
859
|
+
"qwen3-vl-235b-a22b-instruct",
|
|
860
|
+
"sonar",
|
|
861
|
+
"sonar-deep-research",
|
|
862
|
+
"sonar-pro",
|
|
863
|
+
"sonar-reasoning",
|
|
864
|
+
"sonar-reasoning-pro"
|
|
865
|
+
],
|
|
866
|
+
docUrl: "https://helicone.ai/models",
|
|
867
|
+
gateway: "models.dev"
|
|
868
|
+
},
|
|
763
869
|
huggingface: {
|
|
764
870
|
url: "https://router.huggingface.co/v1",
|
|
765
871
|
apiKeyEnvVar: "HF_TOKEN",
|
|
@@ -807,6 +913,7 @@ var provider_registry_default = {
|
|
|
807
913
|
"gpt-5-nano",
|
|
808
914
|
"gpt-5.1",
|
|
809
915
|
"gpt-5.1-codex",
|
|
916
|
+
"gpt-5.1-codex-max",
|
|
810
917
|
"grok-code",
|
|
811
918
|
"kimi-k2",
|
|
812
919
|
"kimi-k2-thinking",
|
|
@@ -910,6 +1017,93 @@ var provider_registry_default = {
|
|
|
910
1017
|
docUrl: "https://weave-docs.wandb.ai/guides/integrations/inference/",
|
|
911
1018
|
gateway: "models.dev"
|
|
912
1019
|
},
|
|
1020
|
+
"cloudflare-ai-gateway": {
|
|
1021
|
+
url: "https://gateway.ai.cloudflare.com/v1/${CLOUDFLARE_ACCOUNT_ID}/${CLOUDFLARE_GATEWAY_ID}/compat/",
|
|
1022
|
+
apiKeyEnvVar: "CLOUDFLARE_API_TOKEN",
|
|
1023
|
+
apiKeyHeader: "Authorization",
|
|
1024
|
+
name: "Cloudflare AI Gateway",
|
|
1025
|
+
models: [
|
|
1026
|
+
"anthropic/claude-3-5-haiku",
|
|
1027
|
+
"anthropic/claude-3-haiku",
|
|
1028
|
+
"anthropic/claude-3-opus",
|
|
1029
|
+
"anthropic/claude-3-sonnet",
|
|
1030
|
+
"anthropic/claude-3.5-haiku",
|
|
1031
|
+
"anthropic/claude-3.5-sonnet",
|
|
1032
|
+
"anthropic/claude-haiku-4-5",
|
|
1033
|
+
"anthropic/claude-haiku-4.5",
|
|
1034
|
+
"anthropic/claude-opus-4",
|
|
1035
|
+
"anthropic/claude-opus-4-1",
|
|
1036
|
+
"anthropic/claude-opus-4-5",
|
|
1037
|
+
"anthropic/claude-opus-4.1",
|
|
1038
|
+
"anthropic/claude-opus-4.5",
|
|
1039
|
+
"anthropic/claude-sonnet-4",
|
|
1040
|
+
"anthropic/claude-sonnet-4-5",
|
|
1041
|
+
"anthropic/claude-sonnet-4.5",
|
|
1042
|
+
"openai/gpt-3.5-turbo",
|
|
1043
|
+
"openai/gpt-4",
|
|
1044
|
+
"openai/gpt-4-turbo",
|
|
1045
|
+
"openai/gpt-4o",
|
|
1046
|
+
"openai/gpt-4o-mini",
|
|
1047
|
+
"openai/gpt-5.1",
|
|
1048
|
+
"openai/gpt-5.1-codex",
|
|
1049
|
+
"openai/o1",
|
|
1050
|
+
"openai/o1-mini",
|
|
1051
|
+
"openai/o1-preview",
|
|
1052
|
+
"openai/o3",
|
|
1053
|
+
"openai/o3-mini",
|
|
1054
|
+
"openai/o3-pro",
|
|
1055
|
+
"openai/o4-mini",
|
|
1056
|
+
"replicate/deepseek-ai/deepseek-r1",
|
|
1057
|
+
"replicate/meta/meta-llama-3-70b-instruct",
|
|
1058
|
+
"replicate/meta/meta-llama-3-8b-instruct",
|
|
1059
|
+
"replicate/meta/meta-llama-3.1-405b-instruct",
|
|
1060
|
+
"replicate/replicate-internal/llama-405b-instruct-vllm",
|
|
1061
|
+
"workers-ai/aura-1",
|
|
1062
|
+
"workers-ai/aura-2-en",
|
|
1063
|
+
"workers-ai/aura-2-es",
|
|
1064
|
+
"workers-ai/bart-large-cnn",
|
|
1065
|
+
"workers-ai/bge-base-en-v1.5",
|
|
1066
|
+
"workers-ai/bge-large-en-v1.5",
|
|
1067
|
+
"workers-ai/bge-m3",
|
|
1068
|
+
"workers-ai/bge-reranker-base",
|
|
1069
|
+
"workers-ai/bge-small-en-v1.5",
|
|
1070
|
+
"workers-ai/deepseek-r1-distill-qwen-32b",
|
|
1071
|
+
"workers-ai/distilbert-sst-2-int8",
|
|
1072
|
+
"workers-ai/gemma-3-12b-it",
|
|
1073
|
+
"workers-ai/gemma-sea-lion-v4-27b-it",
|
|
1074
|
+
"workers-ai/gpt-oss-120b",
|
|
1075
|
+
"workers-ai/gpt-oss-20b",
|
|
1076
|
+
"workers-ai/granite-4.0-h-micro",
|
|
1077
|
+
"workers-ai/indictrans2-en-indic-1B",
|
|
1078
|
+
"workers-ai/llama-2-7b-chat-fp16",
|
|
1079
|
+
"workers-ai/llama-3-8b-instruct",
|
|
1080
|
+
"workers-ai/llama-3-8b-instruct-awq",
|
|
1081
|
+
"workers-ai/llama-3.1-8b-instruct",
|
|
1082
|
+
"workers-ai/llama-3.1-8b-instruct-awq",
|
|
1083
|
+
"workers-ai/llama-3.1-8b-instruct-fp8",
|
|
1084
|
+
"workers-ai/llama-3.2-11b-vision-instruct",
|
|
1085
|
+
"workers-ai/llama-3.2-1b-instruct",
|
|
1086
|
+
"workers-ai/llama-3.2-3b-instruct",
|
|
1087
|
+
"workers-ai/llama-3.3-70b-instruct-fp8-fast",
|
|
1088
|
+
"workers-ai/llama-4-scout-17b-16e-instruct",
|
|
1089
|
+
"workers-ai/llama-guard-3-8b",
|
|
1090
|
+
"workers-ai/m2m100-1.2b",
|
|
1091
|
+
"workers-ai/melotts",
|
|
1092
|
+
"workers-ai/mistral-7b-instruct-v0.1",
|
|
1093
|
+
"workers-ai/mistral-small-3.1-24b-instruct",
|
|
1094
|
+
"workers-ai/nova-3",
|
|
1095
|
+
"workers-ai/plamo-embedding-1b",
|
|
1096
|
+
"workers-ai/qwen2.5-coder-32b-instruct",
|
|
1097
|
+
"workers-ai/qwen3-30b-a3b-fp8",
|
|
1098
|
+
"workers-ai/qwen3-embedding-0.6b",
|
|
1099
|
+
"workers-ai/qwq-32b",
|
|
1100
|
+
"workers-ai/smart-turn-v2",
|
|
1101
|
+
"workers-ai/whisper",
|
|
1102
|
+
"workers-ai/whisper-large-v3-turbo"
|
|
1103
|
+
],
|
|
1104
|
+
docUrl: "https://developers.cloudflare.com/ai-gateway/",
|
|
1105
|
+
gateway: "models.dev"
|
|
1106
|
+
},
|
|
913
1107
|
openai: {
|
|
914
1108
|
apiKeyEnvVar: "OPENAI_API_KEY",
|
|
915
1109
|
name: "OpenAI",
|
|
@@ -935,6 +1129,7 @@ var provider_registry_default = {
|
|
|
935
1129
|
"gpt-5.1",
|
|
936
1130
|
"gpt-5.1-chat-latest",
|
|
937
1131
|
"gpt-5.1-codex",
|
|
1132
|
+
"gpt-5.1-codex-max",
|
|
938
1133
|
"gpt-5.1-codex-mini",
|
|
939
1134
|
"o1",
|
|
940
1135
|
"o1-mini",
|
|
@@ -1756,6 +1951,7 @@ var provider_registry_default = {
|
|
|
1756
1951
|
"google/gemma-3-27b-it",
|
|
1757
1952
|
"microsoft/phi-4-mini-instruct",
|
|
1758
1953
|
"minimaxai/minimax-m2",
|
|
1954
|
+
"mistralai/mistral-large-3-675b-instruct-2512",
|
|
1759
1955
|
"moonshotai/kimi-k2-instruct",
|
|
1760
1956
|
"moonshotai/kimi-k2-instruct-0905",
|
|
1761
1957
|
"nvidia/cosmos-nemotron-34b",
|
|
@@ -1801,6 +1997,8 @@ var provider_registry_default = {
|
|
|
1801
1997
|
"magistral-small",
|
|
1802
1998
|
"ministral-3b-latest",
|
|
1803
1999
|
"ministral-8b-latest",
|
|
2000
|
+
"mistral-large-2411",
|
|
2001
|
+
"mistral-large-2512",
|
|
1804
2002
|
"mistral-large-latest",
|
|
1805
2003
|
"mistral-medium-2505",
|
|
1806
2004
|
"mistral-medium-2508",
|
|
@@ -1918,7 +2116,7 @@ var provider_registry_default = {
|
|
|
1918
2116
|
"zai-org/glm-4.5",
|
|
1919
2117
|
"zai-org/glm-4.5-air"
|
|
1920
2118
|
],
|
|
1921
|
-
deepseek: ["deepseek-chat", "deepseek-reasoner"],
|
|
2119
|
+
deepseek: ["deepseek-chat", "deepseek-reasoner", "deepseek-v3.2"],
|
|
1922
2120
|
"alibaba-cn": [
|
|
1923
2121
|
"deepseek-r1",
|
|
1924
2122
|
"deepseek-r1-0528",
|
|
@@ -1983,6 +2181,7 @@ var provider_registry_default = {
|
|
|
1983
2181
|
"tongyi-intent-detect-v3"
|
|
1984
2182
|
],
|
|
1985
2183
|
venice: [
|
|
2184
|
+
"claude-opus-45",
|
|
1986
2185
|
"deepseek-coder-v2-lite",
|
|
1987
2186
|
"deepseek-r1-671b",
|
|
1988
2187
|
"dolphin-2.9.2-qwen2-72b",
|
|
@@ -2138,6 +2337,7 @@ var provider_registry_default = {
|
|
|
2138
2337
|
],
|
|
2139
2338
|
baseten: [
|
|
2140
2339
|
"Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
|
2340
|
+
"deepseek-ai/DeepSeek-V3.2",
|
|
2141
2341
|
"moonshotai/Kimi-K2-Instruct-0905",
|
|
2142
2342
|
"moonshotai/Kimi-K2-Thinking",
|
|
2143
2343
|
"zai-org/GLM-4.6"
|
|
@@ -2216,6 +2416,99 @@ var provider_registry_default = {
|
|
|
2216
2416
|
"zai-org-glm-4.5v",
|
|
2217
2417
|
"zai-org-glm-4.6"
|
|
2218
2418
|
],
|
|
2419
|
+
helicone: [
|
|
2420
|
+
"chatgpt-4o-latest",
|
|
2421
|
+
"claude-3-haiku-20240307",
|
|
2422
|
+
"claude-3.5-haiku",
|
|
2423
|
+
"claude-3.5-sonnet-v2",
|
|
2424
|
+
"claude-3.7-sonnet",
|
|
2425
|
+
"claude-4.5-haiku",
|
|
2426
|
+
"claude-4.5-opus",
|
|
2427
|
+
"claude-4.5-sonnet",
|
|
2428
|
+
"claude-haiku-4-5-20251001",
|
|
2429
|
+
"claude-opus-4",
|
|
2430
|
+
"claude-opus-4-1",
|
|
2431
|
+
"claude-opus-4-1-20250805",
|
|
2432
|
+
"claude-sonnet-4",
|
|
2433
|
+
"claude-sonnet-4-5-20250929",
|
|
2434
|
+
"codex-mini-latest",
|
|
2435
|
+
"deepseek-r1-distill-llama-70b",
|
|
2436
|
+
"deepseek-reasoner",
|
|
2437
|
+
"deepseek-tng-r1t2-chimera",
|
|
2438
|
+
"deepseek-v3",
|
|
2439
|
+
"deepseek-v3.1-terminus",
|
|
2440
|
+
"deepseek-v3.2",
|
|
2441
|
+
"ernie-4.5-21b-a3b-thinking",
|
|
2442
|
+
"gemini-2.5-flash",
|
|
2443
|
+
"gemini-2.5-flash-lite",
|
|
2444
|
+
"gemini-2.5-pro",
|
|
2445
|
+
"gemini-3-pro-preview",
|
|
2446
|
+
"gemma-3-12b-it",
|
|
2447
|
+
"gemma2-9b-it",
|
|
2448
|
+
"glm-4.6",
|
|
2449
|
+
"gpt-4.1",
|
|
2450
|
+
"gpt-4.1-mini",
|
|
2451
|
+
"gpt-4.1-mini-2025-04-14",
|
|
2452
|
+
"gpt-4.1-nano",
|
|
2453
|
+
"gpt-4o",
|
|
2454
|
+
"gpt-4o-mini",
|
|
2455
|
+
"gpt-5",
|
|
2456
|
+
"gpt-5-chat-latest",
|
|
2457
|
+
"gpt-5-codex",
|
|
2458
|
+
"gpt-5-mini",
|
|
2459
|
+
"gpt-5-nano",
|
|
2460
|
+
"gpt-5-pro",
|
|
2461
|
+
"gpt-5.1",
|
|
2462
|
+
"gpt-5.1-chat-latest",
|
|
2463
|
+
"gpt-5.1-codex",
|
|
2464
|
+
"gpt-5.1-codex-mini",
|
|
2465
|
+
"gpt-oss-120b",
|
|
2466
|
+
"gpt-oss-20b",
|
|
2467
|
+
"grok-3",
|
|
2468
|
+
"grok-3-mini",
|
|
2469
|
+
"grok-4",
|
|
2470
|
+
"grok-4-1-fast-non-reasoning",
|
|
2471
|
+
"grok-4-1-fast-reasoning",
|
|
2472
|
+
"grok-4-fast-non-reasoning",
|
|
2473
|
+
"grok-4-fast-reasoning",
|
|
2474
|
+
"grok-code-fast-1",
|
|
2475
|
+
"hermes-2-pro-llama-3-8b",
|
|
2476
|
+
"kimi-k2-0711",
|
|
2477
|
+
"kimi-k2-0905",
|
|
2478
|
+
"kimi-k2-thinking",
|
|
2479
|
+
"llama-3.1-8b-instant",
|
|
2480
|
+
"llama-3.1-8b-instruct",
|
|
2481
|
+
"llama-3.1-8b-instruct-turbo",
|
|
2482
|
+
"llama-3.3-70b-instruct",
|
|
2483
|
+
"llama-3.3-70b-versatile",
|
|
2484
|
+
"llama-4-maverick",
|
|
2485
|
+
"llama-4-scout",
|
|
2486
|
+
"llama-guard-4",
|
|
2487
|
+
"llama-prompt-guard-2-22m",
|
|
2488
|
+
"llama-prompt-guard-2-86m",
|
|
2489
|
+
"mistral-large-2411",
|
|
2490
|
+
"mistral-nemo",
|
|
2491
|
+
"mistral-small",
|
|
2492
|
+
"o1",
|
|
2493
|
+
"o1-mini",
|
|
2494
|
+
"o3",
|
|
2495
|
+
"o3-mini",
|
|
2496
|
+
"o3-pro",
|
|
2497
|
+
"o4-mini",
|
|
2498
|
+
"qwen2.5-coder-7b-fast",
|
|
2499
|
+
"qwen3-235b-a22b-thinking",
|
|
2500
|
+
"qwen3-30b-a3b",
|
|
2501
|
+
"qwen3-32b",
|
|
2502
|
+
"qwen3-coder",
|
|
2503
|
+
"qwen3-coder-30b-a3b-instruct",
|
|
2504
|
+
"qwen3-next-80b-a3b-instruct",
|
|
2505
|
+
"qwen3-vl-235b-a22b-instruct",
|
|
2506
|
+
"sonar",
|
|
2507
|
+
"sonar-deep-research",
|
|
2508
|
+
"sonar-pro",
|
|
2509
|
+
"sonar-reasoning",
|
|
2510
|
+
"sonar-reasoning-pro"
|
|
2511
|
+
],
|
|
2219
2512
|
huggingface: [
|
|
2220
2513
|
"MiniMaxAI/MiniMax-M2",
|
|
2221
2514
|
"Qwen/Qwen3-235B-A22B-Thinking-2507",
|
|
@@ -2250,6 +2543,7 @@ var provider_registry_default = {
|
|
|
2250
2543
|
"gpt-5-nano",
|
|
2251
2544
|
"gpt-5.1",
|
|
2252
2545
|
"gpt-5.1-codex",
|
|
2546
|
+
"gpt-5.1-codex-max",
|
|
2253
2547
|
"grok-code",
|
|
2254
2548
|
"kimi-k2",
|
|
2255
2549
|
"kimi-k2-thinking",
|
|
@@ -2312,6 +2606,85 @@ var provider_registry_default = {
|
|
|
2312
2606
|
"microsoft/Phi-4-mini-instruct",
|
|
2313
2607
|
"moonshotai/Kimi-K2-Instruct"
|
|
2314
2608
|
],
|
|
2609
|
+
"cloudflare-ai-gateway": [
|
|
2610
|
+
"anthropic/claude-3-5-haiku",
|
|
2611
|
+
"anthropic/claude-3-haiku",
|
|
2612
|
+
"anthropic/claude-3-opus",
|
|
2613
|
+
"anthropic/claude-3-sonnet",
|
|
2614
|
+
"anthropic/claude-3.5-haiku",
|
|
2615
|
+
"anthropic/claude-3.5-sonnet",
|
|
2616
|
+
"anthropic/claude-haiku-4-5",
|
|
2617
|
+
"anthropic/claude-haiku-4.5",
|
|
2618
|
+
"anthropic/claude-opus-4",
|
|
2619
|
+
"anthropic/claude-opus-4-1",
|
|
2620
|
+
"anthropic/claude-opus-4-5",
|
|
2621
|
+
"anthropic/claude-opus-4.1",
|
|
2622
|
+
"anthropic/claude-opus-4.5",
|
|
2623
|
+
"anthropic/claude-sonnet-4",
|
|
2624
|
+
"anthropic/claude-sonnet-4-5",
|
|
2625
|
+
"anthropic/claude-sonnet-4.5",
|
|
2626
|
+
"openai/gpt-3.5-turbo",
|
|
2627
|
+
"openai/gpt-4",
|
|
2628
|
+
"openai/gpt-4-turbo",
|
|
2629
|
+
"openai/gpt-4o",
|
|
2630
|
+
"openai/gpt-4o-mini",
|
|
2631
|
+
"openai/gpt-5.1",
|
|
2632
|
+
"openai/gpt-5.1-codex",
|
|
2633
|
+
"openai/o1",
|
|
2634
|
+
"openai/o1-mini",
|
|
2635
|
+
"openai/o1-preview",
|
|
2636
|
+
"openai/o3",
|
|
2637
|
+
"openai/o3-mini",
|
|
2638
|
+
"openai/o3-pro",
|
|
2639
|
+
"openai/o4-mini",
|
|
2640
|
+
"replicate/deepseek-ai/deepseek-r1",
|
|
2641
|
+
"replicate/meta/meta-llama-3-70b-instruct",
|
|
2642
|
+
"replicate/meta/meta-llama-3-8b-instruct",
|
|
2643
|
+
"replicate/meta/meta-llama-3.1-405b-instruct",
|
|
2644
|
+
"replicate/replicate-internal/llama-405b-instruct-vllm",
|
|
2645
|
+
"workers-ai/aura-1",
|
|
2646
|
+
"workers-ai/aura-2-en",
|
|
2647
|
+
"workers-ai/aura-2-es",
|
|
2648
|
+
"workers-ai/bart-large-cnn",
|
|
2649
|
+
"workers-ai/bge-base-en-v1.5",
|
|
2650
|
+
"workers-ai/bge-large-en-v1.5",
|
|
2651
|
+
"workers-ai/bge-m3",
|
|
2652
|
+
"workers-ai/bge-reranker-base",
|
|
2653
|
+
"workers-ai/bge-small-en-v1.5",
|
|
2654
|
+
"workers-ai/deepseek-r1-distill-qwen-32b",
|
|
2655
|
+
"workers-ai/distilbert-sst-2-int8",
|
|
2656
|
+
"workers-ai/gemma-3-12b-it",
|
|
2657
|
+
"workers-ai/gemma-sea-lion-v4-27b-it",
|
|
2658
|
+
"workers-ai/gpt-oss-120b",
|
|
2659
|
+
"workers-ai/gpt-oss-20b",
|
|
2660
|
+
"workers-ai/granite-4.0-h-micro",
|
|
2661
|
+
"workers-ai/indictrans2-en-indic-1B",
|
|
2662
|
+
"workers-ai/llama-2-7b-chat-fp16",
|
|
2663
|
+
"workers-ai/llama-3-8b-instruct",
|
|
2664
|
+
"workers-ai/llama-3-8b-instruct-awq",
|
|
2665
|
+
"workers-ai/llama-3.1-8b-instruct",
|
|
2666
|
+
"workers-ai/llama-3.1-8b-instruct-awq",
|
|
2667
|
+
"workers-ai/llama-3.1-8b-instruct-fp8",
|
|
2668
|
+
"workers-ai/llama-3.2-11b-vision-instruct",
|
|
2669
|
+
"workers-ai/llama-3.2-1b-instruct",
|
|
2670
|
+
"workers-ai/llama-3.2-3b-instruct",
|
|
2671
|
+
"workers-ai/llama-3.3-70b-instruct-fp8-fast",
|
|
2672
|
+
"workers-ai/llama-4-scout-17b-16e-instruct",
|
|
2673
|
+
"workers-ai/llama-guard-3-8b",
|
|
2674
|
+
"workers-ai/m2m100-1.2b",
|
|
2675
|
+
"workers-ai/melotts",
|
|
2676
|
+
"workers-ai/mistral-7b-instruct-v0.1",
|
|
2677
|
+
"workers-ai/mistral-small-3.1-24b-instruct",
|
|
2678
|
+
"workers-ai/nova-3",
|
|
2679
|
+
"workers-ai/plamo-embedding-1b",
|
|
2680
|
+
"workers-ai/qwen2.5-coder-32b-instruct",
|
|
2681
|
+
"workers-ai/qwen3-30b-a3b-fp8",
|
|
2682
|
+
"workers-ai/qwen3-embedding-0.6b",
|
|
2683
|
+
"workers-ai/qwq-32b",
|
|
2684
|
+
"workers-ai/smart-turn-v2",
|
|
2685
|
+
"workers-ai/whisper",
|
|
2686
|
+
"workers-ai/whisper-large-v3-turbo"
|
|
2687
|
+
],
|
|
2315
2688
|
openai: [
|
|
2316
2689
|
"codex-mini-latest",
|
|
2317
2690
|
"gpt-3.5-turbo",
|
|
@@ -2334,6 +2707,7 @@ var provider_registry_default = {
|
|
|
2334
2707
|
"gpt-5.1",
|
|
2335
2708
|
"gpt-5.1-chat-latest",
|
|
2336
2709
|
"gpt-5.1-codex",
|
|
2710
|
+
"gpt-5.1-codex-max",
|
|
2337
2711
|
"gpt-5.1-codex-mini",
|
|
2338
2712
|
"o1",
|
|
2339
2713
|
"o1-mini",
|
|
@@ -2962,7 +3336,7 @@ function saveLastRefreshTimeToDisk(date) {
|
|
|
2962
3336
|
}
|
|
2963
3337
|
function getPackageRoot() {
|
|
2964
3338
|
try {
|
|
2965
|
-
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
3339
|
+
const require2 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-EGXQVF75.cjs', document.baseURI).href)) || "file://");
|
|
2966
3340
|
const packageJsonPath = require2.resolve("@mastra/core/package.json");
|
|
2967
3341
|
return path__default.default.dirname(packageJsonPath);
|
|
2968
3342
|
} catch {
|
|
@@ -3158,7 +3532,7 @@ var GatewayRegistry = class _GatewayRegistry {
|
|
|
3158
3532
|
}
|
|
3159
3533
|
this.isRefreshing = true;
|
|
3160
3534
|
try {
|
|
3161
|
-
const { ModelsDevGateway } = await import('./models-dev-
|
|
3535
|
+
const { ModelsDevGateway } = await import('./models-dev-EO3SUIY2.cjs');
|
|
3162
3536
|
const { NetlifyGateway } = await import('./netlify-KJLY3GFS.cjs');
|
|
3163
3537
|
const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-34SC4TAU.cjs');
|
|
3164
3538
|
const defaultGateways = [new ModelsDevGateway({}), new NetlifyGateway()];
|
|
@@ -3284,5 +3658,5 @@ exports.getRegisteredProviders = getRegisteredProviders;
|
|
|
3284
3658
|
exports.isProviderRegistered = isProviderRegistered;
|
|
3285
3659
|
exports.isValidModelId = isValidModelId;
|
|
3286
3660
|
exports.parseModelString = parseModelString;
|
|
3287
|
-
//# sourceMappingURL=chunk-
|
|
3288
|
-
//# sourceMappingURL=chunk-
|
|
3661
|
+
//# sourceMappingURL=chunk-EGXQVF75.cjs.map
|
|
3662
|
+
//# sourceMappingURL=chunk-EGXQVF75.cjs.map
|