@cherrystudio/provider-registry 0.2.4 → 0.2.6

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.
@@ -7806,6 +7806,93 @@ const bundledProviderModels = ProviderModelListSchema.parse({
7806
7806
  } }
7807
7807
  }
7808
7808
  },
7809
+ {
7810
+ "endpointTypes": ["openai-responses", "openai-chat-completions"],
7811
+ "modelId": "deepseek-v4-flash",
7812
+ "providerId": "deepseek",
7813
+ "reasoningContracts": {
7814
+ "openai-chat-completions": { "wire": {
7815
+ "auto": {
7816
+ "effortMap": {
7817
+ "auto": "high",
7818
+ "low": "low",
7819
+ "medium": "high",
7820
+ "minimal": "low",
7821
+ "xhigh": "max"
7822
+ },
7823
+ "operations": [{
7824
+ "target": "thinking.type",
7825
+ "value": {
7826
+ "source": "literal",
7827
+ "value": "enabled"
7828
+ }
7829
+ }, {
7830
+ "target": "reasoningEffort",
7831
+ "value": { "source": "effort" }
7832
+ }]
7833
+ },
7834
+ "effort": {
7835
+ "effortMap": {
7836
+ "low": "low",
7837
+ "medium": "high",
7838
+ "minimal": "low",
7839
+ "xhigh": "max"
7840
+ },
7841
+ "operations": [{
7842
+ "target": "thinking.type",
7843
+ "value": {
7844
+ "source": "literal",
7845
+ "value": "enabled"
7846
+ }
7847
+ }, {
7848
+ "target": "reasoningEffort",
7849
+ "value": { "source": "effort" }
7850
+ }]
7851
+ },
7852
+ "off": { "operations": [{
7853
+ "target": "thinking.type",
7854
+ "value": {
7855
+ "source": "literal",
7856
+ "value": "disabled"
7857
+ }
7858
+ }] }
7859
+ } },
7860
+ "openai-responses": { "wire": {
7861
+ "auto": {
7862
+ "effortMap": {
7863
+ "auto": "high",
7864
+ "low": "low",
7865
+ "medium": "high",
7866
+ "minimal": "low",
7867
+ "xhigh": "max"
7868
+ },
7869
+ "operations": [{
7870
+ "target": "reasoningEffort",
7871
+ "value": { "source": "effort" }
7872
+ }]
7873
+ },
7874
+ "effort": {
7875
+ "effortMap": {
7876
+ "low": "low",
7877
+ "medium": "high",
7878
+ "minimal": "low",
7879
+ "xhigh": "max"
7880
+ },
7881
+ "operations": [{
7882
+ "target": "reasoningEffort",
7883
+ "value": { "source": "effort" }
7884
+ }]
7885
+ },
7886
+ "off": { "operations": [{
7887
+ "target": "reasoningEffort",
7888
+ "value": {
7889
+ "source": "literal",
7890
+ "value": "none"
7891
+ }
7892
+ }] }
7893
+ } }
7894
+ }
7895
+ },
7809
7896
  {
7810
7897
  "endpointTypes": [
7811
7898
  "openai-responses",
@@ -17056,6 +17143,110 @@ const bundledProviderModels = ProviderModelListSchema.parse({
17056
17143
  }] }
17057
17144
  } } }
17058
17145
  },
