@roo-code/types 1.30.0 → 1.32.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.d.cts CHANGED
@@ -655,6 +655,7 @@ declare const chutesModels: {
655
655
 
656
656
  type ClaudeCodeModelId = keyof typeof claudeCodeModels;
657
657
  declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
658
+ declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8000;
658
659
  declare const claudeCodeModels: {
659
660
  readonly "claude-sonnet-4-20250514": {
660
661
  readonly supportsImages: false;
@@ -1246,6 +1247,14 @@ declare const mistralModels: {
1246
1247
  readonly inputPrice: 2;
1247
1248
  readonly outputPrice: 5;
1248
1249
  };
1250
+ readonly "devstral-medium-latest": {
1251
+ readonly maxTokens: 131000;
1252
+ readonly contextWindow: 131000;
1253
+ readonly supportsImages: true;
1254
+ readonly supportsPromptCache: false;
1255
+ readonly inputPrice: 0.4;
1256
+ readonly outputPrice: 2;
1257
+ };
1249
1258
  readonly "mistral-medium-latest": {
1250
1259
  readonly maxTokens: 131000;
1251
1260
  readonly contextWindow: 131000;
@@ -1930,23 +1939,16 @@ declare const vscodeLlmModels: {
1930
1939
  type XAIModelId = keyof typeof xaiModels;
1931
1940
  declare const xaiDefaultModelId: XAIModelId;
1932
1941
  declare const xaiModels: {
1933
- readonly "grok-2-1212": {
1934
- readonly maxTokens: 8192;
1935
- readonly contextWindow: 131072;
1936
- readonly supportsImages: false;
1937
- readonly supportsPromptCache: false;
1938
- readonly inputPrice: 2;
1939
- readonly outputPrice: 10;
1940
- readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
1941
- };
1942
- readonly "grok-2-vision-1212": {
1942
+ readonly "grok-4": {
1943
1943
  readonly maxTokens: 8192;
1944
- readonly contextWindow: 32768;
1944
+ readonly contextWindow: 256000;
1945
1945
  readonly supportsImages: true;
1946
- readonly supportsPromptCache: false;
1947
- readonly inputPrice: 2;
1948
- readonly outputPrice: 10;
1949
- readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
1946
+ readonly supportsPromptCache: true;
1947
+ readonly inputPrice: 3;
1948
+ readonly outputPrice: 15;
1949
+ readonly cacheWritesPrice: 0.75;
1950
+ readonly cacheReadsPrice: 0.75;
1951
+ readonly description: "xAI's Grok-4 model with 256K context window";
1950
1952
  };
1951
1953
  readonly "grok-3": {
1952
1954
  readonly maxTokens: 8192;
@@ -1994,6 +1996,24 @@ declare const xaiModels: {
1994
1996
  readonly description: "xAI's Grok-3 mini fast model with 128K context window";
1995
1997
  readonly supportsReasoningEffort: true;
1996
1998
  };
1999
+ readonly "grok-2-1212": {
2000
+ readonly maxTokens: 8192;
2001
+ readonly contextWindow: 131072;
2002
+ readonly supportsImages: false;
2003
+ readonly supportsPromptCache: false;
2004
+ readonly inputPrice: 2;
2005
+ readonly outputPrice: 10;
2006
+ readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
2007
+ };
2008
+ readonly "grok-2-vision-1212": {
2009
+ readonly maxTokens: 8192;
2010
+ readonly contextWindow: 32768;
2011
+ readonly supportsImages: true;
2012
+ readonly supportsPromptCache: false;
2013
+ readonly inputPrice: 2;
2014
+ readonly outputPrice: 10;
2015
+ readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
2016
+ };
1997
2017
  };
1998
2018
 
1999
2019
  /**
@@ -2020,11 +2040,11 @@ declare const providerSettingsEntrySchema: z.ZodObject<{
2020
2040
  }, "strip", z.ZodTypeAny, {
2021
2041
  name: string;
2022
2042
  id: string;
2023
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2043
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2024
2044
  }, {
2025
2045
  name: string;
2026
2046
  id: string;
2027
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2047
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2028
2048
  }>;
2029
2049
  type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
2030
2050
  declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
@@ -2089,6 +2109,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2089
2109
  apiModelId: z.ZodOptional<z.ZodString>;
2090
2110
  } & {
2091
2111
  claudeCodePath: z.ZodOptional<z.ZodString>;
2112
+ claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
2092
2113
  } & {
2093
2114
  apiProvider: z.ZodLiteral<"claude-code">;
2094
2115
  }, "strip", z.ZodTypeAny, {
@@ -2104,6 +2125,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2104
2125
  modelMaxThinkingTokens?: number | undefined;
2105
2126
  apiModelId?: string | undefined;
2106
2127
  claudeCodePath?: string | undefined;
2128
+ claudeCodeMaxOutputTokens?: number | undefined;
2107
2129
  }, {
2108
2130
  apiProvider: "claude-code";
2109
2131
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -2117,6 +2139,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2117
2139
  modelMaxThinkingTokens?: number | undefined;
2118
2140
  apiModelId?: string | undefined;
2119
2141
  claudeCodePath?: string | undefined;
2142
+ claudeCodeMaxOutputTokens?: number | undefined;
2120
2143
  }>, z.ZodObject<{
2121
2144
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
2122
2145
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3262,6 +3285,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3262
3285
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
3263
3286
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
3264
3287
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
3288
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
3265
3289
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
3266
3290
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
3267
3291
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
@@ -3443,18 +3467,20 @@ declare const providerSettingsSchema: z.ZodObject<{
3443
3467
  glamaModelId: z.ZodOptional<z.ZodString>;
3444
3468
  glamaApiKey: z.ZodOptional<z.ZodString>;
3445
3469
  claudeCodePath: z.ZodOptional<z.ZodString>;
3470
+ claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
3446
3471
  apiKey: z.ZodOptional<z.ZodString>;
3447
3472
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3448
3473
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
3449
3474
  apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3450
3475
  }, "strip", z.ZodTypeAny, {
3451
3476
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3477
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3478
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3452
3479
  codeIndexOpenAiKey?: string | undefined;
3453
3480
  codeIndexQdrantApiKey?: string | undefined;
3454
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3455
3481
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3456
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3457
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3482
+ codebaseIndexGeminiApiKey?: string | undefined;
3483
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3458
3484
  includeMaxTokens?: boolean | undefined;
3459
3485
  diffEnabled?: boolean | undefined;
3460
3486
  fuzzyMatchThreshold?: number | undefined;
@@ -3468,6 +3494,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3468
3494
  anthropicBaseUrl?: string | undefined;
3469
3495
  anthropicUseAuthToken?: boolean | undefined;
3470
3496
  claudeCodePath?: string | undefined;
3497
+ claudeCodeMaxOutputTokens?: number | undefined;
3471
3498
  glamaModelId?: string | undefined;
3472
3499
  glamaApiKey?: string | undefined;
3473
3500
  openRouterApiKey?: string | undefined;
@@ -3564,12 +3591,13 @@ declare const providerSettingsSchema: z.ZodObject<{
3564
3591
  litellmModelId?: string | undefined;
3565
3592
  }, {
3566
3593
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3594
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3595
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3567
3596
  codeIndexOpenAiKey?: string | undefined;
3568
3597
  codeIndexQdrantApiKey?: string | undefined;
3569
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3570
3598
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3571
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3572
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3599
+ codebaseIndexGeminiApiKey?: string | undefined;
3600
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3573
3601
  includeMaxTokens?: boolean | undefined;
3574
3602
  diffEnabled?: boolean | undefined;
3575
3603
  fuzzyMatchThreshold?: number | undefined;
@@ -3583,6 +3611,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3583
3611
  anthropicBaseUrl?: string | undefined;
3584
3612
  anthropicUseAuthToken?: boolean | undefined;
3585
3613
  claudeCodePath?: string | undefined;
3614
+ claudeCodeMaxOutputTokens?: number | undefined;
3586
3615
  glamaModelId?: string | undefined;
3587
3616
  glamaApiKey?: string | undefined;
3588
3617
  openRouterApiKey?: string | undefined;
@@ -3679,9 +3708,11 @@ declare const providerSettingsSchema: z.ZodObject<{
3679
3708
  litellmModelId?: string | undefined;
3680
3709
  }>;
3681
3710
  type ProviderSettings = z.infer<typeof providerSettingsSchema>;
3682
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexOpenAiCompatibleModelDimension", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
3711
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
3683
3712
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
3684
3713
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
3714
+ declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
3715
+ declare const getApiProtocol: (provider: ProviderName | undefined) => "anthropic" | "openai";
3685
3716
 
3686
3717
  /**
3687
3718
  * GlobalSettings
@@ -3695,11 +3726,11 @@ declare const globalSettingsSchema: z.ZodObject<{
3695
3726
  }, "strip", z.ZodTypeAny, {
3696
3727
  name: string;
3697
3728
  id: string;
3698
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3729
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3699
3730
  }, {
3700
3731
  name: string;
3701
3732
  id: string;
3702
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3733
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3703
3734
  }>, "many">>;
3704
3735
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3705
3736
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -3759,7 +3790,9 @@ declare const globalSettingsSchema: z.ZodObject<{
3759
3790
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
3760
3791
  alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
3761
3792
  followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
3793
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
3762
3794
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3795
+ deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3763
3796
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3764
3797
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
3765
3798
  autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
@@ -3824,6 +3857,13 @@ declare const globalSettingsSchema: z.ZodObject<{
3824
3857
  }, {
3825
3858
  dimension: number;
3826
3859
  }>>>;
3860
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3861
+ dimension: z.ZodNumber;
3862
+ }, "strip", z.ZodTypeAny, {
3863
+ dimension: number;
3864
+ }, {
3865
+ dimension: number;
3866
+ }>>>;
3827
3867
  }, "strip", z.ZodTypeAny, {
3828
3868
  openai?: Record<string, {
3829
3869
  dimension: number;
@@ -3834,6 +3874,9 @@ declare const globalSettingsSchema: z.ZodObject<{
3834
3874
  "openai-compatible"?: Record<string, {
3835
3875
  dimension: number;
3836
3876
  }> | undefined;
3877
+ gemini?: Record<string, {
3878
+ dimension: number;
3879
+ }> | undefined;
3837
3880
  }, {
3838
3881
  openai?: Record<string, {
3839
3882
  dimension: number;
@@ -3844,28 +3887,43 @@ declare const globalSettingsSchema: z.ZodObject<{
3844
3887
  "openai-compatible"?: Record<string, {
3845
3888
  dimension: number;
3846
3889
  }> | undefined;
3890
+ gemini?: Record<string, {
3891
+ dimension: number;
3892
+ }> | undefined;
3847
3893
  }>>;
3848
3894
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
3849
3895
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
3850
3896
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
3851
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
3897
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
3852
3898
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
3853
3899
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
3900
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
3854
3901
  codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
3902
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
3903
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
3904
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
3855
3905
  }, "strip", z.ZodTypeAny, {
3856
3906
  codebaseIndexEnabled?: boolean | undefined;
3857
3907
  codebaseIndexQdrantUrl?: string | undefined;
3858
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
3908
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
3859
3909
  codebaseIndexEmbedderBaseUrl?: string | undefined;
3860
3910
  codebaseIndexEmbedderModelId?: string | undefined;
3911
+ codebaseIndexEmbedderModelDimension?: number | undefined;
3861
3912
  codebaseIndexSearchMinScore?: number | undefined;
3913
+ codebaseIndexSearchMaxResults?: number | undefined;
3914
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3915
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3862
3916
  }, {
3863
3917
  codebaseIndexEnabled?: boolean | undefined;
3864
3918
  codebaseIndexQdrantUrl?: string | undefined;
3865
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
3919
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
3866
3920
  codebaseIndexEmbedderBaseUrl?: string | undefined;
3867
3921
  codebaseIndexEmbedderModelId?: string | undefined;
3922
+ codebaseIndexEmbedderModelDimension?: number | undefined;
3868
3923
  codebaseIndexSearchMinScore?: number | undefined;
3924
+ codebaseIndexSearchMaxResults?: number | undefined;
3925
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3926
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3869
3927
  }>>;
3870
3928
  language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
3871
3929
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -3969,7 +4027,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3969
4027
  listApiConfigMeta?: {
3970
4028
  name: string;
3971
4029
  id: string;
3972
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4030
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3973
4031
  }[] | undefined;
3974
4032
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3975
4033
  lastShownAnnouncementId?: string | undefined;
@@ -4004,7 +4062,9 @@ declare const globalSettingsSchema: z.ZodObject<{
4004
4062
  alwaysAllowExecute?: boolean | undefined;
4005
4063
  alwaysAllowFollowupQuestions?: boolean | undefined;
4006
4064
  followupAutoApproveTimeoutMs?: number | undefined;
4065
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4007
4066
  allowedCommands?: string[] | undefined;
4067
+ deniedCommands?: string[] | undefined;
4008
4068
  allowedMaxRequests?: number | null | undefined;
4009
4069
  autoCondenseContext?: boolean | undefined;
4010
4070
  autoCondenseContextPercent?: number | undefined;
@@ -4048,14 +4108,21 @@ declare const globalSettingsSchema: z.ZodObject<{
4048
4108
  "openai-compatible"?: Record<string, {
4049
4109
  dimension: number;
4050
4110
  }> | undefined;
4111
+ gemini?: Record<string, {
4112
+ dimension: number;
4113
+ }> | undefined;
4051
4114
  } | undefined;
4052
4115
  codebaseIndexConfig?: {
4053
4116
  codebaseIndexEnabled?: boolean | undefined;
4054
4117
  codebaseIndexQdrantUrl?: string | undefined;
4055
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4118
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4056
4119
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4057
4120
  codebaseIndexEmbedderModelId?: string | undefined;
4121
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4058
4122
  codebaseIndexSearchMinScore?: number | undefined;
4123
+ codebaseIndexSearchMaxResults?: number | undefined;
4124
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4125
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4059
4126
  } | undefined;
4060
4127
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
4061
4128
  mcpEnabled?: boolean | undefined;
@@ -4098,7 +4165,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4098
4165
  listApiConfigMeta?: {
4099
4166
  name: string;
4100
4167
  id: string;
4101
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4168
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4102
4169
  }[] | undefined;
4103
4170
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4104
4171
  lastShownAnnouncementId?: string | undefined;
@@ -4133,7 +4200,9 @@ declare const globalSettingsSchema: z.ZodObject<{
4133
4200
  alwaysAllowExecute?: boolean | undefined;
4134
4201
  alwaysAllowFollowupQuestions?: boolean | undefined;
4135
4202
  followupAutoApproveTimeoutMs?: number | undefined;
4203
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4136
4204
  allowedCommands?: string[] | undefined;
4205
+ deniedCommands?: string[] | undefined;
4137
4206
  allowedMaxRequests?: number | null | undefined;
4138
4207
  autoCondenseContext?: boolean | undefined;
4139
4208
  autoCondenseContextPercent?: number | undefined;
@@ -4177,14 +4246,21 @@ declare const globalSettingsSchema: z.ZodObject<{
4177
4246
  "openai-compatible"?: Record<string, {
4178
4247
  dimension: number;
4179
4248
  }> | undefined;
4249
+ gemini?: Record<string, {
4250
+ dimension: number;
4251
+ }> | undefined;
4180
4252
  } | undefined;
4181
4253
  codebaseIndexConfig?: {
4182
4254
  codebaseIndexEnabled?: boolean | undefined;
4183
4255
  codebaseIndexQdrantUrl?: string | undefined;
4184
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4256
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4185
4257
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4186
4258
  codebaseIndexEmbedderModelId?: string | undefined;
4259
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4187
4260
  codebaseIndexSearchMinScore?: number | undefined;
4261
+ codebaseIndexSearchMaxResults?: number | undefined;
4262
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4263
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4188
4264
  } | undefined;
4189
4265
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
4190
4266
  mcpEnabled?: boolean | undefined;
@@ -4205,7 +4281,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4205
4281
  lastModeImportPath?: string | undefined;
4206
4282
  }>;
4207
4283
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
4208
- declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
4284
+ declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
4209
4285
  /**
4210
4286
  * RooCodeSettings
4211
4287
  */
@@ -4215,6 +4291,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4215
4291
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
4216
4292
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
4217
4293
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
4294
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
4218
4295
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
4219
4296
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4220
4297
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -4393,6 +4470,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4393
4470
  glamaModelId: z.ZodOptional<z.ZodString>;
4394
4471
  glamaApiKey: z.ZodOptional<z.ZodString>;
4395
4472
  claudeCodePath: z.ZodOptional<z.ZodString>;
4473
+ claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
4396
4474
  apiKey: z.ZodOptional<z.ZodString>;
4397
4475
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4398
4476
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -4406,11 +4484,11 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4406
4484
  }, "strip", z.ZodTypeAny, {
4407
4485
  name: string;
4408
4486
  id: string;
4409
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4487
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4410
4488
  }, {
4411
4489
  name: string;
4412
4490
  id: string;
4413
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4491
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4414
4492
  }>, "many">>;
4415
4493
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4416
4494
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -4470,7 +4548,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4470
4548
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
4471
4549
  alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
4472
4550
  followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
4551
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
4473
4552
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4553
+ deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4474
4554
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4475
4555
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
4476
4556
  autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
@@ -4535,6 +4615,13 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4535
4615
  }, {
4536
4616
  dimension: number;
4537
4617
  }>>>;
4618
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4619
+ dimension: z.ZodNumber;
4620
+ }, "strip", z.ZodTypeAny, {
4621
+ dimension: number;
4622
+ }, {
4623
+ dimension: number;
4624
+ }>>>;
4538
4625
  }, "strip", z.ZodTypeAny, {
4539
4626
  openai?: Record<string, {
4540
4627
  dimension: number;
@@ -4545,6 +4632,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4545
4632
  "openai-compatible"?: Record<string, {
4546
4633
  dimension: number;
4547
4634
  }> | undefined;
4635
+ gemini?: Record<string, {
4636
+ dimension: number;
4637
+ }> | undefined;
4548
4638
  }, {
4549
4639
  openai?: Record<string, {
4550
4640
  dimension: number;
@@ -4555,28 +4645,43 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4555
4645
  "openai-compatible"?: Record<string, {
4556
4646
  dimension: number;
4557
4647
  }> | undefined;
4648
+ gemini?: Record<string, {
4649
+ dimension: number;
4650
+ }> | undefined;
4558
4651
  }>>;
4559
4652
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
4560
4653
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
4561
4654
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
4562
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
4655
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
4563
4656
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
4564
4657
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
4658
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
4565
4659
  codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
4660
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
4661
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
4662
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
4566
4663
  }, "strip", z.ZodTypeAny, {
4567
4664
  codebaseIndexEnabled?: boolean | undefined;
4568
4665
  codebaseIndexQdrantUrl?: string | undefined;
4569
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4666
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4570
4667
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4571
4668
  codebaseIndexEmbedderModelId?: string | undefined;
4669
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4572
4670
  codebaseIndexSearchMinScore?: number | undefined;
4671
+ codebaseIndexSearchMaxResults?: number | undefined;
4672
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4673
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4573
4674
  }, {
4574
4675
  codebaseIndexEnabled?: boolean | undefined;
4575
4676
  codebaseIndexQdrantUrl?: string | undefined;
4576
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4677
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4577
4678
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4578
4679
  codebaseIndexEmbedderModelId?: string | undefined;
4680
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4579
4681
  codebaseIndexSearchMinScore?: number | undefined;
4682
+ codebaseIndexSearchMaxResults?: number | undefined;
4683
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4684
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4580
4685
  }>>;
4581
4686
  language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
4582
4687
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -4658,12 +4763,13 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4658
4763
  lastModeImportPath: z.ZodOptional<z.ZodString>;
4659
4764
  }, "strip", z.ZodTypeAny, {
4660
4765
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4766
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4767
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4661
4768
  codeIndexOpenAiKey?: string | undefined;
4662
4769
  codeIndexQdrantApiKey?: string | undefined;
4663
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4664
4770
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4665
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4666
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4771
+ codebaseIndexGeminiApiKey?: string | undefined;
4772
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4667
4773
  includeMaxTokens?: boolean | undefined;
4668
4774
  diffEnabled?: boolean | undefined;
4669
4775
  fuzzyMatchThreshold?: number | undefined;
@@ -4677,6 +4783,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4677
4783
  anthropicBaseUrl?: string | undefined;
4678
4784
  anthropicUseAuthToken?: boolean | undefined;
4679
4785
  claudeCodePath?: string | undefined;
4786
+ claudeCodeMaxOutputTokens?: number | undefined;
4680
4787
  glamaModelId?: string | undefined;
4681
4788
  glamaApiKey?: string | undefined;
4682
4789
  openRouterApiKey?: string | undefined;
@@ -4791,7 +4898,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4791
4898
  listApiConfigMeta?: {
4792
4899
  name: string;
4793
4900
  id: string;
4794
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4901
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4795
4902
  }[] | undefined;
4796
4903
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4797
4904
  lastShownAnnouncementId?: string | undefined;
@@ -4826,7 +4933,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4826
4933
  alwaysAllowExecute?: boolean | undefined;
4827
4934
  alwaysAllowFollowupQuestions?: boolean | undefined;
4828
4935
  followupAutoApproveTimeoutMs?: number | undefined;
4936
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4829
4937
  allowedCommands?: string[] | undefined;
4938
+ deniedCommands?: string[] | undefined;
4830
4939
  allowedMaxRequests?: number | null | undefined;
4831
4940
  autoCondenseContext?: boolean | undefined;
4832
4941
  autoCondenseContextPercent?: number | undefined;
@@ -4870,14 +4979,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4870
4979
  "openai-compatible"?: Record<string, {
4871
4980
  dimension: number;
4872
4981
  }> | undefined;
4982
+ gemini?: Record<string, {
4983
+ dimension: number;
4984
+ }> | undefined;
4873
4985
  } | undefined;
4874
4986
  codebaseIndexConfig?: {
4875
4987
  codebaseIndexEnabled?: boolean | undefined;
4876
4988
  codebaseIndexQdrantUrl?: string | undefined;
4877
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4989
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4878
4990
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4879
4991
  codebaseIndexEmbedderModelId?: string | undefined;
4992
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4880
4993
  codebaseIndexSearchMinScore?: number | undefined;
4994
+ codebaseIndexSearchMaxResults?: number | undefined;
4995
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4996
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4881
4997
  } | undefined;
4882
4998
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
4883
4999
  mcpEnabled?: boolean | undefined;
@@ -4898,12 +5014,13 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4898
5014
  lastModeImportPath?: string | undefined;
4899
5015
  }, {
4900
5016
  reasoningEffort?: "low" | "medium" | "high" | undefined;
5017
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
5018
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4901
5019
  codeIndexOpenAiKey?: string | undefined;
4902
5020
  codeIndexQdrantApiKey?: string | undefined;
4903
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4904
5021
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4905
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4906
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5022
+ codebaseIndexGeminiApiKey?: string | undefined;
5023
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4907
5024
  includeMaxTokens?: boolean | undefined;
4908
5025
  diffEnabled?: boolean | undefined;
4909
5026
  fuzzyMatchThreshold?: number | undefined;
@@ -4917,6 +5034,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4917
5034
  anthropicBaseUrl?: string | undefined;
4918
5035
  anthropicUseAuthToken?: boolean | undefined;
4919
5036
  claudeCodePath?: string | undefined;
5037
+ claudeCodeMaxOutputTokens?: number | undefined;
4920
5038
  glamaModelId?: string | undefined;
4921
5039
  glamaApiKey?: string | undefined;
4922
5040
  openRouterApiKey?: string | undefined;
@@ -5031,7 +5149,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5031
5149
  listApiConfigMeta?: {
5032
5150
  name: string;
5033
5151
  id: string;
5034
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5152
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5035
5153
  }[] | undefined;
5036
5154
  pinnedApiConfigs?: Record<string, boolean> | undefined;
5037
5155
  lastShownAnnouncementId?: string | undefined;
@@ -5066,7 +5184,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5066
5184
  alwaysAllowExecute?: boolean | undefined;
5067
5185
  alwaysAllowFollowupQuestions?: boolean | undefined;
5068
5186
  followupAutoApproveTimeoutMs?: number | undefined;
5187
+ alwaysAllowUpdateTodoList?: boolean | undefined;
5069
5188
  allowedCommands?: string[] | undefined;
5189
+ deniedCommands?: string[] | undefined;
5070
5190
  allowedMaxRequests?: number | null | undefined;
5071
5191
  autoCondenseContext?: boolean | undefined;
5072
5192
  autoCondenseContextPercent?: number | undefined;
@@ -5110,14 +5230,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5110
5230
  "openai-compatible"?: Record<string, {
5111
5231
  dimension: number;
5112
5232
  }> | undefined;
5233
+ gemini?: Record<string, {
5234
+ dimension: number;
5235
+ }> | undefined;
5113
5236
  } | undefined;
5114
5237
  codebaseIndexConfig?: {
5115
5238
  codebaseIndexEnabled?: boolean | undefined;
5116
5239
  codebaseIndexQdrantUrl?: string | undefined;
5117
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
5240
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
5118
5241
  codebaseIndexEmbedderBaseUrl?: string | undefined;
5119
5242
  codebaseIndexEmbedderModelId?: string | undefined;
5243
+ codebaseIndexEmbedderModelDimension?: number | undefined;
5120
5244
  codebaseIndexSearchMinScore?: number | undefined;
5245
+ codebaseIndexSearchMaxResults?: number | undefined;
5246
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
5247
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
5121
5248
  } | undefined;
5122
5249
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
5123
5250
  mcpEnabled?: boolean | undefined;
@@ -5141,7 +5268,7 @@ type RooCodeSettings = GlobalSettings & ProviderSettings;
5141
5268
  /**
5142
5269
  * SecretState
5143
5270
  */
5144
- declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey"];
5271
+ declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey"];
5145
5272
  type SecretState = Pick<ProviderSettings, (typeof SECRET_STATE_KEYS)[number]>;
5146
5273
  declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
5147
5274
  /**
@@ -5219,8 +5346,8 @@ type ClineAsk = z.infer<typeof clineAskSchema>;
5219
5346
  * - `condense_context_error`: Error occurred during context condensation
5220
5347
  * - `codebase_search_result`: Results from searching the codebase
5221
5348
  */
5222
- declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"];
5223
- declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>;
5349
+ declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"];
5350
+ declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>;
5224
5351
  type ClineSay = z.infer<typeof clineSaySchema>;
5225
5352
  /**
5226
5353
  * ToolProgressStatus
@@ -5263,7 +5390,7 @@ declare const clineMessageSchema: z.ZodObject<{
5263
5390
  ts: z.ZodNumber;
5264
5391
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
5265
5392
  ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
5266
- say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>>;
5393
+ say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
5267
5394
  text: z.ZodOptional<z.ZodString>;
5268
5395
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5269
5396
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -5297,6 +5424,7 @@ declare const clineMessageSchema: z.ZodObject<{
5297
5424
  summary: string;
5298
5425
  }>>;
5299
5426
  isProtected: z.ZodOptional<z.ZodBoolean>;
5427
+ apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
5300
5428
  }, "strip", z.ZodTypeAny, {
5301
5429
  type: "ask" | "say";
5302
5430
  ts: number;
@@ -5304,7 +5432,7 @@ declare const clineMessageSchema: z.ZodObject<{
5304
5432
  partial?: boolean | undefined;
5305
5433
  text?: string | undefined;
5306
5434
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5307
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5435
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5308
5436
  images?: string[] | undefined;
5309
5437
  conversationHistoryIndex?: number | undefined;
5310
5438
  checkpoint?: Record<string, unknown> | undefined;
@@ -5319,6 +5447,7 @@ declare const clineMessageSchema: z.ZodObject<{
5319
5447
  summary: string;
5320
5448
  } | undefined;
5321
5449
  isProtected?: boolean | undefined;
5450
+ apiProtocol?: "openai" | "anthropic" | undefined;
5322
5451
  }, {
5323
5452
  type: "ask" | "say";
5324
5453
  ts: number;
@@ -5326,7 +5455,7 @@ declare const clineMessageSchema: z.ZodObject<{
5326
5455
  partial?: boolean | undefined;
5327
5456
  text?: string | undefined;
5328
5457
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5329
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5458
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5330
5459
  images?: string[] | undefined;
5331
5460
  conversationHistoryIndex?: number | undefined;
5332
5461
  checkpoint?: Record<string, unknown> | undefined;
@@ -5341,6 +5470,7 @@ declare const clineMessageSchema: z.ZodObject<{
5341
5470
  summary: string;
5342
5471
  } | undefined;
5343
5472
  isProtected?: boolean | undefined;
5473
+ apiProtocol?: "openai" | "anthropic" | undefined;
5344
5474
  }>;
5345
5475
  type ClineMessage = z.infer<typeof clineMessageSchema>;
5346
5476
  /**
@@ -5379,13 +5509,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
5379
5509
  /**
5380
5510
  * ToolName
5381
5511
  */
5382
- declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"];
5383
- declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>;
5512
+ declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"];
5513
+ declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>;
5384
5514
  type ToolName = z.infer<typeof toolNamesSchema>;
5385
5515
  /**
5386
5516
  * ToolUsage
5387
5517
  */
5388
- declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodObject<{
5518
+ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
5389
5519
  attempts: z.ZodNumber;
5390
5520
  failures: z.ZodNumber;
5391
5521
  }, "strip", z.ZodTypeAny, {
@@ -5435,7 +5565,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5435
5565
  ts: z.ZodNumber;
5436
5566
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
5437
5567
  ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
5438
- say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>>;
5568
+ say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
5439
5569
  text: z.ZodOptional<z.ZodString>;
5440
5570
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5441
5571
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -5469,6 +5599,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5469
5599
  summary: string;
5470
5600
  }>>;
5471
5601
  isProtected: z.ZodOptional<z.ZodBoolean>;
5602
+ apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
5472
5603
  }, "strip", z.ZodTypeAny, {
5473
5604
  type: "ask" | "say";
5474
5605
  ts: number;
@@ -5476,7 +5607,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5476
5607
  partial?: boolean | undefined;
5477
5608
  text?: string | undefined;
5478
5609
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5479
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5610
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5480
5611
  images?: string[] | undefined;
5481
5612
  conversationHistoryIndex?: number | undefined;
5482
5613
  checkpoint?: Record<string, unknown> | undefined;
@@ -5491,6 +5622,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5491
5622
  summary: string;
5492
5623
  } | undefined;
5493
5624
  isProtected?: boolean | undefined;
5625
+ apiProtocol?: "openai" | "anthropic" | undefined;
5494
5626
  }, {
5495
5627
  type: "ask" | "say";
5496
5628
  ts: number;
@@ -5498,7 +5630,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5498
5630
  partial?: boolean | undefined;
5499
5631
  text?: string | undefined;
5500
5632
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5501
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5633
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5502
5634
  images?: string[] | undefined;
5503
5635
  conversationHistoryIndex?: number | undefined;
5504
5636
  checkpoint?: Record<string, unknown> | undefined;
@@ -5513,6 +5645,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5513
5645
  summary: string;
5514
5646
  } | undefined;
