@omnicross/contracts 0.3.0 → 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.
@@ -210,6 +210,7 @@ var MAX_CONCURRENCY_DEFAULTS = {
210
210
  "zhipu-bigmodel": 5,
211
211
  kimi: 5,
212
212
  minimax: 5,
213
+ "minimax-token-plan": 5,
213
214
  dashscope: 5,
214
215
  volcengine: 5,
215
216
  tencent: 5,
@@ -511,6 +512,72 @@ var cerebras_default = {
511
512
  features: []
512
513
  };
513
514
 
515
+ // src/provider-presets/presets/cline-pass.json
516
+ var cline_pass_default = {
517
+ id: "cline-pass",
518
+ presetId: "cline-pass",
519
+ name: "Cline",
520
+ apiFormat: "openai",
521
+ api_base_url: "https://api.cline.bot/api/v1",
522
+ extraHeaders: {
523
+ "HTTP-Referer": "https://cline.bot",
524
+ "X-Title": "Cline",
525
+ "X-IS-MULTIROOT": "false",
526
+ "X-CLIENT-TYPE": "cline-sdk",
527
+ "User-Agent": "Cline/3.0.58",
528
+ "X-CLIENT-VERSION": "3.0.58",
529
+ "X-PLATFORM": "{{platform}}",
530
+ "X-PLATFORM-VERSION": "3.0.54",
531
+ "X-CORE-VERSION": "0.0.79"
532
+ },
533
+ models: [
534
+ "cline-pass/kimi-k3",
535
+ "cline-pass/glm-5.3",
536
+ "cline-pass/glm-5.3-flash",
537
+ "cline-pass/glm-5.2",
538
+ "cline-pass/deepseek-v4-pro",
539
+ "cline-pass/deepseek-v4-flash",
540
+ "cline-pass/qwen3.8-max",
541
+ "cline-pass/qwen3.7-max",
542
+ "cline-pass/qwen3.7-plus",
543
+ "cline-pass/kimi-k2.7-code",
544
+ "cline-pass/kimi-k2.6",
545
+ "cline-pass/minimax-m3",
546
+ "cline-pass/mimo-v2.5-pro",
547
+ "cline-pass/mimo-v2.5",
548
+ "cline-free/longcat-2.0",
549
+ "deepseek/deepseek-v4-flash",
550
+ "z-ai/glm-5.3-flash",
551
+ "poolside/laguna-s-2.1:free"
552
+ ],
553
+ modelConfigs: [
554
+ { id: "cline-pass/kimi-k3", name: "Kimi K3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
555
+ { id: "cline-pass/glm-5.3", name: "GLM-5.3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
556
+ { id: "cline-pass/glm-5.3-flash", name: "GLM-5.3 Flash", enabled: true, category: "code", contextLength: 1310720, functionCall: true, reasoning: true, vision: true },
557
+ { id: "cline-pass/glm-5.2", name: "GLM-5.2", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
558
+ { id: "cline-pass/deepseek-v4-pro", name: "DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
559
+ { id: "cline-pass/deepseek-v4-flash", name: "DeepSeek V4 Flash", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
560
+ { id: "cline-pass/qwen3.8-max", name: "Qwen3.8 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
561
+ { id: "cline-pass/qwen3.7-max", name: "Qwen3.7 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true },
562
+ { id: "cline-pass/qwen3.7-plus", name: "Qwen3.7 Plus", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
563
+ { id: "cline-pass/kimi-k2.7-code", name: "Kimi K2.7 Code", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
564
+ { id: "cline-pass/kimi-k2.6", name: "Kimi K2.6", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
565
+ { id: "cline-pass/minimax-m3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
566
+ { id: "cline-pass/mimo-v2.5-pro", name: "MiMo V2.5 Pro", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true },
567
+ { id: "cline-pass/mimo-v2.5", name: "MiMo V2.5", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true, vision: true },
568
+ { id: "cline-free/longcat-2.0", name: "LongCat 2.0 (free)", enabled: true, category: "code", contextLength: 1048756, functionCall: true, reasoning: true },
569
+ { id: "deepseek/deepseek-v4-flash", name: "DeepSeek V4 Flash (free)", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
570
+ { id: "z-ai/glm-5.3-flash", name: "GLM-5.3 Flash (free)", enabled: true, category: "code", contextLength: 1310720, functionCall: true, reasoning: true, vision: true },
571
+ { id: "poolside/laguna-s-2.1:free", name: "Laguna S 2.1 (free)", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true }
572
+ ],
573
+ description: "Cline \u8BA2\u9605\u901A\u884C\u8BC1\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF0C\u542B\u514D\u8D39\u6863\u6A21\u578B\uFF1B\u5728 Cline \u63A7\u5236\u53F0 Settings \u2192 API Keys \u521B\u5EFA\u5BC6\u94A5\uFF09\u3002\u8BF7\u6C42\u81EA\u52A8\u643A\u5E26 Cline \u5BA2\u6237\u7AEF\u8EAB\u4EFD\u5934\uFF08\u786C\u6027\u5951\u7EA6\uFF0C\u7F3A\u5931\u4F1A\u88AB 403\uFF09\uFF1B\u5BC6\u94A5\u7684 5 \u5C0F\u65F6/\u6BCF\u5468/\u6BCF\u6708\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
574
+ icon: "cline",
575
+ website: "https://cline.bot",
576
+ docsUrl: "https://app.cline.bot/dashboard/account",
577
+ isSystem: true,
578
+ features: ["coding-plan"]
579
+ };
580
+
514
581
  // src/provider-presets/presets/dashscope.json
515
582
  var dashscope_default = {
516
583
  id: "dashscope",
@@ -1010,6 +1077,44 @@ var minimax_default = {
1010
1077
  }
1011
1078
  };
1012
1079
 
1080
+ // src/provider-presets/presets/minimax-token-plan.json
1081
+ var minimax_token_plan_default = {
1082
+ id: "minimax-token-plan",
1083
+ presetId: "minimax",
1084
+ name: "MiniMax Token Plan",
1085
+ nameKey: "presetName.minimaxTokenPlan",
1086
+ apiFormat: "openai",
1087
+ api_base_url: "https://api.minimax.io/v1",
1088
+ models: [
1089
+ "MiniMax-M3",
1090
+ "MiniMax-M2.7",
1091
+ "MiniMax-M2.7-highspeed",
1092
+ "MiniMax-M2.5",
1093
+ "MiniMax-M2.5-highspeed",
1094
+ "MiniMax-M2.5-lightning",
1095
+ "MiniMax-M2.1",
1096
+ "MiniMax-M2.1-lightning",
1097
+ "MiniMax-M2"
1098
+ ],
1099
+ modelConfigs: [
1100
+ { id: "MiniMax-M3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 204800, functionCall: true, reasoning: true },
1101
+ { id: "MiniMax-M2.7", name: "MiniMax M2.7", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1102
+ { id: "MiniMax-M2.7-highspeed", name: "MiniMax M2.7 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1103
+ { id: "MiniMax-M2.5", name: "MiniMax M2.5", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1104
+ { id: "MiniMax-M2.5-highspeed", name: "MiniMax M2.5 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1105
+ { id: "MiniMax-M2.5-lightning", name: "MiniMax M2.5 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1106
+ { id: "MiniMax-M2.1", name: "MiniMax M2.1", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1107
+ { id: "MiniMax-M2.1-lightning", name: "MiniMax M2.1 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1108
+ { id: "MiniMax-M2", name: "MiniMax M2", enabled: true, category: "code", contextLength: 204800, functionCall: true }
1109
+ ],
1110
+ description: "MiniMax \u8BA2\u9605 Token Plan\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u4E2D\u56FD\u5927\u9646\u7528\u6237\u53EF\u5C06 base URL \u6362\u4E3A https://api.minimaxi.com/v1\u3002\u5BC6\u94A5\u7684 5 \u5C0F\u65F6/\u5468\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1111
+ icon: "minimax",
1112
+ website: "https://platform.minimax.io",
1113
+ docsUrl: "https://platform.minimax.io/docs",
1114
+ isSystem: true,
1115
+ features: ["coding-plan"]
1116
+ };
1117
+
1013
1118
  // src/provider-presets/presets/mistral.json
1014
1119
  var mistral_default = {
1015
1120
  id: "mistral",
@@ -1425,6 +1530,36 @@ var siliconflow_default = {
1425
1530
  ]
1426
1531
  };
1427
1532
 
1533
+ // src/provider-presets/presets/synthetic.json
1534
+ var synthetic_default = {
1535
+ id: "synthetic",
1536
+ presetId: "synthetic",
1537
+ name: "Synthetic",
1538
+ nameKey: "presetName.synthetic",
1539
+ apiFormat: "openai",
1540
+ api_base_url: "https://api.synthetic.new/openai/v1",
1541
+ models: [
1542
+ "hf:moonshotai/Kimi-K3",
1543
+ "hf:zai-org/GLM-5.3-Flash",
1544
+ "hf:zai-org/GLM-5.2",
1545
+ "hf:Qwen/Qwen3.8-27B",
1546
+ "hf:openai/gpt-oss-120b"
1547
+ ],
1548
+ modelConfigs: [
1549
+ { id: "hf:moonshotai/Kimi-K3", name: "Kimi K3", enabled: true, category: "code", functionCall: true },
1550
+ { id: "hf:zai-org/GLM-5.3-Flash", name: "GLM-5.3 Flash", enabled: true, category: "code", functionCall: true },
1551
+ { id: "hf:zai-org/GLM-5.2", name: "GLM-5.2", enabled: true, category: "code", functionCall: true },
1552
+ { id: "hf:Qwen/Qwen3.8-27B", name: "Qwen3.8 27B", enabled: true, category: "code", functionCall: true },
1553
+ { id: "hf:openai/gpt-oss-120b", name: "gpt-oss-120b", enabled: true, category: "code", functionCall: true }
1554
+ ],
1555
+ description: "Synthetic \u6258\u7BA1\u5F00\u6E90\u6A21\u578B\u8BA2\u9605\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u5BC6\u94A5\u7684 5 \u5C0F\u65F6\u8BF7\u6C42\u989D\u5EA6\u4E0E\u6BCF\u5468\u79EF\u5206\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1556
+ icon: "synthetic",
1557
+ website: "https://synthetic.new",
1558
+ docsUrl: "https://dev.synthetic.new/docs/api/overview",
1559
+ isSystem: true,
1560
+ features: ["coding-plan"]
1561
+ };
1562
+
1428
1563
  // src/provider-presets/presets/tencent.json
1429
1564
  var tencent_default = {
1430
1565
  id: "tencent",
@@ -1619,6 +1754,35 @@ var together_default = {
1619
1754
  features: []
1620
1755
  };
1621
1756
 
1757
+ // src/provider-presets/presets/umans.json
1758
+ var umans_default = {
1759
+ id: "umans",
1760
+ presetId: "umans",
1761
+ name: "Umans AI Coding Plan",
1762
+ nameKey: "presetName.umans",
1763
+ apiFormat: "anthropic",
1764
+ api_base_url: "https://api.code.umans.ai",
1765
+ transformer: { use: ["anthropic"] },
1766
+ models: [
1767
+ "umans-coder",
1768
+ "umans-flash",
1769
+ "umans-glm-5.3",
1770
+ "umans-deepseek-v4-pro"
1771
+ ],
1772
+ modelConfigs: [
1773
+ { id: "umans-coder", name: "Umans Coder", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true },
1774
+ { id: "umans-flash", name: "Umans Flash", enabled: true, category: "code", contextLength: 262144, functionCall: true },
1775
+ { id: "umans-glm-5.3", name: "Umans GLM-5.3", enabled: true, category: "code", contextLength: 262144, functionCall: true },
1776
+ { id: "umans-deepseek-v4-pro", name: "Umans DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 262144, functionCall: true }
1777
+ ],
1778
+ description: "Umans AI Coding Plan\uFF08Anthropic Messages \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u5BC6\u94A5\u7684\u6EDA\u52A8 5 \u5C0F\u65F6\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1779
+ icon: "umans",
1780
+ website: "https://umans.ai",
1781
+ docsUrl: "https://dev.umans.ai",
1782
+ isSystem: true,
1783
+ features: ["coding-plan"]
1784
+ };
1785
+
1622
1786
  // src/provider-presets/presets/volcengine.json
1623
1787
  var volcengine_default = {
1624
1788
  id: "volcengine",
@@ -1853,6 +2017,8 @@ var zhipu_default = {
1853
2017
  codingPlanBaseUrl: "https://api.z.ai/api/coding/paas/v4",
1854
2018
  modelsEndpoint: "https://api.z.ai/api/paas/v4/models",
1855
2019
  models: [
2020
+ "glm-5.3",
2021
+ "glm-5.3-flash",
1856
2022
  "glm-5.2",
1857
2023
  "glm-5",
1858
2024
  "glm-5.1",
@@ -1861,6 +2027,24 @@ var zhipu_default = {
1861
2027
  "glm-4.7"
1862
2028
  ],
1863
2029
  modelConfigs: [
2030
+ {
2031
+ id: "glm-5.3",
2032
+ name: "GLM-5.3",
2033
+ enabled: true,
2034
+ category: "chat",
2035
+ contextLength: 1048576,
2036
+ maxTokens: 131072,
2037
+ functionCall: true
2038
+ },
2039
+ {
2040
+ id: "glm-5.3-flash",
2041
+ name: "GLM-5.3 Flash",
2042
+ enabled: true,
2043
+ category: "chat",
2044
+ contextLength: 1048576,
2045
+ maxTokens: 131072,
2046
+ functionCall: true
2047
+ },
1864
2048
  {
1865
2049
  id: "glm-5.2",
1866
2050
  name: "GLM-5.2",
@@ -1939,6 +2123,8 @@ var zhipu_bigmodel_default = {
1939
2123
  codingPlanBaseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
1940
2124
  modelsEndpoint: "https://open.bigmodel.cn/api/paas/v4/models",
1941
2125
  models: [
2126
+ "glm-5.3",
2127
+ "glm-5.3-flash",
1942
2128
  "glm-5.2",
1943
2129
  "glm-5",
1944
2130
  "glm-5.1",
@@ -1947,6 +2133,24 @@ var zhipu_bigmodel_default = {
1947
2133
  "glm-4.7"
1948
2134
  ],
1949
2135
  modelConfigs: [
2136
+ {
2137
+ id: "glm-5.3",
2138
+ name: "GLM-5.3",
2139
+ enabled: true,
2140
+ category: "chat",
2141
+ contextLength: 1048576,
2142
+ maxTokens: 131072,
2143
+ functionCall: true
2144
+ },
2145
+ {
2146
+ id: "glm-5.3-flash",
2147
+ name: "GLM-5.3 Flash",
2148
+ enabled: true,
2149
+ category: "chat",
2150
+ contextLength: 1048576,
2151
+ maxTokens: 131072,
2152
+ functionCall: true
2153
+ },
1950
2154
  {
1951
2155
  id: "glm-5.2",
1952
2156
  name: "GLM-5.2",
@@ -2056,6 +2260,9 @@ var RAW_PRESETS_IN_ORDER = [
2056
2260
  mistral_default,
2057
2261
  together_default,
2058
2262
  perplexity_default,
2263
+ synthetic_default,
2264
+ umans_default,
2265
+ cline_pass_default,
2059
2266
  // Chinese cloud
2060
2267
  zhipu_default,
2061
2268
  zhipu_bigmodel_default,
@@ -2065,6 +2272,7 @@ var RAW_PRESETS_IN_ORDER = [
2065
2272
  tencent_default,
2066
2273
  tencent_anthropic_default,
2067
2274
  minimax_default,
2275
+ minimax_token_plan_default,
2068
2276
  baidu_default,
2069
2277
  kuaishou_default,
2070
2278
  mthreads_default,
@@ -2146,6 +2354,7 @@ var presetSchema = import_zod.z.object({
2146
2354
  maxConcurrency: import_zod.z.number().optional(),
2147
2355
  codingPlanBaseUrl: import_zod.z.string().optional(),
2148
2356
  codingPlanSeparateKey: import_zod.z.boolean().optional(),
2357
+ extraHeaders: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional(),
2149
2358
  features: import_zod.z.array(import_zod.z.string()).optional(),
2150
2359
  searchConfig: providerSearchConfigSchema.optional(),
2151
2360
  apiModes: import_zod.z.array(apiModeSchema).optional(),
@@ -1,5 +1,5 @@
1
- import { p as ProviderModelMapping, q as ProviderSearchConfig, P as PresetProviderTemplate } from '../llm-config-DeWNx1ig.cjs';
2
- export { A as API_MODE_IDS, d as ApiMode, e as ApiModeId, f as CodingPlanConfig, S as SearchCapability } from '../llm-config-DeWNx1ig.cjs';
1
+ import { p as ProviderModelMapping, q as ProviderSearchConfig, P as PresetProviderTemplate } from '../llm-config-CEZvId7g.cjs';
2
+ export { A as API_MODE_IDS, d as ApiMode, e as ApiModeId, f as CodingPlanConfig, S as SearchCapability } from '../llm-config-CEZvId7g.cjs';
3
3
  import '../thinking-CBWSLel8.cjs';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { p as ProviderModelMapping, q as ProviderSearchConfig, P as PresetProviderTemplate } from '../llm-config-CKOaFFdy.js';
2
- export { A as API_MODE_IDS, d as ApiMode, e as ApiModeId, f as CodingPlanConfig, S as SearchCapability } from '../llm-config-CKOaFFdy.js';
1
+ import { p as ProviderModelMapping, q as ProviderSearchConfig, P as PresetProviderTemplate } from '../llm-config-Dxw7F1_U.js';
2
+ export { A as API_MODE_IDS, d as ApiMode, e as ApiModeId, f as CodingPlanConfig, S as SearchCapability } from '../llm-config-Dxw7F1_U.js';
3
3
  import '../thinking-CBWSLel8.js';
4
4
 
5
5
  /**
@@ -171,6 +171,7 @@ var MAX_CONCURRENCY_DEFAULTS = {
171
171
  "zhipu-bigmodel": 5,
172
172
  kimi: 5,
173
173
  minimax: 5,
174
+ "minimax-token-plan": 5,
174
175
  dashscope: 5,
175
176
  volcengine: 5,
176
177
  tencent: 5,
@@ -472,6 +473,72 @@ var cerebras_default = {
472
473
  features: []
473
474
  };
474
475
 
476
+ // src/provider-presets/presets/cline-pass.json
477
+ var cline_pass_default = {
478
+ id: "cline-pass",
479
+ presetId: "cline-pass",
480
+ name: "Cline",
481
+ apiFormat: "openai",
482
+ api_base_url: "https://api.cline.bot/api/v1",
483
+ extraHeaders: {
484
+ "HTTP-Referer": "https://cline.bot",
485
+ "X-Title": "Cline",
486
+ "X-IS-MULTIROOT": "false",
487
+ "X-CLIENT-TYPE": "cline-sdk",
488
+ "User-Agent": "Cline/3.0.58",
489
+ "X-CLIENT-VERSION": "3.0.58",
490
+ "X-PLATFORM": "{{platform}}",
491
+ "X-PLATFORM-VERSION": "3.0.54",
492
+ "X-CORE-VERSION": "0.0.79"
493
+ },
494
+ models: [
495
+ "cline-pass/kimi-k3",
496
+ "cline-pass/glm-5.3",
497
+ "cline-pass/glm-5.3-flash",
498
+ "cline-pass/glm-5.2",
499
+ "cline-pass/deepseek-v4-pro",
500
+ "cline-pass/deepseek-v4-flash",
501
+ "cline-pass/qwen3.8-max",
502
+ "cline-pass/qwen3.7-max",
503
+ "cline-pass/qwen3.7-plus",
504
+ "cline-pass/kimi-k2.7-code",
505
+ "cline-pass/kimi-k2.6",
506
+ "cline-pass/minimax-m3",
507
+ "cline-pass/mimo-v2.5-pro",
508
+ "cline-pass/mimo-v2.5",
509
+ "cline-free/longcat-2.0",
510
+ "deepseek/deepseek-v4-flash",
511
+ "z-ai/glm-5.3-flash",
512
+ "poolside/laguna-s-2.1:free"
513
+ ],
514
+ modelConfigs: [
515
+ { id: "cline-pass/kimi-k3", name: "Kimi K3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
516
+ { id: "cline-pass/glm-5.3", name: "GLM-5.3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
517
+ { id: "cline-pass/glm-5.3-flash", name: "GLM-5.3 Flash", enabled: true, category: "code", contextLength: 1310720, functionCall: true, reasoning: true, vision: true },
518
+ { id: "cline-pass/glm-5.2", name: "GLM-5.2", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
519
+ { id: "cline-pass/deepseek-v4-pro", name: "DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
520
+ { id: "cline-pass/deepseek-v4-flash", name: "DeepSeek V4 Flash", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
521
+ { id: "cline-pass/qwen3.8-max", name: "Qwen3.8 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
522
+ { id: "cline-pass/qwen3.7-max", name: "Qwen3.7 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true },
523
+ { id: "cline-pass/qwen3.7-plus", name: "Qwen3.7 Plus", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
524
+ { id: "cline-pass/kimi-k2.7-code", name: "Kimi K2.7 Code", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
525
+ { id: "cline-pass/kimi-k2.6", name: "Kimi K2.6", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
526
+ { id: "cline-pass/minimax-m3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
527
+ { id: "cline-pass/mimo-v2.5-pro", name: "MiMo V2.5 Pro", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true },
528
+ { id: "cline-pass/mimo-v2.5", name: "MiMo V2.5", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true, vision: true },
529
+ { id: "cline-free/longcat-2.0", name: "LongCat 2.0 (free)", enabled: true, category: "code", contextLength: 1048756, functionCall: true, reasoning: true },
530
+ { id: "deepseek/deepseek-v4-flash", name: "DeepSeek V4 Flash (free)", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
531
+ { id: "z-ai/glm-5.3-flash", name: "GLM-5.3 Flash (free)", enabled: true, category: "code", contextLength: 1310720, functionCall: true, reasoning: true, vision: true },
532
+ { id: "poolside/laguna-s-2.1:free", name: "Laguna S 2.1 (free)", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true }
533
+ ],
534
+ description: "Cline \u8BA2\u9605\u901A\u884C\u8BC1\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF0C\u542B\u514D\u8D39\u6863\u6A21\u578B\uFF1B\u5728 Cline \u63A7\u5236\u53F0 Settings \u2192 API Keys \u521B\u5EFA\u5BC6\u94A5\uFF09\u3002\u8BF7\u6C42\u81EA\u52A8\u643A\u5E26 Cline \u5BA2\u6237\u7AEF\u8EAB\u4EFD\u5934\uFF08\u786C\u6027\u5951\u7EA6\uFF0C\u7F3A\u5931\u4F1A\u88AB 403\uFF09\uFF1B\u5BC6\u94A5\u7684 5 \u5C0F\u65F6/\u6BCF\u5468/\u6BCF\u6708\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
535
+ icon: "cline",
536
+ website: "https://cline.bot",
537
+ docsUrl: "https://app.cline.bot/dashboard/account",
538
+ isSystem: true,
539
+ features: ["coding-plan"]
540
+ };
541
+
475
542
  // src/provider-presets/presets/dashscope.json
476
543
  var dashscope_default = {
477
544
  id: "dashscope",
@@ -971,6 +1038,44 @@ var minimax_default = {
971
1038
  }
972
1039
  };
973
1040
 
1041
+ // src/provider-presets/presets/minimax-token-plan.json
1042
+ var minimax_token_plan_default = {
1043
+ id: "minimax-token-plan",
1044
+ presetId: "minimax",
1045
+ name: "MiniMax Token Plan",
1046
+ nameKey: "presetName.minimaxTokenPlan",
1047
+ apiFormat: "openai",
1048
+ api_base_url: "https://api.minimax.io/v1",
1049
+ models: [
1050
+ "MiniMax-M3",
1051
+ "MiniMax-M2.7",
1052
+ "MiniMax-M2.7-highspeed",
1053
+ "MiniMax-M2.5",
1054
+ "MiniMax-M2.5-highspeed",
1055
+ "MiniMax-M2.5-lightning",
1056
+ "MiniMax-M2.1",
1057
+ "MiniMax-M2.1-lightning",
1058
+ "MiniMax-M2"
1059
+ ],
1060
+ modelConfigs: [
1061
+ { id: "MiniMax-M3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 204800, functionCall: true, reasoning: true },
1062
+ { id: "MiniMax-M2.7", name: "MiniMax M2.7", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1063
+ { id: "MiniMax-M2.7-highspeed", name: "MiniMax M2.7 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1064
+ { id: "MiniMax-M2.5", name: "MiniMax M2.5", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1065
+ { id: "MiniMax-M2.5-highspeed", name: "MiniMax M2.5 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1066
+ { id: "MiniMax-M2.5-lightning", name: "MiniMax M2.5 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1067
+ { id: "MiniMax-M2.1", name: "MiniMax M2.1", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1068
+ { id: "MiniMax-M2.1-lightning", name: "MiniMax M2.1 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
1069
+ { id: "MiniMax-M2", name: "MiniMax M2", enabled: true, category: "code", contextLength: 204800, functionCall: true }
1070
+ ],
1071
+ description: "MiniMax \u8BA2\u9605 Token Plan\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u4E2D\u56FD\u5927\u9646\u7528\u6237\u53EF\u5C06 base URL \u6362\u4E3A https://api.minimaxi.com/v1\u3002\u5BC6\u94A5\u7684 5 \u5C0F\u65F6/\u5468\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1072
+ icon: "minimax",
1073
+ website: "https://platform.minimax.io",
1074
+ docsUrl: "https://platform.minimax.io/docs",
1075
+ isSystem: true,
1076
+ features: ["coding-plan"]
1077
+ };
1078
+
974
1079
  // src/provider-presets/presets/mistral.json
975
1080
  var mistral_default = {
976
1081
  id: "mistral",
@@ -1386,6 +1491,36 @@ var siliconflow_default = {
1386
1491
  ]
1387
1492
  };
1388
1493
 
1494
+ // src/provider-presets/presets/synthetic.json
1495
+ var synthetic_default = {
1496
+ id: "synthetic",
1497
+ presetId: "synthetic",
1498
+ name: "Synthetic",
1499
+ nameKey: "presetName.synthetic",
1500
+ apiFormat: "openai",
1501
+ api_base_url: "https://api.synthetic.new/openai/v1",
1502
+ models: [
1503
+ "hf:moonshotai/Kimi-K3",
1504
+ "hf:zai-org/GLM-5.3-Flash",
1505
+ "hf:zai-org/GLM-5.2",
1506
+ "hf:Qwen/Qwen3.8-27B",
1507
+ "hf:openai/gpt-oss-120b"
1508
+ ],
1509
+ modelConfigs: [
1510
+ { id: "hf:moonshotai/Kimi-K3", name: "Kimi K3", enabled: true, category: "code", functionCall: true },
1511
+ { id: "hf:zai-org/GLM-5.3-Flash", name: "GLM-5.3 Flash", enabled: true, category: "code", functionCall: true },
1512
+ { id: "hf:zai-org/GLM-5.2", name: "GLM-5.2", enabled: true, category: "code", functionCall: true },
1513
+ { id: "hf:Qwen/Qwen3.8-27B", name: "Qwen3.8 27B", enabled: true, category: "code", functionCall: true },
1514
+ { id: "hf:openai/gpt-oss-120b", name: "gpt-oss-120b", enabled: true, category: "code", functionCall: true }
1515
+ ],
1516
+ description: "Synthetic \u6258\u7BA1\u5F00\u6E90\u6A21\u578B\u8BA2\u9605\uFF08OpenAI \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u5BC6\u94A5\u7684 5 \u5C0F\u65F6\u8BF7\u6C42\u989D\u5EA6\u4E0E\u6BCF\u5468\u79EF\u5206\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1517
+ icon: "synthetic",
1518
+ website: "https://synthetic.new",
1519
+ docsUrl: "https://dev.synthetic.new/docs/api/overview",
1520
+ isSystem: true,
1521
+ features: ["coding-plan"]
1522
+ };
1523
+
1389
1524
  // src/provider-presets/presets/tencent.json
1390
1525
  var tencent_default = {
1391
1526
  id: "tencent",
@@ -1580,6 +1715,35 @@ var together_default = {
1580
1715
  features: []
1581
1716
  };
1582
1717
 
1718
+ // src/provider-presets/presets/umans.json
1719
+ var umans_default = {
1720
+ id: "umans",
1721
+ presetId: "umans",
1722
+ name: "Umans AI Coding Plan",
1723
+ nameKey: "presetName.umans",
1724
+ apiFormat: "anthropic",
1725
+ api_base_url: "https://api.code.umans.ai",
1726
+ transformer: { use: ["anthropic"] },
1727
+ models: [
1728
+ "umans-coder",
1729
+ "umans-flash",
1730
+ "umans-glm-5.3",
1731
+ "umans-deepseek-v4-pro"
1732
+ ],
1733
+ modelConfigs: [
1734
+ { id: "umans-coder", name: "Umans Coder", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true },
1735
+ { id: "umans-flash", name: "Umans Flash", enabled: true, category: "code", contextLength: 262144, functionCall: true },
1736
+ { id: "umans-glm-5.3", name: "Umans GLM-5.3", enabled: true, category: "code", contextLength: 262144, functionCall: true },
1737
+ { id: "umans-deepseek-v4-pro", name: "Umans DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 262144, functionCall: true }
1738
+ ],
1739
+ description: "Umans AI Coding Plan\uFF08Anthropic Messages \u517C\u5BB9\u7AEF\u70B9\uFF09\u3002\u5BC6\u94A5\u7684\u6EDA\u52A8 5 \u5C0F\u65F6\u7528\u91CF\u4F1A\u81EA\u52A8\u663E\u793A\u5728\u5BC6\u94A5\u5217\u8868\u3002",
1740
+ icon: "umans",
1741
+ website: "https://umans.ai",
1742
+ docsUrl: "https://dev.umans.ai",
1743
+ isSystem: true,
1744
+ features: ["coding-plan"]
1745
+ };
1746
+
1583
1747
  // src/provider-presets/presets/volcengine.json
1584
1748
  var volcengine_default = {
1585
1749
  id: "volcengine",
@@ -1814,6 +1978,8 @@ var zhipu_default = {
1814
1978
  codingPlanBaseUrl: "https://api.z.ai/api/coding/paas/v4",
1815
1979
  modelsEndpoint: "https://api.z.ai/api/paas/v4/models",
1816
1980
  models: [
1981
+ "glm-5.3",
1982
+ "glm-5.3-flash",
1817
1983
  "glm-5.2",
1818
1984
  "glm-5",
1819
1985
  "glm-5.1",
@@ -1822,6 +1988,24 @@ var zhipu_default = {
1822
1988
  "glm-4.7"
1823
1989
  ],
1824
1990
  modelConfigs: [
1991
+ {
1992
+ id: "glm-5.3",
1993
+ name: "GLM-5.3",
1994
+ enabled: true,
1995
+ category: "chat",
1996
+ contextLength: 1048576,
1997
+ maxTokens: 131072,
1998
+ functionCall: true
1999
+ },
2000
+ {
2001
+ id: "glm-5.3-flash",
2002
+ name: "GLM-5.3 Flash",
2003
+ enabled: true,
2004
+ category: "chat",
2005
+ contextLength: 1048576,
2006
+ maxTokens: 131072,
2007
+ functionCall: true
2008
+ },
1825
2009
  {
1826
2010
  id: "glm-5.2",
1827
2011
  name: "GLM-5.2",
@@ -1900,6 +2084,8 @@ var zhipu_bigmodel_default = {
1900
2084
  codingPlanBaseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
1901
2085
  modelsEndpoint: "https://open.bigmodel.cn/api/paas/v4/models",
1902
2086
  models: [
2087
+ "glm-5.3",
2088
+ "glm-5.3-flash",
1903
2089
  "glm-5.2",
1904
2090
  "glm-5",
1905
2091
  "glm-5.1",
@@ -1908,6 +2094,24 @@ var zhipu_bigmodel_default = {
1908
2094
  "glm-4.7"
1909
2095
  ],
1910
2096
  modelConfigs: [
2097
+ {
2098
+ id: "glm-5.3",
2099
+ name: "GLM-5.3",
2100
+ enabled: true,
2101
+ category: "chat",
2102
+ contextLength: 1048576,
2103
+ maxTokens: 131072,
2104
+ functionCall: true
2105
+ },
2106
+ {
2107
+ id: "glm-5.3-flash",
2108
+ name: "GLM-5.3 Flash",
2109
+ enabled: true,
2110
+ category: "chat",
2111
+ contextLength: 1048576,
2112
+ maxTokens: 131072,
2113
+ functionCall: true
2114
+ },
1911
2115
  {
1912
2116
  id: "glm-5.2",
1913
2117
  name: "GLM-5.2",
@@ -2017,6 +2221,9 @@ var RAW_PRESETS_IN_ORDER = [
2017
2221
  mistral_default,
2018
2222
  together_default,
2019
2223
  perplexity_default,
2224
+ synthetic_default,
2225
+ umans_default,
2226
+ cline_pass_default,
2020
2227
  // Chinese cloud
2021
2228
  zhipu_default,
2022
2229
  zhipu_bigmodel_default,
@@ -2026,6 +2233,7 @@ var RAW_PRESETS_IN_ORDER = [
2026
2233
  tencent_default,
2027
2234
  tencent_anthropic_default,
2028
2235
  minimax_default,
2236
+ minimax_token_plan_default,
2029
2237
  baidu_default,
2030
2238
  kuaishou_default,
2031
2239
  mthreads_default,
@@ -2107,6 +2315,7 @@ var presetSchema = z.object({
2107
2315
  maxConcurrency: z.number().optional(),
2108
2316
  codingPlanBaseUrl: z.string().optional(),
2109
2317
  codingPlanSeparateKey: z.boolean().optional(),
2318
+ extraHeaders: z.record(z.string(), z.string()).optional(),
2110
2319
  features: z.array(z.string()).optional(),
2111
2320
  searchConfig: providerSearchConfigSchema.optional(),
2112
2321
  apiModes: z.array(apiModeSchema).optional(),