17146
+ {
17147
+ "apiModelId": "kimi-k3.1-pro",
17148
+ "endpointTypes": ["openai-chat-completions", "anthropic-messages"],
17149
+ "modelId": "kimi-k3-1-pro",
17150
+ "pricing": {
17151
+ "cacheRead": {
17152
+ "currency": "CNY",
17153
+ "perMillionTokens": 1.3
17154
+ },
17155
+ "cacheWrite": {
17156
+ "currency": "CNY",
17157
+ "perMillionTokens": 13
17158
+ },
17159
+ "input": {
17160
+ "currency": "CNY",
17161
+ "perMillionTokens": 13
17162
+ },
17163
+ "output": {
17164
+ "currency": "CNY",
17165
+ "perMillionTokens": 68
17166
+ }
17167
+ },
17168
+ "providerId": "moonshot",
17169
+ "reasoningContracts": {
17170
+ "anthropic-messages": { "wire": {
17171
+ "auto": {
17172
+ "effortMap": { "auto": "max" },
17173
+ "operations": [{
17174
+ "target": "effort",
17175
+ "value": { "source": "effort" }
17176
+ }]
17177
+ },
17178
+ "effort": { "operations": [{
17179
+ "target": "effort",
17180
+ "value": { "source": "effort" }
17181
+ }] }
17182
+ } },
17183
+ "openai-chat-completions": { "wire": {
17184
+ "auto": {
17185
+ "effortMap": { "auto": "max" },
17186
+ "operations": [{
17187
+ "target": "reasoningEffort",
17188
+ "value": { "source": "effort" }
17189
+ }]
17190
+ },
17191
+ "effort": { "operations": [{
17192
+ "target": "reasoningEffort",
17193
+ "value": { "source": "effort" }
17194
+ }] }
17195
+ } }
17196
+ }
17197
+ },
17198
+ {
17199
+ "apiModelId": "kimi-k3.1-pro-highspeed",
17200
+ "endpointTypes": ["openai-chat-completions", "anthropic-messages"],
17201
+ "modelId": "kimi-k3-1-pro-highspeed",
17202
+ "pricing": {
17203
+ "cacheRead": {
17204
+ "currency": "CNY",
17205
+ "perMillionTokens": 1.3
17206
+ },
17207
+ "cacheWrite": {
17208
+ "currency": "CNY",
17209
+ "perMillionTokens": 26
17210
+ },
17211
+ "input": {
17212
+ "currency": "CNY",
17213
+ "perMillionTokens": 26
17214
+ },
17215
+ "output": {
17216
+ "currency": "CNY",
17217
+ "perMillionTokens": 136
17218
+ }
17219
+ },
17220
+ "providerId": "moonshot",
17221
+ "reasoningContracts": {
17222
+ "anthropic-messages": { "wire": {
17223
+ "auto": {
17224
+ "effortMap": { "auto": "max" },
17225
+ "operations": [{
17226
+ "target": "effort",
17227
+ "value": { "source": "effort" }
17228
+ }]
17229
+ },
17230
+ "effort": { "operations": [{
17231
+ "target": "effort",
17232
+ "value": { "source": "effort" }
17233
+ }] }
17234
+ } },
17235
+ "openai-chat-completions": { "wire": {
17236
+ "auto": {
17237
+ "effortMap": { "auto": "max" },
17238
+ "operations": [{
17239
+ "target": "reasoningEffort",
17240
+ "value": { "source": "effort" }
17241
+ }]
17242
+ },
17243
+ "effort": { "operations": [{
17244
+ "target": "reasoningEffort",
17245
+ "value": { "source": "effort" }
17246
+ }] }
17247
+ } }
17248
+ }
17249
+ },
17059
17250
  {
17060
17251
  "modelId": "kimi-k3-fast",
17061
17252
  "parameterSupport": {
@@ -17176,6 +17367,74 @@ const bundledProviderModels = ProviderModelListSchema.parse({
17176
17367
  }] }
17177
17368
  } } }
17178
17369
  },
