@cherrystudio/provider-registry 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/data/models.json +135 -1
  2. package/data/provider-models.json +33 -1
  3. package/data/providers.json +7 -1
  4. package/dist/bundled-catalog.cjs +3 -3
  5. package/dist/bundled-catalog.d.cts +1 -1
  6. package/dist/bundled-catalog.d.mts +1 -1
  7. package/dist/bundled-catalog.mjs +3 -3
  8. package/dist/{bundled-models-DhmO5VOX.mjs → bundled-models-C7JXYNq1.mjs} +179 -1
  9. package/dist/{bundled-models-BuO8dd5V.cjs → bundled-models-Cy54_YGJ.cjs} +179 -1
  10. package/dist/bundled-models.cjs +1 -1
  11. package/dist/bundled-models.d.cts +1 -1
  12. package/dist/bundled-models.d.mts +1 -1
  13. package/dist/bundled-models.mjs +1 -1
  14. package/dist/{bundled-provider-models-YoV7BqCV.cjs → bundled-provider-models-ChgWAIad.cjs} +33 -1
  15. package/dist/{bundled-provider-models-pQK414C4.mjs → bundled-provider-models-DmO0uUr6.mjs} +33 -1
  16. package/dist/bundled-provider-models.cjs +1 -1
  17. package/dist/bundled-provider-models.d.cts +1 -1
  18. package/dist/bundled-provider-models.d.mts +1 -1
  19. package/dist/bundled-provider-models.mjs +1 -1
  20. package/dist/{bundled-providers-BwDoc3W-.mjs → bundled-providers-BckSm7wk.mjs} +47 -43
  21. package/dist/{bundled-providers-DQc-lRgv.cjs → bundled-providers-DD0g2PPu.cjs} +47 -43
  22. package/dist/bundled-providers.cjs +1 -1
  23. package/dist/bundled-providers.d.cts +1 -1
  24. package/dist/bundled-providers.d.mts +1 -1
  25. package/dist/bundled-providers.mjs +1 -1
  26. package/dist/index.d.cts +94 -94
  27. package/dist/index.d.mts +94 -94
  28. package/dist/{provider-models-DdTUR-KL.d.cts → provider-models-B7uTkDpK.d.cts} +492 -492
  29. package/dist/{provider-models-DdTUR-KL.d.mts → provider-models-B7uTkDpK.d.mts} +492 -492
  30. package/dist/{registry-9E7PzrQ5.d.mts → registry-BU07uMK7.d.cts} +1 -1
  31. package/dist/{registry-CbFrDd-J.d.cts → registry-D_Pj7rEE.d.mts} +1 -1
  32. package/dist/registry-loader.d.cts +1 -1
  33. package/dist/registry-loader.d.mts +1 -1
  34. package/package.json +1 -1
@@ -19622,6 +19622,38 @@ const bundledProviderModels = require("./provider-models-WeMLH-Dl.cjs").Provider
19622
19622
  "outputModalities": ["image"],
19623
19623
  "providerId": "ollama"
19624
19624
  },
19625
+ {
19626
+ "apiModelId": "gpt-image-2.6-flare",
19627
+ "endpointTypes": ["openai-image-generation", "openai-image-edit"],
19628
+ "modelId": "gpt-image-2-6-flare",
19629
+ "pricing": {
19630
+ "input": {
19631
+ "currency": "USD",
19632
+ "perMillionTokens": 5
19633
+ },
19634
+ "output": {
19635
+ "currency": "USD",
19636
+ "perMillionTokens": 30
19637
+ }
19638
+ },
19639
+ "providerId": "openai"
19640
+ },
19641
+ {
19642
+ "apiModelId": "gpt-image-2.6-sunburst",
19643
+ "endpointTypes": ["openai-image-generation", "openai-image-edit"],
19644
+ "modelId": "gpt-image-2-6-sunburst",
19645
+ "pricing": {
19646
+ "input": {
19647
+ "currency": "USD",
19648
+ "perMillionTokens": 5
19649
+ },
19650
+ "output": {
19651
+ "currency": "USD",
19652
+ "perMillionTokens": 30
19653
+ }
19654
+ },
19655
+ "providerId": "openai"
19656
+ },
19625
19657
  {
19626
19658
  "apiModelId": "gpt-5.3-codex-spark",
19627
19659
  "endpointTypes": ["openai-responses"],
@@ -40497,7 +40529,7 @@ const bundledProviderModels = require("./provider-models-WeMLH-Dl.cjs").Provider
40497
40529
  "providerId": "zhipu"
40498
40530
  }