5515
5647
  isProtected?: boolean | undefined;
5648
+ apiProtocol?: "openai" | "anthropic" | undefined;
5516
5649
  }>;
5517
5650
  }, "strip", z.ZodTypeAny, {
5518
5651
  message: {
@@ -5522,7 +5655,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5522
5655
  partial?: boolean | undefined;
5523
5656
  text?: string | undefined;
5524
5657
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5525
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5658
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5526
5659
  images?: string[] | undefined;
5527
5660
  conversationHistoryIndex?: number | undefined;
5528
5661
  checkpoint?: Record<string, unknown> | undefined;
@@ -5537,6 +5670,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5537
5670
  summary: string;
5538
5671
  } | undefined;
5539
5672
  isProtected?: boolean | undefined;
5673
+ apiProtocol?: "openai" | "anthropic" | undefined;
5540
5674
  };
5541
5675
  taskId: string;
5542
5676
  action: "created" | "updated";
@@ -5548,7 +5682,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5548
5682
  partial?: boolean | undefined;
5549
5683
  text?: string | undefined;
5550
5684
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5551
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5685
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5552
5686
  images?: string[] | undefined;
5553
5687
  conversationHistoryIndex?: number | undefined;
5554
5688
  checkpoint?: Record<string, unknown> | undefined;
