@mastra/core 1.0.0-beta.8 → 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 +57 -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-Y7YCQDML.cjs → chunk-3DRGAKUH.cjs} +382 -13
- package/dist/chunk-3DRGAKUH.cjs.map +1 -0
- package/dist/{chunk-RWT3XPKO.js → chunk-4GLDYGNN.js} +3 -3
- package/dist/{chunk-RWT3XPKO.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-KBXFAF37.cjs → chunk-7S7TLMTS.cjs} +287 -10
- package/dist/chunk-7S7TLMTS.cjs.map +1 -0
- package/dist/{chunk-QHJ7YVNX.js → chunk-A4C3AGVS.js} +5 -5
- package/dist/{chunk-QHJ7YVNX.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-EDNHZZUP.js → chunk-ARSSSQQP.js} +69 -11
- package/dist/chunk-ARSSSQQP.js.map +1 -0
- package/dist/{chunk-6BYHQ52F.cjs → chunk-CKRWR5DS.cjs} +15 -15
- package/dist/{chunk-6BYHQ52F.cjs.map → chunk-CKRWR5DS.cjs.map} +1 -1
- package/dist/{chunk-SD2BDUJ6.cjs → chunk-DWB7SBVC.cjs} +23 -23
- package/dist/{chunk-SD2BDUJ6.cjs.map → chunk-DWB7SBVC.cjs.map} +1 -1
- package/dist/{chunk-VWC5AUOQ.cjs → chunk-EGXQVF75.cjs} +372 -6
- package/dist/chunk-EGXQVF75.cjs.map +1 -0
- package/dist/{chunk-QYNZAPFE.cjs → chunk-F77YTHXI.cjs} +4 -4
- package/dist/{chunk-QYNZAPFE.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-SPIUKQDK.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-7PXCGGMO.js → chunk-QTEIZ2XG.js} +3 -3
- package/dist/{chunk-7PXCGGMO.js.map → chunk-QTEIZ2XG.js.map} +1 -1
- package/dist/{chunk-Y5SFNZUK.cjs → chunk-RIG4JP3V.cjs} +11 -11
- package/dist/{chunk-Y5SFNZUK.cjs.map → chunk-RIG4JP3V.cjs.map} +1 -1
- package/dist/{chunk-GW7BNMGA.js → chunk-SLX3NVAC.js} +4 -4
- package/dist/{chunk-GW7BNMGA.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-QDIYYAA4.js → chunk-VQ3FTSRC.js} +371 -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-HP6TRJ2Q.cjs → chunk-XMT5T4F2.cjs} +111 -52
- package/dist/chunk-XMT5T4F2.cjs.map +1 -0
- package/dist/{chunk-HDMH5IDV.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 +2 -2
- 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 +176 -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-A5QZFI2X.js.map → provider-registry-FM3IVY6C.js.map} +1 -1
- package/dist/provider-registry-Q6T32VC5.cjs +40 -0
- package/dist/{provider-registry-V32PGH6F.cjs.map → provider-registry-Q6T32VC5.cjs.map} +1 -1
- package/dist/provider-registry.json +368 -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/index.cjs +50 -34
- package/dist/storage/index.js +1 -1
- package/dist/storage/mock.d.ts +1 -0
- 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/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +21 -21
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/workflow.d.ts +2 -2
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/llm/model/provider-types.generated.d.ts +176 -1
- package/dist/chunk-3EYBRHB2.cjs.map +0 -1
- package/dist/chunk-EDNHZZUP.js.map +0 -1
- package/dist/chunk-FNSFXWDN.js.map +0 -1
- package/dist/chunk-HDMH5IDV.js.map +0 -1
- package/dist/chunk-HP6TRJ2Q.cjs.map +0 -1
- package/dist/chunk-KBXFAF37.cjs.map +0 -1
- package/dist/chunk-QDIYYAA4.js.map +0 -1
- package/dist/chunk-SPIUKQDK.js.map +0 -1
- package/dist/chunk-TQB2HMEC.cjs.map +0 -1
- package/dist/chunk-VWC5AUOQ.cjs.map +0 -1
- package/dist/chunk-Y7YCQDML.cjs.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-A5QZFI2X.js +0 -3
- package/dist/provider-registry-V32PGH6F.cjs +0 -40
|
@@ -248,6 +248,8 @@ var provider_registry_default = {
|
|
|
248
248
|
"magistral-small",
|
|
249
249
|
"ministral-3b-latest",
|
|
250
250
|
"ministral-8b-latest",
|
|
251
|
+
"mistral-large-2411",
|
|
252
|
+
"mistral-large-2512",
|
|
251
253
|
"mistral-large-latest",
|
|
252
254
|
"mistral-medium-2505",
|
|
253
255
|
"mistral-medium-2508",
|
|
@@ -388,7 +390,7 @@ var provider_registry_default = {
|
|
|
388
390
|
url: "https://api.deepseek.com",
|
|
389
391
|
apiKeyEnvVar: "DEEPSEEK_API_KEY",
|
|
390
392
|
name: "DeepSeek",
|
|
391
|
-
models: ["deepseek-chat", "deepseek-reasoner"],
|
|
393
|
+
models: ["deepseek-chat", "deepseek-reasoner", "deepseek-v3.2"],
|
|
392
394
|
docUrl: "https://platform.deepseek.com/api-docs/pricing",
|
|
393
395
|
gateway: "models.dev"
|
|
394
396
|
},
|
|
@@ -469,6 +471,7 @@ var provider_registry_default = {
|
|
|
469
471
|
apiKeyHeader: "Authorization",
|
|
470
472
|
name: "Venice AI",
|
|
471
473
|
models: [
|
|
474
|
+
"claude-opus-45",
|
|
472
475
|
"deepseek-coder-v2-lite",
|
|
473
476
|
"deepseek-r1-671b",
|
|
474
477
|
"dolphin-2.9.2-qwen2-72b",
|
|
@@ -762,6 +765,107 @@ var provider_registry_default = {
|
|
|
762
765
|
docUrl: "https://cloud.siliconflow.com/models",
|
|
763
766
|
gateway: "models.dev"
|
|
764
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
|
+
},
|
|
765
869
|
huggingface: {
|
|
766
870
|
url: "https://router.huggingface.co/v1",
|
|
767
871
|
apiKeyEnvVar: "HF_TOKEN",
|
|
@@ -913,6 +1017,93 @@ var provider_registry_default = {
|
|
|
913
1017
|
docUrl: "https://weave-docs.wandb.ai/guides/integrations/inference/",
|
|
914
1018
|
gateway: "models.dev"
|
|
915
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
|
+
},
|
|
916
1107
|
openai: {
|
|
917
1108
|
apiKeyEnvVar: "OPENAI_API_KEY",
|
|
918
1109
|
name: "OpenAI",
|
|
@@ -1806,6 +1997,8 @@ var provider_registry_default = {
|
|
|
1806
1997
|
"magistral-small",
|
|
1807
1998
|
"ministral-3b-latest",
|
|
1808
1999
|
"ministral-8b-latest",
|
|
2000
|
+
"mistral-large-2411",
|
|
2001
|
+
"mistral-large-2512",
|
|
1809
2002
|
"mistral-large-latest",
|
|
1810
2003
|
"mistral-medium-2505",
|
|
1811
2004
|
"mistral-medium-2508",
|
|
@@ -1923,7 +2116,7 @@ var provider_registry_default = {
|
|
|
1923
2116
|
"zai-org/glm-4.5",
|
|
1924
2117
|
"zai-org/glm-4.5-air"
|
|
1925
2118
|
],
|
|
1926
|
-
deepseek: ["deepseek-chat", "deepseek-reasoner"],
|
|
2119
|
+
deepseek: ["deepseek-chat", "deepseek-reasoner", "deepseek-v3.2"],
|
|
1927
2120
|
"alibaba-cn": [
|
|
1928
2121
|
"deepseek-r1",
|
|
1929
2122
|
"deepseek-r1-0528",
|
|
@@ -1988,6 +2181,7 @@ var provider_registry_default = {
|
|
|
1988
2181
|
"tongyi-intent-detect-v3"
|
|
1989
2182
|
],
|
|
1990
2183
|
venice: [
|
|
2184
|
+
"claude-opus-45",
|
|
1991
2185
|
"deepseek-coder-v2-lite",
|
|
1992
2186
|
"deepseek-r1-671b",
|
|
1993
2187
|
"dolphin-2.9.2-qwen2-72b",
|
|
@@ -2222,6 +2416,99 @@ var provider_registry_default = {
|
|
|
2222
2416
|
"zai-org-glm-4.5v",
|
|
2223
2417
|
"zai-org-glm-4.6"
|
|
2224
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
|
+
],
|
|
2225
2512
|
huggingface: [
|
|
2226
2513
|
"MiniMaxAI/MiniMax-M2",
|
|
2227
2514
|
"Qwen/Qwen3-235B-A22B-Thinking-2507",
|
|
@@ -2319,6 +2606,85 @@ var provider_registry_default = {
|
|
|
2319
2606
|
"microsoft/Phi-4-mini-instruct",
|
|
2320
2607
|
"moonshotai/Kimi-K2-Instruct"
|
|
2321
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
|
+
],
|
|
2322
2688
|
openai: [
|
|
2323
2689
|
"codex-mini-latest",
|
|
2324
2690
|
"gpt-3.5-turbo",
|
|
@@ -2970,7 +3336,7 @@ function saveLastRefreshTimeToDisk(date) {
|
|
|
2970
3336
|
}
|
|
2971
3337
|
function getPackageRoot() {
|
|
2972
3338
|
try {
|
|
2973
|
-
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://");
|
|
2974
3340
|
const packageJsonPath = require2.resolve("@mastra/core/package.json");
|
|
2975
3341
|
return path__default.default.dirname(packageJsonPath);
|
|
2976
3342
|
} catch {
|
|
@@ -3166,7 +3532,7 @@ var GatewayRegistry = class _GatewayRegistry {
|
|
|
3166
3532
|
}
|
|
3167
3533
|
this.isRefreshing = true;
|
|
3168
3534
|
try {
|
|
3169
|
-
const { ModelsDevGateway } = await import('./models-dev-
|
|
3535
|
+
const { ModelsDevGateway } = await import('./models-dev-EO3SUIY2.cjs');
|
|
3170
3536
|
const { NetlifyGateway } = await import('./netlify-KJLY3GFS.cjs');
|
|
3171
3537
|
const { fetchProvidersFromGateways, writeRegistryFiles } = await import('./registry-generator-34SC4TAU.cjs');
|
|
3172
3538
|
const defaultGateways = [new ModelsDevGateway({}), new NetlifyGateway()];
|
|
@@ -3292,5 +3658,5 @@ exports.getRegisteredProviders = getRegisteredProviders;
|
|
|
3292
3658
|
exports.isProviderRegistered = isProviderRegistered;
|
|
3293
3659
|
exports.isValidModelId = isValidModelId;
|
|
3294
3660
|
exports.parseModelString = parseModelString;
|
|
3295
|
-
//# sourceMappingURL=chunk-
|
|
3296
|
-
//# sourceMappingURL=chunk-
|
|
3661
|
+
//# sourceMappingURL=chunk-EGXQVF75.cjs.map
|
|
3662
|
+
//# sourceMappingURL=chunk-EGXQVF75.cjs.map
|