@roo-code/types 1.78.0 → 1.80.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/index.cjs +345 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +630 -111
- package/dist/index.d.ts +630 -111
- package/dist/index.js +331 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1106,39 +1106,79 @@ type Values<T> = T[keyof T];
|
|
|
1106
1106
|
type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
|
|
1107
1107
|
type AssertEqual<T extends true> = T;
|
|
1108
1108
|
|
|
1109
|
+
/**
|
|
1110
|
+
* constants
|
|
1111
|
+
*/
|
|
1112
|
+
declare const DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3;
|
|
1113
|
+
/**
|
|
1114
|
+
* DynamicProvider
|
|
1115
|
+
*
|
|
1116
|
+
* Dynamic provider requires external API calls in order to get the model list.
|
|
1117
|
+
*/
|
|
1118
|
+
declare const dynamicProviders: readonly ["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama"];
|
|
1119
|
+
type DynamicProvider = (typeof dynamicProviders)[number];
|
|
1120
|
+
declare const isDynamicProvider: (key: string) => key is DynamicProvider;
|
|
1121
|
+
/**
|
|
1122
|
+
* LocalProvider
|
|
1123
|
+
*
|
|
1124
|
+
* Local providers require localhost API calls in order to get the model list.
|
|
1125
|
+
*/
|
|
1126
|
+
declare const localProviders: readonly ["ollama", "lmstudio"];
|
|
1127
|
+
type LocalProvider = (typeof localProviders)[number];
|
|
1128
|
+
declare const isLocalProvider: (key: string) => key is LocalProvider;
|
|
1129
|
+
/**
|
|
1130
|
+
* InternalProvider
|
|
1131
|
+
*
|
|
1132
|
+
* Internal providers require internal VSCode API calls in order to get the
|
|
1133
|
+
* model list.
|
|
1134
|
+
*/
|
|
1135
|
+
declare const internalProviders: readonly ["vscode-lm"];
|
|
1136
|
+
type InternalProvider = (typeof internalProviders)[number];
|
|
1137
|
+
declare const isInternalProvider: (key: string) => key is InternalProvider;
|
|
1138
|
+
/**
|
|
1139
|
+
* CustomProvider
|
|
1140
|
+
*
|
|
1141
|
+
* Custom providers are completely configurable within Roo Code settings.
|
|
1142
|
+
*/
|
|
1143
|
+
declare const customProviders: readonly ["openai"];
|
|
1144
|
+
type CustomProvider = (typeof customProviders)[number];
|
|
1145
|
+
declare const isCustomProvider: (key: string) => key is CustomProvider;
|
|
1146
|
+
/**
|
|
1147
|
+
* FauxProvider
|
|
1148
|
+
*
|
|
1149
|
+
* Faux providers do not make external inference calls and therefore do not have
|
|
1150
|
+
* model lists.
|
|
1151
|
+
*/
|
|
1152
|
+
declare const fauxProviders: readonly ["fake-ai", "human-relay"];
|
|
1153
|
+
type FauxProvider = (typeof fauxProviders)[number];
|
|
1154
|
+
declare const isFauxProvider: (key: string) => key is FauxProvider;
|
|
1109
1155
|
/**
|
|
1110
1156
|
* ProviderName
|
|
1111
1157
|
*/
|
|
1112
|
-
declare const providerNames: readonly ["
|
|
1113
|
-
declare const providerNamesSchema: z.ZodEnum<["
|
|
1158
|
+
declare const providerNames: readonly ["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"];
|
|
1159
|
+
declare const providerNamesSchema: z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>;
|
|
1114
1160
|
type ProviderName = z.infer<typeof providerNamesSchema>;
|
|
1161
|
+
declare const isProviderName: (key: unknown) => key is ProviderName;
|
|
1115
1162
|
/**
|
|
1116
1163
|
* ProviderSettingsEntry
|
|
1117
1164
|
*/
|
|
1118
1165
|
declare const providerSettingsEntrySchema: z.ZodObject<{
|
|
1119
1166
|
id: z.ZodString;
|
|
1120
1167
|
name: z.ZodString;
|
|
1121
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
1168
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
1122
1169
|
modelId: z.ZodOptional<z.ZodString>;
|
|
1123
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1124
1171
|
id: string;
|
|
1125
1172
|
name: string;
|
|
1126
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
1173
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
1127
1174
|
modelId?: string | undefined;
|
|
1128
1175
|
}, {
|
|
1129
1176
|
id: string;
|
|
1130
1177
|
name: string;
|
|
1131
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
1178
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
1132
1179
|
modelId?: string | undefined;
|
|
1133
1180
|
}>;
|
|
1134
1181
|
type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
|
|
1135
|
-
/**
|
|
1136
|
-
* ProviderSettings
|
|
1137
|
-
*/
|
|
1138
|
-
/**
|
|
1139
|
-
* Default value for consecutive mistake limit
|
|
1140
|
-
*/
|
|
1141
|
-
declare const DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3;
|
|
1142
1182
|
declare const zaiApiLineSchema: z.ZodEnum<["international_coding", "international", "china_coding", "china"]>;
|
|
1143
1183
|
type ZaiApiLine = z.infer<typeof zaiApiLineSchema>;
|
|
1144
1184
|
declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
|
|
@@ -1781,6 +1821,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1781
1821
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
1782
1822
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
1783
1823
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
1824
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
1784
1825
|
} & {
|
|
1785
1826
|
apiProvider: z.ZodLiteral<"ollama">;
|
|
1786
1827
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1800,6 +1841,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1800
1841
|
ollamaModelId?: string | undefined;
|
|
1801
1842
|
ollamaBaseUrl?: string | undefined;
|
|
1802
1843
|
ollamaApiKey?: string | undefined;
|
|
1844
|
+
ollamaNumCtx?: number | undefined;
|
|
1803
1845
|
}, {
|
|
1804
1846
|
apiProvider: "ollama";
|
|
1805
1847
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | undefined;
|
|
@@ -1817,6 +1859,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1817
1859
|
ollamaModelId?: string | undefined;
|
|
1818
1860
|
ollamaBaseUrl?: string | undefined;
|
|
1819
1861
|
ollamaApiKey?: string | undefined;
|
|
1862
|
+
ollamaNumCtx?: number | undefined;
|
|
1820
1863
|
}>, z.ZodObject<{
|
|
1821
1864
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1822
1865
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3403,6 +3446,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3403
3446
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
3404
3447
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3405
3448
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
3449
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
3406
3450
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3407
3451
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
3408
3452
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3550,7 +3594,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3550
3594
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3551
3595
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
3552
3596
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
3553
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
3597
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
3554
3598
|
}, "strip", z.ZodTypeAny, {
|
|
3555
3599
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | undefined;
|
|
3556
3600
|
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
@@ -3561,7 +3605,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3561
3605
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
3562
3606
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
3563
3607
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
3564
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
3608
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
3565
3609
|
includeMaxTokens?: boolean | undefined;
|
|
3566
3610
|
diffEnabled?: boolean | undefined;
|
|
3567
3611
|
todoListEnabled?: boolean | undefined;
|
|
@@ -3652,6 +3696,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3652
3696
|
ollamaModelId?: string | undefined;
|
|
3653
3697
|
ollamaBaseUrl?: string | undefined;
|
|
3654
3698
|
ollamaApiKey?: string | undefined;
|
|
3699
|
+
ollamaNumCtx?: number | undefined;
|
|
3655
3700
|
vsCodeLmModelSelector?: {
|
|
3656
3701
|
id?: string | undefined;
|
|
3657
3702
|
family?: string | undefined;
|
|
@@ -3717,7 +3762,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3717
3762
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
3718
3763
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
3719
3764
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
3720
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
3765
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
3721
3766
|
includeMaxTokens?: boolean | undefined;
|
|
3722
3767
|
diffEnabled?: boolean | undefined;
|
|
3723
3768
|
todoListEnabled?: boolean | undefined;
|
|
@@ -3808,6 +3853,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3808
3853
|
ollamaModelId?: string | undefined;
|
|
3809
3854
|
ollamaBaseUrl?: string | undefined;
|
|
3810
3855
|
ollamaApiKey?: string | undefined;
|
|
3856
|
+
ollamaNumCtx?: number | undefined;
|
|
3811
3857
|
vsCodeLmModelSelector?: {
|
|
3812
3858
|
id?: string | undefined;
|
|
3813
3859
|
family?: string | undefined;
|
|
@@ -3957,6 +4003,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
3957
4003
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
3958
4004
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3959
4005
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
4006
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
3960
4007
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3961
4008
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
3962
4009
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4104,7 +4151,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4104
4151
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4105
4152
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
4106
4153
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
4107
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
4154
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
4108
4155
|
} & {
|
|
4109
4156
|
id: z.ZodOptional<z.ZodString>;
|
|
4110
4157
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4118,7 +4165,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4118
4165
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
4119
4166
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
4120
4167
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
4121
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
4168
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
4122
4169
|
includeMaxTokens?: boolean | undefined;
|
|
4123
4170
|
diffEnabled?: boolean | undefined;
|
|
4124
4171
|
todoListEnabled?: boolean | undefined;
|
|
@@ -4209,6 +4256,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4209
4256
|
ollamaModelId?: string | undefined;
|
|
4210
4257
|
ollamaBaseUrl?: string | undefined;
|
|
4211
4258
|
ollamaApiKey?: string | undefined;
|
|
4259
|
+
ollamaNumCtx?: number | undefined;
|
|
4212
4260
|
vsCodeLmModelSelector?: {
|
|
4213
4261
|
id?: string | undefined;
|
|
4214
4262
|
family?: string | undefined;
|
|
@@ -4275,7 +4323,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4275
4323
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
4276
4324
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
4277
4325
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
4278
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
4326
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
4279
4327
|
includeMaxTokens?: boolean | undefined;
|
|
4280
4328
|
diffEnabled?: boolean | undefined;
|
|
4281
4329
|
todoListEnabled?: boolean | undefined;
|
|
@@ -4366,6 +4414,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4366
4414
|
ollamaModelId?: string | undefined;
|
|
4367
4415
|
ollamaBaseUrl?: string | undefined;
|
|
4368
4416
|
ollamaApiKey?: string | undefined;
|
|
4417
|
+
ollamaNumCtx?: number | undefined;
|
|
4369
4418
|
vsCodeLmModelSelector?: {
|
|
4370
4419
|
id?: string | undefined;
|
|
4371
4420
|
family?: string | undefined;
|
|
@@ -5062,6 +5111,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5062
5111
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
5063
5112
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
5064
5113
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
5114
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
5065
5115
|
} & {
|
|
5066
5116
|
apiProvider: z.ZodLiteral<"ollama">;
|
|
5067
5117
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5081,6 +5131,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5081
5131
|
ollamaModelId?: string | undefined;
|
|
5082
5132
|
ollamaBaseUrl?: string | undefined;
|
|
5083
5133
|
ollamaApiKey?: string | undefined;
|
|
5134
|
+
ollamaNumCtx?: number | undefined;
|
|
5084
5135
|
}, {
|
|
5085
5136
|
apiProvider: "ollama";
|
|
5086
5137
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | undefined;
|
|
@@ -5098,6 +5149,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5098
5149
|
ollamaModelId?: string | undefined;
|
|
5099
5150
|
ollamaBaseUrl?: string | undefined;
|
|
5100
5151
|
ollamaApiKey?: string | undefined;
|
|
5152
|
+
ollamaNumCtx?: number | undefined;
|
|
5101
5153
|
}>, z.ZodObject<{
|
|
5102
5154
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5103
5155
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6599,19 +6651,32 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
6599
6651
|
id?: string | undefined;
|
|
6600
6652
|
}>>;
|
|
6601
6653
|
type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
|
|
6602
|
-
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId"];
|
|
6603
|
-
|
|
6654
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId"];
|
|
6655
|
+
/**
|
|
6656
|
+
* ModelIdKey
|
|
6657
|
+
*/
|
|
6658
|
+
declare const modelIdKeys: readonly ["apiModelId", "glamaModelId", "openRouterModelId", "openAiModelId", "ollamaModelId", "lmStudioModelId", "lmStudioDraftModelId", "unboundModelId", "requestyModelId", "litellmModelId", "huggingFaceModelId", "ioIntelligenceModelId", "vercelAiGatewayModelId", "deepInfraModelId"];
|
|
6659
|
+
type ModelIdKey = (typeof modelIdKeys)[number];
|
|
6604
6660
|
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
6661
|
+
/**
|
|
6662
|
+
* TypicalProvider
|
|
6663
|
+
*/
|
|
6664
|
+
type TypicalProvider = Exclude<ProviderName, InternalProvider | CustomProvider | FauxProvider>;
|
|
6665
|
+
declare const isTypicalProvider: (key: unknown) => key is TypicalProvider;
|
|
6666
|
+
declare const modelIdKeysByProvider: Record<TypicalProvider, ModelIdKey>;
|
|
6667
|
+
/**
|
|
6668
|
+
* ANTHROPIC_STYLE_PROVIDERS
|
|
6669
|
+
*/
|
|
6605
6670
|
declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
|
|
6606
6671
|
declare const getApiProtocol: (provider: ProviderName | undefined, modelId?: string) => "anthropic" | "openai";
|
|
6672
|
+
/**
|
|
6673
|
+
* MODELS_BY_PROVIDER
|
|
6674
|
+
*/
|
|
6607
6675
|
declare const MODELS_BY_PROVIDER: Record<Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama">, {
|
|
6608
6676
|
id: ProviderName;
|
|
6609
6677
|
label: string;
|
|
6610
6678
|
models: string[];
|
|
6611
6679
|
}>;
|
|
6612
|
-
declare const dynamicProviders: readonly ["glama", "huggingface", "litellm", "openrouter", "requesty", "unbound", "deepinfra", "vercel-ai-gateway"];
|
|
6613
|
-
type DynamicProvider = (typeof dynamicProviders)[number];
|
|
6614
|
-
declare const isDynamicProvider: (key: string) => key is DynamicProvider;
|
|
6615
6680
|
|
|
6616
6681
|
/**
|
|
6617
6682
|
* Default delay in milliseconds after writes to allow diagnostics to detect potential problems.
|
|
@@ -6633,17 +6698,17 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
6633
6698
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6634
6699
|
id: z.ZodString;
|
|
6635
6700
|
name: z.ZodString;
|
|
6636
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
6701
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
6637
6702
|
modelId: z.ZodOptional<z.ZodString>;
|
|
6638
6703
|
}, "strip", z.ZodTypeAny, {
|
|
6639
6704
|
id: string;
|
|
6640
6705
|
name: string;
|
|
6641
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
6706
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
6642
6707
|
modelId?: string | undefined;
|
|
6643
6708
|
}, {
|
|
6644
6709
|
id: string;
|
|
6645
6710
|
name: string;
|
|
6646
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
6711
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
6647
6712
|
modelId?: string | undefined;
|
|
6648
6713
|
}>, "many">>;
|
|
6649
6714
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -6979,6 +7044,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
6979
7044
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
6980
7045
|
includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
|
|
6981
7046
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
7047
|
+
reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
6982
7048
|
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
6983
7049
|
hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
|
|
6984
7050
|
lastModeExportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -7007,7 +7073,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7007
7073
|
listApiConfigMeta?: {
|
|
7008
7074
|
id: string;
|
|
7009
7075
|
name: string;
|
|
7010
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
7076
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
7011
7077
|
modelId?: string | undefined;
|
|
7012
7078
|
}[] | undefined;
|
|
7013
7079
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -7144,6 +7210,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7144
7210
|
enhancementApiConfigId?: string | undefined;
|
|
7145
7211
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
7146
7212
|
historyPreviewCollapsed?: boolean | undefined;
|
|
7213
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
7147
7214
|
profileThresholds?: Record<string, number> | undefined;
|
|
7148
7215
|
hasOpenedModeSelector?: boolean | undefined;
|
|
7149
7216
|
lastModeExportPath?: string | undefined;
|
|
@@ -7172,7 +7239,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7172
7239
|
listApiConfigMeta?: {
|
|
7173
7240
|
id: string;
|
|
7174
7241
|
name: string;
|
|
7175
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
7242
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
7176
7243
|
modelId?: string | undefined;
|
|
7177
7244
|
}[] | undefined;
|
|
7178
7245
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -7309,13 +7376,14 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7309
7376
|
enhancementApiConfigId?: string | undefined;
|
|
7310
7377
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
7311
7378
|
historyPreviewCollapsed?: boolean | undefined;
|
|
7379
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
7312
7380
|
profileThresholds?: Record<string, number> | undefined;
|
|
7313
7381
|
hasOpenedModeSelector?: boolean | undefined;
|
|
7314
7382
|
lastModeExportPath?: string | undefined;
|
|
7315
7383
|
lastModeImportPath?: string | undefined;
|
|
7316
7384
|
}>;
|
|
7317
7385
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
7318
|
-
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "mode", "language", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "dismissedUpsells", "openRouterImageApiKey", "openRouterImageGenerationSelectedModel", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "allowedMaxCost", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "maxImageFileSize", "maxTotalImageSize", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
7386
|
+
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "mode", "language", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "dismissedUpsells", "openRouterImageApiKey", "openRouterImageGenerationSelectedModel", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "allowedMaxCost", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "maxImageFileSize", "maxTotalImageSize", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "reasoningBlockCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
7319
7387
|
/**
|
|
7320
7388
|
* RooCodeSettings
|
|
7321
7389
|
*/
|
|
@@ -7408,6 +7476,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7408
7476
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
7409
7477
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7410
7478
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
7479
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
7411
7480
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7412
7481
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
7413
7482
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7555,23 +7624,23 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7555
7624
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7556
7625
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
7557
7626
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
7558
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
7627
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
7559
7628
|
} & {
|
|
7560
7629
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
7561
7630
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7562
7631
|
id: z.ZodString;
|
|
7563
7632
|
name: z.ZodString;
|
|
7564
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
7633
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
7565
7634
|
modelId: z.ZodOptional<z.ZodString>;
|
|
7566
7635
|
}, "strip", z.ZodTypeAny, {
|
|
7567
7636
|
id: string;
|
|
7568
7637
|
name: string;
|
|
7569
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
7638
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
7570
7639
|
modelId?: string | undefined;
|
|
7571
7640
|
}, {
|
|
7572
7641
|
id: string;
|
|
7573
7642
|
name: string;
|
|
7574
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
7643
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
7575
7644
|
modelId?: string | undefined;
|
|
7576
7645
|
}>, "many">>;
|
|
7577
7646
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -7899,6 +7968,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7899
7968
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
7900
7969
|
includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
|
|
7901
7970
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
7971
|
+
reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
7902
7972
|
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
7903
7973
|
hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
|
|
7904
7974
|
lastModeExportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -7913,7 +7983,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7913
7983
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
7914
7984
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
7915
7985
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
7916
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
7986
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
7917
7987
|
includeMaxTokens?: boolean | undefined;
|
|
7918
7988
|
diffEnabled?: boolean | undefined;
|
|
7919
7989
|
todoListEnabled?: boolean | undefined;
|
|
@@ -8004,6 +8074,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8004
8074
|
ollamaModelId?: string | undefined;
|
|
8005
8075
|
ollamaBaseUrl?: string | undefined;
|
|
8006
8076
|
ollamaApiKey?: string | undefined;
|
|
8077
|
+
ollamaNumCtx?: number | undefined;
|
|
8007
8078
|
vsCodeLmModelSelector?: {
|
|
8008
8079
|
id?: string | undefined;
|
|
8009
8080
|
family?: string | undefined;
|
|
@@ -8079,7 +8150,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8079
8150
|
listApiConfigMeta?: {
|
|
8080
8151
|
id: string;
|
|
8081
8152
|
name: string;
|
|
8082
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
8153
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
8083
8154
|
modelId?: string | undefined;
|
|
8084
8155
|
}[] | undefined;
|
|
8085
8156
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -8216,6 +8287,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8216
8287
|
enhancementApiConfigId?: string | undefined;
|
|
8217
8288
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
8218
8289
|
historyPreviewCollapsed?: boolean | undefined;
|
|
8290
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
8219
8291
|
profileThresholds?: Record<string, number> | undefined;
|
|
8220
8292
|
hasOpenedModeSelector?: boolean | undefined;
|
|
8221
8293
|
lastModeExportPath?: string | undefined;
|
|
@@ -8230,7 +8302,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8230
8302
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
8231
8303
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
8232
8304
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
8233
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
8305
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
8234
8306
|
includeMaxTokens?: boolean | undefined;
|
|
8235
8307
|
diffEnabled?: boolean | undefined;
|
|
8236
8308
|
todoListEnabled?: boolean | undefined;
|
|
@@ -8321,6 +8393,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8321
8393
|
ollamaModelId?: string | undefined;
|
|
8322
8394
|
ollamaBaseUrl?: string | undefined;
|
|
8323
8395
|
ollamaApiKey?: string | undefined;
|
|
8396
|
+
ollamaNumCtx?: number | undefined;
|
|
8324
8397
|
vsCodeLmModelSelector?: {
|
|
8325
8398
|
id?: string | undefined;
|
|
8326
8399
|
family?: string | undefined;
|
|
@@ -8396,7 +8469,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8396
8469
|
listApiConfigMeta?: {
|
|
8397
8470
|
id: string;
|
|
8398
8471
|
name: string;
|
|
8399
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
8472
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
8400
8473
|
modelId?: string | undefined;
|
|
8401
8474
|
}[] | undefined;
|
|
8402
8475
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -8533,6 +8606,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8533
8606
|
enhancementApiConfigId?: string | undefined;
|
|
8534
8607
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
8535
8608
|
historyPreviewCollapsed?: boolean | undefined;
|
|
8609
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
8536
8610
|
profileThresholds?: Record<string, number> | undefined;
|
|
8537
8611
|
hasOpenedModeSelector?: boolean | undefined;
|
|
8538
8612
|
lastModeExportPath?: string | undefined;
|
|
@@ -8700,6 +8774,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
8700
8774
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
8701
8775
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8702
8776
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
8777
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
8703
8778
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8704
8779
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
8705
8780
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8847,23 +8922,23 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
8847
8922
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8848
8923
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
8849
8924
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
8850
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
8925
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
8851
8926
|
} & {
|
|
8852
8927
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
8853
8928
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8854
8929
|
id: z.ZodString;
|
|
8855
8930
|
name: z.ZodString;
|
|
8856
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
8931
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
8857
8932
|
modelId: z.ZodOptional<z.ZodString>;
|
|
8858
8933
|
}, "strip", z.ZodTypeAny, {
|
|
8859
8934
|
id: string;
|
|
8860
8935
|
name: string;
|
|
8861
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
8936
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
8862
8937
|
modelId?: string | undefined;
|
|
8863
8938
|
}, {
|
|
8864
8939
|
id: string;
|
|
8865
8940
|
name: string;
|
|
8866
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
8941
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
8867
8942
|
modelId?: string | undefined;
|
|
8868
8943
|
}>, "many">>;
|
|
8869
8944
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -9191,6 +9266,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9191
9266
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
9192
9267
|
includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
|
|
9193
9268
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
9269
|
+
reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
9194
9270
|
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
9195
9271
|
hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
|
|
9196
9272
|
lastModeExportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -9205,7 +9281,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9205
9281
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
9206
9282
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
9207
9283
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
9208
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
9284
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
9209
9285
|
includeMaxTokens?: boolean | undefined;
|
|
9210
9286
|
diffEnabled?: boolean | undefined;
|
|
9211
9287
|
todoListEnabled?: boolean | undefined;
|
|
@@ -9296,6 +9372,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9296
9372
|
ollamaModelId?: string | undefined;
|
|
9297
9373
|
ollamaBaseUrl?: string | undefined;
|
|
9298
9374
|
ollamaApiKey?: string | undefined;
|
|
9375
|
+
ollamaNumCtx?: number | undefined;
|
|
9299
9376
|
vsCodeLmModelSelector?: {
|
|
9300
9377
|
id?: string | undefined;
|
|
9301
9378
|
family?: string | undefined;
|
|
@@ -9371,7 +9448,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9371
9448
|
listApiConfigMeta?: {
|
|
9372
9449
|
id: string;
|
|
9373
9450
|
name: string;
|
|
9374
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
9451
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
9375
9452
|
modelId?: string | undefined;
|
|
9376
9453
|
}[] | undefined;
|
|
9377
9454
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -9508,6 +9585,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9508
9585
|
enhancementApiConfigId?: string | undefined;
|
|
9509
9586
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
9510
9587
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9588
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
9511
9589
|
profileThresholds?: Record<string, number> | undefined;
|
|
9512
9590
|
hasOpenedModeSelector?: boolean | undefined;
|
|
9513
9591
|
lastModeExportPath?: string | undefined;
|
|
@@ -9522,7 +9600,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9522
9600
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
9523
9601
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
9524
9602
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
9525
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
9603
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
9526
9604
|
includeMaxTokens?: boolean | undefined;
|
|
9527
9605
|
diffEnabled?: boolean | undefined;
|
|
9528
9606
|
todoListEnabled?: boolean | undefined;
|
|
@@ -9613,6 +9691,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9613
9691
|
ollamaModelId?: string | undefined;
|
|
9614
9692
|
ollamaBaseUrl?: string | undefined;
|
|
9615
9693
|
ollamaApiKey?: string | undefined;
|
|
9694
|
+
ollamaNumCtx?: number | undefined;
|
|
9616
9695
|
vsCodeLmModelSelector?: {
|
|
9617
9696
|
id?: string | undefined;
|
|
9618
9697
|
family?: string | undefined;
|
|
@@ -9688,7 +9767,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9688
9767
|
listApiConfigMeta?: {
|
|
9689
9768
|
id: string;
|
|
9690
9769
|
name: string;
|
|
9691
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
9770
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
9692
9771
|
modelId?: string | undefined;
|
|
9693
9772
|
}[] | undefined;
|
|
9694
9773
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -9825,6 +9904,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9825
9904
|
enhancementApiConfigId?: string | undefined;
|
|
9826
9905
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
9827
9906
|
historyPreviewCollapsed?: boolean | undefined;
|
|
9907
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
9828
9908
|
profileThresholds?: Record<string, number> | undefined;
|
|
9829
9909
|
hasOpenedModeSelector?: boolean | undefined;
|
|
9830
9910
|
lastModeExportPath?: string | undefined;
|
|
@@ -9845,7 +9925,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9845
9925
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
9846
9926
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
9847
9927
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
9848
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
9928
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
9849
9929
|
includeMaxTokens?: boolean | undefined;
|
|
9850
9930
|
diffEnabled?: boolean | undefined;
|
|
9851
9931
|
todoListEnabled?: boolean | undefined;
|
|
@@ -9936,6 +10016,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9936
10016
|
ollamaModelId?: string | undefined;
|
|
9937
10017
|
ollamaBaseUrl?: string | undefined;
|
|
9938
10018
|
ollamaApiKey?: string | undefined;
|
|
10019
|
+
ollamaNumCtx?: number | undefined;
|
|
9939
10020
|
vsCodeLmModelSelector?: {
|
|
9940
10021
|
id?: string | undefined;
|
|
9941
10022
|
family?: string | undefined;
|
|
@@ -10011,7 +10092,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10011
10092
|
listApiConfigMeta?: {
|
|
10012
10093
|
id: string;
|
|
10013
10094
|
name: string;
|
|
10014
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10095
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10015
10096
|
modelId?: string | undefined;
|
|
10016
10097
|
}[] | undefined;
|
|
10017
10098
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -10148,6 +10229,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10148
10229
|
enhancementApiConfigId?: string | undefined;
|
|
10149
10230
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
10150
10231
|
historyPreviewCollapsed?: boolean | undefined;
|
|
10232
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
10151
10233
|
profileThresholds?: Record<string, number> | undefined;
|
|
10152
10234
|
hasOpenedModeSelector?: boolean | undefined;
|
|
10153
10235
|
lastModeExportPath?: string | undefined;
|
|
@@ -10167,7 +10249,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10167
10249
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
10168
10250
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
10169
10251
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
10170
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10252
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10171
10253
|
includeMaxTokens?: boolean | undefined;
|
|
10172
10254
|
diffEnabled?: boolean | undefined;
|
|
10173
10255
|
todoListEnabled?: boolean | undefined;
|
|
@@ -10258,6 +10340,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10258
10340
|
ollamaModelId?: string | undefined;
|
|
10259
10341
|
ollamaBaseUrl?: string | undefined;
|
|
10260
10342
|
ollamaApiKey?: string | undefined;
|
|
10343
|
+
ollamaNumCtx?: number | undefined;
|
|
10261
10344
|
vsCodeLmModelSelector?: {
|
|
10262
10345
|
id?: string | undefined;
|
|
10263
10346
|
family?: string | undefined;
|
|
@@ -10333,7 +10416,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10333
10416
|
listApiConfigMeta?: {
|
|
10334
10417
|
id: string;
|
|
10335
10418
|
name: string;
|
|
10336
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10419
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10337
10420
|
modelId?: string | undefined;
|
|
10338
10421
|
}[] | undefined;
|
|
10339
10422
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -10470,6 +10553,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10470
10553
|
enhancementApiConfigId?: string | undefined;
|
|
10471
10554
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
10472
10555
|
historyPreviewCollapsed?: boolean | undefined;
|
|
10556
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
10473
10557
|
profileThresholds?: Record<string, number> | undefined;
|
|
10474
10558
|
hasOpenedModeSelector?: boolean | undefined;
|
|
10475
10559
|
lastModeExportPath?: string | undefined;
|
|
@@ -10492,7 +10576,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10492
10576
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
10493
10577
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
10494
10578
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
10495
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10579
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10496
10580
|
includeMaxTokens?: boolean | undefined;
|
|
10497
10581
|
diffEnabled?: boolean | undefined;
|
|
10498
10582
|
todoListEnabled?: boolean | undefined;
|
|
@@ -10583,6 +10667,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10583
10667
|
ollamaModelId?: string | undefined;
|
|
10584
10668
|
ollamaBaseUrl?: string | undefined;
|
|
10585
10669
|
ollamaApiKey?: string | undefined;
|
|
10670
|
+
ollamaNumCtx?: number | undefined;
|
|
10586
10671
|
vsCodeLmModelSelector?: {
|
|
10587
10672
|
id?: string | undefined;
|
|
10588
10673
|
family?: string | undefined;
|
|
@@ -10658,7 +10743,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10658
10743
|
listApiConfigMeta?: {
|
|
10659
10744
|
id: string;
|
|
10660
10745
|
name: string;
|
|
10661
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10746
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10662
10747
|
modelId?: string | undefined;
|
|
10663
10748
|
}[] | undefined;
|
|
10664
10749
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -10795,6 +10880,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10795
10880
|
enhancementApiConfigId?: string | undefined;
|
|
10796
10881
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
10797
10882
|
historyPreviewCollapsed?: boolean | undefined;
|
|
10883
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
10798
10884
|
profileThresholds?: Record<string, number> | undefined;
|
|
10799
10885
|
hasOpenedModeSelector?: boolean | undefined;
|
|
10800
10886
|
lastModeExportPath?: string | undefined;
|
|
@@ -10817,7 +10903,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10817
10903
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
10818
10904
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
10819
10905
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
10820
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
10906
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10821
10907
|
includeMaxTokens?: boolean | undefined;
|
|
10822
10908
|
diffEnabled?: boolean | undefined;
|
|
10823
10909
|
todoListEnabled?: boolean | undefined;
|
|
@@ -10908,6 +10994,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10908
10994
|
ollamaModelId?: string | undefined;
|
|
10909
10995
|
ollamaBaseUrl?: string | undefined;
|
|
10910
10996
|
ollamaApiKey?: string | undefined;
|
|
10997
|
+
ollamaNumCtx?: number | undefined;
|
|
10911
10998
|
vsCodeLmModelSelector?: {
|
|
10912
10999
|
id?: string | undefined;
|
|
10913
11000
|
family?: string | undefined;
|
|
@@ -10983,7 +11070,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10983
11070
|
listApiConfigMeta?: {
|
|
10984
11071
|
id: string;
|
|
10985
11072
|
name: string;
|
|
10986
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
11073
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
10987
11074
|
modelId?: string | undefined;
|
|
10988
11075
|
}[] | undefined;
|
|
10989
11076
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -11120,6 +11207,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11120
11207
|
enhancementApiConfigId?: string | undefined;
|
|
11121
11208
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
11122
11209
|
historyPreviewCollapsed?: boolean | undefined;
|
|
11210
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
11123
11211
|
profileThresholds?: Record<string, number> | undefined;
|
|
11124
11212
|
hasOpenedModeSelector?: boolean | undefined;
|
|
11125
11213
|
lastModeExportPath?: string | undefined;
|
|
@@ -11288,6 +11376,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11288
11376
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
11289
11377
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
11290
11378
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
11379
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
11291
11380
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
11292
11381
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
11293
11382
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11435,23 +11524,23 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11435
11524
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
11436
11525
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
11437
11526
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
11438
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
11527
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
11439
11528
|
} & {
|
|
11440
11529
|
currentApiConfigName: z.ZodOptional<z.ZodString>;
|
|
11441
11530
|
listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11442
11531
|
id: z.ZodString;
|
|
11443
11532
|
name: z.ZodString;
|
|
11444
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
11533
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
11445
11534
|
modelId: z.ZodOptional<z.ZodString>;
|
|
11446
11535
|
}, "strip", z.ZodTypeAny, {
|
|
11447
11536
|
id: string;
|
|
11448
11537
|
name: string;
|
|
11449
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
11538
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
11450
11539
|
modelId?: string | undefined;
|
|
11451
11540
|
}, {
|
|
11452
11541
|
id: string;
|
|
11453
11542
|
name: string;
|
|
11454
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
11543
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
11455
11544
|
modelId?: string | undefined;
|
|
11456
11545
|
}>, "many">>;
|
|
11457
11546
|
pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
@@ -11779,6 +11868,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11779
11868
|
enhancementApiConfigId: z.ZodOptional<z.ZodString>;
|
|
11780
11869
|
includeTaskHistoryInEnhance: z.ZodOptional<z.ZodBoolean>;
|
|
11781
11870
|
historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
11871
|
+
reasoningBlockCollapsed: z.ZodOptional<z.ZodBoolean>;
|
|
11782
11872
|
profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
11783
11873
|
hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
|
|
11784
11874
|
lastModeExportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -11793,7 +11883,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11793
11883
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
11794
11884
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
11795
11885
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
11796
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
11886
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
11797
11887
|
includeMaxTokens?: boolean | undefined;
|
|
11798
11888
|
diffEnabled?: boolean | undefined;
|
|
11799
11889
|
todoListEnabled?: boolean | undefined;
|
|
@@ -11884,6 +11974,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11884
11974
|
ollamaModelId?: string | undefined;
|
|
11885
11975
|
ollamaBaseUrl?: string | undefined;
|
|
11886
11976
|
ollamaApiKey?: string | undefined;
|
|
11977
|
+
ollamaNumCtx?: number | undefined;
|
|
11887
11978
|
vsCodeLmModelSelector?: {
|
|
11888
11979
|
id?: string | undefined;
|
|
11889
11980
|
family?: string | undefined;
|
|
@@ -11959,7 +12050,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11959
12050
|
listApiConfigMeta?: {
|
|
11960
12051
|
id: string;
|
|
11961
12052
|
name: string;
|
|
11962
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12053
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
11963
12054
|
modelId?: string | undefined;
|
|
11964
12055
|
}[] | undefined;
|
|
11965
12056
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -12096,6 +12187,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12096
12187
|
enhancementApiConfigId?: string | undefined;
|
|
12097
12188
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
12098
12189
|
historyPreviewCollapsed?: boolean | undefined;
|
|
12190
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
12099
12191
|
profileThresholds?: Record<string, number> | undefined;
|
|
12100
12192
|
hasOpenedModeSelector?: boolean | undefined;
|
|
12101
12193
|
lastModeExportPath?: string | undefined;
|
|
@@ -12110,7 +12202,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12110
12202
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
12111
12203
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
12112
12204
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
12113
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12205
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12114
12206
|
includeMaxTokens?: boolean | undefined;
|
|
12115
12207
|
diffEnabled?: boolean | undefined;
|
|
12116
12208
|
todoListEnabled?: boolean | undefined;
|
|
@@ -12201,6 +12293,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12201
12293
|
ollamaModelId?: string | undefined;
|
|
12202
12294
|
ollamaBaseUrl?: string | undefined;
|
|
12203
12295
|
ollamaApiKey?: string | undefined;
|
|
12296
|
+
ollamaNumCtx?: number | undefined;
|
|
12204
12297
|
vsCodeLmModelSelector?: {
|
|
12205
12298
|
id?: string | undefined;
|
|
12206
12299
|
family?: string | undefined;
|
|
@@ -12276,7 +12369,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12276
12369
|
listApiConfigMeta?: {
|
|
12277
12370
|
id: string;
|
|
12278
12371
|
name: string;
|
|
12279
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12372
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12280
12373
|
modelId?: string | undefined;
|
|
12281
12374
|
}[] | undefined;
|
|
12282
12375
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -12413,6 +12506,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12413
12506
|
enhancementApiConfigId?: string | undefined;
|
|
12414
12507
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
12415
12508
|
historyPreviewCollapsed?: boolean | undefined;
|
|
12509
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
12416
12510
|
profileThresholds?: Record<string, number> | undefined;
|
|
12417
12511
|
hasOpenedModeSelector?: boolean | undefined;
|
|
12418
12512
|
lastModeExportPath?: string | undefined;
|
|
@@ -12433,7 +12527,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12433
12527
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
12434
12528
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
12435
12529
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
12436
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12530
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12437
12531
|
includeMaxTokens?: boolean | undefined;
|
|
12438
12532
|
diffEnabled?: boolean | undefined;
|
|
12439
12533
|
todoListEnabled?: boolean | undefined;
|
|
@@ -12524,6 +12618,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12524
12618
|
ollamaModelId?: string | undefined;
|
|
12525
12619
|
ollamaBaseUrl?: string | undefined;
|
|
12526
12620
|
ollamaApiKey?: string | undefined;
|
|
12621
|
+
ollamaNumCtx?: number | undefined;
|
|
12527
12622
|
vsCodeLmModelSelector?: {
|
|
12528
12623
|
id?: string | undefined;
|
|
12529
12624
|
family?: string | undefined;
|
|
@@ -12599,7 +12694,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12599
12694
|
listApiConfigMeta?: {
|
|
12600
12695
|
id: string;
|
|
12601
12696
|
name: string;
|
|
12602
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12697
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12603
12698
|
modelId?: string | undefined;
|
|
12604
12699
|
}[] | undefined;
|
|
12605
12700
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -12736,6 +12831,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12736
12831
|
enhancementApiConfigId?: string | undefined;
|
|
12737
12832
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
12738
12833
|
historyPreviewCollapsed?: boolean | undefined;
|
|
12834
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
12739
12835
|
profileThresholds?: Record<string, number> | undefined;
|
|
12740
12836
|
hasOpenedModeSelector?: boolean | undefined;
|
|
12741
12837
|
lastModeExportPath?: string | undefined;
|
|
@@ -12755,7 +12851,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12755
12851
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
12756
12852
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
12757
12853
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
12758
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
12854
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12759
12855
|
includeMaxTokens?: boolean | undefined;
|
|
12760
12856
|
diffEnabled?: boolean | undefined;
|
|
12761
12857
|
todoListEnabled?: boolean | undefined;
|
|
@@ -12846,6 +12942,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12846
12942
|
ollamaModelId?: string | undefined;
|
|
12847
12943
|
ollamaBaseUrl?: string | undefined;
|
|
12848
12944
|
ollamaApiKey?: string | undefined;
|
|
12945
|
+
ollamaNumCtx?: number | undefined;
|
|
12849
12946
|
vsCodeLmModelSelector?: {
|
|
12850
12947
|
id?: string | undefined;
|
|
12851
12948
|
family?: string | undefined;
|
|
@@ -12921,7 +13018,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12921
13018
|
listApiConfigMeta?: {
|
|
12922
13019
|
id: string;
|
|
12923
13020
|
name: string;
|
|
12924
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13021
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
12925
13022
|
modelId?: string | undefined;
|
|
12926
13023
|
}[] | undefined;
|
|
12927
13024
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -13058,6 +13155,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13058
13155
|
enhancementApiConfigId?: string | undefined;
|
|
13059
13156
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
13060
13157
|
historyPreviewCollapsed?: boolean | undefined;
|
|
13158
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
13061
13159
|
profileThresholds?: Record<string, number> | undefined;
|
|
13062
13160
|
hasOpenedModeSelector?: boolean | undefined;
|
|
13063
13161
|
lastModeExportPath?: string | undefined;
|
|
@@ -13080,7 +13178,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13080
13178
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
13081
13179
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
13082
13180
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
13083
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13181
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13084
13182
|
includeMaxTokens?: boolean | undefined;
|
|
13085
13183
|
diffEnabled?: boolean | undefined;
|
|
13086
13184
|
todoListEnabled?: boolean | undefined;
|
|
@@ -13171,6 +13269,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13171
13269
|
ollamaModelId?: string | undefined;
|
|
13172
13270
|
ollamaBaseUrl?: string | undefined;
|
|
13173
13271
|
ollamaApiKey?: string | undefined;
|
|
13272
|
+
ollamaNumCtx?: number | undefined;
|
|
13174
13273
|
vsCodeLmModelSelector?: {
|
|
13175
13274
|
id?: string | undefined;
|
|
13176
13275
|
family?: string | undefined;
|
|
@@ -13246,7 +13345,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13246
13345
|
listApiConfigMeta?: {
|
|
13247
13346
|
id: string;
|
|
13248
13347
|
name: string;
|
|
13249
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13348
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13250
13349
|
modelId?: string | undefined;
|
|
13251
13350
|
}[] | undefined;
|
|
13252
13351
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -13383,6 +13482,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13383
13482
|
enhancementApiConfigId?: string | undefined;
|
|
13384
13483
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
13385
13484
|
historyPreviewCollapsed?: boolean | undefined;
|
|
13485
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
13386
13486
|
profileThresholds?: Record<string, number> | undefined;
|
|
13387
13487
|
hasOpenedModeSelector?: boolean | undefined;
|
|
13388
13488
|
lastModeExportPath?: string | undefined;
|
|
@@ -13405,7 +13505,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13405
13505
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
13406
13506
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
13407
13507
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
13408
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13508
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13409
13509
|
includeMaxTokens?: boolean | undefined;
|
|
13410
13510
|
diffEnabled?: boolean | undefined;
|
|
13411
13511
|
todoListEnabled?: boolean | undefined;
|
|
@@ -13496,6 +13596,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13496
13596
|
ollamaModelId?: string | undefined;
|
|
13497
13597
|
ollamaBaseUrl?: string | undefined;
|
|
13498
13598
|
ollamaApiKey?: string | undefined;
|
|
13599
|
+
ollamaNumCtx?: number | undefined;
|
|
13499
13600
|
vsCodeLmModelSelector?: {
|
|
13500
13601
|
id?: string | undefined;
|
|
13501
13602
|
family?: string | undefined;
|
|
@@ -13571,7 +13672,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13571
13672
|
listApiConfigMeta?: {
|
|
13572
13673
|
id: string;
|
|
13573
13674
|
name: string;
|
|
13574
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13675
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13575
13676
|
modelId?: string | undefined;
|
|
13576
13677
|
}[] | undefined;
|
|
13577
13678
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -13708,6 +13809,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13708
13809
|
enhancementApiConfigId?: string | undefined;
|
|
13709
13810
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
13710
13811
|
historyPreviewCollapsed?: boolean | undefined;
|
|
13812
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
13711
13813
|
profileThresholds?: Record<string, number> | undefined;
|
|
13712
13814
|
hasOpenedModeSelector?: boolean | undefined;
|
|
13713
13815
|
lastModeExportPath?: string | undefined;
|
|
@@ -13761,7 +13863,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13761
13863
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
13762
13864
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
13763
13865
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
13764
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
13866
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13765
13867
|
includeMaxTokens?: boolean | undefined;
|
|
13766
13868
|
diffEnabled?: boolean | undefined;
|
|
13767
13869
|
todoListEnabled?: boolean | undefined;
|
|
@@ -13852,6 +13954,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13852
13954
|
ollamaModelId?: string | undefined;
|
|
13853
13955
|
ollamaBaseUrl?: string | undefined;
|
|
13854
13956
|
ollamaApiKey?: string | undefined;
|
|
13957
|
+
ollamaNumCtx?: number | undefined;
|
|
13855
13958
|
vsCodeLmModelSelector?: {
|
|
13856
13959
|
id?: string | undefined;
|
|
13857
13960
|
family?: string | undefined;
|
|
@@ -13927,7 +14030,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13927
14030
|
listApiConfigMeta?: {
|
|
13928
14031
|
id: string;
|
|
13929
14032
|
name: string;
|
|
13930
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
14033
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
13931
14034
|
modelId?: string | undefined;
|
|
13932
14035
|
}[] | undefined;
|
|
13933
14036
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -14064,6 +14167,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14064
14167
|
enhancementApiConfigId?: string | undefined;
|
|
14065
14168
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
14066
14169
|
historyPreviewCollapsed?: boolean | undefined;
|
|
14170
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
14067
14171
|
profileThresholds?: Record<string, number> | undefined;
|
|
14068
14172
|
hasOpenedModeSelector?: boolean | undefined;
|
|
14069
14173
|
lastModeExportPath?: string | undefined;
|
|
@@ -14100,7 +14204,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14100
14204
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
14101
14205
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
14102
14206
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
14103
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
14207
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
14104
14208
|
includeMaxTokens?: boolean | undefined;
|
|
14105
14209
|
diffEnabled?: boolean | undefined;
|
|
14106
14210
|
todoListEnabled?: boolean | undefined;
|
|
@@ -14191,6 +14295,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14191
14295
|
ollamaModelId?: string | undefined;
|
|
14192
14296
|
ollamaBaseUrl?: string | undefined;
|
|
14193
14297
|
ollamaApiKey?: string | undefined;
|
|
14298
|
+
ollamaNumCtx?: number | undefined;
|
|
14194
14299
|
vsCodeLmModelSelector?: {
|
|
14195
14300
|
id?: string | undefined;
|
|
14196
14301
|
family?: string | undefined;
|
|
@@ -14266,7 +14371,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14266
14371
|
listApiConfigMeta?: {
|
|
14267
14372
|
id: string;
|
|
14268
14373
|
name: string;
|
|
14269
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
14374
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
14270
14375
|
modelId?: string | undefined;
|
|
14271
14376
|
}[] | undefined;
|
|
14272
14377
|
pinnedApiConfigs?: Record<string, boolean> | undefined;
|
|
@@ -14403,6 +14508,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14403
14508
|
enhancementApiConfigId?: string | undefined;
|
|
14404
14509
|
includeTaskHistoryInEnhance?: boolean | undefined;
|
|
14405
14510
|
historyPreviewCollapsed?: boolean | undefined;
|
|
14511
|
+
reasoningBlockCollapsed?: boolean | undefined;
|
|
14406
14512
|
profileThresholds?: Record<string, number> | undefined;
|
|
14407
14513
|
hasOpenedModeSelector?: boolean | undefined;
|
|
14408
14514
|
lastModeExportPath?: string | undefined;
|
|
@@ -15513,7 +15619,7 @@ declare function isResumableAsk(ask: ClineAsk): ask is ResumableAsk;
|
|
|
15513
15619
|
*
|
|
15514
15620
|
* Asks that put the task into an "user interaction required" state.
|
|
15515
15621
|
*/
|
|
15516
|
-
declare const interactiveAsks: readonly ["command", "tool", "browser_action_launch", "use_mcp_server"];
|
|
15622
|
+
declare const interactiveAsks: readonly ["followup", "command", "tool", "browser_action_launch", "use_mcp_server"];
|
|
15517
15623
|
type InteractiveAsk = (typeof interactiveAsks)[number];
|
|
15518
15624
|
declare function isInteractiveAsk(ask: ClineAsk): ask is InteractiveAsk;
|
|
15519
15625
|
/**
|
|
@@ -15840,11 +15946,15 @@ declare enum TelemetryEventName {
|
|
|
15840
15946
|
ACCOUNT_CONNECT_SUCCESS = "Account Connect Success",
|
|
15841
15947
|
ACCOUNT_LOGOUT_CLICKED = "Account Logout Clicked",
|
|
15842
15948
|
ACCOUNT_LOGOUT_SUCCESS = "Account Logout Success",
|
|
15949
|
+
FEATURED_PROVIDER_CLICKED = "Featured Provider Clicked",
|
|
15950
|
+
UPSELL_DISMISSED = "Upsell Dismissed",
|
|
15951
|
+
UPSELL_CLICKED = "Upsell Clicked",
|
|
15843
15952
|
SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
|
|
15844
15953
|
DIFF_APPLICATION_ERROR = "Diff Application Error",
|
|
15845
15954
|
SHELL_INTEGRATION_ERROR = "Shell Integration Error",
|
|
15846
15955
|
CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error",
|
|
15847
|
-
CODE_INDEX_ERROR = "Code Index Error"
|
|
15956
|
+
CODE_INDEX_ERROR = "Code Index Error",
|
|
15957
|
+
TELEMETRY_SETTINGS_CHANGED = "Telemetry Settings Changed"
|
|
15848
15958
|
}
|
|
15849
15959
|
/**
|
|
15850
15960
|
* TelemetryProperties
|
|
@@ -15925,7 +16035,7 @@ declare const appPropertiesSchema: z.ZodObject<{
|
|
|
15925
16035
|
type AppProperties = z.infer<typeof appPropertiesSchema>;
|
|
15926
16036
|
declare const taskPropertiesSchema: z.ZodObject<{
|
|
15927
16037
|
taskId: z.ZodOptional<z.ZodString>;
|
|
15928
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
16038
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
15929
16039
|
modelId: z.ZodOptional<z.ZodString>;
|
|
15930
16040
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
15931
16041
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15948,7 +16058,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
15948
16058
|
}, "strip", z.ZodTypeAny, {
|
|
15949
16059
|
isSubtask?: boolean | undefined;
|
|
15950
16060
|
taskId?: string | undefined;
|
|
15951
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16061
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
15952
16062
|
modelId?: string | undefined;
|
|
15953
16063
|
diffStrategy?: string | undefined;
|
|
15954
16064
|
todos?: {
|
|
@@ -15960,7 +16070,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
|
|
|
15960
16070
|
}, {
|
|
15961
16071
|
isSubtask?: boolean | undefined;
|
|
15962
16072
|
taskId?: string | undefined;
|
|
15963
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16073
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
15964
16074
|
modelId?: string | undefined;
|
|
15965
16075
|
diffStrategy?: string | undefined;
|
|
15966
16076
|
todos?: {
|
|
@@ -15990,7 +16100,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
15990
16100
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
15991
16101
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
15992
16102
|
taskId: z.ZodOptional<z.ZodString>;
|
|
15993
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
16103
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
15994
16104
|
modelId: z.ZodOptional<z.ZodString>;
|
|
15995
16105
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
15996
16106
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16029,7 +16139,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
16029
16139
|
language: string;
|
|
16030
16140
|
isSubtask?: boolean | undefined;
|
|
16031
16141
|
taskId?: string | undefined;
|
|
16032
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16142
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16033
16143
|
modelId?: string | undefined;
|
|
16034
16144
|
hostname?: string | undefined;
|
|
16035
16145
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16053,7 +16163,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
|
|
|
16053
16163
|
language: string;
|
|
16054
16164
|
isSubtask?: boolean | undefined;
|
|
16055
16165
|
taskId?: string | undefined;
|
|
16056
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16166
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16057
16167
|
modelId?: string | undefined;
|
|
16058
16168
|
hostname?: string | undefined;
|
|
16059
16169
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16080,13 +16190,154 @@ type TelemetryEvent = {
|
|
|
16080
16190
|
* RooCodeTelemetryEvent
|
|
16081
16191
|
*/
|
|
16082
16192
|
declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
16083
|
-
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
16193
|
+
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.FEATURED_PROVIDER_CLICKED, TelemetryEventName.UPSELL_DISMISSED, TelemetryEventName.UPSELL_CLICKED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
16194
|
+
properties: z.ZodObject<{
|
|
16195
|
+
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
16196
|
+
repositoryName: z.ZodOptional<z.ZodString>;
|
|
16197
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
16198
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
16199
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
16200
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
16201
|
+
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
16202
|
+
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
16203
|
+
todos: z.ZodOptional<z.ZodObject<{
|
|
16204
|
+
total: z.ZodNumber;
|
|
16205
|
+
completed: z.ZodNumber;
|
|
16206
|
+
inProgress: z.ZodNumber;
|
|
16207
|
+
pending: z.ZodNumber;
|
|
16208
|
+
}, "strip", z.ZodTypeAny, {
|
|
16209
|
+
total: number;
|
|
16210
|
+
completed: number;
|
|
16211
|
+
inProgress: number;
|
|
16212
|
+
pending: number;
|
|
16213
|
+
}, {
|
|
16214
|
+
total: number;
|
|
16215
|
+
completed: number;
|
|
16216
|
+
inProgress: number;
|
|
16217
|
+
pending: number;
|
|
16218
|
+
}>>;
|
|
16219
|
+
cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
16220
|
+
language: z.ZodString;
|
|
16221
|
+
mode: z.ZodString;
|
|
16222
|
+
appName: z.ZodString;
|
|
16223
|
+
appVersion: z.ZodString;
|
|
16224
|
+
vscodeVersion: z.ZodString;
|
|
16225
|
+
platform: z.ZodString;
|
|
16226
|
+
editorName: z.ZodString;
|
|
16227
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
16228
|
+
}, "strip", z.ZodTypeAny, {
|
|
16229
|
+
mode: string;
|
|
16230
|
+
appName: string;
|
|
16231
|
+
appVersion: string;
|
|
16232
|
+
vscodeVersion: string;
|
|
16233
|
+
platform: string;
|
|
16234
|
+
editorName: string;
|
|
16235
|
+
language: string;
|
|
16236
|
+
isSubtask?: boolean | undefined;
|
|
16237
|
+
taskId?: string | undefined;
|
|
16238
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16239
|
+
modelId?: string | undefined;
|
|
16240
|
+
hostname?: string | undefined;
|
|
16241
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
16242
|
+
diffStrategy?: string | undefined;
|
|
16243
|
+
todos?: {
|
|
16244
|
+
total: number;
|
|
16245
|
+
completed: number;
|
|
16246
|
+
inProgress: number;
|
|
16247
|
+
pending: number;
|
|
16248
|
+
} | undefined;
|
|
16249
|
+
repositoryUrl?: string | undefined;
|
|
16250
|
+
repositoryName?: string | undefined;
|
|
16251
|
+
defaultBranch?: string | undefined;
|
|
16252
|
+
}, {
|
|
16253
|
+
mode: string;
|
|
16254
|
+
appName: string;
|
|
16255
|
+
appVersion: string;
|
|
16256
|
+
vscodeVersion: string;
|
|
16257
|
+
platform: string;
|
|
16258
|
+
editorName: string;
|
|
16259
|
+
language: string;
|
|
16260
|
+
isSubtask?: boolean | undefined;
|
|
16261
|
+
taskId?: string | undefined;
|
|
16262
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16263
|
+
modelId?: string | undefined;
|
|
16264
|
+
hostname?: string | undefined;
|
|
16265
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
16266
|
+
diffStrategy?: string | undefined;
|
|
16267
|
+
todos?: {
|
|
16268
|
+
total: number;
|
|
16269
|
+
completed: number;
|
|
16270
|
+
inProgress: number;
|
|
16271
|
+
pending: number;
|
|
16272
|
+
} | undefined;
|
|
16273
|
+
repositoryUrl?: string | undefined;
|
|
16274
|
+
repositoryName?: string | undefined;
|
|
16275
|
+
defaultBranch?: string | undefined;
|
|
16276
|
+
}>;
|
|
16277
|
+
}, "strip", z.ZodTypeAny, {
|
|
16278
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.FEATURED_PROVIDER_CLICKED | TelemetryEventName.UPSELL_DISMISSED | TelemetryEventName.UPSELL_CLICKED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
16279
|
+
properties: {
|
|
16280
|
+
mode: string;
|
|
16281
|
+
appName: string;
|
|
16282
|
+
appVersion: string;
|
|
16283
|
+
vscodeVersion: string;
|
|
16284
|
+
platform: string;
|
|
16285
|
+
editorName: string;
|
|
16286
|
+
language: string;
|
|
16287
|
+
isSubtask?: boolean | undefined;
|
|
16288
|
+
taskId?: string | undefined;
|
|
16289
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16290
|
+
modelId?: string | undefined;
|
|
16291
|
+
hostname?: string | undefined;
|
|
16292
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
16293
|
+
diffStrategy?: string | undefined;
|
|
16294
|
+
todos?: {
|
|
16295
|
+
total: number;
|
|
16296
|
+
completed: number;
|
|
16297
|
+
inProgress: number;
|
|
16298
|
+
pending: number;
|
|
16299
|
+
} | undefined;
|
|
16300
|
+
repositoryUrl?: string | undefined;
|
|
16301
|
+
repositoryName?: string | undefined;
|
|
16302
|
+
defaultBranch?: string | undefined;
|
|
16303
|
+
};
|
|
16304
|
+
}, {
|
|
16305
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.FEATURED_PROVIDER_CLICKED | TelemetryEventName.UPSELL_DISMISSED | TelemetryEventName.UPSELL_CLICKED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
16306
|
+
properties: {
|
|
16307
|
+
mode: string;
|
|
16308
|
+
appName: string;
|
|
16309
|
+
appVersion: string;
|
|
16310
|
+
vscodeVersion: string;
|
|
16311
|
+
platform: string;
|
|
16312
|
+
editorName: string;
|
|
16313
|
+
language: string;
|
|
16314
|
+
isSubtask?: boolean | undefined;
|
|
16315
|
+
taskId?: string | undefined;
|
|
16316
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16317
|
+
modelId?: string | undefined;
|
|
16318
|
+
hostname?: string | undefined;
|
|
16319
|
+
cloudIsAuthenticated?: boolean | undefined;
|
|
16320
|
+
diffStrategy?: string | undefined;
|
|
16321
|
+
todos?: {
|
|
16322
|
+
total: number;
|
|
16323
|
+
completed: number;
|
|
16324
|
+
inProgress: number;
|
|
16325
|
+
pending: number;
|
|
16326
|
+
} | undefined;
|
|
16327
|
+
repositoryUrl?: string | undefined;
|
|
16328
|
+
repositoryName?: string | undefined;
|
|
16329
|
+
defaultBranch?: string | undefined;
|
|
16330
|
+
};
|
|
16331
|
+
}>, z.ZodObject<{
|
|
16332
|
+
type: z.ZodLiteral<TelemetryEventName.TELEMETRY_SETTINGS_CHANGED>;
|
|
16084
16333
|
properties: z.ZodObject<{
|
|
16334
|
+
previousSetting: z.ZodEnum<["unset", "enabled", "disabled"]>;
|
|
16335
|
+
newSetting: z.ZodEnum<["unset", "enabled", "disabled"]>;
|
|
16085
16336
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
16086
16337
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
16087
16338
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
16088
16339
|
taskId: z.ZodOptional<z.ZodString>;
|
|
16089
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
16340
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
16090
16341
|
modelId: z.ZodOptional<z.ZodString>;
|
|
16091
16342
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
16092
16343
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16123,9 +16374,11 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16123
16374
|
platform: string;
|
|
16124
16375
|
editorName: string;
|
|
16125
16376
|
language: string;
|
|
16377
|
+
previousSetting: "unset" | "enabled" | "disabled";
|
|
16378
|
+
newSetting: "unset" | "enabled" | "disabled";
|
|
16126
16379
|
isSubtask?: boolean | undefined;
|
|
16127
16380
|
taskId?: string | undefined;
|
|
16128
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16381
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16129
16382
|
modelId?: string | undefined;
|
|
16130
16383
|
hostname?: string | undefined;
|
|
16131
16384
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16147,9 +16400,11 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16147
16400
|
platform: string;
|
|
16148
16401
|
editorName: string;
|
|
16149
16402
|
language: string;
|
|
16403
|
+
previousSetting: "unset" | "enabled" | "disabled";
|
|
16404
|
+
newSetting: "unset" | "enabled" | "disabled";
|
|
16150
16405
|
isSubtask?: boolean | undefined;
|
|
16151
16406
|
taskId?: string | undefined;
|
|
16152
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16407
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16153
16408
|
modelId?: string | undefined;
|
|
16154
16409
|
hostname?: string | undefined;
|
|
16155
16410
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16165,7 +16420,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16165
16420
|
defaultBranch?: string | undefined;
|
|
16166
16421
|
}>;
|
|
16167
16422
|
}, "strip", z.ZodTypeAny, {
|
|
16168
|
-
type: TelemetryEventName.
|
|
16423
|
+
type: TelemetryEventName.TELEMETRY_SETTINGS_CHANGED;
|
|
16169
16424
|
properties: {
|
|
16170
16425
|
mode: string;
|
|
16171
16426
|
appName: string;
|
|
@@ -16174,9 +16429,11 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16174
16429
|
platform: string;
|
|
16175
16430
|
editorName: string;
|
|
16176
16431
|
language: string;
|
|
16432
|
+
previousSetting: "unset" | "enabled" | "disabled";
|
|
16433
|
+
newSetting: "unset" | "enabled" | "disabled";
|
|
16177
16434
|
isSubtask?: boolean | undefined;
|
|
16178
16435
|
taskId?: string | undefined;
|
|
16179
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16436
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16180
16437
|
modelId?: string | undefined;
|
|
16181
16438
|
hostname?: string | undefined;
|
|
16182
16439
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16192,7 +16449,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16192
16449
|
defaultBranch?: string | undefined;
|
|
16193
16450
|
};
|
|
16194
16451
|
}, {
|
|
16195
|
-
type: TelemetryEventName.
|
|
16452
|
+
type: TelemetryEventName.TELEMETRY_SETTINGS_CHANGED;
|
|
16196
16453
|
properties: {
|
|
16197
16454
|
mode: string;
|
|
16198
16455
|
appName: string;
|
|
@@ -16201,9 +16458,11 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16201
16458
|
platform: string;
|
|
16202
16459
|
editorName: string;
|
|
16203
16460
|
language: string;
|
|
16461
|
+
previousSetting: "unset" | "enabled" | "disabled";
|
|
16462
|
+
newSetting: "unset" | "enabled" | "disabled";
|
|
16204
16463
|
isSubtask?: boolean | undefined;
|
|
16205
16464
|
taskId?: string | undefined;
|
|
16206
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16465
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16207
16466
|
modelId?: string | undefined;
|
|
16208
16467
|
hostname?: string | undefined;
|
|
16209
16468
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16355,7 +16614,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16355
16614
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
16356
16615
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
16357
16616
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
16358
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
16617
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
16359
16618
|
modelId: z.ZodOptional<z.ZodString>;
|
|
16360
16619
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
16361
16620
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16426,7 +16685,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16426
16685
|
editorName: string;
|
|
16427
16686
|
language: string;
|
|
16428
16687
|
isSubtask?: boolean | undefined;
|
|
16429
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16688
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16430
16689
|
modelId?: string | undefined;
|
|
16431
16690
|
hostname?: string | undefined;
|
|
16432
16691
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16482,7 +16741,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16482
16741
|
editorName: string;
|
|
16483
16742
|
language: string;
|
|
16484
16743
|
isSubtask?: boolean | undefined;
|
|
16485
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16744
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16486
16745
|
modelId?: string | undefined;
|
|
16487
16746
|
hostname?: string | undefined;
|
|
16488
16747
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16541,7 +16800,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16541
16800
|
editorName: string;
|
|
16542
16801
|
language: string;
|
|
16543
16802
|
isSubtask?: boolean | undefined;
|
|
16544
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16803
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16545
16804
|
modelId?: string | undefined;
|
|
16546
16805
|
hostname?: string | undefined;
|
|
16547
16806
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16600,7 +16859,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16600
16859
|
editorName: string;
|
|
16601
16860
|
language: string;
|
|
16602
16861
|
isSubtask?: boolean | undefined;
|
|
16603
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16862
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16604
16863
|
modelId?: string | undefined;
|
|
16605
16864
|
hostname?: string | undefined;
|
|
16606
16865
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16627,7 +16886,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16627
16886
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
16628
16887
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
16629
16888
|
taskId: z.ZodOptional<z.ZodString>;
|
|
16630
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
16889
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
16631
16890
|
modelId: z.ZodOptional<z.ZodString>;
|
|
16632
16891
|
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
16633
16892
|
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16669,7 +16928,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16669
16928
|
cost?: number | undefined;
|
|
16670
16929
|
isSubtask?: boolean | undefined;
|
|
16671
16930
|
taskId?: string | undefined;
|
|
16672
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16931
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16673
16932
|
modelId?: string | undefined;
|
|
16674
16933
|
hostname?: string | undefined;
|
|
16675
16934
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16698,7 +16957,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16698
16957
|
cost?: number | undefined;
|
|
16699
16958
|
isSubtask?: boolean | undefined;
|
|
16700
16959
|
taskId?: string | undefined;
|
|
16701
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16960
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16702
16961
|
modelId?: string | undefined;
|
|
16703
16962
|
hostname?: string | undefined;
|
|
16704
16963
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16730,7 +16989,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16730
16989
|
cost?: number | undefined;
|
|
16731
16990
|
isSubtask?: boolean | undefined;
|
|
16732
16991
|
taskId?: string | undefined;
|
|
16733
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
16992
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16734
16993
|
modelId?: string | undefined;
|
|
16735
16994
|
hostname?: string | undefined;
|
|
16736
16995
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -16762,7 +17021,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
16762
17021
|
cost?: number | undefined;
|
|
16763
17022
|
isSubtask?: boolean | undefined;
|
|
16764
17023
|
taskId?: string | undefined;
|
|
16765
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
17024
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
16766
17025
|
modelId?: string | undefined;
|
|
16767
17026
|
hostname?: string | undefined;
|
|
16768
17027
|
cloudIsAuthenticated?: boolean | undefined;
|
|
@@ -17426,6 +17685,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17426
17685
|
ollamaModelId: z.ZodOptional<z.ZodString>;
|
|
17427
17686
|
ollamaBaseUrl: z.ZodOptional<z.ZodString>;
|
|
17428
17687
|
ollamaApiKey: z.ZodOptional<z.ZodString>;
|
|
17688
|
+
ollamaNumCtx: z.ZodOptional<z.ZodNumber>;
|
|
17429
17689
|
openAiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
17430
17690
|
openAiApiKey: z.ZodOptional<z.ZodString>;
|
|
17431
17691
|
openAiLegacyFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17573,7 +17833,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17573
17833
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
17574
17834
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
17575
17835
|
anthropicBeta1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
17576
|
-
apiProvider: z.ZodOptional<z.ZodEnum<["
|
|
17836
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["openrouter", "vercel-ai-gateway", "huggingface", "litellm", "deepinfra", "io-intelligence", "requesty", "unbound", "glama", "ollama", "lmstudio", "vscode-lm", "openai", "fake-ai", "human-relay", "anthropic", "bedrock", "cerebras", "chutes", "claude-code", "doubao", "deepseek", "featherless", "fireworks", "gemini", "gemini-cli", "groq", "mistral", "moonshot", "openai-native", "qwen-code", "roo", "sambanova", "vertex", "xai", "zai"]>>;
|
|
17577
17837
|
} & {
|
|
17578
17838
|
id: z.ZodOptional<z.ZodString>;
|
|
17579
17839
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17587,7 +17847,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17587
17847
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
17588
17848
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
17589
17849
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
17590
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
17850
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
17591
17851
|
includeMaxTokens?: boolean | undefined;
|
|
17592
17852
|
diffEnabled?: boolean | undefined;
|
|
17593
17853
|
todoListEnabled?: boolean | undefined;
|
|
@@ -17678,6 +17938,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17678
17938
|
ollamaModelId?: string | undefined;
|
|
17679
17939
|
ollamaBaseUrl?: string | undefined;
|
|
17680
17940
|
ollamaApiKey?: string | undefined;
|
|
17941
|
+
ollamaNumCtx?: number | undefined;
|
|
17681
17942
|
vsCodeLmModelSelector?: {
|
|
17682
17943
|
id?: string | undefined;
|
|
17683
17944
|
family?: string | undefined;
|
|
@@ -17744,7 +18005,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17744
18005
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
17745
18006
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
17746
18007
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
17747
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
18008
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
17748
18009
|
includeMaxTokens?: boolean | undefined;
|
|
17749
18010
|
diffEnabled?: boolean | undefined;
|
|
17750
18011
|
todoListEnabled?: boolean | undefined;
|
|
@@ -17835,6 +18096,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17835
18096
|
ollamaModelId?: string | undefined;
|
|
17836
18097
|
ollamaBaseUrl?: string | undefined;
|
|
17837
18098
|
ollamaApiKey?: string | undefined;
|
|
18099
|
+
ollamaNumCtx?: number | undefined;
|
|
17838
18100
|
vsCodeLmModelSelector?: {
|
|
17839
18101
|
id?: string | undefined;
|
|
17840
18102
|
family?: string | undefined;
|
|
@@ -17963,7 +18225,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
17963
18225
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
17964
18226
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
17965
18227
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
17966
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
18228
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
17967
18229
|
includeMaxTokens?: boolean | undefined;
|
|
17968
18230
|
diffEnabled?: boolean | undefined;
|
|
17969
18231
|
todoListEnabled?: boolean | undefined;
|
|
@@ -18054,6 +18316,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
18054
18316
|
ollamaModelId?: string | undefined;
|
|
18055
18317
|
ollamaBaseUrl?: string | undefined;
|
|
18056
18318
|
ollamaApiKey?: string | undefined;
|
|
18319
|
+
ollamaNumCtx?: number | undefined;
|
|
18057
18320
|
vsCodeLmModelSelector?: {
|
|
18058
18321
|
id?: string | undefined;
|
|
18059
18322
|
family?: string | undefined;
|
|
@@ -18182,7 +18445,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
18182
18445
|
codebaseIndexGeminiApiKey?: string | undefined;
|
|
18183
18446
|
codebaseIndexMistralApiKey?: string | undefined;
|
|
18184
18447
|
codebaseIndexVercelAiGatewayApiKey?: string | undefined;
|
|
18185
|
-
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "
|
|
18448
|
+
apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "vercel-ai-gateway" | "openrouter" | "huggingface" | "litellm" | "deepinfra" | "io-intelligence" | "requesty" | "unbound" | "glama" | "lmstudio" | "vscode-lm" | "fake-ai" | "human-relay" | "bedrock" | "cerebras" | "chutes" | "claude-code" | "doubao" | "deepseek" | "featherless" | "fireworks" | "gemini-cli" | "groq" | "moonshot" | "openai-native" | "qwen-code" | "roo" | "sambanova" | "vertex" | "xai" | "zai" | undefined;
|
|
18186
18449
|
includeMaxTokens?: boolean | undefined;
|
|
18187
18450
|
diffEnabled?: boolean | undefined;
|
|
18188
18451
|
todoListEnabled?: boolean | undefined;
|
|
@@ -18273,6 +18536,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
18273
18536
|
ollamaModelId?: string | undefined;
|
|
18274
18537
|
ollamaBaseUrl?: string | undefined;
|
|
18275
18538
|
ollamaApiKey?: string | undefined;
|
|
18539
|
+
ollamaNumCtx?: number | undefined;
|
|
18276
18540
|
vsCodeLmModelSelector?: {
|
|
18277
18541
|
id?: string | undefined;
|
|
18278
18542
|
family?: string | undefined;
|
|
@@ -18431,9 +18695,10 @@ type AuthState = "initializing" | "logged-out" | "active-session" | "attempting-
|
|
|
18431
18695
|
interface AuthService extends EventEmitter$1<AuthServiceEvents> {
|
|
18432
18696
|
initialize(): Promise<void>;
|
|
18433
18697
|
broadcast(): void;
|
|
18434
|
-
login(): Promise<void>;
|
|
18698
|
+
login(landingPageSlug?: string): Promise<void>;
|
|
18435
18699
|
logout(): Promise<void>;
|
|
18436
18700
|
handleCallback(code: string | null, state: string | null, organizationId?: string | null): Promise<void>;
|
|
18701
|
+
switchOrganization(organizationId: string | null): Promise<void>;
|
|
18437
18702
|
getState(): AuthState;
|
|
18438
18703
|
isAuthenticated(): boolean;
|
|
18439
18704
|
hasActiveSession(): boolean;
|
|
@@ -18441,6 +18706,7 @@ interface AuthService extends EventEmitter$1<AuthServiceEvents> {
|
|
|
18441
18706
|
getSessionToken(): string | undefined;
|
|
18442
18707
|
getUserInfo(): CloudUserInfo | null;
|
|
18443
18708
|
getStoredOrganizationId(): string | null;
|
|
18709
|
+
getOrganizationMemberships(): Promise<CloudOrganizationMembership[]>;
|
|
18444
18710
|
}
|
|
18445
18711
|
/**
|
|
18446
18712
|
* AuthServiceEvents
|
|
@@ -39009,6 +39275,81 @@ type LeaveResponse = {
|
|
|
39009
39275
|
taskId?: string;
|
|
39010
39276
|
timestamp?: string;
|
|
39011
39277
|
};
|
|
39278
|
+
/**
|
|
39279
|
+
* UsageStats
|
|
39280
|
+
*/
|
|
39281
|
+
declare const usageStatsSchema: z.ZodObject<{
|
|
39282
|
+
success: z.ZodBoolean;
|
|
39283
|
+
data: z.ZodObject<{
|
|
39284
|
+
dates: z.ZodArray<z.ZodString, "many">;
|
|
39285
|
+
tasks: z.ZodArray<z.ZodNumber, "many">;
|
|
39286
|
+
tokens: z.ZodArray<z.ZodNumber, "many">;
|
|
39287
|
+
costs: z.ZodArray<z.ZodNumber, "many">;
|
|
39288
|
+
totals: z.ZodObject<{
|
|
39289
|
+
tasks: z.ZodNumber;
|
|
39290
|
+
tokens: z.ZodNumber;
|
|
39291
|
+
cost: z.ZodNumber;
|
|
39292
|
+
}, "strip", z.ZodTypeAny, {
|
|
39293
|
+
cost: number;
|
|
39294
|
+
tasks: number;
|
|
39295
|
+
tokens: number;
|
|
39296
|
+
}, {
|
|
39297
|
+
cost: number;
|
|
39298
|
+
tasks: number;
|
|
39299
|
+
tokens: number;
|
|
39300
|
+
}>;
|
|
39301
|
+
}, "strip", z.ZodTypeAny, {
|
|
39302
|
+
dates: string[];
|
|
39303
|
+
tasks: number[];
|
|
39304
|
+
tokens: number[];
|
|
39305
|
+
costs: number[];
|
|
39306
|
+
totals: {
|
|
39307
|
+
cost: number;
|
|
39308
|
+
tasks: number;
|
|
39309
|
+
tokens: number;
|
|
39310
|
+
};
|
|
39311
|
+
}, {
|
|
39312
|
+
dates: string[];
|
|
39313
|
+
tasks: number[];
|
|
39314
|
+
tokens: number[];
|
|
39315
|
+
costs: number[];
|
|
39316
|
+
totals: {
|
|
39317
|
+
cost: number;
|
|
39318
|
+
tasks: number;
|
|
39319
|
+
tokens: number;
|
|
39320
|
+
};
|
|
39321
|
+
}>;
|
|
39322
|
+
period: z.ZodNumber;
|
|
39323
|
+
}, "strip", z.ZodTypeAny, {
|
|
39324
|
+
data: {
|
|
39325
|
+
dates: string[];
|
|
39326
|
+
tasks: number[];
|
|
39327
|
+
tokens: number[];
|
|
39328
|
+
costs: number[];
|
|
39329
|
+
totals: {
|
|
39330
|
+
cost: number;
|
|
39331
|
+
tasks: number;
|
|
39332
|
+
tokens: number;
|
|
39333
|
+
};
|
|
39334
|
+
};
|
|
39335
|
+
success: boolean;
|
|
39336
|
+
period: number;
|
|
39337
|
+
}, {
|
|
39338
|
+
data: {
|
|
39339
|
+
dates: string[];
|
|
39340
|
+
tasks: number[];
|
|
39341
|
+
tokens: number[];
|
|
39342
|
+
costs: number[];
|
|
39343
|
+
totals: {
|
|
39344
|
+
cost: number;
|
|
39345
|
+
tasks: number;
|
|
39346
|
+
tokens: number;
|
|
39347
|
+
};
|
|
39348
|
+
};
|
|
39349
|
+
success: boolean;
|
|
39350
|
+
period: number;
|
|
39351
|
+
}>;
|
|
39352
|
+
type UsageStats = z.infer<typeof usageStatsSchema>;
|
|
39012
39353
|
|
|
39013
39354
|
/**
|
|
39014
39355
|
* Codebase Index Constants
|
|
@@ -40280,7 +40621,7 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
|
|
|
40280
40621
|
/**
|
|
40281
40622
|
* Command
|
|
40282
40623
|
*/
|
|
40283
|
-
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "cloudButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "importSettings", "focusInput", "acceptInput", "focusPanel"];
|
|
40624
|
+
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "cloudButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "importSettings", "focusInput", "acceptInput", "focusPanel", "toggleAutoApprove"];
|
|
40284
40625
|
type CommandId = (typeof commandIds)[number];
|
|
40285
40626
|
/**
|
|
40286
40627
|
* Language
|
|
@@ -40293,6 +40634,25 @@ declare const isLanguage: (value: string) => value is Language;
|
|
|
40293
40634
|
type AnthropicModelId = keyof typeof anthropicModels;
|
|
40294
40635
|
declare const anthropicDefaultModelId: AnthropicModelId;
|
|
40295
40636
|
declare const anthropicModels: {
|
|
40637
|
+
readonly "claude-sonnet-4-5": {
|
|
40638
|
+
readonly maxTokens: 64000;
|
|
40639
|
+
readonly contextWindow: 200000;
|
|
40640
|
+
readonly supportsImages: true;
|
|
40641
|
+
readonly supportsComputerUse: true;
|
|
40642
|
+
readonly supportsPromptCache: true;
|
|
40643
|
+
readonly inputPrice: 3;
|
|
40644
|
+
readonly outputPrice: 15;
|
|
40645
|
+
readonly cacheWritesPrice: 3.75;
|
|
40646
|
+
readonly cacheReadsPrice: 0.3;
|
|
40647
|
+
readonly supportsReasoningBudget: true;
|
|
40648
|
+
readonly tiers: [{
|
|
40649
|
+
readonly contextWindow: 1000000;
|
|
40650
|
+
readonly inputPrice: 6;
|
|
40651
|
+
readonly outputPrice: 22.5;
|
|
40652
|
+
readonly cacheWritesPrice: 7.5;
|
|
40653
|
+
readonly cacheReadsPrice: 0.6;
|
|
40654
|
+
}];
|
|
40655
|
+
};
|
|
40296
40656
|
readonly "claude-sonnet-4-20250514": {
|
|
40297
40657
|
readonly maxTokens: 64000;
|
|
40298
40658
|
readonly contextWindow: 200000;
|
|
@@ -40408,6 +40768,21 @@ type BedrockModelId = keyof typeof bedrockModels;
|
|
|
40408
40768
|
declare const bedrockDefaultModelId: BedrockModelId;
|
|
40409
40769
|
declare const bedrockDefaultPromptRouterModelId: BedrockModelId;
|
|
40410
40770
|
declare const bedrockModels: {
|
|
40771
|
+
readonly "anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
40772
|
+
readonly maxTokens: 8192;
|
|
40773
|
+
readonly contextWindow: 200000;
|
|
40774
|
+
readonly supportsImages: true;
|
|
40775
|
+
readonly supportsComputerUse: true;
|
|
40776
|
+
readonly supportsPromptCache: true;
|
|
40777
|
+
readonly supportsReasoningBudget: true;
|
|
40778
|
+
readonly inputPrice: 3;
|
|
40779
|
+
readonly outputPrice: 15;
|
|
40780
|
+
readonly cacheWritesPrice: 3.75;
|
|
40781
|
+
readonly cacheReadsPrice: 0.3;
|
|
40782
|
+
readonly minTokensPerCachePoint: 1024;
|
|
40783
|
+
readonly maxCachePoints: 4;
|
|
40784
|
+
readonly cachableFields: ["system", "messages", "tools"];
|
|
40785
|
+
};
|
|
40411
40786
|
readonly "amazon.nova-pro-v1:0": {
|
|
40412
40787
|
readonly maxTokens: 5000;
|
|
40413
40788
|
readonly contextWindow: 300000;
|
|
@@ -40791,7 +41166,7 @@ declare const BEDROCK_REGIONS: {
|
|
|
40791
41166
|
value: string;
|
|
40792
41167
|
label: string;
|
|
40793
41168
|
}[];
|
|
40794
|
-
declare const
|
|
41169
|
+
declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0"];
|
|
40795
41170
|
|
|
40796
41171
|
type CerebrasModelId = keyof typeof cerebrasModels;
|
|
40797
41172
|
declare const cerebrasDefaultModelId: CerebrasModelId;
|
|
@@ -40862,7 +41237,7 @@ declare const cerebrasModels: {
|
|
|
40862
41237
|
};
|
|
40863
41238
|
};
|
|
40864
41239
|
|
|
40865
|
-
type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.1" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5-FP8" | "moonshotai/Kimi-K2-Instruct-75k" | "moonshotai/Kimi-K2-Instruct-0905" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking";
|
|
41240
|
+
type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.1" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5-FP8" | "zai-org/GLM-4.5-turbo" | "moonshotai/Kimi-K2-Instruct-75k" | "moonshotai/Kimi-K2-Instruct-0905" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking";
|
|
40866
41241
|
declare const chutesDefaultModelId: ChutesModelId;
|
|
40867
41242
|
declare const chutesModels: {
|
|
40868
41243
|
readonly "deepseek-ai/DeepSeek-R1-0528": {
|
|
@@ -41099,6 +41474,15 @@ declare const chutesModels: {
|
|
|
41099
41474
|
readonly outputPrice: 0;
|
|
41100
41475
|
readonly description: "GLM-4.5-FP8 model with 128k token context window, optimized for agent-based applications with MoE architecture.";
|
|
41101
41476
|
};
|
|
41477
|
+
readonly "zai-org/GLM-4.5-turbo": {
|
|
41478
|
+
readonly maxTokens: 32768;
|
|
41479
|
+
readonly contextWindow: 131072;
|
|
41480
|
+
readonly supportsImages: false;
|
|
41481
|
+
readonly supportsPromptCache: false;
|
|
41482
|
+
readonly inputPrice: 1;
|
|
41483
|
+
readonly outputPrice: 3;
|
|
41484
|
+
readonly description: "GLM-4.5-turbo model with 128K token context window, optimized for fast inference.";
|
|
41485
|
+
};
|
|
41102
41486
|
readonly "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
|
|
41103
41487
|
readonly maxTokens: 32768;
|
|
41104
41488
|
readonly contextWindow: 262144;
|
|
@@ -41182,6 +41566,27 @@ declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000;
|
|
|
41182
41566
|
*/
|
|
41183
41567
|
declare function getClaudeCodeModelId(baseModelId: ClaudeCodeModelId, useVertex?: boolean): string;
|
|
41184
41568
|
declare const claudeCodeModels: {
|
|
41569
|
+
readonly "claude-sonnet-4-5": {
|
|
41570
|
+
readonly supportsImages: false;
|
|
41571
|
+
readonly supportsPromptCache: true;
|
|
41572
|
+
readonly supportsReasoningEffort: false;
|
|
41573
|
+
readonly supportsReasoningBudget: false;
|
|
41574
|
+
readonly requiredReasoningBudget: false;
|
|
41575
|
+
readonly maxTokens: 64000;
|
|
41576
|
+
readonly contextWindow: 200000;
|
|
41577
|
+
readonly supportsComputerUse: true;
|
|
41578
|
+
readonly inputPrice: 3;
|
|
41579
|
+
readonly outputPrice: 15;
|
|
41580
|
+
readonly cacheWritesPrice: 3.75;
|
|
41581
|
+
readonly cacheReadsPrice: 0.3;
|
|
41582
|
+
readonly tiers: [{
|
|
41583
|
+
readonly contextWindow: 1000000;
|
|
41584
|
+
readonly inputPrice: 6;
|
|
41585
|
+
readonly outputPrice: 22.5;
|
|
41586
|
+
readonly cacheWritesPrice: 7.5;
|
|
41587
|
+
readonly cacheReadsPrice: 0.6;
|
|
41588
|
+
}];
|
|
41589
|
+
};
|
|
41185
41590
|
readonly "claude-sonnet-4-20250514": {
|
|
41186
41591
|
readonly supportsImages: false;
|
|
41187
41592
|
readonly supportsPromptCache: true;
|
|
@@ -42159,6 +42564,20 @@ declare const openAiNativeModels: {
|
|
|
42159
42564
|
readonly cacheReadsPrice: 0.0025;
|
|
42160
42565
|
}];
|
|
42161
42566
|
};
|
|
42567
|
+
readonly "gpt-5-codex": {
|
|
42568
|
+
readonly maxTokens: 128000;
|
|
42569
|
+
readonly contextWindow: 400000;
|
|
42570
|
+
readonly supportsImages: true;
|
|
42571
|
+
readonly supportsPromptCache: true;
|
|
42572
|
+
readonly supportsReasoningEffort: true;
|
|
42573
|
+
readonly reasoningEffort: "medium";
|
|
42574
|
+
readonly inputPrice: 1.25;
|
|
42575
|
+
readonly outputPrice: 10;
|
|
42576
|
+
readonly cacheReadsPrice: 0.13;
|
|
42577
|
+
readonly description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex";
|
|
42578
|
+
readonly supportsVerbosity: true;
|
|
42579
|
+
readonly supportsTemperature: false;
|
|
42580
|
+
};
|
|
42162
42581
|
readonly "gpt-4.1": {
|
|
42163
42582
|
readonly maxTokens: 32768;
|
|
42164
42583
|
readonly contextWindow: 1047576;
|
|
@@ -42458,7 +42877,7 @@ declare const qwenCodeModels: {
|
|
|
42458
42877
|
declare const requestyDefaultModelId = "coding/claude-4-sonnet";
|
|
42459
42878
|
declare const requestyDefaultModelInfo: ModelInfo;
|
|
42460
42879
|
|
|
42461
|
-
type RooModelId = "xai/grok-code-fast-1";
|
|
42880
|
+
type RooModelId = "xai/grok-code-fast-1" | "roo/code-supernova-1-million" | "xai/grok-4-fast" | "deepseek/deepseek-chat-v3.1";
|
|
42462
42881
|
declare const rooDefaultModelId: RooModelId;
|
|
42463
42882
|
declare const rooModels: {
|
|
42464
42883
|
readonly "xai/grok-code-fast-1": {
|
|
@@ -42470,9 +42889,36 @@ declare const rooModels: {
|
|
|
42470
42889
|
readonly outputPrice: 0;
|
|
42471
42890
|
readonly description: "A reasoning model that is blazing fast and excels at agentic coding, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by xAI and used to improve the model.)";
|
|
42472
42891
|
};
|
|
42892
|
+
readonly "roo/code-supernova-1-million": {
|
|
42893
|
+
readonly maxTokens: 30000;
|
|
42894
|
+
readonly contextWindow: 1000000;
|
|
42895
|
+
readonly supportsImages: true;
|
|
42896
|
+
readonly supportsPromptCache: true;
|
|
42897
|
+
readonly inputPrice: 0;
|
|
42898
|
+
readonly outputPrice: 0;
|
|
42899
|
+
readonly description: "A versatile agentic coding stealth model with a 1M token context window that supports image inputs, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)";
|
|
42900
|
+
};
|
|
42901
|
+
readonly "xai/grok-4-fast": {
|
|
42902
|
+
readonly maxTokens: 30000;
|
|
42903
|
+
readonly contextWindow: 2000000;
|
|
42904
|
+
readonly supportsImages: false;
|
|
42905
|
+
readonly supportsPromptCache: false;
|
|
42906
|
+
readonly inputPrice: 0;
|
|
42907
|
+
readonly outputPrice: 0;
|
|
42908
|
+
readonly description: "Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. (Note: prompts and completions are logged by xAI and used to improve the model.)";
|
|
42909
|
+
};
|
|
42910
|
+
readonly "deepseek/deepseek-chat-v3.1": {
|
|
42911
|
+
readonly maxTokens: 16384;
|
|
42912
|
+
readonly contextWindow: 163840;
|
|
42913
|
+
readonly supportsImages: false;
|
|
42914
|
+
readonly supportsPromptCache: false;
|
|
42915
|
+
readonly inputPrice: 0;
|
|
42916
|
+
readonly outputPrice: 0;
|
|
42917
|
+
readonly description: "DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active). It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference.";
|
|
42918
|
+
};
|
|
42473
42919
|
};
|
|
42474
42920
|
|
|
42475
|
-
type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Llama-3.3-Swallow-70B-Instruct-v0.4" | "Qwen3-32B";
|
|
42921
|
+
type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Llama-3.3-Swallow-70B-Instruct-v0.4" | "Qwen3-32B" | "gpt-oss-120b";
|
|
42476
42922
|
declare const sambaNovaDefaultModelId: SambaNovaModelId;
|
|
42477
42923
|
declare const sambaNovaModels: {
|
|
42478
42924
|
readonly "Meta-Llama-3.1-8B-Instruct": {
|
|
@@ -42512,6 +42958,15 @@ declare const sambaNovaModels: {
|
|
|
42512
42958
|
readonly outputPrice: 4.5;
|
|
42513
42959
|
readonly description: "DeepSeek V3 model with 32K context window.";
|
|
42514
42960
|
};
|
|
42961
|
+
readonly "DeepSeek-V3.1": {
|
|
42962
|
+
readonly maxTokens: 8192;
|
|
42963
|
+
readonly contextWindow: 32768;
|
|
42964
|
+
readonly supportsImages: false;
|
|
42965
|
+
readonly supportsPromptCache: false;
|
|
42966
|
+
readonly inputPrice: 3;
|
|
42967
|
+
readonly outputPrice: 4.5;
|
|
42968
|
+
readonly description: "DeepSeek V3.1 model with 32K context window.";
|
|
42969
|
+
};
|
|
42515
42970
|
readonly "DeepSeek-R1-Distill-Llama-70B": {
|
|
42516
42971
|
readonly maxTokens: 8192;
|
|
42517
42972
|
readonly contextWindow: 131072;
|
|
@@ -42548,6 +43003,15 @@ declare const sambaNovaModels: {
|
|
|
42548
43003
|
readonly outputPrice: 0.8;
|
|
42549
43004
|
readonly description: "Alibaba Qwen 3 32B model with 8K context window.";
|
|
42550
43005
|
};
|
|
43006
|
+
readonly "gpt-oss-120b": {
|
|
43007
|
+
readonly maxTokens: 8192;
|
|
43008
|
+
readonly contextWindow: 131072;
|
|
43009
|
+
readonly supportsImages: false;
|
|
43010
|
+
readonly supportsPromptCache: false;
|
|
43011
|
+
readonly inputPrice: 0.22;
|
|
43012
|
+
readonly outputPrice: 0.59;
|
|
43013
|
+
readonly description: "OpenAI gpt oss 120b model with 128k context window.";
|
|
43014
|
+
};
|
|
42551
43015
|
};
|
|
42552
43016
|
|
|
42553
43017
|
declare const unboundDefaultModelId = "anthropic/claude-3-7-sonnet-20250219";
|
|
@@ -42722,6 +43186,18 @@ declare const vertexModels: {
|
|
|
42722
43186
|
readonly cacheReadsPrice: 0.3;
|
|
42723
43187
|
readonly supportsReasoningBudget: true;
|
|
42724
43188
|
};
|
|
43189
|
+
readonly "claude-sonnet-4-5@20250929": {
|
|
43190
|
+
readonly maxTokens: 8192;
|
|
43191
|
+
readonly contextWindow: 200000;
|
|
43192
|
+
readonly supportsImages: true;
|
|
43193
|
+
readonly supportsComputerUse: true;
|
|
43194
|
+
readonly supportsPromptCache: true;
|
|
43195
|
+
readonly inputPrice: 3;
|
|
43196
|
+
readonly outputPrice: 15;
|
|
43197
|
+
readonly cacheWritesPrice: 3.75;
|
|
43198
|
+
readonly cacheReadsPrice: 0.3;
|
|
43199
|
+
readonly supportsReasoningBudget: true;
|
|
43200
|
+
};
|
|
42725
43201
|
readonly "claude-opus-4-1@20250805": {
|
|
42726
43202
|
readonly maxTokens: 8192;
|
|
42727
43203
|
readonly contextWindow: 200000;
|
|
@@ -43209,6 +43685,17 @@ declare const internationalZAiModels: {
|
|
|
43209
43685
|
readonly cacheReadsPrice: 0.03;
|
|
43210
43686
|
readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
|
|
43211
43687
|
};
|
|
43688
|
+
readonly "glm-4.6": {
|
|
43689
|
+
readonly maxTokens: 98304;
|
|
43690
|
+
readonly contextWindow: 204800;
|
|
43691
|
+
readonly supportsImages: false;
|
|
43692
|
+
readonly supportsPromptCache: true;
|
|
43693
|
+
readonly inputPrice: 0.6;
|
|
43694
|
+
readonly outputPrice: 2.2;
|
|
43695
|
+
readonly cacheWritesPrice: 0;
|
|
43696
|
+
readonly cacheReadsPrice: 0.11;
|
|
43697
|
+
readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
|
|
43698
|
+
};
|
|
43212
43699
|
};
|
|
43213
43700
|
type MainlandZAiModelId = keyof typeof mainlandZAiModels;
|
|
43214
43701
|
declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
|
|
@@ -43267,6 +43754,38 @@ declare const mainlandZAiModels: {
|
|
|
43267
43754
|
readonly cacheReadsPrice: 0.02;
|
|
43268
43755
|
}];
|
|
43269
43756
|
};
|
|
43757
|
+
readonly "glm-4.6": {
|
|
43758
|
+
readonly maxTokens: 98304;
|
|
43759
|
+
readonly contextWindow: 204800;
|
|
43760
|
+
readonly supportsImages: false;
|
|
43761
|
+
readonly supportsPromptCache: true;
|
|
43762
|
+
readonly inputPrice: 0.29;
|
|
43763
|
+
readonly outputPrice: 1.14;
|
|
43764
|
+
readonly cacheWritesPrice: 0;
|
|
43765
|
+
readonly cacheReadsPrice: 0.057;
|
|
43766
|
+
readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
|
|
43767
|
+
readonly tiers: [{
|
|
43768
|
+
readonly contextWindow: 32000;
|
|
43769
|
+
readonly inputPrice: 0.21;
|
|
43770
|
+
readonly outputPrice: 1;
|
|
43771
|
+
readonly cacheReadsPrice: 0.043;
|
|
43772
|
+
}, {
|
|
43773
|
+
readonly contextWindow: 128000;
|
|
43774
|
+
readonly inputPrice: 0.29;
|
|
43775
|
+
readonly outputPrice: 1.14;
|
|
43776
|
+
readonly cacheReadsPrice: 0.057;
|
|
43777
|
+
}, {
|
|
43778
|
+
readonly contextWindow: 200000;
|
|
43779
|
+
readonly inputPrice: 0.29;
|
|
43780
|
+
readonly outputPrice: 1.14;
|
|
43781
|
+
readonly cacheReadsPrice: 0.057;
|
|
43782
|
+
}, {
|
|
43783
|
+
readonly contextWindow: number;
|
|
43784
|
+
readonly inputPrice: 0.29;
|
|
43785
|
+
readonly outputPrice: 1.14;
|
|
43786
|
+
readonly cacheReadsPrice: 0.057;
|
|
43787
|
+
}];
|
|
43788
|
+
};
|
|
43270
43789
|
};
|
|
43271
43790
|
declare const ZAI_DEFAULT_TEMPERATURE = 0;
|
|
43272
43791
|
declare const zaiApiLineConfigs: {
|
|
@@ -43295,4 +43814,4 @@ declare const zaiApiLineConfigs: {
|
|
|
43295
43814
|
declare const deepInfraDefaultModelId = "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo";
|
|
43296
43815
|
declare const deepInfraDefaultModelInfo: ModelInfo;
|
|
43297
43816
|
|
|
43298
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState,
|
|
43817
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, type ConsentCookieValue, type ContextCondense, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, GPT5_DEFAULT_TEMPERATURE, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LocalProvider, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModelId, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type StaticAppProperties, type SuggestionItem, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
|