@cherrystudio/provider-registry 0.3.5 → 0.4.0

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 (48) hide show
  1. package/data/models.json +100 -1
  2. package/data/provider-models.json +6 -1
  3. package/data/providers.json +12 -12
  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-Cy54_YGJ.cjs → bundled-models-B16Y742f.cjs} +142 -2
  9. package/dist/{bundled-models-C7JXYNq1.mjs → bundled-models-DbCfGG7c.mjs} +142 -2
  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-ChgWAIad.cjs → bundled-provider-models-BXz4jWQd.cjs} +7 -2
  15. package/dist/{bundled-provider-models-DmO0uUr6.mjs → bundled-provider-models-BwelA3n2.mjs} +7 -2
  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-DD0g2PPu.cjs → bundled-providers-DCzMsYJM.cjs} +13 -13
  21. package/dist/{bundled-providers-BckSm7wk.mjs → bundled-providers-DkfFNsuV.mjs} +13 -13
  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/{catalog-XJyrtwI9.d.cts → catalog-BqMRbtC6.d.cts} +2 -2
  27. package/dist/{catalog-XJyrtwI9.d.mts → catalog-BqMRbtC6.d.mts} +2 -2
  28. package/dist/{catalog-DElG_l-8.mjs → catalog-C1vmCQsh.mjs} +2 -2
  29. package/dist/{catalog-DurdOhD0.cjs → catalog-CiNhAT2f.cjs} +3 -3
  30. package/dist/index.cjs +7 -4
  31. package/dist/index.d.cts +107 -95
  32. package/dist/index.d.mts +107 -95
  33. package/dist/index.mjs +7 -4
  34. package/dist/{model-kwW2vWDI.cjs → model-CHEP1GQj.cjs} +3 -0
  35. package/dist/{model-NFEbqWMs.mjs → model-D2FsNZSf.mjs} +3 -0
  36. package/dist/{provider-D2l4EBDl.mjs → provider-SqdILkI9.mjs} +2 -2
  37. package/dist/{provider-C_xJo-Py.cjs → provider-jpEaS8pw.cjs} +2 -2
  38. package/dist/{provider-models-B7uTkDpK.d.cts → provider-models-BBd6l8lw.d.cts} +1331 -521
  39. package/dist/{provider-models-B7uTkDpK.d.mts → provider-models-BBd6l8lw.d.mts} +1331 -521
  40. package/dist/{provider-models-WeMLH-Dl.cjs → provider-models-CPwRSoBW.cjs} +2 -2
  41. package/dist/{provider-models-CCmPfrkT.mjs → provider-models-Ds8okXrz.mjs} +2 -2
  42. package/dist/{registry-BU07uMK7.d.cts → registry-BqsJAuKJ.d.mts} +1 -1
  43. package/dist/{registry-D_Pj7rEE.d.mts → registry-DPkAQDdi.d.cts} +1 -1
  44. package/dist/registry-loader.cjs +5 -5
  45. package/dist/registry-loader.d.cts +2 -2
  46. package/dist/registry-loader.d.mts +2 -2
  47. package/dist/registry-loader.mjs +5 -5
  48. package/package.json +1 -2
package/data/models.json CHANGED
@@ -18451,12 +18451,34 @@
18451
18451
  "options": ["auto", "transparent", "opaque"],
18452
18452
  "type": "enum"
18453
18453
  },
18454
+ "complexity": {
18455
+ "options": ["low", "medium", "high"],
18456
+ "type": "enum"
18457
+ },
18458
+ "frameCount": {
18459
+ "default": 9,
18460
+ "max": 16,
18461
+ "min": 2,
18462
+ "step": 1,
18463
+ "type": "range"
18464
+ },
18465
+ "frameDurationMs": {
18466
+ "default": 200,
18467
+ "max": 655350,
18468
+ "min": 20,
18469
+ "step": 10,
18470
+ "type": "range"
18471
+ },
18454
18472
  "numImages": {
18455
18473
  "default": 1,
18456
18474
  "max": 10,
18457
18475
  "min": 1,
18458
18476
  "type": "range"
18459
18477
  },
18478
+ "outputFormat": {
18479
+ "options": ["png", "jpeg", "webp", "gif"],
18480
+ "type": "enum"
18481
+ },
18460
18482
  "quality": {
18461
18483
  "options": ["auto", "low", "medium", "high"],
18462
18484
  "type": "enum"
@@ -18475,6 +18497,24 @@
18475
18497
  "options": ["auto", "transparent", "opaque"],
18476
18498
  "type": "enum"
18477
18499
  },