@@ -5563,6 +5697,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5563
5697
  summary: string;
5564
5698
  } | undefined;
5565
5699
  isProtected?: boolean | undefined;
5700
+ apiProtocol?: "openai" | "anthropic" | undefined;
5566
5701
  };
5567
5702
  taskId: string;
5568
5703
  action: "created" | "updated";
@@ -5596,7 +5731,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5596
5731
  contextTokens: number;
5597
5732
  totalCacheWrites?: number | undefined;
5598
5733
  totalCacheReads?: number | undefined;
5599
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodObject<{
5734
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
5600
5735
  attempts: z.ZodNumber;
5601
5736
  failures: z.ZodNumber;
5602
5737
  }, "strip", z.ZodTypeAny, {
@@ -5634,7 +5769,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5634
5769
  totalCacheWrites?: number | undefined;
5635
5770
  totalCacheReads?: number | undefined;
5636
5771
  }>], null>;
5637
- taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodString], null>;
5772
+ taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
5638
5773
  }, "strip", z.ZodTypeAny, {
5639
5774
  message: [{
5640
5775
  message: {
@@ -5644,7 +5779,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5644
5779
  partial?: boolean | undefined;
5645
5780
  text?: string | undefined;
5646
5781
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5647
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5782
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5648
5783
  images?: string[] | undefined;
5649
5784
  conversationHistoryIndex?: number | undefined;
5650
5785
  checkpoint?: Record<string, unknown> | undefined;
@@ -5659,6 +5794,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5659
5794
  summary: string;
5660
5795
  } | undefined;
5661
5796
  isProtected?: boolean | undefined;
5797
+ apiProtocol?: "openai" | "anthropic" | undefined;
5662
5798
  };
5663
5799
  taskId: string;
5664
5800
  action: "created" | "updated";
@@ -5678,7 +5814,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5678
5814
  contextTokens: number;
5679
5815
  totalCacheWrites?: number | undefined;
5680
5816
  totalCacheReads?: number | undefined;
5681
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
5817
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
5682
5818
  attempts: number;
5683
5819
  failures: number;
5684
5820
  }>>, {
@@ -5692,7 +5828,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5692
5828
  totalCacheWrites?: number | undefined;
5693
5829
  totalCacheReads?: number | undefined;
5694
5830
  }];
5695
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
5831
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
5696
5832
  }, {
5697
5833
  message: [{
5698
5834
  message: {
@@ -5702,7 +5838,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5702
5838
  partial?: boolean | undefined;
5703
5839
  text?: string | undefined;
5704
5840
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
5705
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
5841
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
5706
5842
  images?: string[] | undefined;
5707
5843
  conversationHistoryIndex?: number | undefined;
5708
5844
  checkpoint?: Record<string, unknown> | undefined;
@@ -5717,6 +5853,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5717
5853
  summary: string;
5718
5854
  } | undefined;
5719
5855
  isProtected?: boolean | undefined;
5856
+ apiProtocol?: "openai" | "anthropic" | undefined;
5720
5857
  };
5721
5858
  taskId: string;
5722
5859
  action: "created" | "updated";
@@ -5736,7 +5873,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5736
5873
  contextTokens: number;
5737
5874
  totalCacheWrites?: number | undefined;
5738
5875
  totalCacheReads?: number | undefined;
5739
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
5876
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
5740
5877
  attempts: number;
5741
5878
  failures: number;
5742
5879
  }>>, {
@@ -5750,7 +5887,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5750
5887
  totalCacheWrites?: number | undefined;
5751
5888
  totalCacheReads?: number | undefined;
5752
5889
  }];
5753
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
5890
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
5754
5891
  }>;
5755
5892
  type RooCodeEvents = z.infer<typeof rooCodeEventsSchema>;
