@cherrystudio/provider-registry 0.1.1 → 0.1.3

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/README.md CHANGED
@@ -145,6 +145,18 @@ The three `data/*.json` files are generated. Edit `src/creators/` or `src/provid
145
145
  and run the generator; never hand-edit catalog data. Contributor instructions and
146
146
  architecture documentation live in this package's source repository.
147
147
 
148
+ To refresh one canonical model and its provider offers while retaining unrelated
149
+ catalog rows, use `--model` (repeat it for multiple models). This also regenerates
150
+ the source-owned provider configuration and capability indexes:
151
+
152
+ ```bash
153
+ pnpm --filter @cherrystudio/provider-registry exec tsx scripts/generate-catalog.ts --write --model gemini-4-argon
154
+ pnpm exec oxfmt --write packages/provider-registry/data/*.json packages/provider-registry/src/patterns/*.gen.ts
155
+ ```
156
+
157
+ The selected model must exist in the newly generated catalog; unknown IDs fail
158
+ without writing artifacts. Omit `--model` for the usual full upstream refresh.
159
+
148
160
  From the monorepo root:
149
161
 
150
162
  ```bash
package/data/models.json CHANGED
@@ -9697,6 +9697,68 @@
9697
9697
  "wireDialect": "effort"
9698
9698
  }
9699
9699
  },
9700
+ {
9701
+ "capabilities": [
9702
+ "reasoning",
9703
+ "function-call",
9704
+ "image-recognition",
9705
+ "audio-recognition",
9706
+ "video-recognition",
9707
+ "structured-output",
9708
+ "file-input"
9709
+ ],
9710
+ "contextWindow": 1048576,
9711
+ "family": "gemini-4",
9712
+ "id": "gemini-4-argon",
9713
+ "inputModalities": ["text", "image", "audio", "video"],
9714
+ "maxOutputTokens": 1048576,
9715
+ "metadata": {},
9716
+ "name": "Gemini 4 Argon",
9717
+ "outputModalities": ["text"],
9718
+ "ownedBy": "google",
9719
+ "parameterSupport": {
9720
+ "frequencyPenalty": false,
9721
+ "maxTokens": true,
9722
+ "presencePenalty": false,
9723
+ "stopSequences": true,
9724
+ "systemMessage": true,
9725
+ "temperature": {
9726
+ "supported": false
9727
+ },
9728
+ "topK": {
9729
+ "supported": false
9730
+ },
9731
+ "topP": {
9732
+ "supported": false
9733
+ }
9734
+ },
9735
+ "pricing": {
9736
+ "cacheRead": {
9737
+ "currency": "USD",
9738
+ "perMillionTokens": 0.1
9739
+ },
9740
+ "input": {
9741
+ "currency": "USD",
9742
+ "perMillionTokens": 2
9743
+ },
9744
+ "output": {
9745
+ "currency": "USD",
9746
+ "perMillionTokens": 10
9747
+ }
9748
+ },
9749
+ "reasoning": {
9750
+ "controls": [
9751
+ {
9752
+ "default": "medium",
9753
+ "kind": "effort",
9754
+ "values": ["low", "medium", "high"]
9755
+ }
9756
+ ],
9757
+ "defaultEffort": "medium",
9758
+ "supportedEfforts": ["low", "medium", "high"],
9759
+ "wireDialect": "effort"
9760
+ }
9761
+ },
9700
9762
  {
9701
9763
  "capabilities": ["embedding"],
9702
9764
  "contextWindow": 8192,
@@ -9741,6 +9803,17 @@
9741
9803
  }
9742
9804
  }
9743
9805
  },
9806
+ {
9807
+ "capabilities": ["embedding", "image-recognition", "audio-recognition", "video-recognition", "file-input"],
9808
+ "contextWindow": 8192,
9809
+ "family": "gemini",
9810
+ "id": "gemini-embedding-2-preview",
9811
+ "inputModalities": ["text", "image", "audio", "video"],
9812
+ "metadata": {},
9813
+ "name": "Gemini Embedding 2 Preview",
9814
+ "outputModalities": ["vector"],
9815
+ "ownedBy": "google"
9816
+ },
9744
9817
  {
9745
9818
  "capabilities": [
9746
9819
  "function-call",
@@ -9847,6 +9920,88 @@
9847
9920
  "wireDialect": "effort"
9848
9921
  }
9849
9922
  },
9923
+ {
9924
+ "capabilities": ["reasoning", "image-recognition", "image-generation", "video-recognition", "file-input"],
9925
+ "contextWindow": 131072,
9926
+ "family": "gemini-flash",
9927
+ "id": "gemini-nano-banana-2-1",
9928
+ "imageGeneration": {
9929
+ "modes": {
9930
+ "generate": {
9931
+ "supports": {
9932
+ "aspectRatio": {
9933
+ "default": "ASPECT_1_1",
9934
+ "options": [
9935
+ "ASPECT_1_1",
9936
+ "ASPECT_1_4",
9937
+ "ASPECT_1_8",
9938
+ "ASPECT_2_3",
9939
+ "ASPECT_3_2",
9940
+ "ASPECT_3_4",
9941
+ "ASPECT_4_1",
9942
+ "ASPECT_4_3",
9943
+ "ASPECT_4_5",
9944
+ "ASPECT_5_4",
9945
+ "ASPECT_8_1",
9946
+ "ASPECT_9_16",
9947
+ "ASPECT_16_9",
9948
+ "ASPECT_21_9"
9949
+ ],
9950
+ "render": "chips",
9951
+ "type": "enum"
9952
+ },
9953
+ "imageResolution": {
9954
+ "default": "1K",
9955
+ "options": ["1K", "2K", "4K"],
9956
+ "render": "chips",
9957
+ "type": "enum"
9958
+ }
9959
+ }
9960
+ }
9961
+ }
9962
+ },
9963
+ "inputModalities": ["text", "image", "video"],
9964
+ "maxOutputTokens": 32768,
9965
+ "metadata": {},
9966
+ "name": "Nano Banana 2.1",
9967
+ "outputModalities": ["text", "image"],
9968
+ "ownedBy": "google",
9969
+ "pricing": {
9970
+ "cacheRead": {
9971
+ "currency": "USD",
9972
+ "perMillionTokens": 0.15
9973
+ },
9974
+ "input": {
9975
+ "currency": "USD",
9976
+ "perMillionTokens": 1.5
9977
+ },
9978
+ "output": {
9979
+ "currency": "USD",
9980
+ "perMillionTokens": 7.5
9981
+ }
9982
+ },
9983
+ "reasoning": {
9984
+ "controls": [
9985
+ {
9986
+ "kind": "effort",
9987
+ "values": ["minimal", "medium", "high"]
9988
+ }
9989
+ ],
9990
+ "supportedEfforts": ["minimal", "medium", "high"],
9991
+ "wireDialect": "effort"
9992
+ }
9993
+ },
9994
+ {
9995
+ "capabilities": ["image-recognition", "video-recognition", "video-generation", "file-input"],
9996
+ "contextWindow": 1048576,
9997
+ "family": "gemini",
9998
+ "id": "gemini-omni-1-1-flash",
9999
+ "inputModalities": ["text", "image", "video"],
10000
+ "metadata": {},
10001
+ "name": "Gemini Omni 1.1 Flash",
10002
+ "outputModalities": ["video"],
10003
+ "ownedBy": "google"
10004
+ },
9850
10005
  {
9851
10006
  "capabilities": ["reasoning", "image-recognition", "video-recognition", "video-generation", "file-input"],
9852
10007
  "contextWindow": 1000000,
@@ -10647,6 +10802,59 @@
10647
10802
  }
10648
10803
  }
10649
10804
  },
10805
+ {
10806
+ "capabilities": ["reasoning", "image-recognition", "image-generation", "file-input"],
10807
+ "contextWindow": 131072,
10808
+ "family": "gemini-pro",
10809
+ "id": "nano-banana-pro-preview",
10810
+ "imageGeneration": {
10811
+ "modes": {
10812
+ "generate": {
10813
+ "supports": {
10814
+ "aspectRatio": {
10815
+ "default": "ASPECT_1_1",
10816
+ "options": [
10817
+ "ASPECT_1_1",
10818
+ "ASPECT_2_3",
10819
+ "ASPECT_3_2",
10820
+ "ASPECT_3_4",
10821
+ "ASPECT_4_3",
10822
+ "ASPECT_4_5",
10823
+ "ASPECT_5_4",
10824
+ "ASPECT_9_16",
10825
+ "ASPECT_16_9",
10826
+ "ASPECT_21_9"
10827
+ ],
10828
+ "render": "chips",
10829
+ "type": "enum"
10830
+ },
10831
+ "imageResolution": {
10832
+ "default": "1K",
10833
+ "options": ["1K", "2K", "4K"],
10834
+ "render": "chips",
10835
+ "type": "enum"
10836
+ }
10837
+ }
10838
+ }
10839
+ }
10840
+ },
10841
+ "inputModalities": ["text", "image"],
10842
+ "maxOutputTokens": 32768,
10843
+ "metadata": {},
10844
+ "name": "Nano Banana Pro",
10845
+ "outputModalities": ["text", "image"],
10846
+ "ownedBy": "google",
10847
+ "reasoning": {
10848
+ "controls": [
10849
+ {
10850
+ "kind": "effort",
10851
+ "values": ["low", "high"]
10852
+ }
10853
+ ],
10854
+ "supportedEfforts": ["low", "high"],
10855
+ "wireDialect": "effort"
10856
+ }
10857
+ },
10650
10858
  {
10651
10859
  "capabilities": ["embedding"],
10652
10860
  "contextWindow": 8192,
@@ -22690,5 +22898,5 @@
22690
22898
  "ownedBy": "zhipu"
22691
22899
  }
22692
22900
  ],
22693
- "version": "1820f779a1cc60bd"
22901
+ "version": "bb6e15beb6217721"
22694
22902
  }
@@ -12757,6 +12757,44 @@
12757
12757
  },
12758
12758
  "providerId": "gateway"
12759
12759
  },
12760
+ {
12761
+ "apiModelId": "google/gemini-4-argon",
12762
+ "modelId": "gemini-4-argon",
12763
+ "pricing": {
12764
+ "cacheRead": {
12765
+ "currency": "USD",
12766
+ "perMillionTokens": 0.1
12767
+ },
12768
+ "input": {
12769
+ "currency": "USD",
12770
+ "perMillionTokens": 2
12771
+ },
12772
+ "output": {
12773
+ "currency": "USD",
12774
+ "perMillionTokens": 10
12775
+ }
12776
+ },
12777
+ "providerId": "gateway"
12778
+ },
12779
+ {
12780
+ "apiModelId": "google/gemini-nano-banana-2.1",
12781
+ "modelId": "gemini-nano-banana-2-1",
12782
+ "pricing": {
12783
+ "cacheRead": {
12784
+ "currency": "USD",
12785
+ "perMillionTokens": 0.15
12786
+ },
12787
+ "input": {
12788
+ "currency": "USD",
12789
+ "perMillionTokens": 1.5
12790
+ },
12791
+ "output": {
12792
+ "currency": "USD",
12793
+ "perMillionTokens": 7.5
12794
+ }
12795
+ },
12796
+ "providerId": "gateway"
12797
+ },
12760
12798
  {
12761
12799
  "apiModelId": "google/gemini-omni-flash-preview",
12762
12800
  "modelId": "gemini-omni-flash-preview",
@@ -25959,6 +25997,44 @@
25959
25997
  }
25960
25998
  }
25961
25999
  },
26000
+ {
26001
+ "apiModelId": "google/gemini-4-argon",
26002
+ "modelId": "gemini-4-argon",
26003
+ "pricing": {
26004
+ "cacheRead": {
26005
+ "currency": "USD",
26006
+ "perMillionTokens": 0.1
26007
+ },
26008
+ "cacheWrite": {
26009
+ "currency": "USD",
26010
+ "perMillionTokens": 0.1875
26011
+ },
26012
+ "input": {
26013
+ "currency": "USD",
26014
+ "perMillionTokens": 2
26015
+ },
26016
+ "output": {
26017
+ "currency": "USD",
26018
+ "perMillionTokens": 10
26019
+ }
26020
+ },
26021
+ "providerId": "openrouter",
26022
+ "reasoningContracts": {
26023
+ "openai-chat-completions": {
26024
+ "support": {
26025
+ "controls": [
26026
+ {
26027
+ "default": "medium",
26028
+ "kind": "effort",
26029
+ "values": ["high", "medium", "low"]
26030
+ }
26031
+ ],
26032
+ "defaultEffort": "medium",
26033
+ "supportedEfforts": ["high", "medium", "low"]
26034
+ }
26035
+ }
26036
+ }
26037
+ },
25962
26038
  {
25963
26039
  "apiModelId": "~google/gemini-flash-latest",
25964
26040
  "modelId": "gemini-flash-latest",
@@ -25997,6 +26073,117 @@
25997
26073
  }
25998
26074
  }
25999
26075
  },
26076
+ {
26077
+ "apiModelId": "google/gemini-nano-banana-2.1",
26078
+ "capabilities": {
26079
+ "add": ["image-generation"]
26080
+ },
26081
+ "endpointTypes": ["openai-image-generation"],
26082
+ "imageGeneration": {
26083
+ "modes": {
26084
+ "edit": {
26085
+ "maxInputImages": 14,
26086
+ "supports": {
26087
+ "aspectRatio": {
26088
+ "options": [
26089
+ "1:1",
26090
+ "1:4",
26091
+ "1:8",
26092
+ "2:3",
26093
+ "3:2",
26094
+ "3:4",
26095
+ "4:1",
26096
+ "4:3",
26097
+ "4:5",
26098
+ "5:4",
26099
+ "8:1",
26100
+ "9:16",
26101
+ "16:9",
26102
+ "21:9"
26103
+ ],
26104
+ "type": "enum"
26105
+ },
26106
+ "numImages": {
26107
+ "max": 1,
26108
+ "min": 1,
26109
+ "step": 1,
26110
+ "type": "range"
26111
+ },
26112
+ "resolution": {
26113
+ "options": ["1K", "2K", "4K"],
26114
+ "type": "enum"
26115
+ }
26116
+ }
26117
+ },
26118
+ "generate": {
26119
+ "supports": {
26120
+ "aspectRatio": {
26121
+ "options": [
26122
+ "1:1",
26123
+ "1:4",
26124
+ "1:8",
26125
+ "2:3",
26126
+ "3:2",
26127
+ "3:4",
26128
+ "4:1",
26129
+ "4:3",
26130
+ "4:5",
26131
+ "5:4",
26132
+ "8:1",
26133
+ "9:16",
26134
+ "16:9",
26135
+ "21:9"
26136
+ ],
26137
+ "type": "enum"
26138
+ },
26139
+ "numImages": {
26140
+ "max": 1,
26141
+ "min": 1,
26142
+ "step": 1,
26143
+ "type": "range"
26144
+ },
26145
+ "resolution": {
26146
+ "options": ["1K", "2K", "4K"],
26147
+ "type": "enum"
26148
+ }
26149
+ }
26150
+ }
26151
+ }
26152
+ },
26153
+ "inputModalities": ["image", "text"],
26154
+ "modelId": "gemini-nano-banana-2-1",
26155
+ "outputModalities": ["image", "text"],
26156
+ "pricing": {
26157
+ "input": {
26158
+ "currency": "USD",
26159
+ "perMillionTokens": 1.5
26160
+ },
26161
+ "output": {
26162
+ "currency": "USD",
26163
+ "perMillionTokens": 7.5
26164
+ }
26165
+ },
26166
+ "providerId": "openrouter",
26167
+ "reasoningContracts": {
26168
+ "openai-chat-completions": {
26169
+ "support": {
26170
+ "controls": [
26171
+ {
26172
+ "default": "minimal",
26173
+ "kind": "effort",
26174
+ "values": ["high", "minimal"]
26175
+ },
26176
+ {
26177
+ "default": true,
26178
+ "kind": "toggle"
26179
+ }
26180
+ ],
26181
+ "defaultEffort": "minimal",
26182
+ "supportedEfforts": ["high", "minimal", "none"]
26183
+ }
26184
+ }
26185
+ }
26186
+ },
26000
26187
  {
26001
26188
  "apiModelId": "~google/gemini-pro-latest",
26002
26189
  "modelId": "gemini-pro-latest",
@@ -40560,6 +40747,25 @@
40560
40747
  },
40561
40748
  "providerId": "vertexai"
40562
40749
  },
40750
+ {
40751
+ "apiModelId": "gemini-4-argon",
40752
+ "modelId": "gemini-4-argon",
40753
+ "pricing": {
40754
+ "cacheRead": {
40755
+ "currency": "USD",
40756
+ "perMillionTokens": 0.1
40757
+ },
40758
+ "input": {
40759
+ "currency": "USD",
40760
+ "perMillionTokens": 2
40761
+ },
40762
+ "output": {
40763
+ "currency": "USD",
40764
+ "perMillionTokens": 10
40765
+ }
40766
+ },
40767
+ "providerId": "vertexai"
40768
+ },
40563
40769
  {
40564
40770
  "apiModelId": "gemini-embedding-001",
40565
40771
  "modelId": "gemini-embedding-001",
@@ -40613,6 +40819,25 @@
40613
40819
  },
40614
40820
  "providerId": "vertexai"
40615
40821
  },
40822
+ {
40823
+ "apiModelId": "gemini-nano-banana-2.1",
40824
+ "modelId": "gemini-nano-banana-2-1",
40825
+ "pricing": {
40826
+ "cacheRead": {
40827
+ "currency": "USD",
40828
+ "perMillionTokens": 0.15
40829
+ },
40830
+ "input": {
40831
+ "currency": "USD",
40832
+ "perMillionTokens": 1.5
40833
+ },
40834
+ "output": {
40835
+ "currency": "USD",
40836
+ "perMillionTokens": 30
40837
+ }
40838
+ },
40839
+ "providerId": "vertexai"
40840
+ },
40616
40841
  {
40617
40842
  "apiModelId": "zai-org/glm-4.7-maas",
40618
40843
  "modelId": "glm-4-7-maas",
@@ -41086,5 +41311,5 @@
41086
41311
  "providerId": "zhipu"
41087
41312
  }
41088
41313
  ],
41089
- "version": "b5d75fe20ff361b6"
41314
+ "version": "24243e9504b54823"
41090
41315
  }
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_bundled_models = require("./bundled-models-uS9C7ldF.cjs");
3
- const require_bundled_provider_models = require("./bundled-provider-models-CT2Ha5w2.cjs");
2
+ const require_bundled_models = require("./bundled-models-DcxwVrSp.cjs");
3
+ const require_bundled_provider_models = require("./bundled-provider-models-7mWzn4J9.cjs");
4
4
  const require_bundled_providers = require("./bundled-providers-Bv_iM9AO.cjs");
5
5
  //#region src/bundled-catalog.ts
6
6
  const bundledCatalog = {
@@ -1,5 +1,5 @@
1
- import { t as bundledModels } from "./bundled-models--P3b6A6o.mjs";
2
- import { t as bundledProviderModels } from "./bundled-provider-models-y-RYjBUH.mjs";
1
+ import { t as bundledModels } from "./bundled-models-CQinRvVj.mjs";
2
+ import { t as bundledProviderModels } from "./bundled-provider-models-PiMD7o37.mjs";
3
3
  import { t as bundledProviders } from "./bundled-providers-BcszhEy2.mjs";
4
4
  //#region src/bundled-catalog.ts
5
5
  const bundledCatalog = {