18500
+ "complexity": {
18501
+ "options": ["low", "medium", "high"],
18502
+ "type": "enum"
18503
+ },
18504
+ "frameCount": {
18505
+ "default": 9,
18506
+ "max": 16,
18507
+ "min": 2,
18508
+ "step": 1,
18509
+ "type": "range"
18510
+ },
18511
+ "frameDurationMs": {
18512
+ "default": 200,
18513
+ "max": 655350,
18514
+ "min": 20,
18515
+ "step": 10,
18516
+ "type": "range"
18517
+ },
18478
18518
  "moderation": {
18479
18519
  "options": ["auto", "low"],
18480
18520
  "type": "enum"
@@ -18485,6 +18525,10 @@
18485
18525
  "min": 1,
18486
18526
  "type": "range"
18487
18527
  },
18528
+ "outputFormat": {
18529
+ "options": ["png", "jpeg", "webp", "gif"],
18530
+ "type": "enum"
18531
+ },
18488
18532
  "quality": {
18489
18533
  "options": ["auto", "low", "medium", "high"],
18490
18534
  "type": "enum"
@@ -18518,12 +18562,34 @@
18518
18562
  "options": ["auto", "transparent", "opaque"],
18519
18563
  "type": "enum"
18520
18564
  },
18565
+ "complexity": {
18566
+ "options": ["low", "medium", "high"],
18567
+ "type": "enum"
18568
+ },
18569
+ "frameCount": {
18570
+ "default": 9,
18571
+ "max": 16,
18572
+ "min": 2,
18573
+ "step": 1,
18574
+ "type": "range"
18575
+ },
18576
+ "frameDurationMs": {
18577
+ "default": 200,
18578
+ "max": 655350,
18579
+ "min": 20,
18580
+ "step": 10,
18581
+ "type": "range"
18582
+ },
18521
18583
  "numImages": {
18522
18584
  "default": 1,
18523
18585
  "max": 10,
18524
18586
  "min": 1,
18525
18587
  "type": "range"
18526
18588
  },
18589
+ "outputFormat": {
18590
+ "options": ["png", "jpeg", "webp", "gif"],
18591
+ "type": "enum"
18592
+ },
18527
18593
  "quality": {
18528
18594
  "options": ["auto", "low", "medium", "high"],
18529
18595
  "type": "enum"
@@ -18542,6 +18608,24 @@
18542
18608
  "options": ["auto", "transparent", "opaque"],
18543
18609
  "type": "enum"
18544
18610
  },
18611
+ "complexity": {
18612
+ "options": ["low", "medium", "high"],
18613
+ "type": "enum"
18614
+ },
18615
+ "frameCount": {
18616
+ "default": 9,
18617
+ "max": 16,
18618
+ "min": 2,
18619
+ "step": 1,
18620
+ "type": "range"
18621
+ },
18622
+ "frameDurationMs": {
18623
+ "default": 200,
18624
+ "max": 655350,
18625
+ "min": 20,
18626
+ "step": 10,
18627
+ "type": "range"
18628
+ },
18545
18629
  "moderation": {
18546
18630
  "options": ["auto", "low"],
18547
18631
  "type": "enum"
@@ -18552,6 +18636,10 @@
18552
18636
  "min": 1,
18553
18637
  "type": "range"
18554
18638
  },
18639
+ "outputFormat": {
18640
+ "options": ["png", "jpeg", "webp", "gif"],
18641
+ "type": "enum"
18642
+ },
18555
18643
  "quality": {
18556
18644
  "options": ["auto", "low", "medium", "high"],
18557
18645
  "type": "enum"
@@ -20242,6 +20330,17 @@
20242
20330
  }
20243
20331
  }
20244
20332
  },
20333
+ {
20334
+ "capabilities": ["reasoning", "function-call", "structured-output", "image-recognition"],
20335
+ "contextWindow": 1048576,
20336
+ "id": "hy4",
20337
+ "inputModalities": ["text", "image"],
20338
+ "maxInputTokens": 983010,
20339
+ "maxOutputTokens": 65536,
20340
+ "metadata": {},
20341
+ "name": "Hunyuan 4",
20342
+ "ownedBy": "tencent"
20343
+ },
20245
20344
  {
20246
20345
  "capabilities": ["reasoning", "function-call", "structured-output"],
20247
20346
  "contextWindow": 1048576,
@@ -23424,5 +23523,5 @@
23424
23523
  "ownedBy": "zhipu"
23425
23524
  }
23426
23525
  ],