5756
5893
  /**
@@ -5787,6 +5924,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5787
5924
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
5788
5925
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
5789
5926
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
5927
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
5790
5928
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5791
5929
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5792
5930
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -5965,6 +6103,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5965
6103
  glamaModelId: z.ZodOptional<z.ZodString>;
5966
6104
  glamaApiKey: z.ZodOptional<z.ZodString>;
5967
6105
  claudeCodePath: z.ZodOptional<z.ZodString>;
6106
+ claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
5968
6107
  apiKey: z.ZodOptional<z.ZodString>;
5969
6108
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
5970
6109
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -5978,11 +6117,11 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5978
6117
  }, "strip", z.ZodTypeAny, {
5979
6118
  name: string;
5980
6119
  id: string;
5981
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6120
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5982
6121
  }, {
5983
6122
  name: string;
5984
6123
  id: string;
5985
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6124
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5986
6125
  }>, "many">>;
5987
6126
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5988
6127
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -6042,7 +6181,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6042
6181
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
6043
6182
  alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
6044
6183
  followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
6184
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
6045
6185
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6186
+ deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6046
6187
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6047
6188
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
6048
6189
  autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
@@ -6107,6 +6248,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6107
6248
  }, {
6108
6249
  dimension: number;
6109
6250
  }>>>;
6251
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6252
+ dimension: z.ZodNumber;
6253
+ }, "strip", z.ZodTypeAny, {
6254
+ dimension: number;
6255
+ }, {
6256
+ dimension: number;
6257
+ }>>>;
6110
6258
  }, "strip", z.ZodTypeAny, {
6111
6259
  openai?: Record<string, {
6112
6260
  dimension: number;
@@ -6117,6 +6265,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6117
6265
  "openai-compatible"?: Record<string, {
6118
6266
  dimension: number;
6119
6267
  }> | undefined;
6268
+ gemini?: Record<string, {
6269
+ dimension: number;
6270
+ }> | undefined;
6120
6271
  }, {
6121
6272
  openai?: Record<string, {
6122
6273
  dimension: number;
@@ -6127,28 +6278,43 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6127
6278
  "openai-compatible"?: Record<string, {
6128
6279
  dimension: number;
6129
6280
  }> | undefined;
6281
+ gemini?: Record<string, {
6282
+ dimension: number;
6283
+ }> | undefined;
6130
6284
  }>>;
6131
6285
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
6132
6286
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
6133
6287
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
6134
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
6288
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
6135
6289
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
6136
6290
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
6291
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
6137
6292
  codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
6293
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
6294
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
6295
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
6138
6296
  }, "strip", z.ZodTypeAny, {
6139
6297
  codebaseIndexEnabled?: boolean | undefined;
6140
6298
  codebaseIndexQdrantUrl?: string | undefined;
6141
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6299
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6142
6300
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6143
6301
  codebaseIndexEmbedderModelId?: string | undefined;
6302
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6144
6303
  codebaseIndexSearchMinScore?: number | undefined;
6304
+ codebaseIndexSearchMaxResults?: number | undefined;
6305
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6306
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6145
6307
  }, {
6146
6308
  codebaseIndexEnabled?: boolean | undefined;
6147
6309
  codebaseIndexQdrantUrl?: string | undefined;
6148
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6310
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6149
6311
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6150
6312
  codebaseIndexEmbedderModelId?: string | undefined;
6313
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6151
6314
  codebaseIndexSearchMinScore?: number | undefined;
6315
+ codebaseIndexSearchMaxResults?: number | undefined;
6316
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6317
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6152
6318
  }>>;
6153
6319
  language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
6154
6320
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -6230,12 +6396,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6230
6396
  lastModeImportPath: z.ZodOptional<z.ZodString>;
6231
6397
  }, "strip", z.ZodTypeAny, {
6232
6398
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6399
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6400
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6233
6401
  codeIndexOpenAiKey?: string | undefined;
6234
6402
  codeIndexQdrantApiKey?: string | undefined;
6235
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6236
6403
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6237
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6238
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6404
+ codebaseIndexGeminiApiKey?: string | undefined;
6405
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6239
6406
  includeMaxTokens?: boolean | undefined;
6240
6407
  diffEnabled?: boolean | undefined;
6241
6408
  fuzzyMatchThreshold?: number | undefined;
@@ -6249,6 +6416,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6249
6416
  anthropicBaseUrl?: string | undefined;
6250
6417
  anthropicUseAuthToken?: boolean | undefined;
6251
6418
  claudeCodePath?: string | undefined;
6419
+ claudeCodeMaxOutputTokens?: number | undefined;
6252
6420
  glamaModelId?: string | undefined;
6253
6421
  glamaApiKey?: string | undefined;
6254
6422
  openRouterApiKey?: string | undefined;
@@ -6363,7 +6531,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6363
6531
  listApiConfigMeta?: {
6364
6532
  name: string;
6365
6533
  id: string;
6366
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6534
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6367
6535
  }[] | undefined;
6368
6536
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6369
6537
  lastShownAnnouncementId?: string | undefined;
@@ -6398,7 +6566,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6398
6566
  alwaysAllowExecute?: boolean | undefined;
6399
6567
  alwaysAllowFollowupQuestions?: boolean | undefined;
6400
6568
  followupAutoApproveTimeoutMs?: number | undefined;
6569
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6401
6570
  allowedCommands?: string[] | undefined;
6571
+ deniedCommands?: string[] | undefined;
6402
6572
  allowedMaxRequests?: number | null | undefined;
6403
6573
  autoCondenseContext?: boolean | undefined;
6404
6574
  autoCondenseContextPercent?: number | undefined;
@@ -6442,14 +6612,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6442
6612
  "openai-compatible"?: Record<string, {
6443
6613
  dimension: number;
6444
6614
  }> | undefined;
6615
+ gemini?: Record<string, {
6616
+ dimension: number;
6617
+ }> | undefined;
6445
6618
  } | undefined;
6446
6619
  codebaseIndexConfig?: {
6447
6620
  codebaseIndexEnabled?: boolean | undefined;
6448
6621
  codebaseIndexQdrantUrl?: string | undefined;
6449
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6622
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6450
6623
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6451
6624
  codebaseIndexEmbedderModelId?: string | undefined;
6625
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6452
6626
  codebaseIndexSearchMinScore?: number | undefined;
6627
+ codebaseIndexSearchMaxResults?: number | undefined;
6628
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6629
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6453
6630
  } | undefined;
6454
6631
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6455
6632
  mcpEnabled?: boolean | undefined;
@@ -6470,12 +6647,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6470
6647
  lastModeImportPath?: string | undefined;
6471
6648
  }, {
6472
6649
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6650
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6651
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6473
6652
  codeIndexOpenAiKey?: string | undefined;
6474
6653
  codeIndexQdrantApiKey?: string | undefined;
6475
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6476
6654
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6477
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6478
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6655
+ codebaseIndexGeminiApiKey?: string | undefined;
6656
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6479
6657
  includeMaxTokens?: boolean | undefined;
6480
6658
  diffEnabled?: boolean | undefined;
6481
6659
  fuzzyMatchThreshold?: number | undefined;
@@ -6489,6 +6667,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6489
6667
  anthropicBaseUrl?: string | undefined;
6490
6668
  anthropicUseAuthToken?: boolean | undefined;
6491
6669
  claudeCodePath?: string | undefined;
6670
+ claudeCodeMaxOutputTokens?: number | undefined;
6492
6671
  glamaModelId?: string | undefined;
6493
6672
  glamaApiKey?: string | undefined;
6494
6673
  openRouterApiKey?: string | undefined;
@@ -6603,7 +6782,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6603
6782
  listApiConfigMeta?: {
6604
6783
  name: string;
6605
6784
  id: string;
6606
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6785
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6607
6786
  }[] | undefined;
6608
6787
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6609
6788
  lastShownAnnouncementId?: string | undefined;
@@ -6638,7 +6817,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6638
6817
  alwaysAllowExecute?: boolean | undefined;
6639
6818
  alwaysAllowFollowupQuestions?: boolean | undefined;
6640
6819
  followupAutoApproveTimeoutMs?: number | undefined;
6820
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6641
6821
  allowedCommands?: string[] | undefined;
6822
+ deniedCommands?: string[] | undefined;
6642
6823
  allowedMaxRequests?: number | null | undefined;
6643
6824
  autoCondenseContext?: boolean | undefined;
6644
6825
  autoCondenseContextPercent?: number | undefined;
@@ -6682,14 +6863,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6682
6863
  "openai-compatible"?: Record<string, {
6683
6864
  dimension: number;
6684
6865
  }> | undefined;
6866
+ gemini?: Record<string, {
6867
+ dimension: number;
6868
+ }> | undefined;
6685
6869
  } | undefined;
6686
6870
  codebaseIndexConfig?: {
6687
6871
  codebaseIndexEnabled?: boolean | undefined;
6688
6872
  codebaseIndexQdrantUrl?: string | undefined;
6689
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6873
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6690
6874
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6691
6875
  codebaseIndexEmbedderModelId?: string | undefined;
6876
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6692
6877
  codebaseIndexSearchMinScore?: number | undefined;
6878
+ codebaseIndexSearchMaxResults?: number | undefined;
6879
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6880
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6693
6881
  } | undefined;
6694
6882
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6695
6883
  mcpEnabled?: boolean | undefined;
@@ -6716,12 +6904,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6716
6904
  text: string;
6717
6905
  configuration: {
6718
6906
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6907
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6908
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6719
6909
  codeIndexOpenAiKey?: string | undefined;
6720
6910
  codeIndexQdrantApiKey?: string | undefined;
6721
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6722
6911
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6723
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6724
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6912
+ codebaseIndexGeminiApiKey?: string | undefined;
6913
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6725
6914
  includeMaxTokens?: boolean | undefined;
6726
6915
  diffEnabled?: boolean | undefined;
6727
6916
  fuzzyMatchThreshold?: number | undefined;
@@ -6735,6 +6924,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6735
6924
  anthropicBaseUrl?: string | undefined;
6736
6925
  anthropicUseAuthToken?: boolean | undefined;
6737
6926
  claudeCodePath?: string | undefined;
6927
+ claudeCodeMaxOutputTokens?: number | undefined;
6738
6928
  glamaModelId?: string | undefined;
6739
6929
  glamaApiKey?: string | undefined;
6740
6930
  openRouterApiKey?: string | undefined;
@@ -6849,7 +7039,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6849
7039
  listApiConfigMeta?: {
6850
7040
  name: string;
6851
7041
  id: string;
6852
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7042
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6853
7043
  }[] | undefined;
6854
7044
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6855
7045
  lastShownAnnouncementId?: string | undefined;
@@ -6884,7 +7074,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6884
7074
  alwaysAllowExecute?: boolean | undefined;
6885
7075
  alwaysAllowFollowupQuestions?: boolean | undefined;
6886
7076
  followupAutoApproveTimeoutMs?: number | undefined;
7077
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6887
7078
  allowedCommands?: string[] | undefined;
7079
+ deniedCommands?: string[] | undefined;
6888
7080
  allowedMaxRequests?: number | null | undefined;
6889
7081
  autoCondenseContext?: boolean | undefined;
6890
7082
  autoCondenseContextPercent?: number | undefined;
@@ -6928,14 +7120,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6928
7120
  "openai-compatible"?: Record<string, {
6929
7121
  dimension: number;
6930
7122
  }> | undefined;
7123
+ gemini?: Record<string, {
7124
+ dimension: number;
7125
+ }> | undefined;
6931
7126
  } | undefined;
6932
7127
  codebaseIndexConfig?: {
6933
7128
  codebaseIndexEnabled?: boolean | undefined;
6934
7129
  codebaseIndexQdrantUrl?: string | undefined;
6935
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7130
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6936
7131
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6937
7132
  codebaseIndexEmbedderModelId?: string | undefined;
7133
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6938
7134
  codebaseIndexSearchMinScore?: number | undefined;
7135
+ codebaseIndexSearchMaxResults?: number | undefined;
7136
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7137
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6939
7138
  } | undefined;
6940
7139
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6941
7140
  mcpEnabled?: boolean | undefined;
@@ -6961,12 +7160,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6961
7160
  text: string;
6962
7161
  configuration: {
6963
7162
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7163
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7164
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6964
7165
  codeIndexOpenAiKey?: string | undefined;
6965
7166
  codeIndexQdrantApiKey?: string | undefined;
6966
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6967
7167
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6968
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6969
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7168
+ codebaseIndexGeminiApiKey?: string | undefined;
7169
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6970
7170
  includeMaxTokens?: boolean | undefined;
6971
7171
  diffEnabled?: boolean | undefined;
6972
7172
  fuzzyMatchThreshold?: number | undefined;
@@ -6980,6 +7180,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6980
7180
  anthropicBaseUrl?: string | undefined;
6981
7181
  anthropicUseAuthToken?: boolean | undefined;
6982
7182
  claudeCodePath?: string | undefined;
7183
+ claudeCodeMaxOutputTokens?: number | undefined;
6983
7184
  glamaModelId?: string | undefined;
6984
7185
  glamaApiKey?: string | undefined;
6985
7186
  openRouterApiKey?: string | undefined;
@@ -7094,7 +7295,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7094
7295
  listApiConfigMeta?: {
7095
7296
  name: string;
7096
7297
  id: string;
7097
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7298
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7098
7299
  }[] | undefined;
7099
7300
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7100
7301
  lastShownAnnouncementId?: string | undefined;
@@ -7129,7 +7330,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7129
7330
  alwaysAllowExecute?: boolean | undefined;
7130
7331
  alwaysAllowFollowupQuestions?: boolean | undefined;
7131
7332
  followupAutoApproveTimeoutMs?: number | undefined;
7333
+ alwaysAllowUpdateTodoList?: boolean | undefined;
7132
7334
  allowedCommands?: string[] | undefined;
7335
+ deniedCommands?: string[] | undefined;
7133
7336
  allowedMaxRequests?: number | null | undefined;
7134
7337
  autoCondenseContext?: boolean | undefined;
7135
7338
  autoCondenseContextPercent?: number | undefined;
@@ -7173,14 +7376,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7173
7376
  "openai-compatible"?: Record<string, {
7174
7377
  dimension: number;
7175
7378
  }> | undefined;
7379
+ gemini?: Record<string, {
7380
+ dimension: number;
7381
+ }> | undefined;
7176
7382
  } | undefined;
7177
7383
  codebaseIndexConfig?: {
7178
7384
  codebaseIndexEnabled?: boolean | undefined;
7179
7385
  codebaseIndexQdrantUrl?: string | undefined;
7180
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7386
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7181
7387
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7182
7388
  codebaseIndexEmbedderModelId?: string | undefined;
7389
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7183
7390
  codebaseIndexSearchMinScore?: number | undefined;
7391
+ codebaseIndexSearchMaxResults?: number | undefined;
7392
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7393
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7184
7394
  } | undefined;
7185
7395
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7186
7396
  mcpEnabled?: boolean | undefined;
@@ -7209,12 +7419,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7209
7419
  text: string;
7210
7420
  configuration: {
7211
7421
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7422
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7423
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7212
7424
  codeIndexOpenAiKey?: string | undefined;
7213
7425
  codeIndexQdrantApiKey?: string | undefined;
7214
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7215
7426
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7216
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7217
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7427
+ codebaseIndexGeminiApiKey?: string | undefined;
7428
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7218
7429
  includeMaxTokens?: boolean | undefined;
7219
7430
  diffEnabled?: boolean | undefined;
7220
7431
  fuzzyMatchThreshold?: number | undefined;
@@ -7228,6 +7439,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7228
7439
  anthropicBaseUrl?: string | undefined;
7229
7440
  anthropicUseAuthToken?: boolean | undefined;
7230
7441
  claudeCodePath?: string | undefined;
7442
+ claudeCodeMaxOutputTokens?: number | undefined;
7231
7443
  glamaModelId?: string | undefined;
7232
7444
  glamaApiKey?: string | undefined;
7233
7445
  openRouterApiKey?: string | undefined;
@@ -7342,7 +7554,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7342
7554
  listApiConfigMeta?: {
7343
7555
  name: string;
7344
7556
  id: string;
7345
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7557
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7346
7558
  }[] | undefined;
7347
7559
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7348
7560
  lastShownAnnouncementId?: string | undefined;
@@ -7377,7 +7589,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7377
7589
  alwaysAllowExecute?: boolean | undefined;
7378
7590
  alwaysAllowFollowupQuestions?: boolean | undefined;
7379
7591
  followupAutoApproveTimeoutMs?: number | undefined;
7592
+ alwaysAllowUpdateTodoList?: boolean | undefined;
7380
7593
  allowedCommands?: string[] | undefined;
7594
+ deniedCommands?: string[] | undefined;
7381
7595
  allowedMaxRequests?: number | null | undefined;
7382
7596
  autoCondenseContext?: boolean | undefined;
7383
7597
  autoCondenseContextPercent?: number | undefined;
@@ -7421,14 +7635,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7421
7635
  "openai-compatible"?: Record<string, {
7422
7636
  dimension: number;
7423
7637
  }> | undefined;
7638
+ gemini?: Record<string, {
7639
+ dimension: number;
7640
+ }> | undefined;
7424
7641
  } | undefined;
7425
7642
  codebaseIndexConfig?: {
7426
7643
  codebaseIndexEnabled?: boolean | undefined;
7427
7644
  codebaseIndexQdrantUrl?: string | undefined;
7428
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7645
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7429
7646
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7430
7647
  codebaseIndexEmbedderModelId?: string | undefined;
7648
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7431
7649
  codebaseIndexSearchMinScore?: number | undefined;
7650
+ codebaseIndexSearchMaxResults?: number | undefined;
7651
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7652
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7432
7653
  } | undefined;
7433
7654
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7434
7655
  mcpEnabled?: boolean | undefined;
@@ -7457,12 +7678,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7457
7678
  text: string;
7458
7679
  configuration: {
7459
7680
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7681
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7682
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7460
7683
  codeIndexOpenAiKey?: string | undefined;
7461
7684
  codeIndexQdrantApiKey?: string | undefined;
7462
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7463
7685
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7464
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7465
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7686
+ codebaseIndexGeminiApiKey?: string | undefined;
7687
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7466
7688
  includeMaxTokens?: boolean | undefined;
7467
7689
  diffEnabled?: boolean | undefined;
7468
7690
  fuzzyMatchThreshold?: number | undefined;
@@ -7476,6 +7698,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7476
7698
  anthropicBaseUrl?: string | undefined;
7477
7699
  anthropicUseAuthToken?: boolean | undefined;
7478
7700
  claudeCodePath?: string | undefined;
7701
+ claudeCodeMaxOutputTokens?: number | undefined;
7479
7702
  glamaModelId?: string | undefined;
7480
7703
  glamaApiKey?: string | undefined;
7481
7704
  openRouterApiKey?: string | undefined;
@@ -7590,7 +7813,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7590
7813
  listApiConfigMeta?: {
7591
7814
  name: string;
7592
7815
  id: string;
7593
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7816
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7594
7817
  }[] | undefined;
7595
7818
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7596
7819
  lastShownAnnouncementId?: string | undefined;
@@ -7625,7 +7848,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7625
7848
  alwaysAllowExecute?: boolean | undefined;
7626
7849
  alwaysAllowFollowupQuestions?: boolean | undefined;
7627
7850
  followupAutoApproveTimeoutMs?: number | undefined;
7851
+ alwaysAllowUpdateTodoList?: boolean | undefined;
7628
7852
  allowedCommands?: string[] | undefined;
7853
+ deniedCommands?: string[] | undefined;
7629
7854
  allowedMaxRequests?: number | null | undefined;
7630
7855
  autoCondenseContext?: boolean | undefined;
7631
7856
  autoCondenseContextPercent?: number | undefined;
@@ -7669,14 +7894,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7669
7894
  "openai-compatible"?: Record<string, {
7670
7895
  dimension: number;
7671
7896
  }> | undefined;
7897
+ gemini?: Record<string, {
7898
+ dimension: number;
7899
+ }> | undefined;
7672
7900
  } | undefined;
7673
7901
  codebaseIndexConfig?: {
7674
7902
  codebaseIndexEnabled?: boolean | undefined;
7675
7903
  codebaseIndexQdrantUrl?: string | undefined;
7676
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7904
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7677
7905
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7678
7906
  codebaseIndexEmbedderModelId?: string | undefined;
7907
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7679
7908
  codebaseIndexSearchMinScore?: number | undefined;
7909
+ codebaseIndexSearchMaxResults?: number | undefined;
7910
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7911
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7680
7912
  } | undefined;
7681
7913
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7682
7914
  mcpEnabled?: boolean | undefined;
@@ -7731,7 +7963,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7731
7963
  ts: z.ZodNumber;
7732
7964
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
7733
7965
  ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
7734
- say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>>;
7966
+ say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
7735
7967
  text: z.ZodOptional<z.ZodString>;
7736
7968
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7737
7969
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -7765,6 +7997,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7765
7997
  summary: string;
7766
7998
  }>>;
7767
7999
  isProtected: z.ZodOptional<z.ZodBoolean>;
8000
+ apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
7768
8001
  }, "strip", z.ZodTypeAny, {
7769
8002
  type: "ask" | "say";
7770
8003
  ts: number;
@@ -7772,7 +8005,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7772
8005
  partial?: boolean | undefined;
7773
8006
  text?: string | undefined;
7774
8007
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7775
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8008
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7776
8009
  images?: string[] | undefined;
7777
8010
  conversationHistoryIndex?: number | undefined;
7778
8011
  checkpoint?: Record<string, unknown> | undefined;
@@ -7787,6 +8020,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7787
8020
  summary: string;
7788
8021
  } | undefined;
7789
8022
  isProtected?: boolean | undefined;
8023
+ apiProtocol?: "openai" | "anthropic" | undefined;
7790
8024
  }, {
7791
8025
  type: "ask" | "say";
7792
8026
  ts: number;
@@ -7794,7 +8028,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7794
8028
  partial?: boolean | undefined;
7795
8029
  text?: string | undefined;
7796
8030
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7797
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8031
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7798
8032
  images?: string[] | undefined;
7799
8033
  conversationHistoryIndex?: number | undefined;
7800
8034
  checkpoint?: Record<string, unknown> | undefined;
@@ -7809,6 +8043,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7809
8043
  summary: string;
7810
8044
  } | undefined;
7811
8045
  isProtected?: boolean | undefined;
8046
+ apiProtocol?: "openai" | "anthropic" | undefined;
7812
8047
  }>;
7813
8048
  }, "strip", z.ZodTypeAny, {
7814
8049
  message: {
@@ -7818,7 +8053,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7818
8053
  partial?: boolean | undefined;
7819
8054
  text?: string | undefined;
7820
8055
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7821
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8056
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7822
8057
  images?: string[] | undefined;
7823
8058
  conversationHistoryIndex?: number | undefined;
7824
8059
  checkpoint?: Record<string, unknown> | undefined;
@@ -7833,6 +8068,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7833
8068
  summary: string;
7834
8069
  } | undefined;
7835
8070
  isProtected?: boolean | undefined;
8071
+ apiProtocol?: "openai" | "anthropic" | undefined;
7836
8072
  };
7837
8073
  taskId: string;
7838
8074
  action: "created" | "updated";
@@ -7844,7 +8080,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7844
8080
  partial?: boolean | undefined;
7845
8081
  text?: string | undefined;
7846
8082
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7847
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8083
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7848
8084
  images?: string[] | undefined;
7849
8085
  conversationHistoryIndex?: number | undefined;
7850
8086
  checkpoint?: Record<string, unknown> | undefined;
@@ -7859,6 +8095,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7859
8095
  summary: string;
7860
8096
  } | undefined;
7861
8097
  isProtected?: boolean | undefined;
8098
+ apiProtocol?: "openai" | "anthropic" | undefined;
7862
8099
  };
7863
8100
  taskId: string;
7864
8101
  action: "created" | "updated";
@@ -7874,7 +8111,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7874
8111
  partial?: boolean | undefined;
7875
8112
  text?: string | undefined;
7876
8113
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7877
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8114
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7878
8115
  images?: string[] | undefined;
7879
8116
  conversationHistoryIndex?: number | undefined;
7880
8117
  checkpoint?: Record<string, unknown> | undefined;
@@ -7889,6 +8126,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7889
8126
  summary: string;
7890
8127
  } | undefined;
7891
8128
  isProtected?: boolean | undefined;
8129
+ apiProtocol?: "openai" | "anthropic" | undefined;
7892
8130
  };
7893
8131
  taskId: string;
7894
8132
  action: "created" | "updated";
@@ -7904,7 +8142,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7904
8142
  partial?: boolean | undefined;
7905
8143
  text?: string | undefined;
7906
8144
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
7907
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
8145
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
7908
8146
  images?: string[] | undefined;
7909
8147
  conversationHistoryIndex?: number | undefined;
7910
8148
  checkpoint?: Record<string, unknown> | undefined;
@@ -7919,6 +8157,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7919
8157
  summary: string;
7920
8158
  } | undefined;
7921
8159
  isProtected?: boolean | undefined;
8160
+ apiProtocol?: "openai" | "anthropic" | undefined;
7922
8161
  };
7923
8162
  taskId: string;
7924
8163
  action: "created" | "updated";
@@ -8043,7 +8282,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
8043
8282
  contextTokens: number;
8044
8283
  totalCacheWrites?: number | undefined;
8045
8284
  totalCacheReads?: number | undefined;
8046
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodObject<{
8285
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
8047
8286
  attempts: z.ZodNumber;
8048
8287
  failures: z.ZodNumber;
8049
8288
  }, "strip", z.ZodTypeAny, {
@@ -8069,7 +8308,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
8069
8308
  contextTokens: number;
8070
8309
  totalCacheWrites?: number | undefined;
8071
8310
  totalCacheReads?: number | undefined;
8072
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
8311
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
8073
8312
  attempts: number;
8074
8313
  failures: number;
8075
8314
  }>>, {
@@ -8085,7 +8324,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
8085
8324
  contextTokens: number;
8086
8325
  totalCacheWrites?: number | undefined;
8087
8326
  totalCacheReads?: number | undefined;
8088
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
8327
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
8089
8328
  attempts: number;
8090
8329
  failures: number;
8091
8330
  }>>, {
@@ -8141,15 +8380,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
8141
8380
  taskId?: number | undefined;
8142
8381
  }>, z.ZodObject<{
8143
8382
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
8144
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodString], null>;
8383
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
8145
8384
  taskId: z.ZodOptional<z.ZodNumber>;
8146
8385
  }, "strip", z.ZodTypeAny, {
8147
8386
  eventName: RooCodeEventName.TaskToolFailed;
8148
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
8387
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
8149
8388
  taskId?: number | undefined;
8150
8389
  }, {
8151
8390
  eventName: RooCodeEventName.TaskToolFailed;
8152
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
8391
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
8153
8392
  taskId?: number | undefined;
8154
8393
  }>, z.ZodObject<{
8155
8394
  eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
@@ -8236,6 +8475,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8236
8475
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
8237
8476
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
8238
8477
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
8478
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
8239
8479
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
8240
8480
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8241
8481
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -8414,6 +8654,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8414
8654
  glamaModelId: z.ZodOptional<z.ZodString>;
8415
8655
  glamaApiKey: z.ZodOptional<z.ZodString>;
8416
8656
  claudeCodePath: z.ZodOptional<z.ZodString>;
8657
+ claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
8417
8658
  apiKey: z.ZodOptional<z.ZodString>;
8418
8659
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
8419
8660
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -8427,11 +8668,11 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8427
8668
  }, "strip", z.ZodTypeAny, {
8428
8669
  name: string;
8429
8670
  id: string;
8430
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8671
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8431
8672
  }, {
8432
8673
  name: string;
8433
8674
  id: string;
8434
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8675
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8435
8676
  }>, "many">>;
8436
8677
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
8437
8678
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -8491,7 +8732,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8491
8732
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
8492
8733
  alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
8493
8734
  followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
8735
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
8494
8736
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8737
+ deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8495
8738
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8496
8739
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
8497
8740
  autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
@@ -8556,6 +8799,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8556
8799
  }, {
8557
8800
  dimension: number;
8558
8801
  }>>>;
8802
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8803
+ dimension: z.ZodNumber;
8804
+ }, "strip", z.ZodTypeAny, {
8805
+ dimension: number;
8806
+ }, {
8807
+ dimension: number;
8808
+ }>>>;
8559
8809
  }, "strip", z.ZodTypeAny, {
8560
8810
  openai?: Record<string, {
8561
8811
  dimension: number;
@@ -8566,6 +8816,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8566
8816
  "openai-compatible"?: Record<string, {
8567
8817
  dimension: number;
8568
8818
  }> | undefined;
8819
+ gemini?: Record<string, {
8820
+ dimension: number;
8821
+ }> | undefined;
8569
8822
  }, {
8570
8823
  openai?: Record<string, {
8571
8824
  dimension: number;
@@ -8576,28 +8829,43 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8576
8829
  "openai-compatible"?: Record<string, {
8577
8830
  dimension: number;
8578
8831
  }> | undefined;
8832
+ gemini?: Record<string, {
8833
+ dimension: number;
8834
+ }> | undefined;
8579
8835
  }>>;
8580
8836
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
8581
8837
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
8582
8838
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
8583
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
8839
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
8584
8840
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
8585
8841
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
8842
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
8586
8843
  codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
8844
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
8845
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
8846
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
8587
8847
  }, "strip", z.ZodTypeAny, {
8588
8848
  codebaseIndexEnabled?: boolean | undefined;
8589
8849
  codebaseIndexQdrantUrl?: string | undefined;
8590
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
8850
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8591
8851
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8592
8852
  codebaseIndexEmbedderModelId?: string | undefined;
8853
+ codebaseIndexEmbedderModelDimension?: number | undefined;
8593
8854
  codebaseIndexSearchMinScore?: number | undefined;
8855
+ codebaseIndexSearchMaxResults?: number | undefined;
8856
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8857
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8594
8858
  }, {
8595
8859
  codebaseIndexEnabled?: boolean | undefined;
8596
8860
  codebaseIndexQdrantUrl?: string | undefined;
8597
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
8861
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8598
8862
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8599
8863
  codebaseIndexEmbedderModelId?: string | undefined;
8864
+ codebaseIndexEmbedderModelDimension?: number | undefined;
8600
8865
  codebaseIndexSearchMinScore?: number | undefined;
8866
+ codebaseIndexSearchMaxResults?: number | undefined;
8867
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8868
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8601
8869
  }>>;
8602
8870
  language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
8603
8871
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -8679,12 +8947,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8679
8947
  lastModeImportPath: z.ZodOptional<z.ZodString>;
8680
8948
  }, "strip", z.ZodTypeAny, {
8681
8949
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8950
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8951
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8682
8952
  codeIndexOpenAiKey?: string | undefined;
8683
8953
  codeIndexQdrantApiKey?: string | undefined;
8684
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8685
8954
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8686
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8687
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8955
+ codebaseIndexGeminiApiKey?: string | undefined;
8956
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8688
8957
  includeMaxTokens?: boolean | undefined;
8689
8958
  diffEnabled?: boolean | undefined;
8690
8959
  fuzzyMatchThreshold?: number | undefined;
@@ -8698,6 +8967,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8698
8967
  anthropicBaseUrl?: string | undefined;
8699
8968
  anthropicUseAuthToken?: boolean | undefined;
8700
8969
  claudeCodePath?: string | undefined;
8970
+ claudeCodeMaxOutputTokens?: number | undefined;
8701
8971
  glamaModelId?: string | undefined;
8702
8972
  glamaApiKey?: string | undefined;
8703
8973
  openRouterApiKey?: string | undefined;
@@ -8812,7 +9082,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8812
9082
  listApiConfigMeta?: {
8813
9083
  name: string;
8814
9084
  id: string;
8815
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9085
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8816
9086
  }[] | undefined;
8817
9087
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8818
9088
  lastShownAnnouncementId?: string | undefined;
@@ -8847,7 +9117,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8847
9117
  alwaysAllowExecute?: boolean | undefined;
8848
9118
  alwaysAllowFollowupQuestions?: boolean | undefined;
8849
9119
  followupAutoApproveTimeoutMs?: number | undefined;
9120
+ alwaysAllowUpdateTodoList?: boolean | undefined;
8850
9121
  allowedCommands?: string[] | undefined;
9122
+ deniedCommands?: string[] | undefined;
8851
9123
  allowedMaxRequests?: number | null | undefined;
8852
9124
  autoCondenseContext?: boolean | undefined;
8853
9125
  autoCondenseContextPercent?: number | undefined;
@@ -8891,14 +9163,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8891
9163
  "openai-compatible"?: Record<string, {
8892
9164
  dimension: number;
8893
9165
  }> | undefined;
9166
+ gemini?: Record<string, {
9167
+ dimension: number;
9168
+ }> | undefined;
8894
9169
  } | undefined;
8895
9170
  codebaseIndexConfig?: {
8896
9171
  codebaseIndexEnabled?: boolean | undefined;
8897
9172
  codebaseIndexQdrantUrl?: string | undefined;
8898
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9173
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8899
9174
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8900
9175
  codebaseIndexEmbedderModelId?: string | undefined;
9176
+ codebaseIndexEmbedderModelDimension?: number | undefined;
8901
9177
  codebaseIndexSearchMinScore?: number | undefined;
9178
+ codebaseIndexSearchMaxResults?: number | undefined;
9179
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9180
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8902
9181
  } | undefined;
8903
9182
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8904
9183
  mcpEnabled?: boolean | undefined;
@@ -8919,12 +9198,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8919
9198
  lastModeImportPath?: string | undefined;
8920
9199
  }, {
8921
9200
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9201
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9202
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8922
9203
  codeIndexOpenAiKey?: string | undefined;
8923
9204
  codeIndexQdrantApiKey?: string | undefined;
8924
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8925
9205
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8926
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8927
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9206
+ codebaseIndexGeminiApiKey?: string | undefined;
9207
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8928
9208
  includeMaxTokens?: boolean | undefined;
8929
9209
  diffEnabled?: boolean | undefined;
8930
9210
  fuzzyMatchThreshold?: number | undefined;
@@ -8938,6 +9218,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8938
9218
  anthropicBaseUrl?: string | undefined;
8939
9219
  anthropicUseAuthToken?: boolean | undefined;
8940
9220
  claudeCodePath?: string | undefined;
9221
+ claudeCodeMaxOutputTokens?: number | undefined;
8941
9222
  glamaModelId?: string | undefined;
8942
9223
  glamaApiKey?: string | undefined;
8943
9224
  openRouterApiKey?: string | undefined;
@@ -9052,7 +9333,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9052
9333
  listApiConfigMeta?: {
9053
9334
  name: string;
9054
9335
  id: string;
9055
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9336
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9056
9337
  }[] | undefined;
9057
9338
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9058
9339
  lastShownAnnouncementId?: string | undefined;
@@ -9087,7 +9368,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9087
9368
  alwaysAllowExecute?: boolean | undefined;
9088
9369
  alwaysAllowFollowupQuestions?: boolean | undefined;
9089
9370
  followupAutoApproveTimeoutMs?: number | undefined;
9371
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9090
9372
  allowedCommands?: string[] | undefined;
9373
+ deniedCommands?: string[] | undefined;
9091
9374
  allowedMaxRequests?: number | null | undefined;
9092
9375
  autoCondenseContext?: boolean | undefined;
9093
9376
  autoCondenseContextPercent?: number | undefined;
@@ -9131,14 +9414,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9131
9414
  "openai-compatible"?: Record<string, {
9132
9415
  dimension: number;
9133
9416
  }> | undefined;
9417
+ gemini?: Record<string, {
9418
+ dimension: number;
9419
+ }> | undefined;
9134
9420
  } | undefined;
9135
9421
  codebaseIndexConfig?: {
9136
9422
  codebaseIndexEnabled?: boolean | undefined;
9137
9423
  codebaseIndexQdrantUrl?: string | undefined;
9138
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9424
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9139
9425
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9140
9426
  codebaseIndexEmbedderModelId?: string | undefined;
9427
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9141
9428
  codebaseIndexSearchMinScore?: number | undefined;
9429
+ codebaseIndexSearchMaxResults?: number | undefined;
9430
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9431
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9142
9432
  } | undefined;
9143
9433
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9144
9434
  mcpEnabled?: boolean | undefined;
@@ -9165,12 +9455,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9165
9455
  text: string;
9166
9456
  configuration: {
9167
9457
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9458
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9459
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9168
9460
  codeIndexOpenAiKey?: string | undefined;
9169
9461
  codeIndexQdrantApiKey?: string | undefined;
9170
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9171
9462
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9172
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9173
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9463
+ codebaseIndexGeminiApiKey?: string | undefined;
9464
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9174
9465
  includeMaxTokens?: boolean | undefined;
9175
9466
  diffEnabled?: boolean | undefined;
9176
9467
  fuzzyMatchThreshold?: number | undefined;
@@ -9184,6 +9475,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9184
9475
  anthropicBaseUrl?: string | undefined;
9185
9476
  anthropicUseAuthToken?: boolean | undefined;
9186
9477
  claudeCodePath?: string | undefined;
9478
+ claudeCodeMaxOutputTokens?: number | undefined;
9187
9479
  glamaModelId?: string | undefined;
9188
9480
  glamaApiKey?: string | undefined;
9189
9481
  openRouterApiKey?: string | undefined;
@@ -9298,7 +9590,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9298
9590
  listApiConfigMeta?: {
9299
9591
  name: string;
9300
9592
  id: string;
9301
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9593
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9302
9594
  }[] | undefined;
9303
9595
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9304
9596
  lastShownAnnouncementId?: string | undefined;
@@ -9333,7 +9625,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9333
9625
  alwaysAllowExecute?: boolean | undefined;
9334
9626
  alwaysAllowFollowupQuestions?: boolean | undefined;
9335
9627
  followupAutoApproveTimeoutMs?: number | undefined;
9628
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9336
9629
  allowedCommands?: string[] | undefined;
9630
+ deniedCommands?: string[] | undefined;
9337
9631
  allowedMaxRequests?: number | null | undefined;
9338
9632
  autoCondenseContext?: boolean | undefined;
9339
9633
  autoCondenseContextPercent?: number | undefined;
@@ -9377,14 +9671,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9377
9671
  "openai-compatible"?: Record<string, {
9378
9672
  dimension: number;
9379
9673
  }> | undefined;
9674
+ gemini?: Record<string, {
9675
+ dimension: number;
9676
+ }> | undefined;
9380
9677
  } | undefined;
9381
9678
  codebaseIndexConfig?: {
9382
9679
  codebaseIndexEnabled?: boolean | undefined;
9383
9680
  codebaseIndexQdrantUrl?: string | undefined;
9384
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9681
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9385
9682
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9386
9683
  codebaseIndexEmbedderModelId?: string | undefined;
9684
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9387
9685
  codebaseIndexSearchMinScore?: number | undefined;
9686
+ codebaseIndexSearchMaxResults?: number | undefined;
9687
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9688
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9388
9689
  } | undefined;
9389
9690
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9390
9691
  mcpEnabled?: boolean | undefined;
@@ -9410,12 +9711,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9410
9711
  text: string;
9411
9712
  configuration: {
9412
9713
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9714
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9715
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9413
9716
  codeIndexOpenAiKey?: string | undefined;
9414
9717
  codeIndexQdrantApiKey?: string | undefined;
9415
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9416
9718
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9417
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9418
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9719
+ codebaseIndexGeminiApiKey?: string | undefined;
9720
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9419
9721
  includeMaxTokens?: boolean | undefined;
9420
9722
  diffEnabled?: boolean | undefined;
9421
9723
  fuzzyMatchThreshold?: number | undefined;
@@ -9429,6 +9731,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9429
9731
  anthropicBaseUrl?: string | undefined;
9430
9732
  anthropicUseAuthToken?: boolean | undefined;
9431
9733
  claudeCodePath?: string | undefined;
9734
+ claudeCodeMaxOutputTokens?: number | undefined;
9432
9735
  glamaModelId?: string | undefined;
9433
9736
  glamaApiKey?: string | undefined;
9434
9737
  openRouterApiKey?: string | undefined;
@@ -9543,7 +9846,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9543
9846
  listApiConfigMeta?: {
9544
9847
  name: string;
9545
9848
  id: string;
9546
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9849
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9547
9850
  }[] | undefined;
9548
9851
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9549
9852
  lastShownAnnouncementId?: string | undefined;
@@ -9578,7 +9881,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9578
9881
  alwaysAllowExecute?: boolean | undefined;
9579
9882
  alwaysAllowFollowupQuestions?: boolean | undefined;
9580
9883
  followupAutoApproveTimeoutMs?: number | undefined;
9884
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9581
9885
  allowedCommands?: string[] | undefined;
9886
+ deniedCommands?: string[] | undefined;
9582
9887
  allowedMaxRequests?: number | null | undefined;
9583
9888
  autoCondenseContext?: boolean | undefined;
9584
9889
  autoCondenseContextPercent?: number | undefined;
@@ -9622,14 +9927,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9622
9927
  "openai-compatible"?: Record<string, {
9623
9928
  dimension: number;
9624
9929
  }> | undefined;
9930
+ gemini?: Record<string, {
9931
+ dimension: number;
9932
+ }> | undefined;
9625
9933
  } | undefined;
9626
9934
  codebaseIndexConfig?: {
9627
9935
  codebaseIndexEnabled?: boolean | undefined;
9628
9936
  codebaseIndexQdrantUrl?: string | undefined;
9629
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9937
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9630
9938
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9631
9939
  codebaseIndexEmbedderModelId?: string | undefined;
9940
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9632
9941
  codebaseIndexSearchMinScore?: number | undefined;
9942
+ codebaseIndexSearchMaxResults?: number | undefined;
9943
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9944
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9633
9945
  } | undefined;
9634
9946
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9635
9947
  mcpEnabled?: boolean | undefined;
@@ -9658,12 +9970,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9658
9970
  text: string;
9659
9971
  configuration: {
9660
9972
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9973
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9974
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9661
9975
  codeIndexOpenAiKey?: string | undefined;
9662
9976
  codeIndexQdrantApiKey?: string | undefined;
9663
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9664
9977
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9665
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9666
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9978
+ codebaseIndexGeminiApiKey?: string | undefined;
9979
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9667
9980
  includeMaxTokens?: boolean | undefined;
9668
9981
  diffEnabled?: boolean | undefined;
9669
9982
  fuzzyMatchThreshold?: number | undefined;
@@ -9677,6 +9990,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9677
9990
  anthropicBaseUrl?: string | undefined;
9678
9991
  anthropicUseAuthToken?: boolean | undefined;
9679
9992
  claudeCodePath?: string | undefined;
9993
+ claudeCodeMaxOutputTokens?: number | undefined;
9680
9994
  glamaModelId?: string | undefined;
9681
9995
  glamaApiKey?: string | undefined;
9682
9996
  openRouterApiKey?: string | undefined;
@@ -9791,7 +10105,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9791
10105
  listApiConfigMeta?: {
9792
10106
  name: string;
9793
10107
  id: string;
9794
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10108
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9795
10109
  }[] | undefined;
9796
10110
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9797
10111
  lastShownAnnouncementId?: string | undefined;
@@ -9826,7 +10140,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9826
10140
  alwaysAllowExecute?: boolean | undefined;
9827
10141
  alwaysAllowFollowupQuestions?: boolean | undefined;
9828
10142
  followupAutoApproveTimeoutMs?: number | undefined;
10143
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9829
10144
  allowedCommands?: string[] | undefined;
10145
+ deniedCommands?: string[] | undefined;
9830
10146
  allowedMaxRequests?: number | null | undefined;
9831
10147
  autoCondenseContext?: boolean | undefined;
9832
10148
  autoCondenseContextPercent?: number | undefined;
@@ -9870,14 +10186,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9870
10186
  "openai-compatible"?: Record<string, {
9871
10187
  dimension: number;
9872
10188
  }> | undefined;
10189
+ gemini?: Record<string, {
10190
+ dimension: number;
10191
+ }> | undefined;
9873
10192
  } | undefined;
9874
10193
  codebaseIndexConfig?: {
9875
10194
  codebaseIndexEnabled?: boolean | undefined;
9876
10195
  codebaseIndexQdrantUrl?: string | undefined;
9877
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10196
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9878
10197
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9879
10198
  codebaseIndexEmbedderModelId?: string | undefined;
10199
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9880
10200
  codebaseIndexSearchMinScore?: number | undefined;
10201
+ codebaseIndexSearchMaxResults?: number | undefined;
10202
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10203
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9881
10204
  } | undefined;
9882
10205
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9883
10206
  mcpEnabled?: boolean | undefined;
@@ -9906,12 +10229,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9906
10229
  text: string;
9907
10230
  configuration: {
9908
10231
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10232
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10233
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9909
10234
  codeIndexOpenAiKey?: string | undefined;
9910
10235
  codeIndexQdrantApiKey?: string | undefined;
9911
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9912
10236
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9913
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9914
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10237
+ codebaseIndexGeminiApiKey?: string | undefined;
10238
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9915
10239
  includeMaxTokens?: boolean | undefined;
9916
10240
  diffEnabled?: boolean | undefined;
9917
10241
  fuzzyMatchThreshold?: number | undefined;
@@ -9925,6 +10249,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9925
10249
  anthropicBaseUrl?: string | undefined;
9926
10250
  anthropicUseAuthToken?: boolean | undefined;
9927
10251
  claudeCodePath?: string | undefined;
10252
+ claudeCodeMaxOutputTokens?: number | undefined;
9928
10253
  glamaModelId?: string | undefined;
9929
10254
  glamaApiKey?: string | undefined;
9930
10255
  openRouterApiKey?: string | undefined;
@@ -10039,7 +10364,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10039
10364
  listApiConfigMeta?: {
10040
10365
  name: string;
10041
10366
  id: string;
10042
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10367
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10043
10368
  }[] | undefined;
10044
10369
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10045
10370
  lastShownAnnouncementId?: string | undefined;
@@ -10074,7 +10399,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10074
10399
  alwaysAllowExecute?: boolean | undefined;
10075
10400
  alwaysAllowFollowupQuestions?: boolean | undefined;
10076
10401
  followupAutoApproveTimeoutMs?: number | undefined;
10402
+ alwaysAllowUpdateTodoList?: boolean | undefined;
10077
10403
  allowedCommands?: string[] | undefined;
10404
+ deniedCommands?: string[] | undefined;
10078
10405
  allowedMaxRequests?: number | null | undefined;
10079
10406
  autoCondenseContext?: boolean | undefined;
10080
10407
  autoCondenseContextPercent?: number | undefined;
@@ -10118,14 +10445,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10118
10445
  "openai-compatible"?: Record<string, {
10119
10446
  dimension: number;
10120
10447
  }> | undefined;
10448
+ gemini?: Record<string, {
10449
+ dimension: number;
10450
+ }> | undefined;
10121
10451
  } | undefined;
10122
10452
  codebaseIndexConfig?: {
10123
10453
  codebaseIndexEnabled?: boolean | undefined;
10124
10454
  codebaseIndexQdrantUrl?: string | undefined;
10125
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10455
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
10126
10456
  codebaseIndexEmbedderBaseUrl?: string | undefined;
10127
10457
  codebaseIndexEmbedderModelId?: string | undefined;
10458
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10128
10459
  codebaseIndexSearchMinScore?: number | undefined;
10460
+ codebaseIndexSearchMaxResults?: number | undefined;
10461
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10462
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10129
10463
  } | undefined;
10130
10464
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10131
10465
  mcpEnabled?: boolean | undefined;
@@ -10176,12 +10510,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10176
10510
  text: string;
10177
10511
  configuration: {
10178
10512
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10513
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10514
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10179
10515
  codeIndexOpenAiKey?: string | undefined;
10180
10516
  codeIndexQdrantApiKey?: string | undefined;
10181
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10182
10517
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10183
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10184
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10518
+ codebaseIndexGeminiApiKey?: string | undefined;
10519
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10185
10520
  includeMaxTokens?: boolean | undefined;
10186
10521
  diffEnabled?: boolean | undefined;
10187
10522
  fuzzyMatchThreshold?: number | undefined;
@@ -10195,6 +10530,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10195
10530
  anthropicBaseUrl?: string | undefined;
10196
10531
  anthropicUseAuthToken?: boolean | undefined;
10197
10532
  claudeCodePath?: string | undefined;
10533
+ claudeCodeMaxOutputTokens?: number | undefined;
10198
10534
  glamaModelId?: string | undefined;
10199
10535
  glamaApiKey?: string | undefined;
10200
10536
  openRouterApiKey?: string | undefined;
@@ -10309,7 +10645,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10309
10645
  listApiConfigMeta?: {
10310
10646
  name: string;
10311
10647
  id: string;
10312
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10648
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10313
10649
  }[] | undefined;
10314
10650
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10315
10651
  lastShownAnnouncementId?: string | undefined;
@@ -10344,7 +10680,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10344
10680
  alwaysAllowExecute?: boolean | undefined;
10345
10681
  alwaysAllowFollowupQuestions?: boolean | undefined;
10346
10682
  followupAutoApproveTimeoutMs?: number | undefined;
10683
+ alwaysAllowUpdateTodoList?: boolean | undefined;
10347
10684
  allowedCommands?: string[] | undefined;
10685
+ deniedCommands?: string[] | undefined;
10348
10686
  allowedMaxRequests?: number | null | undefined;
10349
10687
  autoCondenseContext?: boolean | undefined;
10350
10688
  autoCondenseContextPercent?: number | undefined;
@@ -10388,14 +10726,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10388
10726
  "openai-compatible"?: Record<string, {
10389
10727
  dimension: number;
10390
10728
  }> | undefined;
10729
+ gemini?: Record<string, {
10730
+ dimension: number;
10731
+ }> | undefined;
10391
10732
  } | undefined;
10392
10733
  codebaseIndexConfig?: {
10393
10734
  codebaseIndexEnabled?: boolean | undefined;
10394
10735
  codebaseIndexQdrantUrl?: string | undefined;
10395
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10736
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
10396
10737
  codebaseIndexEmbedderBaseUrl?: string | undefined;
10397
10738
  codebaseIndexEmbedderModelId?: string | undefined;
10739
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10398
10740
  codebaseIndexSearchMinScore?: number | undefined;
10741
+ codebaseIndexSearchMaxResults?: number | undefined;
10742
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10743
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10399
10744
  } | undefined;
10400
10745
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10401
10746
  mcpEnabled?: boolean | undefined;
@@ -10435,12 +10780,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10435
10780
  text: string;
10436
10781
  configuration: {
10437
10782
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10783
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10784
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10438
10785
  codeIndexOpenAiKey?: string | undefined;
10439
10786
  codeIndexQdrantApiKey?: string | undefined;
10440
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10441
10787
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10442
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10443
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10788
+ codebaseIndexGeminiApiKey?: string | undefined;
10789
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10444
10790
  includeMaxTokens?: boolean | undefined;
10445
10791
  diffEnabled?: boolean | undefined;
10446
10792
  fuzzyMatchThreshold?: number | undefined;
@@ -10454,6 +10800,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10454
10800
  anthropicBaseUrl?: string | undefined;
10455
10801
  anthropicUseAuthToken?: boolean | undefined;
10456
10802
  claudeCodePath?: string | undefined;
10803
+ claudeCodeMaxOutputTokens?: number | undefined;
10457
10804
  glamaModelId?: string | undefined;
10458
10805
  glamaApiKey?: string | undefined;
10459
10806
  openRouterApiKey?: string | undefined;
@@ -10568,7 +10915,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10568
10915
  listApiConfigMeta?: {
10569
10916
  name: string;
10570
10917
  id: string;
10571
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10918
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10572
10919
  }[] | undefined;
10573
10920
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10574
10921
  lastShownAnnouncementId?: string | undefined;
@@ -10603,7 +10950,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10603
10950
  alwaysAllowExecute?: boolean | undefined;
10604
10951
  alwaysAllowFollowupQuestions?: boolean | undefined;
10605
10952
  followupAutoApproveTimeoutMs?: number | undefined;
10953
+ alwaysAllowUpdateTodoList?: boolean | undefined;
10606
10954
  allowedCommands?: string[] | undefined;
10955
+ deniedCommands?: string[] | undefined;
10607
10956
  allowedMaxRequests?: number | null | undefined;
10608
10957
  autoCondenseContext?: boolean | undefined;
10609
10958
  autoCondenseContextPercent?: number | undefined;
@@ -10647,14 +10996,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10647
10996
  "openai-compatible"?: Record<string, {
10648
10997
  dimension: number;
10649
10998
  }> | undefined;
10999
+ gemini?: Record<string, {
11000
+ dimension: number;
11001
+ }> | undefined;
10650
11002
  } | undefined;
10651
11003
  codebaseIndexConfig?: {
10652
11004
  codebaseIndexEnabled?: boolean | undefined;
10653
11005
  codebaseIndexQdrantUrl?: string | undefined;
10654
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
11006
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
10655
11007
  codebaseIndexEmbedderBaseUrl?: string | undefined;
10656
11008
  codebaseIndexEmbedderModelId?: string | undefined;
11009
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10657
11010
  codebaseIndexSearchMinScore?: number | undefined;
11011
+ codebaseIndexSearchMaxResults?: number | undefined;
11012
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11013
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10658
11014
  } | undefined;
10659
11015
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10660
11016
  mcpEnabled?: boolean | undefined;
@@ -10698,7 +11054,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10698
11054
  ts: z.ZodNumber;
10699
11055
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
10700
11056
  ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
10701
- say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>>;
11057
+ say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
10702
11058
  text: z.ZodOptional<z.ZodString>;
10703
11059
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10704
11060
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -10732,6 +11088,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10732
11088
  summary: string;
10733
11089
  }>>;
10734
11090
  isProtected: z.ZodOptional<z.ZodBoolean>;
11091
+ apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
10735
11092
  }, "strip", z.ZodTypeAny, {
10736
11093
  type: "ask" | "say";
10737
11094
  ts: number;
@@ -10739,7 +11096,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10739
11096
  partial?: boolean | undefined;
10740
11097
  text?: string | undefined;
10741
11098
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10742
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11099
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10743
11100
  images?: string[] | undefined;
10744
11101
  conversationHistoryIndex?: number | undefined;
10745
11102
  checkpoint?: Record<string, unknown> | undefined;
@@ -10754,6 +11111,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10754
11111
  summary: string;
10755
11112
  } | undefined;
10756
11113
  isProtected?: boolean | undefined;
11114
+ apiProtocol?: "openai" | "anthropic" | undefined;
10757
11115
  }, {
10758
11116
  type: "ask" | "say";
10759
11117
  ts: number;
@@ -10761,7 +11119,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10761
11119
  partial?: boolean | undefined;
10762
11120
  text?: string | undefined;
10763
11121
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10764
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11122
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10765
11123
  images?: string[] | undefined;
10766
11124
  conversationHistoryIndex?: number | undefined;
10767
11125
  checkpoint?: Record<string, unknown> | undefined;
@@ -10776,6 +11134,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10776
11134
  summary: string;
10777
11135
  } | undefined;
10778
11136
  isProtected?: boolean | undefined;
11137
+ apiProtocol?: "openai" | "anthropic" | undefined;
10779
11138
  }>;
10780
11139
  }, "strip", z.ZodTypeAny, {
10781
11140
  message: {
@@ -10785,7 +11144,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10785
11144
  partial?: boolean | undefined;
10786
11145
  text?: string | undefined;
10787
11146
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10788
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11147
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10789
11148
  images?: string[] | undefined;
10790
11149
  conversationHistoryIndex?: number | undefined;
10791
11150
  checkpoint?: Record<string, unknown> | undefined;
@@ -10800,6 +11159,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10800
11159
  summary: string;
10801
11160
  } | undefined;
10802
11161
  isProtected?: boolean | undefined;
11162
+ apiProtocol?: "openai" | "anthropic" | undefined;
10803
11163
  };
10804
11164
  taskId: string;
10805
11165
  action: "created" | "updated";
@@ -10811,7 +11171,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10811
11171
  partial?: boolean | undefined;
10812
11172
  text?: string | undefined;
10813
11173
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10814
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11174
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10815
11175
  images?: string[] | undefined;
10816
11176
  conversationHistoryIndex?: number | undefined;
10817
11177
  checkpoint?: Record<string, unknown> | undefined;
@@ -10826,6 +11186,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10826
11186
  summary: string;
10827
11187
  } | undefined;
10828
11188
  isProtected?: boolean | undefined;
11189
+ apiProtocol?: "openai" | "anthropic" | undefined;
10829
11190
  };
10830
11191
  taskId: string;
10831
11192
  action: "created" | "updated";
@@ -10841,7 +11202,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10841
11202
  partial?: boolean | undefined;
10842
11203
  text?: string | undefined;
10843
11204
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10844
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11205
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10845
11206
  images?: string[] | undefined;
10846
11207
  conversationHistoryIndex?: number | undefined;
10847
11208
  checkpoint?: Record<string, unknown> | undefined;
@@ -10856,6 +11217,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10856
11217
  summary: string;
10857
11218
  } | undefined;
10858
11219
  isProtected?: boolean | undefined;
11220
+ apiProtocol?: "openai" | "anthropic" | undefined;
10859
11221
  };
10860
11222
  taskId: string;
10861
11223
  action: "created" | "updated";
@@ -10871,7 +11233,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10871
11233
  partial?: boolean | undefined;
10872
11234
  text?: string | undefined;
10873
11235
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
10874
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11236
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
10875
11237
  images?: string[] | undefined;
10876
11238
  conversationHistoryIndex?: number | undefined;
10877
11239
  checkpoint?: Record<string, unknown> | undefined;
@@ -10886,6 +11248,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10886
11248
  summary: string;
10887
11249
  } | undefined;
10888
11250
  isProtected?: boolean | undefined;
11251
+ apiProtocol?: "openai" | "anthropic" | undefined;
10889
11252
  };
10890
11253
  taskId: string;
10891
11254
  action: "created" | "updated";
@@ -11010,7 +11373,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11010
11373
  contextTokens: number;
11011
11374
  totalCacheWrites?: number | undefined;
11012
11375
  totalCacheReads?: number | undefined;
11013
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodObject<{
11376
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
11014
11377
  attempts: z.ZodNumber;
11015
11378
  failures: z.ZodNumber;
11016
11379
  }, "strip", z.ZodTypeAny, {
@@ -11036,7 +11399,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11036
11399
  contextTokens: number;
11037
11400
  totalCacheWrites?: number | undefined;
11038
11401
  totalCacheReads?: number | undefined;
11039
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
11402
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
11040
11403
  attempts: number;
11041
11404
  failures: number;
11042
11405
  }>>, {
@@ -11052,7 +11415,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11052
11415
  contextTokens: number;
11053
11416
  totalCacheWrites?: number | undefined;
11054
11417
  totalCacheReads?: number | undefined;
11055
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
11418
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
11056
11419
  attempts: number;
11057
11420
  failures: number;
11058
11421
  }>>, {
@@ -11108,15 +11471,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11108
11471
  taskId?: number | undefined;
11109
11472
  }>, z.ZodObject<{
11110
11473
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
11111
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search"]>, z.ZodString], null>;
11474
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
11112
11475
  taskId: z.ZodOptional<z.ZodNumber>;
11113
11476
  }, "strip", z.ZodTypeAny, {
11114
11477
  eventName: RooCodeEventName.TaskToolFailed;
11115
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
11478
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
11116
11479
  taskId?: number | undefined;
11117
11480
  }, {
11118
11481
  eventName: RooCodeEventName.TaskToolFailed;
11119
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
11482
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
11120
11483
  taskId?: number | undefined;
11121
11484
  }>, z.ZodObject<{
11122
11485
  eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
@@ -11155,7 +11518,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11155
11518
  partial?: boolean | undefined;
11156
11519
  text?: string | undefined;
11157
11520
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
11158
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11521
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
11159
11522
  images?: string[] | undefined;
11160
11523
  conversationHistoryIndex?: number | undefined;
11161
11524
  checkpoint?: Record<string, unknown> | undefined;
@@ -11170,6 +11533,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11170
11533
  summary: string;
11171
11534
  } | undefined;
11172
11535
  isProtected?: boolean | undefined;
11536
+ apiProtocol?: "openai" | "anthropic" | undefined;
11173
11537
  };
11174
11538
  taskId: string;
11175
11539
  action: "created" | "updated";
@@ -11216,7 +11580,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11216
11580
  contextTokens: number;
11217
11581
  totalCacheWrites?: number | undefined;
11218
11582
  totalCacheReads?: number | undefined;
11219
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
11583
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
11220
11584
  attempts: number;
11221
11585
  failures: number;
11222
11586
  }>>, {
@@ -11236,7 +11600,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11236
11600
  taskId?: number | undefined;
11237
11601
  } | {
11238
11602
  eventName: RooCodeEventName.TaskToolFailed;
11239
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
11603
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
11240
11604
  taskId?: number | undefined;
11241
11605
  } | {
11242
11606
  taskId: number;
@@ -11261,7 +11625,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11261
11625
  partial?: boolean | undefined;
11262
11626
  text?: string | undefined;
11263
11627
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
11264
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
11628
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
11265
11629
  images?: string[] | undefined;
11266
11630
  conversationHistoryIndex?: number | undefined;
11267
11631
  checkpoint?: Record<string, unknown> | undefined;
@@ -11276,6 +11640,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11276
11640
  summary: string;
11277
11641
  } | undefined;
11278
11642
  isProtected?: boolean | undefined;
11643
+ apiProtocol?: "openai" | "anthropic" | undefined;
11279
11644
  };
11280
11645
  taskId: string;
11281
11646
  action: "created" | "updated";
@@ -11322,7 +11687,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11322
11687
  contextTokens: number;
11323
11688
  totalCacheWrites?: number | undefined;
11324
11689
  totalCacheReads?: number | undefined;
11325
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", {
11690
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
11326
11691
  attempts: number;
11327
11692
  failures: number;
11328
11693
  }>>, {
@@ -11342,7 +11707,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11342
11707
  taskId?: number | undefined;
11343
11708
  } | {
11344
11709
  eventName: RooCodeEventName.TaskToolFailed;
11345
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search", string];
11710
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
11346
11711
  taskId?: number | undefined;
11347
11712
  } | {
11348
11713
  taskId: number;
@@ -11524,30 +11889,55 @@ interface RooCodeIpcServer extends EventEmitter<IpcServerEvents> {
11524
11889
  get isListening(): boolean;
11525
11890
  }
11526
11891
 
11892
+ /**
11893
+ * Codebase Index Constants
11894
+ */
11895
+ declare const CODEBASE_INDEX_DEFAULTS: {
11896
+ readonly MIN_SEARCH_RESULTS: 10;
11897
+ readonly MAX_SEARCH_RESULTS: 200;
11898
+ readonly DEFAULT_SEARCH_RESULTS: 50;
11899
+ readonly SEARCH_RESULTS_STEP: 10;
11900
+ readonly MIN_SEARCH_SCORE: 0;
11901
+ readonly MAX_SEARCH_SCORE: 1;
11902
+ readonly DEFAULT_SEARCH_MIN_SCORE: 0.4;
11903
+ readonly SEARCH_SCORE_STEP: 0.05;
11904
+ };
11527
11905
  /**
11528
11906
  * CodebaseIndexConfig
11529
11907
  */