40499
40531
  ],
40500
- version: "1cbd619eb90b0ee9"
40532
+ version: "ae42a0ee7c463c59"
40501
40533
  });
40502
40534
  //#endregion
40503
40535
  Object.defineProperty(exports, "bundledProviderModels", {
@@ -19623,6 +19623,38 @@ const bundledProviderModels = ProviderModelListSchema.parse({
19623
19623
  "outputModalities": ["image"],
19624
19624
  "providerId": "ollama"
19625
19625
  },
19626
+ {
19627
+ "apiModelId": "gpt-image-2.6-flare",
19628
+ "endpointTypes": ["openai-image-generation", "openai-image-edit"],
19629
+ "modelId": "gpt-image-2-6-flare",
19630
+ "pricing": {
19631
+ "input": {
19632
+ "currency": "USD",
19633
+ "perMillionTokens": 5
19634
+ },
19635
+ "output": {
19636
+ "currency": "USD",
19637
+ "perMillionTokens": 30
19638
+ }
19639
+ },
19640
+ "providerId": "openai"
19641
+ },
19642
+ {
19643
+ "apiModelId": "gpt-image-2.6-sunburst",
19644
+ "endpointTypes": ["openai-image-generation", "openai-image-edit"],
19645
+ "modelId": "gpt-image-2-6-sunburst",
19646
+ "pricing": {
19647
+ "input": {
19648
+ "currency": "USD",
19649
+ "perMillionTokens": 5
19650
+ },
19651
+ "output": {
19652
+ "currency": "USD",
19653
+ "perMillionTokens": 30
19654
+ }
19655
+ },
19656
+ "providerId": "openai"
19657
+ },
19626
19658
  {
19627
19659
  "apiModelId": "gpt-5.3-codex-spark",
19628
19660
  "endpointTypes": ["openai-responses"],
@@ -40498,7 +40530,7 @@ const bundledProviderModels = ProviderModelListSchema.parse({
40498
40530
  "providerId": "zhipu"
40499
40531
  }
40500
40532
  ],
40501
- version: "1cbd619eb90b0ee9"
40533
+ version: "ae42a0ee7c463c59"
40502
40534
  });
40503
40535
  //#endregion
40504
40536
  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-YoV7BqCV.cjs");
2
+ const require_bundled_provider_models = require("./bundled-provider-models-ChgWAIad.cjs");
3
3
  exports.bundledProviderModels = require_bundled_provider_models.bundledProviderModels;
@@ -1,4 +1,4 @@
1
- import { t as ModelSnapshot } from "./registry-CbFrDd-J.cjs";
1
+ import { t as ModelSnapshot } from "./registry-BU07uMK7.cjs";
2
2
  //#region src/bundled-provider-models.d.ts
3
3
  declare const bundledProviderModels: ModelSnapshot['providerModels'];
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { t as ModelSnapshot } from "./registry-9E7PzrQ5.mjs";
1
+ import { t as ModelSnapshot } from "./registry-D_Pj7rEE.mjs";
2
2
  //#region src/bundled-provider-models.d.ts
3
3
  declare const bundledProviderModels: ModelSnapshot['providerModels'];
4
4
  //#endregion
@@ -1,2 +1,2 @@
1
- import { t as bundledProviderModels } from "./bundled-provider-models-pQK414C4.mjs";
1
+ import { t as bundledProviderModels } from "./bundled-provider-models-DmO0uUr6.mjs";
2
2
  export { bundledProviderModels };
@@ -932,15 +932,46 @@ const bundledProviders = ProviderListSchema.parse({
932
932
  "availableInEditions": ["global"],
933
933
  "defaultChatEndpoint": "openai-responses",
934
934
  "description": "OpenAI - AI model provider",
935
- "endpointConfigs": { "openai-responses": {
936
- "adapterFamily": "openai",
937
- "baseUrl": "https://api.openai.com",
938
- "reasoningFormat": {
939
- "type": "openai-responses",
940
- "wire": {
941
- "auto": {
942
- "effortMap": { "auto": "medium" },
943
- "operations": [
935
+ "endpointConfigs": {
936
+ "openai-image-edit": { "adapterFamily": "openai" },
937
+ "openai-image-generation": { "adapterFamily": "openai" },
938
+ "openai-responses": {
939
+ "adapterFamily": "openai",
940
+ "baseUrl": "https://api.openai.com",
941
+ "reasoningFormat": {
942
+ "type": "openai-responses",
943
+ "wire": {
944
+ "auto": {
945
+ "effortMap": { "auto": "medium" },
946
+ "operations": [
947
+ {
948
+ "target": "reasoningEffort",
949
+ "value": { "source": "effort" }
950
+ },
951
+ {
952
+ "target": "reasoningSummary",
953
+ "value": {
954
+ "source": "literal",
955
+ "value": "auto"
956
+ }
957
+ },
958
+ {
959
+ "target": "reasoningSummary",
960
+ "value": { "source": "assistant-summary" }
961
+ }
962
+ ]
963
+ },
964
+ "default": { "operations": [{
965
+ "target": "reasoningSummary",
966
+ "value": {
967
+ "source": "literal",
968
+ "value": "auto"
969
+ }
970
+ }, {
971
+ "target": "reasoningSummary",
972
+ "value": { "source": "assistant-summary" }
973
+ }] },
974
+ "effort": { "operations": [
944
975
  {
945
976
  "target": "reasoningEffort",
946
977
  "value": { "source": "effort" }
@@ -956,45 +987,18 @@ const bundledProviders = ProviderListSchema.parse({
956
987
  "target": "reasoningSummary",
957
988
  "value": { "source": "assistant-summary" }
958
989
  }
959
- ]
960
- },
961
- "default": { "operations": [{
962
- "target": "reasoningSummary",
963
- "value": {
964
- "source": "literal",
965
- "value": "auto"
966
- }
967
- }, {
968
- "target": "reasoningSummary",
969
- "value": { "source": "assistant-summary" }
970
- }] },
971
- "effort": { "operations": [
972
- {
990
+ ] },
991
+ "off": { "operations": [{
973
992
  "target": "reasoningEffort",
974
- "value": { "source": "effort" }
975
- },
976
- {
977
- "target": "reasoningSummary",
978
993
  "value": {
979
994
  "source": "literal",
980
- "value": "auto"
995
+ "value": "none"
981
996
  }
982
- },
983
- {
984
- "target": "reasoningSummary",
985
- "value": { "source": "assistant-summary" }
986
- }
987
- ] },
988
- "off": { "operations": [{
989
- "target": "reasoningEffort",
990
- "value": {
991
- "source": "literal",
992
- "value": "none"
993
- }
994
- }] }
997
+ }] }
998
+ }
995
999
  }
996
1000
  }
997
- } },
1001
+ },
998
1002
  "id": "openai",
999
1003
  "metadata": { "website": {
1000
1004
  "apiKey": "https://platform.openai.com/api-keys",
@@ -2341,7 +2345,7 @@ const bundledProviders = ProviderListSchema.parse({
2341
2345
  "presetProviderId": "minimax"
2342
2346
  }
2343
2347
  ],
2344
- version: "70e1e7ba16416870"
2348
+ version: "bf5d34485566c802"
2345
2349
  });
2346
2350
  //#endregion
2347
2351
  export { bundledProviders as t };
@@ -931,15 +931,46 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
931
931
  "availableInEditions": ["global"],
932
932
  "defaultChatEndpoint": "openai-responses",
933
933
  "description": "OpenAI - AI model provider",
934
- "endpointConfigs": { "openai-responses": {
935
- "adapterFamily": "openai",
936
- "baseUrl": "https://api.openai.com",
937
- "reasoningFormat": {
938
- "type": "openai-responses",
939
- "wire": {
940
- "auto": {
941
- "effortMap": { "auto": "medium" },
942
- "operations": [
934
+ "endpointConfigs": {
935
+ "openai-image-edit": { "adapterFamily": "openai" },
936
+ "openai-image-generation": { "adapterFamily": "openai" },
937
+ "openai-responses": {
938
+ "adapterFamily": "openai",
939
+ "baseUrl": "https://api.openai.com",
940
+ "reasoningFormat": {
941
+ "type": "openai-responses",
942
+ "wire": {
943
+ "auto": {
944
+ "effortMap": { "auto": "medium" },
945
+ "operations": [
946
+ {
947
+ "target": "reasoningEffort",
948
+ "value": { "source": "effort" }
949
+ },
950
+ {
951
+ "target": "reasoningSummary",
952
+ "value": {
953
+ "source": "literal",
954
+ "value": "auto"
955
+ }
956
+ },
957
+ {
958
+ "target": "reasoningSummary",
959
+ "value": { "source": "assistant-summary" }
960
+ }
961
+ ]
962
+ },
963
+ "default": { "operations": [{
964
+ "target": "reasoningSummary",
965
+ "value": {
966
+ "source": "literal",
967
+ "value": "auto"
968
+ }
969
+ }, {
970
+ "target": "reasoningSummary",
971
+ "value": { "source": "assistant-summary" }
972
+ }] },
973
+ "effort": { "operations": [
943
974
  {
944
975
  "target": "reasoningEffort",
945
976
  "value": { "source": "effort" }
@@ -955,45 +986,18 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
955
986
  "target": "reasoningSummary",
956
987
  "value": { "source": "assistant-summary" }
957
988
  }
958
- ]
959
- },
960
- "default": { "operations": [{
961
- "target": "reasoningSummary",
962
- "value": {
963
- "source": "literal",
964
- "value": "auto"
965
- }
966
- }, {
967
- "target": "reasoningSummary",
968
- "value": { "source": "assistant-summary" }
969
- }] },
970
- "effort": { "operations": [
971
- {
989
+ ] },
990
+ "off": { "operations": [{
972
991
  "target": "reasoningEffort",
973
- "value": { "source": "effort" }
974
- },
975
- {
976
- "target": "reasoningSummary",
977
992
  "value": {
978
993
  "source": "literal",
979
- "value": "auto"
994
+ "value": "none"
980
995
  }
981
- },
982
- {
983
- "target": "reasoningSummary",
984
- "value": { "source": "assistant-summary" }
985
- }
986
- ] },
987
- "off": { "operations": [{
988
- "target": "reasoningEffort",
989
- "value": {
990
- "source": "literal",
991
- "value": "none"
992
- }
993
- }] }
996
+ }] }
997
+ }
994
998
  }
995
999
  }
996
- } },
1000
+ },
997
1001
  "id": "openai",
998
1002
  "metadata": { "website": {
999
1003
  "apiKey": "https://platform.openai.com/api-keys",
@@ -2340,7 +2344,7 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
2340
2344
  "presetProviderId": "minimax"
2341
2345
  }
2342
2346
  ],
2343
- version: "70e1e7ba16416870"
2347
+ version: "bf5d34485566c802"
2344
2348
  });
2345
2349
  //#endregion
2346
2350
  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-DQc-lRgv.cjs");
2
+ const require_bundled_providers = require("./bundled-providers-DD0g2PPu.cjs");
3
3
  exports.bundledProviders = require_bundled_providers.bundledProviders;
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-CbFrDd-J.cjs";
1
+ import { r as RegistryCatalog } from "./registry-BU07uMK7.cjs";
2
2
  //#region src/bundled-providers.d.ts
3
3
  declare const bundledProviders: RegistryCatalog['providers'];
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-9E7PzrQ5.mjs";
1
+ import { r as RegistryCatalog } from "./registry-D_Pj7rEE.mjs";
2
2
  //#region src/bundled-providers.d.ts
3
3
  declare const bundledProviders: RegistryCatalog['providers'];
4
4
  //#endregion
@@ -1,2 +1,2 @@
1
- import { t as bundledProviders } from "./bundled-providers-BwDoc3W-.mjs";
1
+ import { t as bundledProviders } from "./bundled-providers-BckSm7wk.mjs";
2
2
  export { bundledProviders };