17370
+ {
17371
+ "apiModelId": "kimi-k3.1-pro",
17372
+ "endpointTypes": ["openai-chat-completions", "anthropic-messages"],
17373
+ "modelId": "kimi-k3-1-pro",
17374
+ "providerId": "moonshot-global",
17375
+ "reasoningContracts": {
17376
+ "anthropic-messages": { "wire": {
17377
+ "auto": {
17378
+ "effortMap": { "auto": "max" },
17379
+ "operations": [{
17380
+ "target": "effort",
17381
+ "value": { "source": "effort" }
17382
+ }]
17383
+ },
17384
+ "effort": { "operations": [{
17385
+ "target": "effort",
17386
+ "value": { "source": "effort" }
17387
+ }] }
17388
+ } },
17389
+ "openai-chat-completions": { "wire": {
17390
+ "auto": {
17391
+ "effortMap": { "auto": "max" },
17392
+ "operations": [{
17393
+ "target": "reasoningEffort",
17394
+ "value": { "source": "effort" }
17395
+ }]
17396
+ },
17397
+ "effort": { "operations": [{
17398
+ "target": "reasoningEffort",
17399
+ "value": { "source": "effort" }
17400
+ }] }
17401
+ } }
17402
+ }
17403
+ },
17404
+ {
17405
+ "apiModelId": "kimi-k3.1-pro-highspeed",
17406
+ "endpointTypes": ["openai-chat-completions", "anthropic-messages"],
17407
+ "modelId": "kimi-k3-1-pro-highspeed",
17408
+ "providerId": "moonshot-global",
17409
+ "reasoningContracts": {
17410
+ "anthropic-messages": { "wire": {
17411
+ "auto": {
17412
+ "effortMap": { "auto": "max" },
17413
+ "operations": [{
17414
+ "target": "effort",
17415
+ "value": { "source": "effort" }
17416
+ }]
17417
+ },
17418
+ "effort": { "operations": [{
17419
+ "target": "effort",
17420
+ "value": { "source": "effort" }
17421
+ }] }
17422
+ } },
17423
+ "openai-chat-completions": { "wire": {
17424
+ "auto": {
17425
+ "effortMap": { "auto": "max" },
17426
+ "operations": [{
17427
+ "target": "reasoningEffort",
17428
+ "value": { "source": "effort" }
17429
+ }]
17430
+ },
17431
+ "effort": { "operations": [{
17432
+ "target": "reasoningEffort",
17433
+ "value": { "source": "effort" }
17434
+ }] }
17435
+ } }
17436
+ }
17437
+ },
17179
17438
  {
17180
17439
  "modelId": "kimi-k3-fast",
17181
17440
  "parameterSupport": {
@@ -37910,7 +38169,7 @@ const bundledProviderModels = ProviderModelListSchema.parse({
37910
38169
  "providerId": "zhipu"
37911
38170
  }
37912
38171
  ],
37913
- version: "40f7a97c43483a3a"
38172
+ version: "db6d5b322de42c49"
37914
38173
  });
37915
38174
  //#endregion
37916
38175
  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-B3u4RoXN.cjs");
2
+ const require_bundled_provider_models = require("./bundled-provider-models-BW_Axis2.cjs");
3
3
  exports.bundledProviderModels = require_bundled_provider_models.bundledProviderModels;
@@ -1,2 +1,2 @@
1
- import { t as bundledProviderModels } from "./bundled-provider-models-B2WT-wfU.mjs";
1
+ import { t as bundledProviderModels } from "./bundled-provider-models-TMpRahtw.mjs";
2
2
  export { bundledProviderModels };
@@ -246,7 +246,43 @@ const bundledProviders = ProviderListSchema.parse({
246
246
  "openai-responses": {
247
247
  "adapterFamily": "openai",
248
248
  "baseUrl": "https://api.deepseek.com",
249
- "reasoningFormat": { "type": "openai-responses" }
249
+ "reasoningFormat": {
250
+ "type": "openai-responses",
251
+ "wire": {
252
+ "auto": {
253
+ "effortMap": {
254
+ "auto": "high",
255
+ "low": "low",
256
+ "medium": "high",
257
+ "minimal": "low",
258
+ "xhigh": "max"
259
+ },
260
+ "operations": [{
261
+ "target": "reasoningEffort",
262
+ "value": { "source": "effort" }
263
+ }]
264
+ },
265
+ "effort": {
266
+ "effortMap": {
267
+ "low": "low",
268
+ "medium": "high",
269
+ "minimal": "low",
270
+ "xhigh": "max"
271
+ },
272
+ "operations": [{
273
+ "target": "reasoningEffort",
274
+ "value": { "source": "effort" }
275
+ }]
276
+ },
277
+ "off": { "operations": [{
278
+ "target": "reasoningEffort",
279
+ "value": {
280
+ "source": "literal",
281
+ "value": "none"
282
+ }
283
+ }] }
284
+ }
285
+ }
250
286
  }
251
287
  },
252
288
  "id": "deepseek",
@@ -2174,7 +2210,7 @@ const bundledProviders = ProviderListSchema.parse({
2174
2210
  "presetProviderId": "minimax"
2175
2211
  }
2176
2212
  ],
2177
- version: "1b44511badb438e6"
2213
+ version: "afa17e5976dcef2e"
2178
2214
  });