11530
11908
  declare const codebaseIndexConfigSchema: z.ZodObject<{
11531
11909
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
11532
11910
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
11533
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
11911
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
11534
11912
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
11535
11913
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
11914
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
11536
11915
  codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
11916
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
11917
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
11918
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
11537
11919
  }, "strip", z.ZodTypeAny, {
11538
11920
  codebaseIndexEnabled?: boolean | undefined;
11539
11921
  codebaseIndexQdrantUrl?: string | undefined;
11540
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
11922
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
11541
11923
  codebaseIndexEmbedderBaseUrl?: string | undefined;
11542
11924
  codebaseIndexEmbedderModelId?: string | undefined;
11925
+ codebaseIndexEmbedderModelDimension?: number | undefined;
11543
11926
  codebaseIndexSearchMinScore?: number | undefined;
11927
+ codebaseIndexSearchMaxResults?: number | undefined;
11928
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11929
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11544
11930
  }, {
11545
11931
  codebaseIndexEnabled?: boolean | undefined;
11546
11932
  codebaseIndexQdrantUrl?: string | undefined;
11547
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
11933
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
11548
11934
  codebaseIndexEmbedderBaseUrl?: string | undefined;
11549
11935
  codebaseIndexEmbedderModelId?: string | undefined;
11936
+ codebaseIndexEmbedderModelDimension?: number | undefined;
11550
11937
  codebaseIndexSearchMinScore?: number | undefined;
11938
+ codebaseIndexSearchMaxResults?: number | undefined;
11939
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11940
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11551
11941
  }>;
