@cherrystudio/provider-registry 0.1.2 → 0.2.2
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/data/models.json +218 -2
- package/data/provider-models.json +150 -1
- package/data/providers.json +9 -1
- package/dist/bundled-catalog.cjs +3 -3
- package/dist/bundled-catalog.d.cts +1 -1
- package/dist/bundled-catalog.d.mts +1 -1
- package/dist/bundled-catalog.mjs +3 -3
- package/dist/{bundled-models-CKAIAajx.cjs → bundled-models-BmyydLN3.cjs} +274 -2
- package/dist/{bundled-models-ANrcKQ2h.mjs → bundled-models-CuKnVXLk.mjs} +274 -2
- package/dist/bundled-models.cjs +1 -1
- package/dist/bundled-models.d.cts +1 -1
- package/dist/bundled-models.d.mts +1 -1
- package/dist/bundled-models.mjs +1 -1
- package/dist/{bundled-provider-models-Di8bps1n.cjs → bundled-provider-models-BgzNsa6D.cjs} +150 -2
- package/dist/{bundled-provider-models-DKmCgFge.mjs → bundled-provider-models-DGsvGf0g.mjs} +150 -2
- package/dist/bundled-provider-models.cjs +1 -1
- package/dist/bundled-provider-models.d.cts +1 -1
- package/dist/bundled-provider-models.d.mts +1 -1
- package/dist/bundled-provider-models.mjs +1 -1
- package/dist/{bundled-providers-BcszhEy2.mjs → bundled-providers-CJsteihb.mjs} +10 -2
- package/dist/{bundled-providers-Bv_iM9AO.cjs → bundled-providers-CceF8bTD.cjs} +10 -2
- package/dist/bundled-providers.cjs +1 -1
- package/dist/bundled-providers.d.cts +1 -1
- package/dist/bundled-providers.d.mts +1 -1
- package/dist/bundled-providers.mjs +1 -1
- package/dist/index.cjs +26 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +26 -3
- package/dist/{provider-DkSIaann.cjs → provider-C_xJo-Py.cjs} +1 -0
- package/dist/{provider-D14qMZsE.mjs → provider-D2l4EBDl.mjs} +1 -0
- package/dist/{provider-models-BkxD9T17.mjs → provider-models-CCmPfrkT.mjs} +1 -1
- package/dist/{provider-models-DuZBXGmP.d.cts → provider-models-DdTUR-KL.d.cts} +3 -0
- package/dist/{provider-models-DuZBXGmP.d.mts → provider-models-DdTUR-KL.d.mts} +3 -0
- package/dist/{provider-models-BjKC53mr.cjs → provider-models-WeMLH-Dl.cjs} +1 -1
- package/dist/{registry-BjETdicx.d.mts → registry-9E7PzrQ5.d.mts} +1 -1
- package/dist/{registry-Di5ULW6Z.d.cts → registry-CbFrDd-J.d.cts} +1 -1
- package/dist/registry-loader.cjs +2 -2
- package/dist/registry-loader.d.cts +1 -1
- package/dist/registry-loader.d.mts +1 -1
- package/dist/registry-loader.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/bundled-provider-models.ts
|
|
3
|
-
const bundledProviderModels = require("./provider-models-
|
|
3
|
+
const bundledProviderModels = require("./provider-models-WeMLH-Dl.cjs").ProviderModelListSchema.parse({
|
|
4
4
|
overrides: [
|
|
5
5
|
{
|
|
6
6
|
"apiModelId": "claude-fable-5",
|
|
@@ -11000,6 +11000,25 @@ const bundledProviderModels = require("./provider-models-BjKC53mr.cjs").Provider
|
|
|
11000
11000
|
},
|
|
11001
11001
|
"providerId": "gateway"
|
|
11002
11002
|
},
|
|
11003
|
+
{
|
|
11004
|
+
"apiModelId": "google/gemini-nano-banana-2.1",
|
|
11005
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
11006
|
+
"pricing": {
|
|
11007
|
+
"cacheRead": {
|
|
11008
|
+
"currency": "USD",
|
|
11009
|
+
"perMillionTokens": .15
|
|
11010
|
+
},
|
|
11011
|
+
"input": {
|
|
11012
|
+
"currency": "USD",
|
|
11013
|
+
"perMillionTokens": 1.5
|
|
11014
|
+
},
|
|
11015
|
+
"output": {
|
|
11016
|
+
"currency": "USD",
|
|
11017
|
+
"perMillionTokens": 7.5
|
|
11018
|
+
}
|
|
11019
|
+
},
|
|
11020
|
+
"providerId": "gateway"
|
|
11021
|
+
},
|
|
11003
11022
|
{
|
|
11004
11023
|
"apiModelId": "google/gemini-omni-flash-preview",
|
|
11005
11024
|
"modelId": "gemini-omni-flash-preview",
|
|
@@ -23470,6 +23489,116 @@ const bundledProviderModels = require("./provider-models-BjKC53mr.cjs").Provider
|
|
|
23470
23489
|
]
|
|
23471
23490
|
} } }
|
|
23472
23491
|
},
|
|
23492
|
+
{
|
|
23493
|
+
"apiModelId": "google/gemini-nano-banana-2.1",
|
|
23494
|
+
"capabilities": { "add": ["image-generation"] },
|
|
23495
|
+
"endpointTypes": ["openai-image-generation"],
|
|
23496
|
+
"imageGeneration": { "modes": {
|
|
23497
|
+
"edit": {
|
|
23498
|
+
"maxInputImages": 14,
|
|
23499
|
+
"supports": {
|
|
23500
|
+
"aspectRatio": {
|
|
23501
|
+
"options": [
|
|
23502
|
+
"1:1",
|
|
23503
|
+
"1:4",
|
|
23504
|
+
"1:8",
|
|
23505
|
+
"2:3",
|
|
23506
|
+
"3:2",
|
|
23507
|
+
"3:4",
|
|
23508
|
+
"4:1",
|
|
23509
|
+
"4:3",
|
|
23510
|
+
"4:5",
|
|
23511
|
+
"5:4",
|
|
23512
|
+
"8:1",
|
|
23513
|
+
"9:16",
|
|
23514
|
+
"16:9",
|
|
23515
|
+
"21:9"
|
|
23516
|
+
],
|
|
23517
|
+
"type": "enum"
|
|
23518
|
+
},
|
|
23519
|
+
"numImages": {
|
|
23520
|
+
"max": 1,
|
|
23521
|
+
"min": 1,
|
|
23522
|
+
"step": 1,
|
|
23523
|
+
"type": "range"
|
|
23524
|
+
},
|
|
23525
|
+
"resolution": {
|
|
23526
|
+
"options": [
|
|
23527
|
+
"1K",
|
|
23528
|
+
"2K",
|
|
23529
|
+
"4K"
|
|
23530
|
+
],
|
|
23531
|
+
"type": "enum"
|
|
23532
|
+
}
|
|
23533
|
+
}
|
|
23534
|
+
},
|
|
23535
|
+
"generate": { "supports": {
|
|
23536
|
+
"aspectRatio": {
|
|
23537
|
+
"options": [
|
|
23538
|
+
"1:1",
|
|
23539
|
+
"1:4",
|
|
23540
|
+
"1:8",
|
|
23541
|
+
"2:3",
|
|
23542
|
+
"3:2",
|
|
23543
|
+
"3:4",
|
|
23544
|
+
"4:1",
|
|
23545
|
+
"4:3",
|
|
23546
|
+
"4:5",
|
|
23547
|
+
"5:4",
|
|
23548
|
+
"8:1",
|
|
23549
|
+
"9:16",
|
|
23550
|
+
"16:9",
|
|
23551
|
+
"21:9"
|
|
23552
|
+
],
|
|
23553
|
+
"type": "enum"
|
|
23554
|
+
},
|
|
23555
|
+
"numImages": {
|
|
23556
|
+
"max": 1,
|
|
23557
|
+
"min": 1,
|
|
23558
|
+
"step": 1,
|
|
23559
|
+
"type": "range"
|
|
23560
|
+
},
|
|
23561
|
+
"resolution": {
|
|
23562
|
+
"options": [
|
|
23563
|
+
"1K",
|
|
23564
|
+
"2K",
|
|
23565
|
+
"4K"
|
|
23566
|
+
],
|
|
23567
|
+
"type": "enum"
|
|
23568
|
+
}
|
|
23569
|
+
} }
|
|
23570
|
+
} },
|
|
23571
|
+
"inputModalities": ["image", "text"],
|
|
23572
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
23573
|
+
"outputModalities": ["image", "text"],
|
|
23574
|
+
"pricing": {
|
|
23575
|
+
"input": {
|
|
23576
|
+
"currency": "USD",
|
|
23577
|
+
"perMillionTokens": 1.5
|
|
23578
|
+
},
|
|
23579
|
+
"output": {
|
|
23580
|
+
"currency": "USD",
|
|
23581
|
+
"perMillionTokens": 7.5
|
|
23582
|
+
}
|
|
23583
|
+
},
|
|
23584
|
+
"providerId": "openrouter",
|
|
23585
|
+
"reasoningContracts": { "openai-chat-completions": { "support": {
|
|
23586
|
+
"controls": [{
|
|
23587
|
+
"default": "minimal",
|
|
23588
|
+
"kind": "effort",
|
|
23589
|
+
"values": ["high", "minimal"]
|
|
23590
|
+
}, {
|
|
23591
|
+
"default": true,
|
|
23592
|
+
"kind": "toggle"
|
|
23593
|
+
}],
|
|
23594
|
+
"defaultEffort": "minimal",
|
|
23595
|
+
"supportedEfforts": [
|
|
23596
|
+
"high",
|
|
23597
|
+
"minimal",
|
|
23598
|
+
"none"
|
|
23599
|
+
]
|
|
23600
|
+
} } }
|
|
23601
|
+
},
|
|
23473
23602
|
{
|
|
23474
23603
|
"apiModelId": "~google/gemini-pro-latest",
|
|
23475
23604
|
"modelId": "gemini-pro-latest",
|
|
@@ -37220,6 +37349,25 @@ const bundledProviderModels = require("./provider-models-BjKC53mr.cjs").Provider
|
|
|
37220
37349
|
},
|
|
37221
37350
|
"providerId": "vertexai"
|
|
37222
37351
|
},
|
|
37352
|
+
{
|
|
37353
|
+
"apiModelId": "gemini-nano-banana-2.1",
|
|
37354
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
37355
|
+
"pricing": {
|
|
37356
|
+
"cacheRead": {
|
|
37357
|
+
"currency": "USD",
|
|
37358
|
+
"perMillionTokens": .15
|
|
37359
|
+
},
|
|
37360
|
+
"input": {
|
|
37361
|
+
"currency": "USD",
|
|
37362
|
+
"perMillionTokens": 1.5
|
|
37363
|
+
},
|
|
37364
|
+
"output": {
|
|
37365
|
+
"currency": "USD",
|
|
37366
|
+
"perMillionTokens": 30
|
|
37367
|
+
}
|
|
37368
|
+
},
|
|
37369
|
+
"providerId": "vertexai"
|
|
37370
|
+
},
|
|
37223
37371
|
{
|
|
37224
37372
|
"apiModelId": "zai-org/glm-4.7-maas",
|
|
37225
37373
|
"modelId": "glm-4-7-maas",
|
|
@@ -37653,7 +37801,7 @@ const bundledProviderModels = require("./provider-models-BjKC53mr.cjs").Provider
|
|
|
37653
37801
|
"providerId": "zhipu"
|
|
37654
37802
|
}
|
|
37655
37803
|
],
|
|
37656
|
-
version: "
|
|
37804
|
+
version: "24243e9504b54823"
|
|
37657
37805
|
});
|
|
37658
37806
|
//#endregion
|
|
37659
37807
|
Object.defineProperty(exports, "bundledProviderModels", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ProviderModelListSchema } from "./provider-models-
|
|
1
|
+
import { t as ProviderModelListSchema } from "./provider-models-CCmPfrkT.mjs";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/bundled-provider-models.ts
|
|
4
4
|
const bundledProviderModels = ProviderModelListSchema.parse({
|
|
@@ -11001,6 +11001,25 @@ const bundledProviderModels = ProviderModelListSchema.parse({
|
|
|
11001
11001
|
},
|
|
11002
11002
|
"providerId": "gateway"
|
|
11003
11003
|
},
|
|
11004
|
+
{
|
|
11005
|
+
"apiModelId": "google/gemini-nano-banana-2.1",
|
|
11006
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
11007
|
+
"pricing": {
|
|
11008
|
+
"cacheRead": {
|
|
11009
|
+
"currency": "USD",
|
|
11010
|
+
"perMillionTokens": .15
|
|
11011
|
+
},
|
|
11012
|
+
"input": {
|
|
11013
|
+
"currency": "USD",
|
|
11014
|
+
"perMillionTokens": 1.5
|
|
11015
|
+
},
|
|
11016
|
+
"output": {
|
|
11017
|
+
"currency": "USD",
|
|
11018
|
+
"perMillionTokens": 7.5
|
|
11019
|
+
}
|
|
11020
|
+
},
|
|
11021
|
+
"providerId": "gateway"
|
|
11022
|
+
},
|
|
11004
11023
|
{
|
|
11005
11024
|
"apiModelId": "google/gemini-omni-flash-preview",
|
|
11006
11025
|
"modelId": "gemini-omni-flash-preview",
|
|
@@ -23471,6 +23490,116 @@ const bundledProviderModels = ProviderModelListSchema.parse({
|
|
|
23471
23490
|
]
|
|
23472
23491
|
} } }
|
|
23473
23492
|
},
|
|
23493
|
+
{
|
|
23494
|
+
"apiModelId": "google/gemini-nano-banana-2.1",
|
|
23495
|
+
"capabilities": { "add": ["image-generation"] },
|
|
23496
|
+
"endpointTypes": ["openai-image-generation"],
|
|
23497
|
+
"imageGeneration": { "modes": {
|
|
23498
|
+
"edit": {
|
|
23499
|
+
"maxInputImages": 14,
|
|
23500
|
+
"supports": {
|
|
23501
|
+
"aspectRatio": {
|
|
23502
|
+
"options": [
|
|
23503
|
+
"1:1",
|
|
23504
|
+
"1:4",
|
|
23505
|
+
"1:8",
|
|
23506
|
+
"2:3",
|
|
23507
|
+
"3:2",
|
|
23508
|
+
"3:4",
|
|
23509
|
+
"4:1",
|
|
23510
|
+
"4:3",
|
|
23511
|
+
"4:5",
|
|
23512
|
+
"5:4",
|
|
23513
|
+
"8:1",
|
|
23514
|
+
"9:16",
|
|
23515
|
+
"16:9",
|
|
23516
|
+
"21:9"
|
|
23517
|
+
],
|
|
23518
|
+
"type": "enum"
|
|
23519
|
+
},
|
|
23520
|
+
"numImages": {
|
|
23521
|
+
"max": 1,
|
|
23522
|
+
"min": 1,
|
|
23523
|
+
"step": 1,
|
|
23524
|
+
"type": "range"
|
|
23525
|
+
},
|
|
23526
|
+
"resolution": {
|
|
23527
|
+
"options": [
|
|
23528
|
+
"1K",
|
|
23529
|
+
"2K",
|
|
23530
|
+
"4K"
|
|
23531
|
+
],
|
|
23532
|
+
"type": "enum"
|
|
23533
|
+
}
|
|
23534
|
+
}
|
|
23535
|
+
},
|
|
23536
|
+
"generate": { "supports": {
|
|
23537
|
+
"aspectRatio": {
|
|
23538
|
+
"options": [
|
|
23539
|
+
"1:1",
|
|
23540
|
+
"1:4",
|
|
23541
|
+
"1:8",
|
|
23542
|
+
"2:3",
|
|
23543
|
+
"3:2",
|
|
23544
|
+
"3:4",
|
|
23545
|
+
"4:1",
|
|
23546
|
+
"4:3",
|
|
23547
|
+
"4:5",
|
|
23548
|
+
"5:4",
|
|
23549
|
+
"8:1",
|
|
23550
|
+
"9:16",
|
|
23551
|
+
"16:9",
|
|
23552
|
+
"21:9"
|
|
23553
|
+
],
|
|
23554
|
+
"type": "enum"
|
|
23555
|
+
},
|
|
23556
|
+
"numImages": {
|
|
23557
|
+
"max": 1,
|
|
23558
|
+
"min": 1,
|
|
23559
|
+
"step": 1,
|
|
23560
|
+
"type": "range"
|
|
23561
|
+
},
|
|
23562
|
+
"resolution": {
|
|
23563
|
+
"options": [
|
|
23564
|
+
"1K",
|
|
23565
|
+
"2K",
|
|
23566
|
+
"4K"
|
|
23567
|
+
],
|
|
23568
|
+
"type": "enum"
|
|
23569
|
+
}
|
|
23570
|
+
} }
|
|
23571
|
+
} },
|
|
23572
|
+
"inputModalities": ["image", "text"],
|
|
23573
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
23574
|
+
"outputModalities": ["image", "text"],
|
|
23575
|
+
"pricing": {
|
|
23576
|
+
"input": {
|
|
23577
|
+
"currency": "USD",
|
|
23578
|
+
"perMillionTokens": 1.5
|
|
23579
|
+
},
|
|
23580
|
+
"output": {
|
|
23581
|
+
"currency": "USD",
|
|
23582
|
+
"perMillionTokens": 7.5
|
|
23583
|
+
}
|
|
23584
|
+
},
|
|
23585
|
+
"providerId": "openrouter",
|
|
23586
|
+
"reasoningContracts": { "openai-chat-completions": { "support": {
|
|
23587
|
+
"controls": [{
|
|
23588
|
+
"default": "minimal",
|
|
23589
|
+
"kind": "effort",
|
|
23590
|
+
"values": ["high", "minimal"]
|
|
23591
|
+
}, {
|
|
23592
|
+
"default": true,
|
|
23593
|
+
"kind": "toggle"
|
|
23594
|
+
}],
|
|
23595
|
+
"defaultEffort": "minimal",
|
|
23596
|
+
"supportedEfforts": [
|
|
23597
|
+
"high",
|
|
23598
|
+
"minimal",
|
|
23599
|
+
"none"
|
|
23600
|
+
]
|
|
23601
|
+
} } }
|
|
23602
|
+
},
|
|
23474
23603
|
{
|
|
23475
23604
|
"apiModelId": "~google/gemini-pro-latest",
|
|
23476
23605
|
"modelId": "gemini-pro-latest",
|
|
@@ -37221,6 +37350,25 @@ const bundledProviderModels = ProviderModelListSchema.parse({
|
|
|
37221
37350
|
},
|
|
37222
37351
|
"providerId": "vertexai"
|
|
37223
37352
|
},
|
|
37353
|
+
{
|
|
37354
|
+
"apiModelId": "gemini-nano-banana-2.1",
|
|
37355
|
+
"modelId": "gemini-nano-banana-2-1",
|
|
37356
|
+
"pricing": {
|
|
37357
|
+
"cacheRead": {
|
|
37358
|
+
"currency": "USD",
|
|
37359
|
+
"perMillionTokens": .15
|
|
37360
|
+
},
|
|
37361
|
+
"input": {
|
|
37362
|
+
"currency": "USD",
|
|
37363
|
+
"perMillionTokens": 1.5
|
|
37364
|
+
},
|
|
37365
|
+
"output": {
|
|
37366
|
+
"currency": "USD",
|
|
37367
|
+
"perMillionTokens": 30
|
|
37368
|
+
}
|
|
37369
|
+
},
|
|
37370
|
+
"providerId": "vertexai"
|
|
37371
|
+
},
|
|
37224
37372
|
{
|
|
37225
37373
|
"apiModelId": "zai-org/glm-4.7-maas",
|
|
37226
37374
|
"modelId": "glm-4-7-maas",
|
|
@@ -37654,7 +37802,7 @@ const bundledProviderModels = ProviderModelListSchema.parse({
|
|
|
37654
37802
|
"providerId": "zhipu"
|
|
37655
37803
|
}
|
|
37656
37804
|
],
|
|
37657
|
-
version: "
|
|
37805
|
+
version: "24243e9504b54823"
|
|
37658
37806
|
});
|
|
37659
37807
|
//#endregion
|
|
37660
37808
|
export { bundledProviderModels as t };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bundled_provider_models = require("./bundled-provider-models-
|
|
2
|
+
const require_bundled_provider_models = require("./bundled-provider-models-BgzNsa6D.cjs");
|
|
3
3
|
exports.bundledProviderModels = require_bundled_provider_models.bundledProviderModels;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bundledProviderModels } from "./bundled-provider-models-
|
|
1
|
+
import { t as bundledProviderModels } from "./bundled-provider-models-DGsvGf0g.mjs";
|
|
2
2
|
export { bundledProviderModels };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ProviderListSchema } from "./provider-
|
|
1
|
+
import { i as ProviderListSchema } from "./provider-D2l4EBDl.mjs";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/bundled-providers.ts
|
|
4
4
|
const bundledProviders = ProviderListSchema.parse({
|
|
@@ -29,6 +29,7 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
29
29
|
"id": "cherryin",
|
|
30
30
|
"metadata": { "website": {
|
|
31
31
|
"apiKey": "https://open.cherryin.ai/console/token",
|
|
32
|
+
"billing": "https://open.cherryin.ai/console/topup",
|
|
32
33
|
"docs": "https://open.cherryin.ai",
|
|
33
34
|
"models": "https://open.cherryin.ai/pricing",
|
|
34
35
|
"official": "https://open.cherryin.ai"
|
|
@@ -251,6 +252,7 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
251
252
|
"id": "deepseek",
|
|
252
253
|
"metadata": { "website": {
|
|
253
254
|
"apiKey": "https://platform.deepseek.com/api_keys",
|
|
255
|
+
"billing": "https://platform.deepseek.com/top_up",
|
|
254
256
|
"docs": "https://api-docs.deepseek.com/",
|
|
255
257
|
"models": "https://api-docs.deepseek.com/",
|
|
256
258
|
"official": "https://deepseek.com/"
|
|
@@ -732,6 +734,7 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
732
734
|
"id": "anthropic",
|
|
733
735
|
"metadata": { "website": {
|
|
734
736
|
"apiKey": "https://console.anthropic.com/settings/keys",
|
|
737
|
+
"billing": "https://platform.claude.com/settings/billing",
|
|
735
738
|
"docs": "https://docs.anthropic.com/en/docs",
|
|
736
739
|
"models": "https://docs.anthropic.com/en/docs/about-claude/models",
|
|
737
740
|
"official": "https://anthropic.com/"
|
|
@@ -958,6 +961,7 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
958
961
|
"id": "openai",
|
|
959
962
|
"metadata": { "website": {
|
|
960
963
|
"apiKey": "https://platform.openai.com/api-keys",
|
|
964
|
+
"billing": "https://platform.openai.com/settings/organization/billing/overview",
|
|
961
965
|
"docs": "https://platform.openai.com/docs",
|
|
962
966
|
"models": "https://platform.openai.com/docs/models",
|
|
963
967
|
"official": "https://openai.com/"
|
|
@@ -2003,6 +2007,10 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
2003
2007
|
"adapterFamily": "anthropic",
|
|
2004
2008
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
2005
2009
|
},
|
|
2010
|
+
"openai-chat-completions": {
|
|
2011
|
+
"adapterFamily": "openai-compatible",
|
|
2012
|
+
"baseUrl": "https://router.huggingface.co/v1"
|
|
2013
|
+
},
|
|
2006
2014
|
"openai-responses": {
|
|
2007
2015
|
"adapterFamily": "open-responses",
|
|
2008
2016
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
@@ -2166,7 +2174,7 @@ const bundledProviders = ProviderListSchema.parse({
|
|
|
2166
2174
|
"presetProviderId": "minimax"
|
|
2167
2175
|
}
|
|
2168
2176
|
],
|
|
2169
|
-
version: "
|
|
2177
|
+
version: "1b44511badb438e6"
|
|
2170
2178
|
});
|
|
2171
2179
|
//#endregion
|
|
2172
2180
|
export { bundledProviders as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/bundled-providers.ts
|
|
3
|
-
const bundledProviders = require("./provider-
|
|
3
|
+
const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.parse({
|
|
4
4
|
providers: [
|
|
5
5
|
{
|
|
6
6
|
"availableInEditions": ["global", "cn"],
|
|
@@ -28,6 +28,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
28
28
|
"id": "cherryin",
|
|
29
29
|
"metadata": { "website": {
|
|
30
30
|
"apiKey": "https://open.cherryin.ai/console/token",
|
|
31
|
+
"billing": "https://open.cherryin.ai/console/topup",
|
|
31
32
|
"docs": "https://open.cherryin.ai",
|
|
32
33
|
"models": "https://open.cherryin.ai/pricing",
|
|
33
34
|
"official": "https://open.cherryin.ai"
|
|
@@ -250,6 +251,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
250
251
|
"id": "deepseek",
|
|
251
252
|
"metadata": { "website": {
|
|
252
253
|
"apiKey": "https://platform.deepseek.com/api_keys",
|
|
254
|
+
"billing": "https://platform.deepseek.com/top_up",
|
|
253
255
|
"docs": "https://api-docs.deepseek.com/",
|
|
254
256
|
"models": "https://api-docs.deepseek.com/",
|
|
255
257
|
"official": "https://deepseek.com/"
|
|
@@ -731,6 +733,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
731
733
|
"id": "anthropic",
|
|
732
734
|
"metadata": { "website": {
|
|
733
735
|
"apiKey": "https://console.anthropic.com/settings/keys",
|
|
736
|
+
"billing": "https://platform.claude.com/settings/billing",
|
|
734
737
|
"docs": "https://docs.anthropic.com/en/docs",
|
|
735
738
|
"models": "https://docs.anthropic.com/en/docs/about-claude/models",
|
|
736
739
|
"official": "https://anthropic.com/"
|
|
@@ -957,6 +960,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
957
960
|
"id": "openai",
|
|
958
961
|
"metadata": { "website": {
|
|
959
962
|
"apiKey": "https://platform.openai.com/api-keys",
|
|
963
|
+
"billing": "https://platform.openai.com/settings/organization/billing/overview",
|
|
960
964
|
"docs": "https://platform.openai.com/docs",
|
|
961
965
|
"models": "https://platform.openai.com/docs/models",
|
|
962
966
|
"official": "https://openai.com/"
|
|
@@ -2002,6 +2006,10 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
2002
2006
|
"adapterFamily": "anthropic",
|
|
2003
2007
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
2004
2008
|
},
|
|
2009
|
+
"openai-chat-completions": {
|
|
2010
|
+
"adapterFamily": "openai-compatible",
|
|
2011
|
+
"baseUrl": "https://router.huggingface.co/v1"
|
|
2012
|
+
},
|
|
2005
2013
|
"openai-responses": {
|
|
2006
2014
|
"adapterFamily": "open-responses",
|
|
2007
2015
|
"baseUrl": "https://router.huggingface.co/v1/"
|
|
@@ -2165,7 +2173,7 @@ const bundledProviders = require("./provider-DkSIaann.cjs").ProviderListSchema.p
|
|
|
2165
2173
|
"presetProviderId": "minimax"
|
|
2166
2174
|
}
|
|
2167
2175
|
],
|
|
2168
|
-
version: "
|
|
2176
|
+
version: "1b44511badb438e6"
|
|
2169
2177
|
});
|
|
2170
2178
|
//#endregion
|
|
2171
2179
|
Object.defineProperty(exports, "bundledProviders", {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_bundled_providers = require("./bundled-providers-
|
|
2
|
+
const require_bundled_providers = require("./bundled-providers-CceF8bTD.cjs");
|
|
3
3
|
exports.bundledProviders = require_bundled_providers.bundledProviders;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bundledProviders } from "./bundled-providers-
|
|
1
|
+
import { t as bundledProviders } from "./bundled-providers-CJsteihb.mjs";
|
|
2
2
|
export { bundledProviders };
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_model = require("./model-kwW2vWDI.cjs");
|
|
3
3
|
const require_catalog = require("./catalog-DurdOhD0.cjs");
|
|
4
|
-
const require_provider = require("./provider-
|
|
5
|
-
const require_provider_models = require("./provider-models-
|
|
4
|
+
const require_provider = require("./provider-C_xJo-Py.cjs");
|
|
5
|
+
const require_provider_models = require("./provider-models-WeMLH-Dl.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
zod = require_model.__toESM(zod, 1);
|
|
8
8
|
//#region src/registry.ts
|
|
@@ -937,10 +937,23 @@ const REASONING_FAMILY_RULES = [
|
|
|
937
937
|
wireDialect: "effort",
|
|
938
938
|
template: true
|
|
939
939
|
},
|
|
940
|
+
{
|
|
941
|
+
pattern: "^(?:gemini-nano-banana|nano-banana-pro)",
|
|
942
|
+
wireDialect: "effort",
|
|
943
|
+
template: true
|
|
944
|
+
},
|
|
940
945
|
{
|
|
941
946
|
pattern: "^gemma-?4",
|
|
942
947
|
toggle: true
|
|
943
948
|
},
|
|
949
|
+
{
|
|
950
|
+
pattern: "^gemini-nano-banana",
|
|
951
|
+
effort: [
|
|
952
|
+
"minimal",
|
|
953
|
+
"medium",
|
|
954
|
+
"high"
|
|
955
|
+
]
|
|
956
|
+
},
|
|
944
957
|
{
|
|
945
958
|
pattern: "^gemini-3(?:\\.\\d+)?-flash|^gemini-3\\.1-flash-lite|^gemini-flash-latest",
|
|
946
959
|
effort: [
|
|
@@ -951,7 +964,7 @@ const REASONING_FAMILY_RULES = [
|
|
|
951
964
|
]
|
|
952
965
|
},
|
|
953
966
|
{
|
|
954
|
-
pattern: "^gemini-3-pro",
|
|
967
|
+
pattern: "^(?:gemini-3-pro|nano-banana-pro)",
|
|
955
968
|
effort: ["low", "high"]
|
|
956
969
|
},
|
|
957
970
|
{
|
|
@@ -1066,6 +1079,16 @@ const REASONING_FAMILY_RULES = [
|
|
|
1066
1079
|
pattern: "^longcat-2[.-]0$",
|
|
1067
1080
|
toggle: true
|
|
1068
1081
|
},
|
|
1082
|
+
{
|
|
1083
|
+
pattern: "^muse-spark-open(?:-|$)",
|
|
1084
|
+
effort: [
|
|
1085
|
+
"low",
|
|
1086
|
+
"medium",
|
|
1087
|
+
"high",
|
|
1088
|
+
"xhigh"
|
|
1089
|
+
],
|
|
1090
|
+
toggle: false
|
|
1091
|
+
},
|
|
1069
1092
|
{ pattern: "^muse-spark" },
|
|
1070
1093
|
{
|
|
1071
1094
|
pattern: "^minimax-m3[.-]1-flash-preview$",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-
|
|
2
|
-
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-
|
|
1
|
+
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-DdTUR-KL.cjs";
|
|
2
|
+
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-CbFrDd-J.cjs";
|
|
3
3
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.cjs";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
//#region src/schemas/imageParamCatalog.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-
|
|
2
|
-
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-
|
|
1
|
+
import { $ as ModelPricing, A as Currency, B as SERVER_TOOL, C as ServiceTierRequestControl, D as CANONICAL_PARAM_KEY, E as ServiceTierSelectionSchema, F as Modality, G as ImageGenerationMode, H as ServerTool, I as ModelCapability, J as ImageGenerationSupportSchema, K as ImageGenerationModeSchema, L as REASONING_EFFORT, M as EndpointType, N as MODALITY, O as CURRENCY, P as MODEL_CAPABILITY, Q as ModelListSchema, R as REASONING_EFFORT_ORDER, S as ServiceTierOptionsSchema, T as ServiceTierSelection, U as ServerToolModelScope, V as SERVER_TOOL_MODEL_SCOPE, W as objectValues, X as ModelConfig, Y as ImageModeDef, Z as ModelConfigSchema, _ as ServerToolConfig, a as ProviderModelReasoningContractSchema, b as ServiceTierDeliverySchema, c as ProviderConfig, d as ProviderEditionSchema, et as ReasoningControl, f as ProviderListSchema, g as RegistryEndpointConfig, h as ReasoningFormatType, i as ProviderModelReasoningContract, it as SupportSpec, j as ENDPOINT_TYPE, k as CanonicalParamKey, l as ProviderConfigSchema, m as REASONING_FORMAT_TYPES, n as ProviderModelOverride, nt as ReasoningSupport, o as EndpointDialect, p as ProviderReasoningFormat, q as ImageGenerationSupport, r as ProviderModelOverrideSchema, rt as ReasoningWireDialect, s as FastModeTransportSchema, t as ProviderModelListSchema, tt as ReasoningControlSchema, u as ProviderEdition, v as ServerToolConfigSchema, w as ServiceTierRequestControlSchema, x as ServiceTierOptions, y as ServiceTierDelivery, z as ReasoningEffort } from "./provider-models-DdTUR-KL.mjs";
|
|
2
|
+
import { a as parseModelSnapshot, i as createRegistry, n as Registry, r as RegistryCatalog, t as ModelSnapshot } from "./registry-9E7PzrQ5.mjs";
|
|
3
3
|
import { a as REGISTRY_SCHEMA_VERSION, c as RemoteRegistryFileName, i as REGISTRY_MIN_APP_VERSION, n as CatalogManifestSchema, o as REMOTE_REGISTRY_FILES, r as REGISTRY_FILES, s as RegistryFileName, t as CatalogManifest } from "./catalog-XJyrtwI9.mjs";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
//#region src/schemas/imageParamCatalog.d.ts
|