2179
2215
  //#endregion
2180
2216
  export { bundledProviders as t };
@@ -245,7 +245,43 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
245
245
  "openai-responses": {
246
246
  "adapterFamily": "openai",
247
247
  "baseUrl": "https://api.deepseek.com",
248
- "reasoningFormat": { "type": "openai-responses" }
248
+ "reasoningFormat": {
249
+ "type": "openai-responses",
250
+ "wire": {
251
+ "auto": {
252
+ "effortMap": {
253
+ "auto": "high",
254
+ "low": "low",
255
+ "medium": "high",
256
+ "minimal": "low",
257
+ "xhigh": "max"
258
+ },
259
+ "operations": [{
260
+ "target": "reasoningEffort",
261
+ "value": { "source": "effort" }
262
+ }]
263
+ },
264
+ "effort": {
265
+ "effortMap": {
266
+ "low": "low",
267
+ "medium": "high",
268
+ "minimal": "low",
269
+ "xhigh": "max"
270
+ },
271
+ "operations": [{
272
+ "target": "reasoningEffort",
273
+ "value": { "source": "effort" }
274
+ }]
275
+ },
276
+ "off": { "operations": [{
277
+ "target": "reasoningEffort",
278
+ "value": {
279
+ "source": "literal",
280
+ "value": "none"
281
+ }
282
+ }] }
283
+ }
284
+ }
249
285
  }
250
286
  },
251
287
  "id": "deepseek",
@@ -2173,7 +2209,7 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
2173
2209
  "presetProviderId": "minimax"
2174
2210
  }
2175
2211
  ],
2176
- version: "1b44511badb438e6"
2212
+ version: "afa17e5976dcef2e"
2177
2213
  });
2178
2214
  //#endregion
2179
2215
  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-CceF8bTD.cjs");
2
+ const require_bundled_providers = require("./bundled-providers-ClAtcIXe.cjs");
3
3
  exports.bundledProviders = require_bundled_providers.bundledProviders;
@@ -1,2 +1,2 @@
1
- import { t as bundledProviders } from "./bundled-providers-CJsteihb.mjs";
1
+ import { t as bundledProviders } from "./bundled-providers-BuBDiy4v.mjs";
2
2
  export { bundledProviders };
package/dist/index.cjs CHANGED
@@ -1109,6 +1109,15 @@ const REASONING_FAMILY_RULES = [
1109
1109
  { pattern: "magistral" },
1110
1110
  { pattern: "mistral-small-2603" },
1111
1111
  { pattern: "^mistral-(?:small|medium)(?!.*instruct)" },
1112
+ {
1113
+ pattern: "^kimi-k3[.-]1-pro(?:-highspeed)?$",
1114
+ effort: [
1115
+ "low",
1116
+ "high",
1117
+ "max"
1118
+ ],
1119
+ toggle: false
1120
+ },
1112
1121
  {
1113
1122
  pattern: "^kimi-k2[.-]7-code",
1114
1123
  toggle: false
@@ -2220,6 +2229,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2220
2229
  "kimi-k2-instruct",
2221
2230
  "kimi-k2-thinking-maas",
2222
2231
  "kimi-k3",
2232
+ "kimi-k3-1-pro",
2233
+ "kimi-k3-1-pro-highspeed",
2223
2234
  "kimi-k3-fast",
2224
2235
  "kimi-latest"
2225
2236
  ] },
