@omnicross/contracts 0.3.1 → 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 +52 -1
- package/dist/account-tokens-types.d.ts +52 -1
- package/dist/canonical-models.cjs +41 -3
- package/dist/canonical-models.d.cts +1 -1
- package/dist/canonical-models.d.ts +1 -1
- package/dist/canonical-models.js +41 -3
- package/dist/endpoint-resolver.d.cts +1 -1
- package/dist/endpoint-resolver.d.ts +1 -1
- package/dist/index.cjs +175 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +175 -4
- 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 +68 -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 +68 -0
- package/dist/subscription-model-catalog.cjs +66 -1
- package/dist/subscription-model-catalog.js +66 -1
- package/dist/subscription-types.d.cts +1 -1
- package/dist/subscription-types.d.ts +1 -1
- package/dist/thinking-config.cjs +41 -3
- package/dist/thinking-config.d.cts +1 -1
- package/dist/thinking-config.d.ts +1 -1
- package/dist/thinking-config.js +41 -3
- package/package.json +1 -1
|
@@ -143,6 +143,51 @@ type KimiTokenConfig = {
|
|
|
143
143
|
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
144
144
|
syncWarning?: SyncWarningCode;
|
|
145
145
|
};
|
|
146
|
+
/**
|
|
147
|
+
* Grok (xAI SuperGrok) token configuration. OAuth is a RFC 8628 device flow
|
|
148
|
+
* at `auth.x.ai` (token endpoint resolved + host-pinned via OIDC discovery);
|
|
149
|
+
* the access token serves BOTH inference (`api.x.ai/v1/responses`) and the
|
|
150
|
+
* `cli-chat-proxy.grok.com/v1/billing` quota endpoint. `accountId` is the
|
|
151
|
+
* access-token JWT's `sub` claim.
|
|
152
|
+
*/
|
|
153
|
+
type GrokTokenConfig = {
|
|
154
|
+
authMethod: AuthMethod;
|
|
155
|
+
status: TokenStatus;
|
|
156
|
+
accessToken?: string;
|
|
157
|
+
refreshToken?: string;
|
|
158
|
+
expiresAt?: string;
|
|
159
|
+
accountId?: string;
|
|
160
|
+
lastRefreshedAt?: string;
|
|
161
|
+
errorMessage?: string;
|
|
162
|
+
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
163
|
+
syncWarning?: SyncWarningCode;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* GitHub Copilot token configuration. OAuth is a RFC 8628 device flow at
|
|
167
|
+
* `github.com` (official Copilot CLI app, scope `read:user`); the minted
|
|
168
|
+
* `ghu_` token is LONG-LIVED — refresh is a LOCAL no-op (access and refresh
|
|
169
|
+
* are the same token, far-future expiry), so no refresh network call exists.
|
|
170
|
+
* Inference rides the Copilot API (`api.githubcopilot.com` by default; the
|
|
171
|
+
* plan-advertised `apiEndpoint` discovered at login wins); the quota endpoint
|
|
172
|
+
* is `api.github.com/copilot_internal/user`. `accountId` is the GitHub login.
|
|
173
|
+
*/
|
|
174
|
+
type CopilotTokenConfig = {
|
|
175
|
+
authMethod: AuthMethod;
|
|
176
|
+
status: TokenStatus;
|
|
177
|
+
accessToken?: string;
|
|
178
|
+
refreshToken?: string;
|
|
179
|
+
expiresAt?: string;
|
|
180
|
+
accountId?: string;
|
|
181
|
+
email?: string;
|
|
182
|
+
/** Plan-advertised Copilot API endpoint (from `copilot_internal/user.endpoints.api`). */
|
|
183
|
+
apiEndpoint?: string;
|
|
184
|
+
/** GitHub Enterprise domain (e.g. `company.ghe.com`); personal accounts leave it unset. */
|
|
185
|
+
enterpriseUrl?: string;
|
|
186
|
+
lastRefreshedAt?: string;
|
|
187
|
+
errorMessage?: string;
|
|
188
|
+
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
189
|
+
syncWarning?: SyncWarningCode;
|
|
190
|
+
};
|
|
146
191
|
/**
|
|
147
192
|
* A single subscription account entry. The provider's existing token config
|
|
148
193
|
* is carried verbatim under a nested `tokens` field; entry metadata
|
|
@@ -232,6 +277,8 @@ type AccountTokensConfig = {
|
|
|
232
277
|
gemini?: GeminiTokenConfig;
|
|
233
278
|
opencodego?: OpenCodeGoTokenConfig;
|
|
234
279
|
kimi?: KimiTokenConfig;
|
|
280
|
+
grok?: GrokTokenConfig;
|
|
281
|
+
copilot?: CopilotTokenConfig;
|
|
235
282
|
claudeAccounts?: SubscriptionAccountEntry<ClaudeTokenConfig>[];
|
|
236
283
|
activeClaudeAccountId?: string;
|
|
237
284
|
codexAccounts?: SubscriptionAccountEntry<CodexTokenConfig>[];
|
|
@@ -242,6 +289,10 @@ type AccountTokensConfig = {
|
|
|
242
289
|
activeOpencodegoAccountId?: string;
|
|
243
290
|
kimiAccounts?: SubscriptionAccountEntry<KimiTokenConfig>[];
|
|
244
291
|
activeKimiAccountId?: string;
|
|
292
|
+
grokAccounts?: SubscriptionAccountEntry<GrokTokenConfig>[];
|
|
293
|
+
activeGrokAccountId?: string;
|
|
294
|
+
copilotAccounts?: SubscriptionAccountEntry<CopilotTokenConfig>[];
|
|
295
|
+
activeCopilotAccountId?: string;
|
|
245
296
|
updatedAt: string;
|
|
246
297
|
};
|
|
247
298
|
/**
|
|
@@ -364,4 +415,4 @@ type TokenExchangeRequest = {
|
|
|
364
415
|
state: string;
|
|
365
416
|
};
|
|
366
417
|
|
|
367
|
-
export type { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, GeminiTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus };
|
|
418
|
+
export type { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, CopilotTokenConfig, GeminiTokenConfig, GrokTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus };
|
|
@@ -143,6 +143,51 @@ type KimiTokenConfig = {
|
|
|
143
143
|
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
144
144
|
syncWarning?: SyncWarningCode;
|
|
145
145
|
};
|
|
146
|
+
/**
|
|
147
|
+
* Grok (xAI SuperGrok) token configuration. OAuth is a RFC 8628 device flow
|
|
148
|
+
* at `auth.x.ai` (token endpoint resolved + host-pinned via OIDC discovery);
|
|
149
|
+
* the access token serves BOTH inference (`api.x.ai/v1/responses`) and the
|
|
150
|
+
* `cli-chat-proxy.grok.com/v1/billing` quota endpoint. `accountId` is the
|
|
151
|
+
* access-token JWT's `sub` claim.
|
|
152
|
+
*/
|
|
153
|
+
type GrokTokenConfig = {
|
|
154
|
+
authMethod: AuthMethod;
|
|
155
|
+
status: TokenStatus;
|
|
156
|
+
accessToken?: string;
|
|
157
|
+
refreshToken?: string;
|
|
158
|
+
expiresAt?: string;
|
|
159
|
+
accountId?: string;
|
|
160
|
+
lastRefreshedAt?: string;
|
|
161
|
+
errorMessage?: string;
|
|
162
|
+
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
163
|
+
syncWarning?: SyncWarningCode;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* GitHub Copilot token configuration. OAuth is a RFC 8628 device flow at
|
|
167
|
+
* `github.com` (official Copilot CLI app, scope `read:user`); the minted
|
|
168
|
+
* `ghu_` token is LONG-LIVED — refresh is a LOCAL no-op (access and refresh
|
|
169
|
+
* are the same token, far-future expiry), so no refresh network call exists.
|
|
170
|
+
* Inference rides the Copilot API (`api.githubcopilot.com` by default; the
|
|
171
|
+
* plan-advertised `apiEndpoint` discovered at login wins); the quota endpoint
|
|
172
|
+
* is `api.github.com/copilot_internal/user`. `accountId` is the GitHub login.
|
|
173
|
+
*/
|
|
174
|
+
type CopilotTokenConfig = {
|
|
175
|
+
authMethod: AuthMethod;
|
|
176
|
+
status: TokenStatus;
|
|
177
|
+
accessToken?: string;
|
|
178
|
+
refreshToken?: string;
|
|
179
|
+
expiresAt?: string;
|
|
180
|
+
accountId?: string;
|
|
181
|
+
email?: string;
|
|
182
|
+
/** Plan-advertised Copilot API endpoint (from `copilot_internal/user.endpoints.api`). */
|
|
183
|
+
apiEndpoint?: string;
|
|
184
|
+
/** GitHub Enterprise domain (e.g. `company.ghe.com`); personal accounts leave it unset. */
|
|
185
|
+
enterpriseUrl?: string;
|
|
186
|
+
lastRefreshedAt?: string;
|
|
187
|
+
errorMessage?: string;
|
|
188
|
+
/** Managed-account credential warning (duplicate-token, projected on listing). */
|
|
189
|
+
syncWarning?: SyncWarningCode;
|
|
190
|
+
};
|
|
146
191
|
/**
|
|
147
192
|
* A single subscription account entry. The provider's existing token config
|
|
148
193
|
* is carried verbatim under a nested `tokens` field; entry metadata
|
|
@@ -232,6 +277,8 @@ type AccountTokensConfig = {
|
|
|
232
277
|
gemini?: GeminiTokenConfig;
|
|
233
278
|
opencodego?: OpenCodeGoTokenConfig;
|
|
234
279
|
kimi?: KimiTokenConfig;
|
|
280
|
+
grok?: GrokTokenConfig;
|
|
281
|
+
copilot?: CopilotTokenConfig;
|
|
235
282
|
claudeAccounts?: SubscriptionAccountEntry<ClaudeTokenConfig>[];
|
|
236
283
|
activeClaudeAccountId?: string;
|
|
237
284
|
codexAccounts?: SubscriptionAccountEntry<CodexTokenConfig>[];
|
|
@@ -242,6 +289,10 @@ type AccountTokensConfig = {
|
|
|
242
289
|
activeOpencodegoAccountId?: string;
|
|
243
290
|
kimiAccounts?: SubscriptionAccountEntry<KimiTokenConfig>[];
|
|
244
291
|
activeKimiAccountId?: string;
|
|
292
|
+
grokAccounts?: SubscriptionAccountEntry<GrokTokenConfig>[];
|
|
293
|
+
activeGrokAccountId?: string;
|
|
294
|
+
copilotAccounts?: SubscriptionAccountEntry<CopilotTokenConfig>[];
|
|
295
|
+
activeCopilotAccountId?: string;
|
|
245
296
|
updatedAt: string;
|
|
246
297
|
};
|
|
247
298
|
/**
|
|
@@ -364,4 +415,4 @@ type TokenExchangeRequest = {
|
|
|
364
415
|
state: string;
|
|
365
416
|
};
|
|
366
417
|
|
|
367
|
-
export type { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, GeminiTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus };
|
|
418
|
+
export type { AccountClientIdentity, AccountTokensConfig, AuthMethod, ClaudeAuthMethod, ClaudeTokenConfig, CodexTokenConfig, CopilotTokenConfig, GeminiTokenConfig, GrokTokenConfig, KimiTokenConfig, OAuthParams, ProxyConfig, SanitizedProxyConfig, SubscriptionAccountEntry, SubscriptionAccountSanitized, SubscriptionLevel, SyncWarningCode, TokenExchangeRequest, TokenStatus };
|
|
@@ -55,19 +55,56 @@ var ANTHROPIC_MODELS = {
|
|
|
55
55
|
"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 } },
|
|
56
56
|
"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 } },
|
|
57
57
|
"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 } },
|
|
58
|
-
"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 } }
|
|
58
|
+
"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 } },
|
|
59
|
+
// Copilot-served variants (same model family on the Copilot API; context
|
|
60
|
+
// windows per the Copilot catalog where it diverges from the family default).
|
|
61
|
+
"claude-opus-4-5": { category: "reasoning", contextLength: 2e5, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true },
|
|
62
|
+
"claude-sonnet-4-5": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true },
|
|
63
|
+
"claude-sonnet-4": { category: "chat", contextLength: 216e3, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true }
|
|
59
64
|
};
|
|
60
65
|
var GEMINI_MODELS = {
|
|
61
66
|
"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 } },
|
|
62
67
|
"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 } },
|
|
63
|
-
"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 } }
|
|
68
|
+
"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 } },
|
|
69
|
+
// Copilot-served variants (chat-completions wire on the Copilot API).
|
|
70
|
+
"gemini-3.1-pro-preview": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"] },
|
|
71
|
+
"gemini-3.6-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
72
|
+
"gemini-3.7-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
73
|
+
"gemini-3-pro-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
74
|
+
"gemini-3-flash-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
75
|
+
"gemini-2.5-pro": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true }
|
|
64
76
|
};
|
|
65
77
|
var GROK_MODELS = {
|
|
66
78
|
"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 } },
|
|
67
79
|
"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 } },
|
|
68
80
|
"grok-4.20": { category: "chat", contextLength: 131072, maxTokens: 32768, vision: true, functionCall: true },
|
|
69
81
|
"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 } },
|
|
70
|
-
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } }
|
|
82
|
+
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
83
|
+
// SuperGrok subscription ids (Responses wire). Upstream context/output caps
|
|
84
|
+
// per the audit source; the effort-taking models accept low/medium/high only
|
|
85
|
+
// (minimal→low, xhigh/max→high), and the omit-effort models carry
|
|
86
|
+
// `thinkingLevels: ['none']` so the effort negotiation drops the
|
|
87
|
+
// `reasoning.effort` field entirely (sending it upstream is a 400).
|
|
88
|
+
"grok-4.6": { category: "chat", contextLength: 5e5, maxTokens: 5e5, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
89
|
+
"grok-4.20-0309-non-reasoning": { category: "chat", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, thinkingLevels: ["none"] },
|
|
90
|
+
"grok-4.20-0309-reasoning": { category: "reasoning", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
91
|
+
"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 } },
|
|
92
|
+
"grok-build": { category: "reasoning", contextLength: 512e3, maxTokens: 512e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
93
|
+
"grok-build-0.1": { category: "reasoning", contextLength: 256e3, maxTokens: 256e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
94
|
+
"grok-composer-2.5-fast": { category: "chat", contextLength: 2e5, maxTokens: 2e5, functionCall: true, thinkingLevels: ["none"] }
|
|
95
|
+
};
|
|
96
|
+
var COPILOT_MODELS = {
|
|
97
|
+
"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 } },
|
|
98
|
+
"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 } },
|
|
99
|
+
"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 } },
|
|
100
|
+
"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 } },
|
|
101
|
+
"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 } },
|
|
102
|
+
"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 } },
|
|
103
|
+
"gpt-5.4-nano": { category: "reasoning", contextLength: 4e5, maxTokens: 128e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
104
|
+
"grok-code-fast-1": { category: "code", contextLength: 192e3, maxTokens: 32768, functionCall: true, reasoning: true },
|
|
105
|
+
"raptor-mini": { category: "reasoning", contextLength: 4e5, maxTokens: 65536, functionCall: true, reasoning: true, vision: true },
|
|
106
|
+
"mai-code-1-flash-picker": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
107
|
+
"mai-code-1.1-flash": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, vision: true, thinkingLevels: ["none", "low", "medium", "high"] }
|
|
71
108
|
};
|
|
72
109
|
var DEEPSEEK_MODELS = {
|
|
73
110
|
"deepseek-v4-flash": { category: "chat", contextLength: 1e6, maxTokens: 384e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "high", "max"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
@@ -163,6 +200,7 @@ var VENDOR_GROUPS = [
|
|
|
163
200
|
{ name: "ANTHROPIC_MODELS", entries: ANTHROPIC_MODELS },
|
|
164
201
|
{ name: "GEMINI_MODELS", entries: GEMINI_MODELS },
|
|
165
202
|
{ name: "GROK_MODELS", entries: GROK_MODELS },
|
|
203
|
+
{ name: "COPILOT_MODELS", entries: COPILOT_MODELS },
|
|
166
204
|
{ name: "DEEPSEEK_MODELS", entries: DEEPSEEK_MODELS },
|
|
167
205
|
{ name: "ZHIPU_MODELS", entries: ZHIPU_MODELS },
|
|
168
206
|
{ name: "KIMI_MODELS", entries: KIMI_MODELS },
|
package/dist/canonical-models.js
CHANGED
|
@@ -26,19 +26,56 @@ var ANTHROPIC_MODELS = {
|
|
|
26
26
|
"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 } },
|
|
27
27
|
"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 } },
|
|
28
28
|
"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 } },
|
|
29
|
-
"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 } }
|
|
29
|
+
"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 } },
|
|
30
|
+
// Copilot-served variants (same model family on the Copilot API; context
|
|
31
|
+
// windows per the Copilot catalog where it diverges from the family default).
|
|
32
|
+
"claude-opus-4-5": { category: "reasoning", contextLength: 2e5, maxTokens: 128e3, vision: true, functionCall: true, reasoning: true },
|
|
33
|
+
"claude-sonnet-4-5": { category: "chat", contextLength: 2e5, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true },
|
|
34
|
+
"claude-sonnet-4": { category: "chat", contextLength: 216e3, maxTokens: 64e3, vision: true, functionCall: true, reasoning: true }
|
|
30
35
|
};
|
|
31
36
|
var GEMINI_MODELS = {
|
|
32
37
|
"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 } },
|
|
33
38
|
"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 } },
|
|
34
|
-
"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 } }
|
|
39
|
+
"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 } },
|
|
40
|
+
// Copilot-served variants (chat-completions wire on the Copilot API).
|
|
41
|
+
"gemini-3.1-pro-preview": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"] },
|
|
42
|
+
"gemini-3.6-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
43
|
+
"gemini-3.7-flash": { category: "chat", contextLength: 1e6, maxTokens: 65536, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
44
|
+
"gemini-3-pro-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
45
|
+
"gemini-3-flash-preview": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true },
|
|
46
|
+
"gemini-2.5-pro": { category: "chat", contextLength: 128e3, maxTokens: 65536, vision: true, functionCall: true, reasoning: true }
|
|
35
47
|
};
|
|
36
48
|
var GROK_MODELS = {
|
|
37
49
|
"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 } },
|
|
38
50
|
"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 } },
|
|
39
51
|
"grok-4.20": { category: "chat", contextLength: 131072, maxTokens: 32768, vision: true, functionCall: true },
|
|
40
52
|
"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 } },
|
|
41
|
-
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } }
|
|
53
|
+
"grok-4.20-multi-agent": { category: "reasoning", contextLength: 131072, maxTokens: 32768, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
54
|
+
// SuperGrok subscription ids (Responses wire). Upstream context/output caps
|
|
55
|
+
// per the audit source; the effort-taking models accept low/medium/high only
|
|
56
|
+
// (minimal→low, xhigh/max→high), and the omit-effort models carry
|
|
57
|
+
// `thinkingLevels: ['none']` so the effort negotiation drops the
|
|
58
|
+
// `reasoning.effort` field entirely (sending it upstream is a 400).
|
|
59
|
+
"grok-4.6": { category: "chat", contextLength: 5e5, maxTokens: 5e5, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
60
|
+
"grok-4.20-0309-non-reasoning": { category: "chat", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, thinkingLevels: ["none"] },
|
|
61
|
+
"grok-4.20-0309-reasoning": { category: "reasoning", contextLength: 2e6, maxTokens: 2e6, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
62
|
+
"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 } },
|
|
63
|
+
"grok-build": { category: "reasoning", contextLength: 512e3, maxTokens: 512e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
64
|
+
"grok-build-0.1": { category: "reasoning", contextLength: 256e3, maxTokens: 256e3, vision: true, functionCall: true, reasoning: true, thinkingLevels: ["none"] },
|
|
65
|
+
"grok-composer-2.5-fast": { category: "chat", contextLength: 2e5, maxTokens: 2e5, functionCall: true, thinkingLevels: ["none"] }
|
|
66
|
+
};
|
|
67
|
+
var COPILOT_MODELS = {
|
|
68
|
+
"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 } },
|
|
69
|
+
"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 } },
|
|
70
|
+
"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 } },
|
|
71
|
+
"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 } },
|
|
72
|
+
"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 } },
|
|
73
|
+
"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 } },
|
|
74
|
+
"gpt-5.4-nano": { category: "reasoning", contextLength: 4e5, maxTokens: 128e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"], thinkingTokenLimit: { min: 0, max: 128e3 } },
|
|
75
|
+
"grok-code-fast-1": { category: "code", contextLength: 192e3, maxTokens: 32768, functionCall: true, reasoning: true },
|
|
76
|
+
"raptor-mini": { category: "reasoning", contextLength: 4e5, maxTokens: 65536, functionCall: true, reasoning: true, vision: true },
|
|
77
|
+
"mai-code-1-flash-picker": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, thinkingLevels: ["none", "low", "medium", "high"] },
|
|
78
|
+
"mai-code-1.1-flash": { category: "code", contextLength: 256e3, maxTokens: 65536, functionCall: true, reasoning: true, vision: true, thinkingLevels: ["none", "low", "medium", "high"] }
|
|
42
79
|
};
|
|
43
80
|
var DEEPSEEK_MODELS = {
|
|
44
81
|
"deepseek-v4-flash": { category: "chat", contextLength: 1e6, maxTokens: 384e3, functionCall: true, reasoning: true, thinkingLevels: ["none", "high", "max"], thinkingTokenLimit: { min: 0, max: 32768 } },
|
|
@@ -134,6 +171,7 @@ var VENDOR_GROUPS = [
|
|
|
134
171
|
{ name: "ANTHROPIC_MODELS", entries: ANTHROPIC_MODELS },
|
|
135
172
|
{ name: "GEMINI_MODELS", entries: GEMINI_MODELS },
|
|
136
173
|
{ name: "GROK_MODELS", entries: GROK_MODELS },
|
|
174
|
+
{ name: "COPILOT_MODELS", entries: COPILOT_MODELS },
|
|
137
175
|
{ name: "DEEPSEEK_MODELS", entries: DEEPSEEK_MODELS },
|
|
138
176
|
{ name: "ZHIPU_MODELS", entries: ZHIPU_MODELS },
|
|
139
177
|
{ name: "KIMI_MODELS", entries: KIMI_MODELS },
|
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 } },
|
|
@@ -241,6 +278,7 @@ var VENDOR_GROUPS = [
|
|
|
241
278
|
{ name: "ANTHROPIC_MODELS", entries: ANTHROPIC_MODELS },
|
|
242
279
|
{ name: "GEMINI_MODELS", entries: GEMINI_MODELS },
|
|
243
280
|
{ name: "GROK_MODELS", entries: GROK_MODELS },
|
|
281
|
+
{ name: "COPILOT_MODELS", entries: COPILOT_MODELS },
|
|
244
282
|
{ name: "DEEPSEEK_MODELS", entries: DEEPSEEK_MODELS },
|
|
245
283
|
{ name: "ZHIPU_MODELS", entries: ZHIPU_MODELS },
|
|
246
284
|
{ name: "KIMI_MODELS", entries: KIMI_MODELS },
|
|
@@ -910,6 +948,72 @@ var cerebras_default = {
|
|
|
910
948
|
features: []
|
|
911
949
|
};
|
|
912
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
|
+
|
|
913
1017
|
// src/provider-presets/presets/dashscope.json
|
|
914
1018
|
var dashscope_default = {
|
|
915
1019
|
id: "dashscope",
|
|
@@ -2594,6 +2698,7 @@ var RAW_PRESETS_IN_ORDER = [
|
|
|
2594
2698
|
perplexity_default,
|
|
2595
2699
|
synthetic_default,
|
|
2596
2700
|
umans_default,
|
|
2701
|
+
cline_pass_default,
|
|
2597
2702
|
// Chinese cloud
|
|
2598
2703
|
zhipu_default,
|
|
2599
2704
|
zhipu_bigmodel_default,
|
|
@@ -2685,6 +2790,7 @@ var presetSchema = import_zod.z.object({
|
|
|
2685
2790
|
maxConcurrency: import_zod.z.number().optional(),
|
|
2686
2791
|
codingPlanBaseUrl: import_zod.z.string().optional(),
|
|
2687
2792
|
codingPlanSeparateKey: import_zod.z.boolean().optional(),
|
|
2793
|
+
extraHeaders: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional(),
|
|
2688
2794
|
features: import_zod.z.array(import_zod.z.string()).optional(),
|
|
2689
2795
|
searchConfig: providerSearchConfigSchema.optional(),
|
|
2690
2796
|
apiModes: import_zod.z.array(apiModeSchema).optional(),
|
|
@@ -2910,7 +3016,72 @@ var SUBSCRIPTION_MODEL_CATALOG = {
|
|
|
2910
3016
|
opencodego: [],
|
|
2911
3017
|
// Kimi Code's subscription catalog (the official CLI's built-ins + the
|
|
2912
3018
|
// k2.6/k2.7-code coding models, small → large).
|
|
2913
|
-
kimi: ["kimi-k2.5", "kimi-k2.6", "kimi-k2.7-code", "kimi-k3", "kimi-for-coding", "kimi-for-coding-highspeed"]
|
|
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
|
+
]
|
|
2914
3085
|
};
|
|
2915
3086
|
function subscriptionProviderHasCatalog(providerId) {
|
|
2916
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, KimiTokenConfig, 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, KimiTokenConfig, 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';
|