11552
11942
  type CodebaseIndexConfig = z.infer<typeof codebaseIndexConfigSchema>;
11553
11943
  /**
@@ -11575,6 +11965,13 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11575
11965
  }, {
11576
11966
  dimension: number;
11577
11967
  }>>>;
11968
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11969
+ dimension: z.ZodNumber;
11970
+ }, "strip", z.ZodTypeAny, {
11971
+ dimension: number;
11972
+ }, {
11973
+ dimension: number;
11974
+ }>>>;
11578
11975
  }, "strip", z.ZodTypeAny, {
11579
11976
  openai?: Record<string, {
11580
11977
  dimension: number;
@@ -11585,6 +11982,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11585
11982
  "openai-compatible"?: Record<string, {
11586
11983
  dimension: number;
11587
11984
  }> | undefined;
11985
+ gemini?: Record<string, {
11986
+ dimension: number;
11987
+ }> | undefined;
11588
11988
  }, {
11589
11989
  openai?: Record<string, {
11590
11990
  dimension: number;
@@ -11595,6 +11995,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11595
11995
  "openai-compatible"?: Record<string, {
11596
11996
  dimension: number;
11597
11997
  }> | undefined;
11998
+ gemini?: Record<string, {
11999
+ dimension: number;
12000
+ }> | undefined;
11598
12001
  }>;
11599
12002
  type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>;
11600
12003
  /**
@@ -11606,18 +12009,21 @@ declare const codebaseIndexProviderSchema: z.ZodObject<{
11606
12009
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
11607
12010
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
11608
12011
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
12012
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
11609
12013
  }, "strip", z.ZodTypeAny, {
12014
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
12015
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11610
12016
  codeIndexOpenAiKey?: string | undefined;
11611
12017
  codeIndexQdrantApiKey?: string | undefined;
11612
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11613
12018
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11614
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
12019
+ codebaseIndexGeminiApiKey?: string | undefined;
11615
12020
  }, {
12021
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
12022
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11616
12023
  codeIndexOpenAiKey?: string | undefined;
11617
12024
  codeIndexQdrantApiKey?: string | undefined;
11618
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11619
12025
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11620
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
12026
+ codebaseIndexGeminiApiKey?: string | undefined;
11621
12027
  }>;
11622
12028
  type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
11623
12029
 
@@ -12782,7 +13188,8 @@ declare enum TelemetryEventName {
12782
13188
  SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
12783
13189
  DIFF_APPLICATION_ERROR = "Diff Application Error",
12784
13190
  SHELL_INTEGRATION_ERROR = "Shell Integration Error",
12785
- CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error"
13191
+ CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error",
13192
+ CODE_INDEX_ERROR = "Code Index Error"
12786
13193
  }
12787
13194
  /**
12788
13195
  * TelemetryProperties
@@ -12822,13 +13229,13 @@ declare const taskPropertiesSchema: z.ZodObject<{
12822
13229
  diffStrategy: z.ZodOptional<z.ZodString>;
12823
13230
  isSubtask: z.ZodOptional<z.ZodBoolean>;
12824
13231
  }, "strip", z.ZodTypeAny, {
12825
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13232
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12826
13233
  taskId?: string | undefined;
12827
13234
  modelId?: string | undefined;
12828
13235
  diffStrategy?: string | undefined;
12829
13236
  isSubtask?: boolean | undefined;
12830
13237
  }, {
12831
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13238
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12832
13239
  taskId?: string | undefined;
12833
13240
  modelId?: string | undefined;
12834
13241
  diffStrategy?: string | undefined;
@@ -12872,7 +13279,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12872
13279
  editorName: string;
12873
13280
  language: string;
12874
13281
  mode: string;
12875
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13282
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12876
13283
  cloudIsAuthenticated?: boolean | undefined;
12877
13284
  taskId?: string | undefined;
12878
13285
  modelId?: string | undefined;
@@ -12889,7 +13296,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12889
13296
  editorName: string;
12890
13297
  language: string;
12891
13298
  mode: string;
12892
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13299
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12893
13300
  cloudIsAuthenticated?: boolean | undefined;
12894
13301
  taskId?: string | undefined;
12895
13302
  modelId?: string | undefined;
@@ -12912,7 +13319,7 @@ type TelemetryEvent = {
12912
13319
  * RooCodeTelemetryEvent
12913
13320
  */
