@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.
- package/dist/account-tokens-types.d.cts +76 -1
- package/dist/account-tokens-types.d.ts +76 -1
- package/dist/canonical-models.cjs +49 -4
- package/dist/canonical-models.d.cts +1 -1
- package/dist/canonical-models.d.ts +1 -1
- package/dist/canonical-models.js +49 -4
- package/dist/endpoint-resolver.d.cts +1 -1
- package/dist/endpoint-resolver.d.ts +1 -1
- package/dist/index.cjs +328 -6
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +328 -6
- package/dist/{llm-config-DeWNx1ig.d.cts → llm-config-CEZvId7g.d.cts} +18 -0
- package/dist/{llm-config-CKOaFFdy.d.ts → llm-config-Dxw7F1_U.d.ts} +18 -0
- package/dist/llm-config.d.cts +1 -1
- package/dist/llm-config.d.ts +1 -1
- package/dist/provider-presets/index.cjs +209 -0
- package/dist/provider-presets/index.d.cts +2 -2
- package/dist/provider-presets/index.d.ts +2 -2
- package/dist/provider-presets/index.js +209 -0
- package/dist/subscription-model-catalog.cjs +70 -2
- package/dist/subscription-model-catalog.d.cts +1 -1
- package/dist/subscription-model-catalog.d.ts +1 -1
- package/dist/subscription-model-catalog.js +70 -2
- package/dist/subscription-types.d.cts +1 -1
- package/dist/subscription-types.d.ts +1 -1
- package/dist/thinking-config.cjs +49 -4
- package/dist/thinking-config.d.cts +1 -1
- package/dist/thinking-config.d.ts +1 -1
- package/dist/thinking-config.js +49 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -133,19 +133,56 @@ var ANTHROPIC_MODELS = {
|
|
|
133
133
|
"claude-opus-4-6[1m]": { category: "reasoning", contextLength: 1e6, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high", "xhigh", "max"], thinkingTokenLimit: { min: 1024, max: 128e3 } },
|
|
134
134
|
"claude-sonnet-4-6": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high", "xhigh", "max"], thinkingTokenLimit: { min: 1024, max: 64e3 } },
|
|
135
135
|
"claude-sonnet-4-6[1m]": { category: "chat", contextLength: 1e6, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high", "xhigh", "max"], thinkingTokenLimit: { min: 1024, max: 64e3 } },
|
|
136
|
-
"claude-haiku-4-5": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high", "xhigh", "max"], thinkingTokenLimit: { min: 1024, max: 64e3 } }
|
|
136
|
+
"claude-haiku-4-5": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high", "xhigh", "max"], thinkingTokenLimit: { min: 1024, max: 64e3 } },
|
|
137
|
+
// Copilot-served variants (same model family on the Copilot API; context
|
|
138
|
+
// windows per the Copilot catalog where it diverges from the family default).
|
|
139
|
+
"claude-opus-4-5": { category: "reasoning", contextLength: 2e5, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true },
|
|
140
|
+
"claude-sonnet-4-5": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true },
|
|
141
|
+
"claude-sonnet-4": { category: "chat", contextLength: 216e3, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true }
|
|
137
142
|
};
|
|
138
143
|
var GEMINI_MODELS = {
|
|
139
144
|
"gemini-3.5-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 24576 } },
|
|
140
145
|
"gemini-3-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 24576 } },
|
|
141
|
-
"gemini-3.1-pro": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 128, max: 32768 } }
|
|
146
|
+
"gemini-3.1-pro": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 128, max: 32768 } },
|
|
147
|
+
// Copilot-served variants (chat-completions wire on the Copilot API).
|
|
148
|
+
"gemini-3.1-pro-preview": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"] },
|
|
149
|
+
"gemini-3.6-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
150
|
+
"gemini-3.7-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
151
|
+
"gemini-3-pro-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
152
|
+
"gemini-3-flash-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
153
|
+
"gemini-2.5-pro": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true }
|
|
142
154
|
};
|
|
143
155
|
var GROK_MODELS = {
|
|
144
156
|
"grok-4.5": { category: "chat", contextLength: 5e5, maxTokens: 32768, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
145
157
|
"grok-4.3": { category: "chat", contextLength: 1e6, maxTokens: 32768, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
146
158
|
"grok-4.20": { category: "chat", contextLength: 131072, maxTokens: 32768, vision: true, functionCall: true },
|
|
147
159
|
"grok-4.20-reasoning": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, vision: true, functionCall: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
148
|
-
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } }
|
|
160
|
+
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
161
|
+
// SuperGrok subscription ids (Responses wire). Upstream context/output caps
|
|
162
|
+
// per the audit source; the effort-taking models accept low/medium/high only
|
|
163
|
+
// (minimal→low, xhigh/max→high), and the omit-effort models carry
|
|
164
|
+
// `thinkingLevels: ['none']` so the effort negotiation drops the
|
|
165
|
+
// `reasoning.effort` field entirely (sending it upstream is a 400).
|
|
166
|
+
"grok-4.6": { category: "chat", contextLength: 5e5, maxTokens: 5e5, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
167
|
+
"grok-4.20-0309-non-reasoning": { category: "chat", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, thinkingLevels: ["none"] },
|
|
168
|
+
"grok-4.20-0309-reasoning": { category: "reasoning", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
169
|
+
"grok-4.20-multi-agent-0309": { category: "reasoning", contextLength: 2e6, maxTokens: 2e6, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
170
|
+
"grok-build": { category: "reasoning", contextLength: 512e3, maxTokens: 512e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
171
|
+
"grok-build-0.1": { category: "reasoning", contextLength: 256e3, maxTokens: 256e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
172
|
+
"grok-composer-2.5-fast": { category: "chat", contextLength: 2e5, maxTokens: 2e5, functionCall: true, thinkingLevels: ["none"] }
|
|
173
|
+
};
|
|
174
|
+
var COPILOT_MODELS = {
|
|
175
|
+
"gpt-5.1-codex-max": { category: "code", contextLength: 272e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
176
|
+
"gpt-5.1-codex-mini": { category: "code", contextLength: 272e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
177
|
+
"gpt-5.2-codex": { category: "code", contextLength: 272e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
178
|
+
"gpt-5.1-codex": { category: "code", contextLength: 272e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
179
|
+
"gpt-5.1": { category: "reasoning", contextLength: 264e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
180
|
+
"gpt-5-mini": { category: "reasoning", contextLength: 264e3, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
181
|
+
"gpt-5.4-nano": { category: "reasoning", contextLength: 4e5, maxTokens: 128e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
182
|
+
"grok-code-fast-1": { category: "code", contextLength: 192e3, maxTokens: 32768, functionCall: true, reasoning: true },
|
|
183
|
+
"raptor-mini": { category: "reasoning", contextLength: 4e5, maxTokens: 65536, functionCall: true, reasoning: true, vision: true },
|
|
184
|
+
"mai-code-1-flash-picker": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
185
|
+
"mai-code-1.1-flash": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, vision: true, thinkingLevels: ["none", "low", "medium", "high"] }
|
|
149
186
|
};
|
|
150
187
|
var DEEPSEEK_MODELS = {
|
|
151
188
|
"deepseek-v4-flash": { category: "chat", contextLength: 1e6, maxTokens: 384e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "high", "max"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
@@ -155,6 +192,8 @@ var DEEPSEEK_MODELS = {
|
|
|
155
192
|
"deepseek-r1": { category: "reasoning", contextLength: 64e3, maxTokens: 8192, reasoning: true, thinkingTokenLimit: { min: 0, max: 32768 } }
|
|
156
193
|
};
|
|
157
194
|
var ZHIPU_MODELS = {
|
|
195
|
+
"glm-5.3": { category: "chat", contextLength: 1048576, maxTokens: 131072, functionCall: true },
|
|
196
|
+
"glm-5.3-flash": { category: "chat", contextLength: 1048576, maxTokens: 131072, functionCall: true },
|
|
158
197
|
"glm-5.2": { category: "chat", contextLength: 1048576, maxTokens: 131072, functionCall: true },
|
|
159
198
|
"glm-5": { category: "chat", contextLength: 2e5, maxTokens: 128e3, functionCall: true },
|
|
160
199
|
"glm-5.1": { category: "chat", contextLength: 2e5, maxTokens: 128e3, functionCall: true },
|
|
@@ -189,10 +228,15 @@ var TENCENT_HUNYUAN_MODELS = {
|
|
|
189
228
|
"hunyuan-turbos": { category: "chat", functionCall: true }
|
|
190
229
|
};
|
|
191
230
|
var MINIMAX_MODELS = {
|
|
231
|
+
"minimax-m3": { category: "code", contextLength: 204800, functionCall: true, reasoning: true },
|
|
232
|
+
"minimax-m2.7": { category: "code", contextLength: 204800, functionCall: true },
|
|
233
|
+
"minimax-m2.7-highspeed": { category: "code", contextLength: 204800, functionCall: true },
|
|
192
234
|
"minimax-m2.5": { category: "code", contextLength: 204800, functionCall: true },
|
|
193
235
|
"minimax-m2.5-highspeed": { category: "code", contextLength: 204800, functionCall: true },
|
|
236
|
+
"minimax-m2.5-lightning": { category: "code", contextLength: 204800, functionCall: true },
|
|
194
237
|
"minimax-m2.1": { category: "code", contextLength: 204800, functionCall: true },
|
|
195
|
-
"minimax-m2.1-
|
|
238
|
+
"minimax-m2.1-lightning": { category: "code", contextLength: 204800, functionCall: true },
|
|
239
|
+
"minimax-m2": { category: "code", contextLength: 204800, functionCall: true }
|
|
196
240
|
};
|
|
197
241
|
var XIAOMI_MIMO_CANONICAL = {
|
|
198
242
|
"mimo-v2.5": { category: "code", contextLength: 1e6, maxTokens: 32768, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
@@ -234,6 +278,7 @@ var VENDOR_GROUPS = [
|
|
|
234
278
|
{ name: "ANTHROPIC_MODELS", entries: ANTHROPIC_MODELS },
|
|
235
279
|
{ name: "GEMINI_MODELS", entries: GEMINI_MODELS },
|
|
236
280
|
{ name: "GROK_MODELS", entries: GROK_MODELS },
|
|
281
|
+
{ name: "COPILOT_MODELS", entries: COPILOT_MODELS },
|
|
237
282
|
{ name: "DEEPSEEK_MODELS", entries: DEEPSEEK_MODELS },
|
|
238
283
|
{ name: "ZHIPU_MODELS", entries: ZHIPU_MODELS },
|
|
239
284
|
{ name: "KIMI_MODELS", entries: KIMI_MODELS },
|
|
@@ -601,6 +646,7 @@ var MAX_CONCURRENCY_DEFAULTS = {
|
|
|
601
646
|
"zhipu-bigmodel": 5,
|
|
602
647
|
kimi: 5,
|
|
603
648
|
minimax: 5,
|
|
649
|
+
"minimax-token-plan": 5,
|
|
604
650
|
dashscope: 5,
|
|
605
651
|
volcengine: 5,
|
|
606
652
|
tencent: 5,
|
|
@@ -902,6 +948,72 @@ var cerebras_default = {
|
|
|
902
948
|
features: []
|
|
903
949
|
};
|
|
904
950
|
|
|
951
|
+
// src/provider-presets/presets/cline-pass.json
|
|
952
|
+
var cline_pass_default = {
|
|
953
|
+
id: "cline-pass",
|
|
954
|
+
presetId: "cline-pass",
|
|
955
|
+
name: "Cline",
|
|
956
|
+
apiFormat: "openai",
|
|
957
|
+
api_base_url: "https://api.cline.bot/api/v1",
|
|
958
|
+
extraHeaders: {
|
|
959
|
+
"HTTP-Referer": "https://cline.bot",
|
|
960
|
+
"X-Title": "Cline",
|
|
961
|
+
"X-IS-MULTIROOT": "false",
|
|
962
|
+
"X-CLIENT-TYPE": "cline-sdk",
|
|
963
|
+
"User-Agent": "Cline/3.0.58",
|
|
964
|
+
"X-CLIENT-VERSION": "3.0.58",
|
|
965
|
+
"X-PLATFORM": "{{platform}}",
|
|
966
|
+
"X-PLATFORM-VERSION": "3.0.54",
|
|
967
|
+
"X-CORE-VERSION": "0.0.79"
|
|
968
|
+
},
|
|
969
|
+
models: [
|
|
970
|
+
"cline-pass/kimi-k3",
|
|
971
|
+
"cline-pass/glm-5.3",
|
|
972
|
+
"cline-pass/glm-5.3-flash",
|
|
973
|
+
"cline-pass/glm-5.2",
|
|
974
|
+
"cline-pass/deepseek-v4-pro",
|
|
975
|
+
"cline-pass/deepseek-v4-flash",
|
|
976
|
+
"cline-pass/qwen3.8-max",
|
|
977
|
+
"cline-pass/qwen3.7-max",
|
|
978
|
+
"cline-pass/qwen3.7-plus",
|
|
979
|
+
"cline-pass/kimi-k2.7-code",
|
|
980
|
+
"cline-pass/kimi-k2.6",
|
|
981
|
+
"cline-pass/minimax-m3",
|
|
982
|
+
"cline-pass/mimo-v2.5-pro",
|
|
983
|
+
"cline-pass/mimo-v2.5",
|
|
984
|
+
"cline-free/longcat-2.0",
|
|
985
|
+
"deepseek/deepseek-v4-flash",
|
|
986
|
+
"z-ai/glm-5.3-flash",
|
|
987
|
+
"poolside/laguna-s-2.1:free"
|
|
988
|
+
],
|
|
989
|
+
modelConfigs: [
|
|
990
|
+
{ id: "cline-pass/kimi-k3", name: "Kimi K3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
|
|
991
|
+
{ id: "cline-pass/glm-5.3", name: "GLM-5.3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
|
|
992
|
+
{ id: "cline-pass/glm-5.3-flash", name: "GLM-5.3 Flash", enabled: true, category: "code", contextLength: 1310720, functionCall: true, reasoning: true, vision: true },
|
|
993
|
+
{ id: "cline-pass/glm-5.2", name: "GLM-5.2", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
|
|
994
|
+
{ id: "cline-pass/deepseek-v4-pro", name: "DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
|
|
995
|
+
{ id: "cline-pass/deepseek-v4-flash", name: "DeepSeek V4 Flash", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
|
|
996
|
+
{ id: "cline-pass/qwen3.8-max", name: "Qwen3.8 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
|
|
997
|
+
{ id: "cline-pass/qwen3.7-max", name: "Qwen3.7 Max", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true },
|
|
998
|
+
{ id: "cline-pass/qwen3.7-plus", name: "Qwen3.7 Plus", enabled: true, category: "code", contextLength: 1e6, functionCall: true, reasoning: true, vision: true },
|
|
999
|
+
{ id: "cline-pass/kimi-k2.7-code", name: "Kimi K2.7 Code", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
|
|
1000
|
+
{ id: "cline-pass/kimi-k2.6", name: "Kimi K2.6", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true, vision: true },
|
|
1001
|
+
{ id: "cline-pass/minimax-m3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true, vision: true },
|
|
1002
|
+
{ id: "cline-pass/mimo-v2.5-pro", name: "MiMo V2.5 Pro", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true },
|
|
1003
|
+
{ id: "cline-pass/mimo-v2.5", name: "MiMo V2.5", enabled: true, category: "code", contextLength: 105e4, functionCall: true, reasoning: true, vision: true },
|
|
1004
|
+
{ id: "cline-free/longcat-2.0", name: "LongCat 2.0 (free)", enabled: true, category: "code", contextLength: 1048756, functionCall: true, reasoning: true },
|
|
1005
|
+
{ id: "deepseek/deepseek-v4-flash", name: "DeepSeek V4 Flash (free)", enabled: true, category: "code", contextLength: 1048576, functionCall: true, reasoning: true },
|
|
1006
|
+
{ 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 },
|
|
1007
|
+
{ id: "poolside/laguna-s-2.1:free", name: "Laguna S 2.1 (free)", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true }
|
|
1008
|
+
],
|
|
1009
|
+
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",
|
|
1010
|
+
icon: "cline",
|
|
1011
|
+
website: "https://cline.bot",
|
|
1012
|
+
docsUrl: "https://app.cline.bot/dashboard/account",
|
|
1013
|
+
isSystem: true,
|
|
1014
|
+
features: ["coding-plan"]
|
|
1015
|
+
};
|
|
1016
|
+
|
|
905
1017
|
// src/provider-presets/presets/dashscope.json
|
|
906
1018
|
var dashscope_default = {
|
|
907
1019
|
id: "dashscope",
|
|
@@ -1401,6 +1513,44 @@ var minimax_default = {
|
|
|
1401
1513
|
}
|
|
1402
1514
|
};
|
|
1403
1515
|
|
|
1516
|
+
// src/provider-presets/presets/minimax-token-plan.json
|
|
1517
|
+
var minimax_token_plan_default = {
|
|
1518
|
+
id: "minimax-token-plan",
|
|
1519
|
+
presetId: "minimax",
|
|
1520
|
+
name: "MiniMax Token Plan",
|
|
1521
|
+
nameKey: "presetName.minimaxTokenPlan",
|
|
1522
|
+
apiFormat: "openai",
|
|
1523
|
+
api_base_url: "https://api.minimax.io/v1",
|
|
1524
|
+
models: [
|
|
1525
|
+
"MiniMax-M3",
|
|
1526
|
+
"MiniMax-M2.7",
|
|
1527
|
+
"MiniMax-M2.7-highspeed",
|
|
1528
|
+
"MiniMax-M2.5",
|
|
1529
|
+
"MiniMax-M2.5-highspeed",
|
|
1530
|
+
"MiniMax-M2.5-lightning",
|
|
1531
|
+
"MiniMax-M2.1",
|
|
1532
|
+
"MiniMax-M2.1-lightning",
|
|
1533
|
+
"MiniMax-M2"
|
|
1534
|
+
],
|
|
1535
|
+
modelConfigs: [
|
|
1536
|
+
{ id: "MiniMax-M3", name: "MiniMax M3", enabled: true, category: "code", contextLength: 204800, functionCall: true, reasoning: true },
|
|
1537
|
+
{ id: "MiniMax-M2.7", name: "MiniMax M2.7", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1538
|
+
{ id: "MiniMax-M2.7-highspeed", name: "MiniMax M2.7 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1539
|
+
{ id: "MiniMax-M2.5", name: "MiniMax M2.5", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1540
|
+
{ id: "MiniMax-M2.5-highspeed", name: "MiniMax M2.5 \u6781\u901F\u7248", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1541
|
+
{ id: "MiniMax-M2.5-lightning", name: "MiniMax M2.5 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1542
|
+
{ id: "MiniMax-M2.1", name: "MiniMax M2.1", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1543
|
+
{ id: "MiniMax-M2.1-lightning", name: "MiniMax M2.1 Lightning", enabled: true, category: "code", contextLength: 204800, functionCall: true },
|
|
1544
|
+
{ id: "MiniMax-M2", name: "MiniMax M2", enabled: true, category: "code", contextLength: 204800, functionCall: true }
|
|
1545
|
+
],
|
|
1546
|
+
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",
|
|
1547
|
+
icon: "minimax",
|
|
1548
|
+
website: "https://platform.minimax.io",
|
|
1549
|
+
docsUrl: "https://platform.minimax.io/docs",
|
|
1550
|
+
isSystem: true,
|
|
1551
|
+
features: ["coding-plan"]
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1404
1554
|
// src/provider-presets/presets/mistral.json
|
|
1405
1555
|
var mistral_default = {
|
|
1406
1556
|
id: "mistral",
|
|
@@ -1816,6 +1966,36 @@ var siliconflow_default = {
|
|
|
1816
1966
|
]
|
|
1817
1967
|
};
|
|
1818
1968
|
|
|
1969
|
+
// src/provider-presets/presets/synthetic.json
|
|
1970
|
+
var synthetic_default = {
|
|
1971
|
+
id: "synthetic",
|
|
1972
|
+
presetId: "synthetic",
|
|
1973
|
+
name: "Synthetic",
|
|
1974
|
+
nameKey: "presetName.synthetic",
|
|
1975
|
+
apiFormat: "openai",
|
|
1976
|
+
api_base_url: "https://api.synthetic.new/openai/v1",
|
|
1977
|
+
models: [
|
|
1978
|
+
"hf:moonshotai/Kimi-K3",
|
|
1979
|
+
"hf:zai-org/GLM-5.3-Flash",
|
|
1980
|
+
"hf:zai-org/GLM-5.2",
|
|
1981
|
+
"hf:Qwen/Qwen3.8-27B",
|
|
1982
|
+
"hf:openai/gpt-oss-120b"
|
|
1983
|
+
],
|
|
1984
|
+
modelConfigs: [
|
|
1985
|
+
{ id: "hf:moonshotai/Kimi-K3", name: "Kimi K3", enabled: true, category: "code", functionCall: true },
|
|
1986
|
+
{ id: "hf:zai-org/GLM-5.3-Flash", name: "GLM-5.3 Flash", enabled: true, category: "code", functionCall: true },
|
|
1987
|
+
{ id: "hf:zai-org/GLM-5.2", name: "GLM-5.2", enabled: true, category: "code", functionCall: true },
|
|
1988
|
+
{ id: "hf:Qwen/Qwen3.8-27B", name: "Qwen3.8 27B", enabled: true, category: "code", functionCall: true },
|
|
1989
|
+
{ id: "hf:openai/gpt-oss-120b", name: "gpt-oss-120b", enabled: true, category: "code", functionCall: true }
|
|
1990
|
+
],
|
|
1991
|
+
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",
|
|
1992
|
+
icon: "synthetic",
|
|
1993
|
+
website: "https://synthetic.new",
|
|
1994
|
+
docsUrl: "https://dev.synthetic.new/docs/api/overview",
|
|
1995
|
+
isSystem: true,
|
|
1996
|
+
features: ["coding-plan"]
|
|
1997
|
+
};
|
|
1998
|
+
|
|
1819
1999
|
// src/provider-presets/presets/tencent.json
|
|
1820
2000
|
var tencent_default = {
|
|
1821
2001
|
id: "tencent",
|
|
@@ -2010,6 +2190,35 @@ var together_default = {
|
|
|
2010
2190
|
features: []
|
|
2011
2191
|
};
|
|
2012
2192
|
|
|
2193
|
+
// src/provider-presets/presets/umans.json
|
|
2194
|
+
var umans_default = {
|
|
2195
|
+
id: "umans",
|
|
2196
|
+
presetId: "umans",
|
|
2197
|
+
name: "Umans AI Coding Plan",
|
|
2198
|
+
nameKey: "presetName.umans",
|
|
2199
|
+
apiFormat: "anthropic",
|
|
2200
|
+
api_base_url: "https://api.code.umans.ai",
|
|
2201
|
+
transformer: { use: ["anthropic"] },
|
|
2202
|
+
models: [
|
|
2203
|
+
"umans-coder",
|
|
2204
|
+
"umans-flash",
|
|
2205
|
+
"umans-glm-5.3",
|
|
2206
|
+
"umans-deepseek-v4-pro"
|
|
2207
|
+
],
|
|
2208
|
+
modelConfigs: [
|
|
2209
|
+
{ id: "umans-coder", name: "Umans Coder", enabled: true, category: "code", contextLength: 262144, functionCall: true, reasoning: true },
|
|
2210
|
+
{ id: "umans-flash", name: "Umans Flash", enabled: true, category: "code", contextLength: 262144, functionCall: true },
|
|
2211
|
+
{ id: "umans-glm-5.3", name: "Umans GLM-5.3", enabled: true, category: "code", contextLength: 262144, functionCall: true },
|
|
2212
|
+
{ id: "umans-deepseek-v4-pro", name: "Umans DeepSeek V4 Pro", enabled: true, category: "code", contextLength: 262144, functionCall: true }
|
|
2213
|
+
],
|
|
2214
|
+
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",
|
|
2215
|
+
icon: "umans",
|
|
2216
|
+
website: "https://umans.ai",
|
|
2217
|
+
docsUrl: "https://dev.umans.ai",
|
|
2218
|
+
isSystem: true,
|
|
2219
|
+
features: ["coding-plan"]
|
|
2220
|
+
};
|
|
2221
|
+
|
|
2013
2222
|
// src/provider-presets/presets/volcengine.json
|
|
2014
2223
|
var volcengine_default = {
|
|
2015
2224
|
id: "volcengine",
|
|
@@ -2244,6 +2453,8 @@ var zhipu_default = {
|
|
|
2244
2453
|
codingPlanBaseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
2245
2454
|
modelsEndpoint: "https://api.z.ai/api/paas/v4/models",
|
|
2246
2455
|
models: [
|
|
2456
|
+
"glm-5.3",
|
|
2457
|
+
"glm-5.3-flash",
|
|
2247
2458
|
"glm-5.2",
|
|
2248
2459
|
"glm-5",
|
|
2249
2460
|
"glm-5.1",
|
|
@@ -2252,6 +2463,24 @@ var zhipu_default = {
|
|
|
2252
2463
|
"glm-4.7"
|
|
2253
2464
|
],
|
|
2254
2465
|
modelConfigs: [
|
|
2466
|
+
{
|
|
2467
|
+
id: "glm-5.3",
|
|
2468
|
+
name: "GLM-5.3",
|
|
2469
|
+
enabled: true,
|
|
2470
|
+
category: "chat",
|
|
2471
|
+
contextLength: 1048576,
|
|
2472
|
+
maxTokens: 131072,
|
|
2473
|
+
functionCall: true
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
id: "glm-5.3-flash",
|
|
2477
|
+
name: "GLM-5.3 Flash",
|
|
2478
|
+
enabled: true,
|
|
2479
|
+
category: "chat",
|
|
2480
|
+
contextLength: 1048576,
|
|
2481
|
+
maxTokens: 131072,
|
|
2482
|
+
functionCall: true
|
|
2483
|
+
},
|
|
2255
2484
|
{
|
|
2256
2485
|
id: "glm-5.2",
|
|
2257
2486
|
name: "GLM-5.2",
|
|
@@ -2330,6 +2559,8 @@ var zhipu_bigmodel_default = {
|
|
|
2330
2559
|
codingPlanBaseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
|
|
2331
2560
|
modelsEndpoint: "https://open.bigmodel.cn/api/paas/v4/models",
|
|
2332
2561
|
models: [
|
|
2562
|
+
"glm-5.3",
|
|
2563
|
+
"glm-5.3-flash",
|
|
2333
2564
|
"glm-5.2",
|
|
2334
2565
|
"glm-5",
|
|
2335
2566
|
"glm-5.1",
|
|
@@ -2338,6 +2569,24 @@ var zhipu_bigmodel_default = {
|
|
|
2338
2569
|
"glm-4.7"
|
|
2339
2570
|
],
|
|
2340
2571
|
modelConfigs: [
|
|
2572
|
+
{
|
|
2573
|
+
id: "glm-5.3",
|
|
2574
|
+
name: "GLM-5.3",
|
|
2575
|
+
enabled: true,
|
|
2576
|
+
category: "chat",
|
|
2577
|
+
contextLength: 1048576,
|
|
2578
|
+
maxTokens: 131072,
|
|
2579
|
+
functionCall: true
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
id: "glm-5.3-flash",
|
|
2583
|
+
name: "GLM-5.3 Flash",
|
|
2584
|
+
enabled: true,
|
|
2585
|
+
category: "chat",
|
|
2586
|
+
contextLength: 1048576,
|
|
2587
|
+
maxTokens: 131072,
|
|
2588
|
+
functionCall: true
|
|
2589
|
+
},
|
|
2341
2590
|
{
|
|
2342
2591
|
id: "glm-5.2",
|
|
2343
2592
|
name: "GLM-5.2",
|
|
@@ -2447,6 +2696,9 @@ var RAW_PRESETS_IN_ORDER = [
|
|
|
2447
2696
|
mistral_default,
|
|
2448
2697
|
together_default,
|
|
2449
2698
|
perplexity_default,
|
|
2699
|
+
synthetic_default,
|
|
2700
|
+
umans_default,
|
|
2701
|
+
cline_pass_default,
|
|
2450
2702
|
// Chinese cloud
|
|
2451
2703
|
zhipu_default,
|
|
2452
2704
|
zhipu_bigmodel_default,
|
|
@@ -2456,6 +2708,7 @@ var RAW_PRESETS_IN_ORDER = [
|
|
|
2456
2708
|
tencent_default,
|
|
2457
2709
|
tencent_anthropic_default,
|
|
2458
2710
|
minimax_default,
|
|
2711
|
+
minimax_token_plan_default,
|
|
2459
2712
|
baidu_default,
|
|
2460
2713
|
kuaishou_default,
|
|
2461
2714
|
mthreads_default,
|
|
@@ -2537,6 +2790,7 @@ var presetSchema = import_zod.z.object({
|
|
|
2537
2790
|
maxConcurrency: import_zod.z.number().optional(),
|
|
2538
2791
|
codingPlanBaseUrl: import_zod.z.string().optional(),
|
|
2539
2792
|
codingPlanSeparateKey: import_zod.z.boolean().optional(),
|
|
2793
|
+
extraHeaders: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional(),
|
|
2540
2794
|
features: import_zod.z.array(import_zod.z.string()).optional(),
|
|
2541
2795
|
searchConfig: providerSearchConfigSchema.optional(),
|
|
2542
2796
|
apiModes: import_zod.z.array(apiModeSchema).optional(),
|
|
@@ -2757,9 +3011,77 @@ function describeUnknownError(value) {
|
|
|
2757
3011
|
// src/subscription-model-catalog.ts
|
|
2758
3012
|
var SUBSCRIPTION_MODEL_CATALOG = {
|
|
2759
3013
|
claude: ["claude-haiku-4-5", "claude-sonnet-5", "claude-opus-5", "claude-fable-5"],
|
|
2760
|
-
codex: ["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"],
|
|
3014
|
+
codex: ["gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol", "gpt-6-astra"],
|
|
2761
3015
|
gemini: [],
|
|
2762
|
-
opencodego: []
|
|
3016
|
+
opencodego: [],
|
|
3017
|
+
// Kimi Code's subscription catalog (the official CLI's built-ins + the
|
|
3018
|
+
// k2.6/k2.7-code coding models, small → large).
|
|
3019
|
+
kimi: ["kimi-k2.5", "kimi-k2.6", "kimi-k2.7-code", "kimi-k3", "kimi-for-coding", "kimi-for-coding-highspeed"],
|
|
3020
|
+
// SuperGrok's Responses-wire catalog (verified ids from the audit source,
|
|
3021
|
+
// small → large; the grok-build / composer models are plan-gated products).
|
|
3022
|
+
grok: [
|
|
3023
|
+
"grok-composer-2.5-fast",
|
|
3024
|
+
"grok-build-0.1",
|
|
3025
|
+
"grok-build",
|
|
3026
|
+
"grok-4.5",
|
|
3027
|
+
"grok-4.6",
|
|
3028
|
+
"grok-4.3",
|
|
3029
|
+
"grok-4.20-0309-non-reasoning",
|
|
3030
|
+
"grok-4.20-0309-reasoning",
|
|
3031
|
+
"grok-4.20-multi-agent-0309"
|
|
3032
|
+
],
|
|
3033
|
+
// GitHub Copilot's mixed-wire catalog (verified ids from the audit source,
|
|
3034
|
+
// grouped by wire then small → large). The per-model wire each id rides is
|
|
3035
|
+
// mapped in `@omnicross/subscriptions`' copilot module (this list only feeds
|
|
3036
|
+
// the picker).
|
|
3037
|
+
copilot: [
|
|
3038
|
+
// anthropic-messages face (Claude family)
|
|
3039
|
+
"claude-haiku-4.5",
|
|
3040
|
+
"claude-sonnet-4.5",
|
|
3041
|
+
"claude-sonnet-4.6",
|
|
3042
|
+
"claude-opus-4.5",
|
|
3043
|
+
"claude-opus-4.6",
|
|
3044
|
+
"claude-opus-4.7",
|
|
3045
|
+
"claude-opus-4.8",
|
|
3046
|
+
"claude-sonnet-5",
|
|
3047
|
+
"claude-opus-5",
|
|
3048
|
+
"claude-fable-5",
|
|
3049
|
+
// openai-chat face
|
|
3050
|
+
"gpt-4o",
|
|
3051
|
+
"gpt-4.1",
|
|
3052
|
+
"grok-code-fast-1",
|
|
3053
|
+
"gemini-2.5-pro",
|
|
3054
|
+
"gemini-3.5-flash",
|
|
3055
|
+
"gemini-3-flash-preview",
|
|
3056
|
+
"gemini-3-pro-preview",
|
|
3057
|
+
"gemini-3.6-flash",
|
|
3058
|
+
"gemini-3.7-flash",
|
|
3059
|
+
"gemini-3.1-pro-preview",
|
|
3060
|
+
"raptor-mini",
|
|
3061
|
+
"kimi-k2.7-code",
|
|
3062
|
+
"kimi-k3",
|
|
3063
|
+
// openai-responses face
|
|
3064
|
+
"mai-code-1-flash-picker",
|
|
3065
|
+
"mai-code-1.1-flash",
|
|
3066
|
+
"gpt-5-mini",
|
|
3067
|
+
"gpt-5.1",
|
|
3068
|
+
"gpt-5.1-codex-mini",
|
|
3069
|
+
"gpt-5.1-codex",
|
|
3070
|
+
"gpt-5.1-codex-max",
|
|
3071
|
+
"gpt-5",
|
|
3072
|
+
"gpt-5.2",
|
|
3073
|
+
"gpt-5.2-codex",
|
|
3074
|
+
"gpt-5.3-codex",
|
|
3075
|
+
"gpt-5.4-mini",
|
|
3076
|
+
"gpt-5.4-nano",
|
|
3077
|
+
"gpt-5.4",
|
|
3078
|
+
"gpt-5.5",
|
|
3079
|
+
"gpt-5.6-luna",
|
|
3080
|
+
"gpt-5.6-terra",
|
|
3081
|
+
"gpt-5.6-sol",
|
|
3082
|
+
"grok-4.5",
|
|
3083
|
+
"grok-4.6"
|
|
3084
|
+
]
|
|
2763
3085
|
};
|
|
2764
3086
|
function subscriptionProviderHasCatalog(providerId) {
|
|
2765
3087
|
return SUBSCRIPTION_MODEL_CATALOG[providerId].length > 0;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, GeminiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus } from './account-tokens-types.cjs';
|
|
1
|
+
export { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, CopilotTokenConfig, GeminiTokenConfig, GrokTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus } from './account-tokens-types.cjs';
|
|
2
2
|
import { SubscriptionProviderId } from './subscription-types.cjs';
|
|
3
3
|
export { OpenCodeGoModelEntry, OpenCodeGoScenario, OpenCodeGoTokenConfig, OpenCodeGoTokenSanitized, ProviderChannel, SubscriptionListEntry, SubscriptionStatusEntry, legacyCliBackendToSubscriptionProvider, subscriptionTargetForSession } from './subscription-types.cjs';
|
|
4
4
|
export { AuditBodyResult, AuditConfig, AuditQueryResult, AuditRecord, AuditStats, DEFAULT_AUDIT_CONFIG } from './audit-types.cjs';
|
|
@@ -10,7 +10,7 @@ export { ResolvedEndpoint, resolveProviderEndpoint } from './endpoint-resolver.c
|
|
|
10
10
|
export { EXTENDED_CONTEXT_CAPABLE_MODELS, isExtendedContextCapable } from './extended-context.cjs';
|
|
11
11
|
export { HealthReport, HealthStatus, LogFormat, LogLevel, LoggingConfig, healthHttpStatus } from './health-logging-types.cjs';
|
|
12
12
|
export { IMAGE_CAPABILITY_UNAVAILABLE_REASONS, IMAGE_GENERATION_ERROR_CODES, ImageAction, ImageArtifactId, ImageArtifactMetadata, ImageBackground, ImageCapabilities, ImageCapabilityEvidenceLayer, ImageCapabilityLayerKind, ImageCapabilityUnavailableReason, ImageCapabilityValues, ImageGenerationErrorCode, ImageGenerationPublicError, ImageInputAsset, ImageModeration, ImageModerationDetails, ImageModerationStage, ImageOutputCompressionCapability, ImageOutputFormat, ImageProviderAcceptedEvent, ImageProviderCompletedEvent, ImageProviderEvent, ImageProviderFailedEvent, ImageProviderOutput, ImageProviderPartialImageEvent, ImageQuality, ImageReferenceId, ImageReferenceMetadata, ImageRequestOptions, ImageRetrySafety, ImageSize, ImageUsage, NormalizedImageEditRequest, NormalizedImageGenerateRequest, NormalizedImageRequest, SensitiveOpaqueImageReference } from './image-generation-types.cjs';
|
|
13
|
-
export { A as API_MODE_IDS, a as AgentDefaultModels, b as ApiFormat, c as ApiKeyEntry, d as ApiMode, e as ApiModeId, C as ChatApiFormat, f as CodingPlanConfig, g as CompletionSettings, G as GlobalModelParameters, L as LLMProvider, M as ModelConfig, h as ModelGroup, i as ModelParameter, j as ModelRef, O as OpenRouterDataCollection, k as OpenRouterMaxPrice, l as OpenRouterProviderRouting, m as OpenRouterProviderSort, n as OpenRouterQuantization, P as PresetProviderTemplate, o as ProviderApiType, p as ProviderModelMapping, q as ProviderSearchConfig, r as ProviderTemplate, S as SearchCapability, T as TransformerConfig, s as TransformerEntry } from './llm-config-
|
|
13
|
+
export { A as API_MODE_IDS, a as AgentDefaultModels, b as ApiFormat, c as ApiKeyEntry, d as ApiMode, e as ApiModeId, C as ChatApiFormat, f as CodingPlanConfig, g as CompletionSettings, G as GlobalModelParameters, L as LLMProvider, M as ModelConfig, h as ModelGroup, i as ModelParameter, j as ModelRef, O as OpenRouterDataCollection, k as OpenRouterMaxPrice, l as OpenRouterProviderRouting, m as OpenRouterProviderSort, n as OpenRouterQuantization, P as PresetProviderTemplate, o as ProviderApiType, p as ProviderModelMapping, q as ProviderSearchConfig, r as ProviderTemplate, S as SearchCapability, T as TransformerConfig, s as TransformerEntry } from './llm-config-CEZvId7g.cjs';
|
|
14
14
|
export { DEFAULT_MCP_SESSION_CONFIG, MCPCallToolResponse, MCPTool, MCPToolResponseContent, McpActionResult, McpDiscoverResult, McpMode, McpServerConfig, McpServerInput, McpServerJsonInput, McpServerList, McpServerRecord, McpServerRemoveInput, McpServerScope, McpServerTransport, McpSessionConfig, McpTestResult, McpToolInfo } from './mcp-types.cjs';
|
|
15
15
|
export { MessageBlock, MessageBlockBase, MessageBlockType, TextBlock, ThinkingBlock, ToolResultBlock, ToolUseBlock } from './message-blocks.cjs';
|
|
16
16
|
export { DEFAULT_LITELLM_PRICING_URL, DEFAULT_OPENROUTER_PRICING_URL, PricingConflict, PricingConflictDecision, PricingEntry, PricingEntryInput, PricingFetchResult, PricingResolution, PricingSource, PricingSourceRefreshResult } from './pricing-types.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, GeminiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus } from './account-tokens-types.js';
|
|
1
|
+
export { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, CopilotTokenConfig, GeminiTokenConfig, GrokTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus } from './account-tokens-types.js';
|
|
2
2
|
import { SubscriptionProviderId } from './subscription-types.js';
|
|
3
3
|
export { OpenCodeGoModelEntry, OpenCodeGoScenario, OpenCodeGoTokenConfig, OpenCodeGoTokenSanitized, ProviderChannel, SubscriptionListEntry, SubscriptionStatusEntry, legacyCliBackendToSubscriptionProvider, subscriptionTargetForSession } from './subscription-types.js';
|
|
4
4
|
export { AuditBodyResult, AuditConfig, AuditQueryResult, AuditRecord, AuditStats, DEFAULT_AUDIT_CONFIG } from './audit-types.js';
|
|
@@ -10,7 +10,7 @@ export { ResolvedEndpoint, resolveProviderEndpoint } from './endpoint-resolver.j
|
|
|
10
10
|
export { EXTENDED_CONTEXT_CAPABLE_MODELS, isExtendedContextCapable } from './extended-context.js';
|
|
11
11
|
export { HealthReport, HealthStatus, LogFormat, LogLevel, LoggingConfig, healthHttpStatus } from './health-logging-types.js';
|
|
12
12
|
export { IMAGE_CAPABILITY_UNAVAILABLE_REASONS, IMAGE_GENERATION_ERROR_CODES, ImageAction, ImageArtifactId, ImageArtifactMetadata, ImageBackground, ImageCapabilities, ImageCapabilityEvidenceLayer, ImageCapabilityLayerKind, ImageCapabilityUnavailableReason, ImageCapabilityValues, ImageGenerationErrorCode, ImageGenerationPublicError, ImageInputAsset, ImageModeration, ImageModerationDetails, ImageModerationStage, ImageOutputCompressionCapability, ImageOutputFormat, ImageProviderAcceptedEvent, ImageProviderCompletedEvent, ImageProviderEvent, ImageProviderFailedEvent, ImageProviderOutput, ImageProviderPartialImageEvent, ImageQuality, ImageReferenceId, ImageReferenceMetadata, ImageRequestOptions, ImageRetrySafety, ImageSize, ImageUsage, NormalizedImageEditRequest, NormalizedImageGenerateRequest, NormalizedImageRequest, SensitiveOpaqueImageReference } from './image-generation-types.js';
|
|
13
|
-
export { A as API_MODE_IDS, a as AgentDefaultModels, b as ApiFormat, c as ApiKeyEntry, d as ApiMode, e as ApiModeId, C as ChatApiFormat, f as CodingPlanConfig, g as CompletionSettings, G as GlobalModelParameters, L as LLMProvider, M as ModelConfig, h as ModelGroup, i as ModelParameter, j as ModelRef, O as OpenRouterDataCollection, k as OpenRouterMaxPrice, l as OpenRouterProviderRouting, m as OpenRouterProviderSort, n as OpenRouterQuantization, P as PresetProviderTemplate, o as ProviderApiType, p as ProviderModelMapping, q as ProviderSearchConfig, r as ProviderTemplate, S as SearchCapability, T as TransformerConfig, s as TransformerEntry } from './llm-config-
|
|
13
|
+
export { A as API_MODE_IDS, a as AgentDefaultModels, b as ApiFormat, c as ApiKeyEntry, d as ApiMode, e as ApiModeId, C as ChatApiFormat, f as CodingPlanConfig, g as CompletionSettings, G as GlobalModelParameters, L as LLMProvider, M as ModelConfig, h as ModelGroup, i as ModelParameter, j as ModelRef, O as OpenRouterDataCollection, k as OpenRouterMaxPrice, l as OpenRouterProviderRouting, m as OpenRouterProviderSort, n as OpenRouterQuantization, P as PresetProviderTemplate, o as ProviderApiType, p as ProviderModelMapping, q as ProviderSearchConfig, r as ProviderTemplate, S as SearchCapability, T as TransformerConfig, s as TransformerEntry } from './llm-config-Dxw7F1_U.js';
|
|
14
14
|
export { DEFAULT_MCP_SESSION_CONFIG, MCPCallToolResponse, MCPTool, MCPToolResponseContent, McpActionResult, McpDiscoverResult, McpMode, McpServerConfig, McpServerInput, McpServerJsonInput, McpServerList, McpServerRecord, McpServerRemoveInput, McpServerScope, McpServerTransport, McpSessionConfig, McpTestResult, McpToolInfo } from './mcp-types.js';
|
|
15
15
|
export { MessageBlock, MessageBlockBase, MessageBlockType, TextBlock, ThinkingBlock, ToolResultBlock, ToolUseBlock } from './message-blocks.js';
|
|
16
16
|
export { DEFAULT_LITELLM_PRICING_URL, DEFAULT_OPENROUTER_PRICING_URL, PricingConflict, PricingConflictDecision, PricingEntry, PricingEntryInput, PricingFetchResult, PricingResolution, PricingSource, PricingSourceRefreshResult } from './pricing-types.js';
|