@@ -2232,6 +2243,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2232
2243
  "kimi-k2-instruct",
2233
2244
  "kimi-k2-thinking-maas",
2234
2245
  "kimi-k3",
2246
+ "kimi-k3-1-pro",
2247
+ "kimi-k3-1-pro-highspeed",
2235
2248
  "kimi-k3-fast",
2236
2249
  "kimi-latest"
2237
2250
  ] },
@@ -2289,6 +2302,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2289
2302
  "kimi-k2-instruct",
2290
2303
  "kimi-k2-thinking-maas",
2291
2304
  "kimi-k3",
2305
+ "kimi-k3-1-pro",
2306
+ "kimi-k3-1-pro-highspeed",
2292
2307
  "kimi-k3-fast",
2293
2308
  "kimi-latest",
2294
2309
  "minimax-m2-1",
@@ -2552,6 +2567,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2552
2567
  "kimi-k2-instruct",
2553
2568
  "kimi-k2-thinking-maas",
2554
2569
  "kimi-k3",
2570
+ "kimi-k3-1-pro",
2571
+ "kimi-k3-1-pro-highspeed",
2555
2572
  "kimi-k3-fast",
2556
2573
  "kimi-latest",
2557
2574
  "minimax-m2-1",
package/dist/index.mjs CHANGED
@@ -1107,6 +1107,15 @@ const REASONING_FAMILY_RULES = [
1107
1107
  { pattern: "magistral" },
1108
1108
  { pattern: "mistral-small-2603" },
1109
1109
  { pattern: "^mistral-(?:small|medium)(?!.*instruct)" },
1110
+ {
1111
+ pattern: "^kimi-k3[.-]1-pro(?:-highspeed)?$",
1112
+ effort: [
1113
+ "low",
1114
+ "high",
1115
+ "max"
1116
+ ],
1117
+ toggle: false
1118
+ },
1110
1119
  {
1111
1120
  pattern: "^kimi-k2[.-]7-code",
1112
1121
  toggle: false
@@ -2218,6 +2227,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2218
2227
  "kimi-k2-instruct",
2219
2228
  "kimi-k2-thinking-maas",
2220
2229
  "kimi-k3",
2230
+ "kimi-k3-1-pro",
2231
+ "kimi-k3-1-pro-highspeed",
2221
2232
  "kimi-k3-fast",
2222
2233
  "kimi-latest"
2223
2234
  ] },
@@ -2230,6 +2241,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2230
2241
  "kimi-k2-instruct",
2231
2242
  "kimi-k2-thinking-maas",
2232
2243
  "kimi-k3",
2244
+ "kimi-k3-1-pro",
2245
+ "kimi-k3-1-pro-highspeed",
2233
2246
  "kimi-k3-fast",
2234
2247
  "kimi-latest"
2235
2248
  ] },
@@ -2287,6 +2300,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2287
2300
  "kimi-k2-instruct",
2288
2301
  "kimi-k2-thinking-maas",
2289
2302
  "kimi-k3",
2303
+ "kimi-k3-1-pro",
2304
+ "kimi-k3-1-pro-highspeed",
2290
2305
  "kimi-k3-fast",
2291
2306
  "kimi-latest",
2292
2307
  "minimax-m2-1",
@@ -2550,6 +2565,8 @@ const ELIGIBLE_MODEL_IDS = new Map(Object.entries({
2550
2565
  "kimi-k2-instruct",
2551
2566
  "kimi-k2-thinking-maas",
2552
2567
  "kimi-k3",
2568
+ "kimi-k3-1-pro",
2569
+ "kimi-k3-1-pro-highspeed",
2553
2570
  "kimi-k3-fast",
2554
2571
  "kimi-latest",
2555
2572
  "minimax-m2-1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherrystudio/provider-registry",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Cross-platform AI provider and model catalogs, schemas, and lookup utilities",
5
5
  "homepage": "https://github.com/CherryHQ/cherry-studio#readme",
6
6
  "bugs": {