12914
13321
  declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12915
- 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.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
13322
+ 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]>;
12916
13323
  properties: z.ZodObject<{
12917
13324
  repositoryUrl: z.ZodOptional<z.ZodString>;
12918
13325
  repositoryName: z.ZodOptional<z.ZodString>;
@@ -12938,7 +13345,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12938
13345
  editorName: string;
12939
13346
  language: string;
12940
13347
  mode: string;
12941
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13348
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12942
13349
  cloudIsAuthenticated?: boolean | undefined;
12943
13350
  taskId?: string | undefined;
12944
13351
  modelId?: string | undefined;
@@ -12955,7 +13362,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12955
13362
  editorName: string;
12956
13363
  language: string;
12957
13364
  mode: string;
12958
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13365
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12959
13366
  cloudIsAuthenticated?: boolean | undefined;
12960
13367
  taskId?: string | undefined;
12961
13368
  modelId?: string | undefined;
@@ -12966,7 +13373,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12966
13373
  defaultBranch?: string | undefined;
12967
13374
  }>;
12968
13375
  }, "strip", z.ZodTypeAny, {
12969
- 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
13376
+ 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
12970
13377
  properties: {
12971
13378
  appName: string;
12972
13379
  appVersion: string;
@@ -12975,7 +13382,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12975
13382
  editorName: string;
12976
13383
  language: string;
12977
13384
  mode: string;
12978
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13385
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12979
13386
  cloudIsAuthenticated?: boolean | undefined;
12980
13387
  taskId?: string | undefined;
12981
13388
  modelId?: string | undefined;
@@ -12986,7 +13393,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12986
13393
  defaultBranch?: string | undefined;
12987
13394
  };
12988
13395
  }, {
12989
- 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
13396
+ 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
12990
13397
  properties: {
12991
13398
  appName: string;
12992
13399
  appVersion: string;
@@ -12995,7 +13402,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12995
13402
  editorName: string;
12996
13403
  language: string;
12997
13404
  mode: string;
12998
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13405
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12999
13406
  cloudIsAuthenticated?: boolean | undefined;
13000
13407
  taskId?: string | undefined;
13001
13408
  modelId?: string | undefined;
@@ -13013,7 +13420,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13013
13420
  ts: z.ZodNumber;
13014
13421
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
13015
13422
  ask: z.ZodOptional<z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>>;
13016
- say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>>;
13423
+ say: z.ZodOptional<z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos"]>>;
13017
13424
  text: z.ZodOptional<z.ZodString>;
13018
13425
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13019
13426
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -13047,6 +13454,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13047
13454
  summary: string;
13048
13455
  }>>;
13049
13456
  isProtected: z.ZodOptional<z.ZodBoolean>;
13457
+ apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
13050
13458
  }, "strip", z.ZodTypeAny, {
13051
13459
  type: "ask" | "say";
13052
13460
  ts: number;
@@ -13054,7 +13462,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13054
13462
  partial?: boolean | undefined;
13055
13463
  text?: string | undefined;
13056
13464
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13057
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13465
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13058
13466
  images?: string[] | undefined;
13059
13467
  conversationHistoryIndex?: number | undefined;
13060
13468
  checkpoint?: Record<string, unknown> | undefined;
@@ -13069,6 +13477,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13069
13477
  summary: string;
13070
13478
  } | undefined;