23427
- "version": "bb9d927f96a2d4d9"
23526
+ "version": "a0418e1cc8f8499c"
23428
23527
  }
@@ -43270,6 +43270,11 @@
43270
43270
  "modelId": "hy-role",
43271
43271
  "providerId": "tokenhub"
43272
43272
  },
43273
+ {
43274
+ "apiModelId": "hy4",
43275
+ "modelId": "hy4",
43276
+ "providerId": "tokenhub"
43277
+ },
43273
43278
  {
43274
43279
  "apiModelId": "hy4-preview",
43275
43280
  "modelId": "hy4-preview",
@@ -44643,5 +44648,5 @@
44643
44648
  "providerId": "zhipu"
44644
44649
  }
44645
44650
  ],
44646
- "version": "ae42a0ee7c463c59"
44651
+ "version": "a374db806c274eaa"
44647
44652
  }
@@ -1733,7 +1733,7 @@
1733
1733
  {
1734
1734
  "availableInEditions": ["global", "cn"],
1735
1735
  "defaultChatEndpoint": "openai-chat-completions",
1736
- "description": "Qwen AI Platform - AI model provider",
1736
+ "description": "Qianwen AI platform - CN - AI model provider",
1737
1737
  "endpointConfigs": {
1738
1738
  "anthropic-messages": {
1739
1739
  "adapterFamily": "anthropic",
@@ -1757,13 +1757,13 @@
1757
1757
  "id": "dashscope",
1758
1758
  "metadata": {
1759
1759
  "website": {
1760
- "apiKey": "https://platform.qianwenai.com/home/api-keys",
1760
+ "apiKey": "https://platform.qianwenai.com/home/api-keys?utm_content=g_20000003252",
1761
1761
  "docs": "https://platform.qianwenai.com/docs/developer-guides/getting-started/first-api-call",
1762
- "models": "https://www.qianwenai.com/models",
1762
+ "models": "https://platform.qianwenai.com/docs/developer-guides/getting-started/model-selection?utm_content=g_20000003253",
1763
1763
  "official": "https://www.qianwenai.com/"
1764
1764
  }
1765
1765
  },
1766
- "name": "Qwen AI Platform",
1766
+ "name": "Qianwen AI platform - CN",
1767
1767
  "serverTools": [
1768
1768
  {
1769
1769
  "endpointTypes": ["openai-chat-completions", "openai-responses"],
@@ -1790,22 +1790,22 @@
1790
1790
  {
1791
1791
  "availableInEditions": ["global"],
1792
1792
  "defaultChatEndpoint": "openai-chat-completions",
1793
- "description": "QwenCloud - AI model provider",
1793
+ "description": "Qwen Cloud - AI model provider",
1794
1794
  "endpointConfigs": {
1795
1795
  "anthropic-messages": {
1796
1796
  "adapterFamily": "anthropic",
1797
- "baseUrl": "https://ap-southeast-1.maas.qwencloudapi.com/apps/anthropic"
1797
+ "baseUrl": "https://maas.qwencloudapi.com/apps/anthropic"
1798
1798
  },
1799
1799
  "openai-chat-completions": {
1800
1800
  "adapterFamily": "openai-compatible",
1801
- "baseUrl": "https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1/",
1801
+ "baseUrl": "https://maas.qwencloudapi.com/compatible-mode/v1/",
1802
1802
  "reasoningFormat": {
1803
1803
  "type": "openai-chat"
1804
1804
  }
1805
1805
  },
1806
1806
  "openai-responses": {
1807
1807
  "adapterFamily": "openai",
1808
- "baseUrl": "https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1/",
1808
+ "baseUrl": "https://maas.qwencloudapi.com/compatible-mode/v1/",
1809
1809
  "reasoningFormat": {
1810
1810
  "type": "openai-responses"
1811
1811
  }
@@ -1814,13 +1814,13 @@
1814
1814
  "id": "qwencloud",
1815
1815
  "metadata": {
1816
1816
  "website": {
1817
- "apiKey": "https://home.qwencloud.com/api-keys",
1817
+ "apiKey": "https://home.qwencloud.com/api-keys?utm_content=g_20000003254",
1818
1818
  "docs": "https://docs.qwencloud.com/developer-guides/getting-started/introduction",
1819
- "models": "https://www.qwencloud.com/models",
1819
+ "models": "https://docs.qwencloud.com/developer-guides/getting-started/model-selection?utm_content=g_20000003255",
1820
1820
  "official": "https://www.qwencloud.com/"
1821
1821
  }
1822
1822
  },
1823
- "name": "QwenCloud",
1823
+ "name": "Qwen Cloud",
1824
1824
  "serverTools": [
1825
1825
  {
1826
1826
  "endpointTypes": ["openai-chat-completions"],
@@ -2937,5 +2937,5 @@
2937
2937
  "presetProviderId": "minimax"
2938
2938
  }
2939
2939
  ],
2940
- "version": "bf5d34485566c802"
2940
+ "version": "4c51709815c4b53a"
2941
2941
  }
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_bundled_models = require("./bundled-models-Cy54_YGJ.cjs");
3
- const require_bundled_provider_models = require("./bundled-provider-models-ChgWAIad.cjs");
4
- const require_bundled_providers = require("./bundled-providers-DD0g2PPu.cjs");
2
+ const require_bundled_models = require("./bundled-models-B16Y742f.cjs");
3
+ const require_bundled_provider_models = require("./bundled-provider-models-BXz4jWQd.cjs");
4
+ const require_bundled_providers = require("./bundled-providers-DCzMsYJM.cjs");
5
5
  //#region src/bundled-catalog.ts
6
6
  const bundledCatalog = {
7
7
  models: require_bundled_models.bundledModels,
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-BU07uMK7.cjs";
1
+ import { r as RegistryCatalog } from "./registry-DPkAQDdi.cjs";
2
2
  //#region src/bundled-catalog.d.ts
3
3
  declare const bundledCatalog: RegistryCatalog;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as RegistryCatalog } from "./registry-D_Pj7rEE.mjs";
1
+ import { r as RegistryCatalog } from "./registry-BqsJAuKJ.mjs";
2
2
  //#region src/bundled-catalog.d.ts
3
3
  declare const bundledCatalog: RegistryCatalog;
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
- import { t as bundledModels } from "./bundled-models-C7JXYNq1.mjs";
2
- import { t as bundledProviderModels } from "./bundled-provider-models-DmO0uUr6.mjs";
3
- import { t as bundledProviders } from "./bundled-providers-BckSm7wk.mjs";
1
+ import { t as bundledModels } from "./bundled-models-DbCfGG7c.mjs";
2
+ import { t as bundledProviderModels } from "./bundled-provider-models-BwelA3n2.mjs";
3
+ import { t as bundledProviders } from "./bundled-providers-DkfFNsuV.mjs";
4
4
  //#region src/bundled-catalog.ts
5
5
  const bundledCatalog = {
6
6
  models: bundledModels,
@@ -1,6 +1,6 @@
1
1
  //#endregion
2
2
  //#region src/bundled-models.ts
3
- const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
3
+ const bundledModels = require("./model-CHEP1GQj.cjs").ModelListSchema.parse({
4
4
  models: [
5
5
  {
6
6
  "capabilities": [],
@@ -20579,12 +20579,43 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20579
20579
  ],
20580
20580
  "type": "enum"
20581
20581
  },
20582
+ "complexity": {
20583
+ "options": [
20584
+ "low",
20585
+ "medium",
20586
+ "high"
20587
+ ],
20588
+ "type": "enum"
20589
+ },
20590
+ "frameCount": {
20591
+ "default": 9,
20592
+ "max": 16,
20593
+ "min": 2,
20594
+ "step": 1,
20595
+ "type": "range"
20596
+ },
20597
+ "frameDurationMs": {
20598
+ "default": 200,
20599
+ "max": 655350,
20600
+ "min": 20,
20601
+ "step": 10,
20602
+ "type": "range"
20603
+ },
20582
20604
  "numImages": {
20583
20605
  "default": 1,
20584
20606
  "max": 10,
20585
20607
  "min": 1,
20586
20608
  "type": "range"
20587
20609
  },
20610
+ "outputFormat": {
20611
+ "options": [
20612
+ "png",
20613
+ "jpeg",
20614
+ "webp",
20615
+ "gif"
20616
+ ],
20617
+ "type": "enum"
20618
+ },
20588
20619
  "quality": {
20589
20620
  "options": [
20590
20621
  "auto",
@@ -20615,6 +20646,28 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20615
20646
  ],
20616
20647
  "type": "enum"
20617
20648
  },
20649
+ "complexity": {
20650
+ "options": [
20651
+ "low",
20652
+ "medium",
20653
+ "high"
20654
+ ],
20655
+ "type": "enum"
20656
+ },
20657
+ "frameCount": {
20658
+ "default": 9,
20659
+ "max": 16,
20660
+ "min": 2,
20661
+ "step": 1,
20662
+ "type": "range"
20663
+ },
20664
+ "frameDurationMs": {
20665
+ "default": 200,
20666
+ "max": 655350,
20667
+ "min": 20,
20668
+ "step": 10,
20669
+ "type": "range"
20670
+ },
20618
20671
  "moderation": {
20619
20672
  "options": ["auto", "low"],
20620
20673
  "type": "enum"
@@ -20625,6 +20678,15 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20625
20678
  "min": 1,
20626
20679
  "type": "range"
20627
20680
  },
20681
+ "outputFormat": {
20682
+ "options": [
20683
+ "png",
20684
+ "jpeg",
20685
+ "webp",
20686
+ "gif"
20687
+ ],
20688
+ "type": "enum"
20689
+ },
20628
20690
  "quality": {
20629
20691
  "options": [
20630
20692
  "auto",
@@ -20668,12 +20730,43 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20668
20730
  ],
20669
20731
  "type": "enum"
20670
20732
  },
20733
+ "complexity": {
20734
+ "options": [
20735
+ "low",
20736
+ "medium",
20737
+ "high"
20738
+ ],
20739
+ "type": "enum"
20740
+ },
20741
+ "frameCount": {
20742
+ "default": 9,
20743
+ "max": 16,
20744
+ "min": 2,
20745
+ "step": 1,
20746
+ "type": "range"
20747
+ },
20748
+ "frameDurationMs": {
20749
+ "default": 200,
20750
+ "max": 655350,
20751
+ "min": 20,
20752
+ "step": 10,
20753
+ "type": "range"
20754
+ },
20671
20755
  "numImages": {
20672
20756
  "default": 1,
20673
20757
  "max": 10,
20674
20758
  "min": 1,
20675
20759
  "type": "range"
20676
20760
  },
20761
+ "outputFormat": {
20762
+ "options": [
20763
+ "png",
20764
+ "jpeg",
20765
+ "webp",
20766
+ "gif"
20767
+ ],
20768
+ "type": "enum"
20769
+ },
20677
20770
  "quality": {
20678
20771
  "options": [
20679
20772
  "auto",
@@ -20704,6 +20797,28 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20704
20797
  ],
20705
20798
  "type": "enum"
20706
20799
  },
20800
+ "complexity": {
20801
+ "options": [
20802
+ "low",
20803
+ "medium",
20804
+ "high"
20805
+ ],
20806
+ "type": "enum"
20807
+ },
20808
+ "frameCount": {
20809
+ "default": 9,
20810
+ "max": 16,
20811
+ "min": 2,
20812
+ "step": 1,
20813
+ "type": "range"
20814
+ },
20815
+ "frameDurationMs": {
20816
+ "default": 200,
20817
+ "max": 655350,
20818
+ "min": 20,
20819
+ "step": 10,
20820
+ "type": "range"
20821
+ },
20707
20822
  "moderation": {
20708
20823
  "options": ["auto", "low"],
20709
20824
  "type": "enum"
@@ -20714,6 +20829,15 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
20714
20829
  "min": 1,
20715
20830
  "type": "range"
20716
20831
  },
20832
+ "outputFormat": {
20833
+ "options": [
20834
+ "png",
20835
+ "jpeg",
20836
+ "webp",
20837
+ "gif"
20838
+ ],
20839
+ "type": "enum"
20840
+ },
20717
20841
  "quality": {
20718
20842
  "options": [
20719
20843
  "auto",
@@ -22618,6 +22742,22 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
22618
22742
  }
22619
22743
  }
22620
22744
  },
22745
+ {
22746
+ "capabilities": [
22747
+ "reasoning",
22748
+ "function-call",
22749
+ "structured-output",
22750
+ "image-recognition"
22751
+ ],
22752
+ "contextWindow": 1048576,
22753
+ "id": "hy4",
22754
+ "inputModalities": ["text", "image"],
22755
+ "maxInputTokens": 983010,
22756
+ "maxOutputTokens": 65536,
22757
+ "metadata": {},
22758
+ "name": "Hunyuan 4",
22759
+ "ownedBy": "tencent"
22760
+ },
22621
22761
  {
22622
22762
  "capabilities": [
22623
22763
  "reasoning",
@@ -26072,7 +26212,7 @@ const bundledModels = require("./model-kwW2vWDI.cjs").ModelListSchema.parse({
26072
26212
  "ownedBy": "zhipu"
26073
26213
  }
26074
26214
  ],
26075
- version: "bb9d927f96a2d4d9"
26215
+ version: "a0418e1cc8f8499c"
26076
26216
  });
26077
26217
  //#endregion
26078
26218
  Object.defineProperty(exports, "bundledModels", {