13071
13479
  isProtected?: boolean | undefined;
13480
+ apiProtocol?: "openai" | "anthropic" | undefined;
13072
13481
  }, {
13073
13482
  type: "ask" | "say";
13074
13483
  ts: number;
@@ -13076,7 +13485,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13076
13485
  partial?: boolean | undefined;
13077
13486
  text?: string | undefined;
13078
13487
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13079
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13488
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13080
13489
  images?: string[] | undefined;
13081
13490
  conversationHistoryIndex?: number | undefined;
13082
13491
  checkpoint?: Record<string, unknown> | undefined;
@@ -13091,6 +13500,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13091
13500
  summary: string;
13092
13501
  } | undefined;
13093
13502
  isProtected?: boolean | undefined;
13503
+ apiProtocol?: "openai" | "anthropic" | undefined;
13094
13504
  }>;
13095
13505
  repositoryUrl: z.ZodOptional<z.ZodString>;
13096
13506
  repositoryName: z.ZodOptional<z.ZodString>;
@@ -13115,7 +13525,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13115
13525
  partial?: boolean | undefined;
13116
13526
  text?: string | undefined;
13117
13527
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13118
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13528
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13119
13529
  images?: string[] | undefined;
13120
13530
  conversationHistoryIndex?: number | undefined;
13121
13531
  checkpoint?: Record<string, unknown> | undefined;
@@ -13130,6 +13540,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13130
13540
  summary: string;
13131
13541
  } | undefined;
13132
13542
  isProtected?: boolean | undefined;
13543
+ apiProtocol?: "openai" | "anthropic" | undefined;
13133
13544
  };
13134
13545
  appName: string;
13135
13546
  appVersion: string;
@@ -13139,7 +13550,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13139
13550
  language: string;
13140
13551
  mode: string;
13141
13552
  taskId: string;
13142
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13553
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13143
13554
  cloudIsAuthenticated?: boolean | undefined;
13144
13555
  modelId?: string | undefined;
13145
13556
  diffStrategy?: string | undefined;
@@ -13155,7 +13566,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13155
13566
  partial?: boolean | undefined;
13156
13567
  text?: string | undefined;
13157
13568
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13158
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13569
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13159
13570
  images?: string[] | undefined;
13160
13571
  conversationHistoryIndex?: number | undefined;
13161
13572
  checkpoint?: Record<string, unknown> | undefined;
@@ -13170,6 +13581,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13170
13581
  summary: string;
13171
13582
  } | undefined;
13172
13583
  isProtected?: boolean | undefined;
13584
+ apiProtocol?: "openai" | "anthropic" | undefined;
13173
13585
  };
13174
13586
  appName: string;
13175
13587
  appVersion: string;
@@ -13179,7 +13591,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13179
13591
  language: string;
13180
13592
  mode: string;
13181
13593
  taskId: string;
13182
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13594
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13183
13595
  cloudIsAuthenticated?: boolean | undefined;
13184
13596
  modelId?: string | undefined;
13185
13597
  diffStrategy?: string | undefined;
@@ -13198,7 +13610,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13198
13610
  partial?: boolean | undefined;
13199
13611
  text?: string | undefined;
13200
13612
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13201
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13613
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13202
13614
  images?: string[] | undefined;
13203
13615
  conversationHistoryIndex?: number | undefined;
13204
13616
  checkpoint?: Record<string, unknown> | undefined;
@@ -13213,6 +13625,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13213
13625
  summary: string;
13214
13626
  } | undefined;
13215
13627
  isProtected?: boolean | undefined;
13628
+ apiProtocol?: "openai" | "anthropic" | undefined;
13216
13629
  };
13217
13630
  appName: string;
13218
13631
  appVersion: string;
@@ -13222,7 +13635,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13222
13635
  language: string;
13223
13636
  mode: string;
13224
13637
  taskId: string;
13225
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13638
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13226
13639
  cloudIsAuthenticated?: boolean | undefined;
13227
13640
  modelId?: string | undefined;
13228
13641
  diffStrategy?: string | undefined;
@@ -13241,7 +13654,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13241
13654
  partial?: boolean | undefined;
13242
13655
  text?: string | undefined;
13243
13656
  ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | undefined;
13244
- say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | undefined;
13657
+ say?: "reasoning" | "command_output" | "completion_result" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined;
13245
13658
  images?: string[] | undefined;
13246
13659
  conversationHistoryIndex?: number | undefined;
13247
13660
  checkpoint?: Record<string, unknown> | undefined;
@@ -13256,6 +13669,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13256
13669
  summary: string;
13257
13670
  } | undefined;
13258
13671
  isProtected?: boolean | undefined;
13672
+ apiProtocol?: "openai" | "anthropic" | undefined;
13259
13673
  };
13260
13674
  appName: string;
13261
13675
  appVersion: string;
@@ -13265,7 +13679,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13265
13679
  language: string;
13266
13680
  mode: string;
13267
13681
  taskId: string;
13268
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13682
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13269
13683
  cloudIsAuthenticated?: boolean | undefined;
13270
13684
  modelId?: string | undefined;
13271
13685
  diffStrategy?: string | undefined;
@@ -13308,7 +13722,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13308
13722
  mode: string;
13309
13723
  inputTokens: number;
13310
13724
  outputTokens: number;
13311
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13725
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13312
13726
  cost?: number | undefined;
13313
13727
  cloudIsAuthenticated?: boolean | undefined;
13314
13728
  taskId?: string | undefined;
@@ -13330,7 +13744,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13330
13744
  mode: string;
13331
13745
  inputTokens: number;
13332
13746
  outputTokens: number;
13333
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13747
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13334
13748
  cost?: number | undefined;
13335
13749
  cloudIsAuthenticated?: boolean | undefined;
13336
13750
  taskId?: string | undefined;
@@ -13355,7 +13769,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13355
13769
  mode: string;
13356
13770
  inputTokens: number;
13357
13771
  outputTokens: number;
13358
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13772
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13359
13773
  cost?: number | undefined;
13360
13774
  cloudIsAuthenticated?: boolean | undefined;
13361
13775
  taskId?: string | undefined;
@@ -13380,7 +13794,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13380
13794
  mode: string;
13381
13795
  inputTokens: number;
13382
13796
  outputTokens: number;
13383
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13797
+ apiProvider?: "openai" | "ollama" | "gemini" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13384
13798
  cost?: number | undefined;
13385
13799
  cloudIsAuthenticated?: boolean | undefined;
13386
13800
  taskId?: string | undefined;
@@ -13503,4 +13917,27 @@ declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "i
13503
13917
  type Language = z.infer<typeof languagesSchema>;
13504
13918
  declare const isLanguage: (value: string) => value is Language;
13505
13919
 
13506
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, 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 OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
13920
+ /**
13921
+ * TodoStatus
13922
+ */
13923
+ declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
13924
+ type TodoStatus = z.infer<typeof todoStatusSchema>;
13925
+ /**
13926
+ * TodoItem
13927
+ */
13928
+ declare const todoItemSchema: z.ZodObject<{
13929
+ id: z.ZodString;
13930
+ content: z.ZodString;
13931
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
13932
+ }, "strip", z.ZodTypeAny, {
13933
+ status: "completed" | "pending" | "in_progress";
13934
+ id: string;
13935
+ content: string;
13936
+ }, {
13937
+ status: "completed" | "pending" | "in_progress";
13938
+ id: string;
13939
+ content: string;
13940
+ }>;
13941
+ type TodoItem = z.infer<typeof todoItemSchema>;
13942
+
13943
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, 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 OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, 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, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };