@roo-code/types 1.29.0 → 1.31.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.ts CHANGED
@@ -444,12 +444,7 @@ declare const bedrockModels: {
444
444
  declare const BEDROCK_DEFAULT_TEMPERATURE = 0.3;
445
445
  declare const BEDROCK_MAX_TOKENS = 4096;
446
446
  declare const BEDROCK_DEFAULT_CONTEXT = 128000;
447
- declare const BEDROCK_REGION_INFO: Record<string, {
448
- regionId: string;
449
- description: string;
450
- pattern?: string;
451
- multiRegion?: boolean;
452
- }>;
447
+ declare const AWS_INFERENCE_PROFILE_MAPPING: Array<[string, string]>;
453
448
  declare const BEDROCK_REGIONS: {
454
449
  value: string;
455
450
  label: string;
@@ -663,7 +658,10 @@ declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
663
658
  declare const claudeCodeModels: {
664
659
  readonly "claude-sonnet-4-20250514": {
665
660
  readonly supportsImages: false;
666
- readonly supportsPromptCache: false;
661
+ readonly supportsPromptCache: true;
662
+ readonly supportsReasoningEffort: false;
663
+ readonly supportsReasoningBudget: false;
664
+ readonly requiredReasoningBudget: false;
667
665
  readonly maxTokens: 64000;
668
666
  readonly contextWindow: 200000;
669
667
  readonly supportsComputerUse: true;
@@ -671,11 +669,13 @@ declare const claudeCodeModels: {
671
669
  readonly outputPrice: 15;
672
670
  readonly cacheWritesPrice: 3.75;
673
671
  readonly cacheReadsPrice: 0.3;
674
- readonly supportsReasoningBudget: true;
675
672
  };
676
673
  readonly "claude-opus-4-20250514": {
677
674
  readonly supportsImages: false;
678
- readonly supportsPromptCache: false;
675
+ readonly supportsPromptCache: true;
676
+ readonly supportsReasoningEffort: false;
677
+ readonly supportsReasoningBudget: false;
678
+ readonly requiredReasoningBudget: false;
679
679
  readonly maxTokens: 32000;
680
680
  readonly contextWindow: 200000;
681
681
  readonly supportsComputerUse: true;
@@ -683,11 +683,13 @@ declare const claudeCodeModels: {
683
683
  readonly outputPrice: 75;
684
684
  readonly cacheWritesPrice: 18.75;
685
685
  readonly cacheReadsPrice: 1.5;
686
- readonly supportsReasoningBudget: true;
687
686
  };
688
687
  readonly "claude-3-7-sonnet-20250219": {
689
688
  readonly supportsImages: false;
690
- readonly supportsPromptCache: false;
689
+ readonly supportsPromptCache: true;
690
+ readonly supportsReasoningEffort: false;
691
+ readonly supportsReasoningBudget: false;
692
+ readonly requiredReasoningBudget: false;
691
693
  readonly maxTokens: 8192;
692
694
  readonly contextWindow: 200000;
693
695
  readonly supportsComputerUse: true;
@@ -698,7 +700,10 @@ declare const claudeCodeModels: {
698
700
  };
699
701
  readonly "claude-3-5-sonnet-20241022": {
700
702
  readonly supportsImages: false;
701
- readonly supportsPromptCache: false;
703
+ readonly supportsPromptCache: true;
704
+ readonly supportsReasoningEffort: false;
705
+ readonly supportsReasoningBudget: false;
706
+ readonly requiredReasoningBudget: false;
702
707
  readonly maxTokens: 8192;
703
708
  readonly contextWindow: 200000;
704
709
  readonly supportsComputerUse: true;
@@ -709,7 +714,10 @@ declare const claudeCodeModels: {
709
714
  };
710
715
  readonly "claude-3-5-haiku-20241022": {
711
716
  readonly supportsImages: false;
712
- readonly supportsPromptCache: false;
717
+ readonly supportsPromptCache: true;
718
+ readonly supportsReasoningEffort: false;
719
+ readonly supportsReasoningBudget: false;
720
+ readonly requiredReasoningBudget: false;
713
721
  readonly maxTokens: 8192;
714
722
  readonly contextWindow: 200000;
715
723
  readonly inputPrice: 1;
@@ -1200,7 +1208,7 @@ declare const groqModels: {
1200
1208
  readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
1201
1209
  };
1202
1210
  readonly "qwen/qwen3-32b": {
1203
- readonly maxTokens: 131072;
1211
+ readonly maxTokens: 40960;
1204
1212
  readonly contextWindow: 131072;
1205
1213
  readonly supportsImages: false;
1206
1214
  readonly supportsPromptCache: false;
@@ -1999,8 +2007,8 @@ type AssertEqual<T extends true> = T;
1999
2007
  /**
2000
2008
  * ProviderName
2001
2009
  */
2002
- declare const providerNames: readonly ["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"];
2003
- declare const providerNamesSchema: z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>;
2010
+ declare const providerNames: readonly ["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"];
2011
+ declare const providerNamesSchema: 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"]>;
2004
2012
  type ProviderName = z.infer<typeof providerNamesSchema>;
2005
2013
  /**
2006
2014
  * ProviderSettingsEntry
@@ -2008,15 +2016,15 @@ type ProviderName = z.infer<typeof providerNamesSchema>;
2008
2016
  declare const providerSettingsEntrySchema: z.ZodObject<{
2009
2017
  id: z.ZodString;
2010
2018
  name: z.ZodString;
2011
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
2019
+ 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"]>>;
2012
2020
  }, "strip", z.ZodTypeAny, {
2013
2021
  name: string;
2014
2022
  id: string;
2015
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2023
+ 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;
2016
2024
  }, {
2017
2025
  name: string;
2018
2026
  id: string;
2019
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
2027
+ 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;
2020
2028
  }>;
2021
2029
  type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
2022
2030
  declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
@@ -2749,6 +2757,51 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2749
2757
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2750
2758
  } & {
2751
2759
  apiModelId: z.ZodOptional<z.ZodString>;
2760
+ } & {
2761
+ geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
2762
+ geminiCliProjectId: z.ZodOptional<z.ZodString>;
2763
+ } & {
2764
+ apiProvider: z.ZodLiteral<"gemini-cli">;
2765
+ }, "strip", z.ZodTypeAny, {
2766
+ apiProvider: "gemini-cli";
2767
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2768
+ includeMaxTokens?: boolean | undefined;
2769
+ diffEnabled?: boolean | undefined;
2770
+ fuzzyMatchThreshold?: number | undefined;
2771
+ modelTemperature?: number | null | undefined;
2772
+ rateLimitSeconds?: number | undefined;
2773
+ enableReasoningEffort?: boolean | undefined;
2774
+ modelMaxTokens?: number | undefined;
2775
+ modelMaxThinkingTokens?: number | undefined;
2776
+ apiModelId?: string | undefined;
2777
+ geminiCliOAuthPath?: string | undefined;
2778
+ geminiCliProjectId?: string | undefined;
2779
+ }, {
2780
+ apiProvider: "gemini-cli";
2781
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2782
+ includeMaxTokens?: boolean | undefined;
2783
+ diffEnabled?: boolean | undefined;
2784
+ fuzzyMatchThreshold?: number | undefined;
2785
+ modelTemperature?: number | null | undefined;
2786
+ rateLimitSeconds?: number | undefined;
2787
+ enableReasoningEffort?: boolean | undefined;
2788
+ modelMaxTokens?: number | undefined;
2789
+ modelMaxThinkingTokens?: number | undefined;
2790
+ apiModelId?: string | undefined;
2791
+ geminiCliOAuthPath?: string | undefined;
2792
+ geminiCliProjectId?: string | undefined;
2793
+ }>, z.ZodObject<{
2794
+ includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
2795
+ diffEnabled: z.ZodOptional<z.ZodBoolean>;
2796
+ fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
2797
+ modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2798
+ rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
2799
+ enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
2800
+ reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
2801
+ modelMaxTokens: z.ZodOptional<z.ZodNumber>;
2802
+ modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2803
+ } & {
2804
+ apiModelId: z.ZodOptional<z.ZodString>;
2752
2805
  } & {
2753
2806
  openAiNativeApiKey: z.ZodOptional<z.ZodString>;
2754
2807
  openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
@@ -3209,6 +3262,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3209
3262
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
3210
3263
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
3211
3264
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
3265
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
3212
3266
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
3213
3267
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
3214
3268
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
@@ -3236,6 +3290,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3236
3290
  mistralCodestralUrl: z.ZodOptional<z.ZodString>;
3237
3291
  openAiNativeApiKey: z.ZodOptional<z.ZodString>;
3238
3292
  openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
3293
+ geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
3294
+ geminiCliProjectId: z.ZodOptional<z.ZodString>;
3239
3295
  geminiApiKey: z.ZodOptional<z.ZodString>;
3240
3296
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
3241
3297
  lmStudioModelId: z.ZodOptional<z.ZodString>;
@@ -3391,15 +3447,16 @@ declare const providerSettingsSchema: z.ZodObject<{
3391
3447
  apiKey: z.ZodOptional<z.ZodString>;
3392
3448
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3393
3449
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
3394
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3450
+ 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"]>>;
3395
3451
  }, "strip", z.ZodTypeAny, {
3396
3452
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3453
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3454
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3397
3455
  codeIndexOpenAiKey?: string | undefined;
3398
3456
  codeIndexQdrantApiKey?: string | undefined;
3399
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3400
3457
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3401
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3402
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3458
+ codebaseIndexGeminiApiKey?: string | undefined;
3459
+ 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;
3403
3460
  includeMaxTokens?: boolean | undefined;
3404
3461
  diffEnabled?: boolean | undefined;
3405
3462
  fuzzyMatchThreshold?: number | undefined;
@@ -3488,6 +3545,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3488
3545
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
3489
3546
  geminiApiKey?: string | undefined;
3490
3547
  googleGeminiBaseUrl?: string | undefined;
3548
+ geminiCliOAuthPath?: string | undefined;
3549
+ geminiCliProjectId?: string | undefined;
3491
3550
  openAiNativeApiKey?: string | undefined;
3492
3551
  openAiNativeBaseUrl?: string | undefined;
3493
3552
  mistralApiKey?: string | undefined;
@@ -3507,12 +3566,13 @@ declare const providerSettingsSchema: z.ZodObject<{
3507
3566
  litellmModelId?: string | undefined;
3508
3567
  }, {
3509
3568
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3569
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3570
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3510
3571
  codeIndexOpenAiKey?: string | undefined;
3511
3572
  codeIndexQdrantApiKey?: string | undefined;
3512
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3513
3573
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
3514
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3515
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3574
+ codebaseIndexGeminiApiKey?: string | undefined;
3575
+ 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;
3516
3576
  includeMaxTokens?: boolean | undefined;
3517
3577
  diffEnabled?: boolean | undefined;
3518
3578
  fuzzyMatchThreshold?: number | undefined;
@@ -3601,6 +3661,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3601
3661
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
3602
3662
  geminiApiKey?: string | undefined;
3603
3663
  googleGeminiBaseUrl?: string | undefined;
3664
+ geminiCliOAuthPath?: string | undefined;
3665
+ geminiCliProjectId?: string | undefined;
3604
3666
  openAiNativeApiKey?: string | undefined;
3605
3667
  openAiNativeBaseUrl?: string | undefined;
3606
3668
  mistralApiKey?: string | undefined;
@@ -3620,7 +3682,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3620
3682
  litellmModelId?: string | undefined;
3621
3683
  }>;
3622
3684
  type ProviderSettings = z.infer<typeof providerSettingsSchema>;
3623
- 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", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
3685
+ 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", "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"];
3624
3686
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
3625
3687
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
3626
3688
 
@@ -3632,15 +3694,15 @@ declare const globalSettingsSchema: z.ZodObject<{
3632
3694
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
3633
3695
  id: z.ZodString;
3634
3696
  name: z.ZodString;
3635
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
3697
+ 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"]>>;
3636
3698
  }, "strip", z.ZodTypeAny, {
3637
3699
  name: string;
3638
3700
  id: string;
3639
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3701
+ 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;
3640
3702
  }, {
3641
3703
  name: string;
3642
3704
  id: string;
3643
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
3705
+ 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;
3644
3706
  }>, "many">>;
3645
3707
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3646
3708
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -3698,6 +3760,9 @@ declare const globalSettingsSchema: z.ZodObject<{
3698
3760
  alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
3699
3761
  alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
3700
3762
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
3763
+ alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
3764
+ followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
3765
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
3701
3766
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3702
3767
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3703
3768
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
@@ -3763,6 +3828,13 @@ declare const globalSettingsSchema: z.ZodObject<{
3763
3828
  }, {
3764
3829
  dimension: number;
3765
3830
  }>>>;
3831
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3832
+ dimension: z.ZodNumber;
3833
+ }, "strip", z.ZodTypeAny, {
3834
+ dimension: number;
3835
+ }, {
3836
+ dimension: number;
3837
+ }>>>;
3766
3838
  }, "strip", z.ZodTypeAny, {
3767
3839
  openai?: Record<string, {
3768
3840
  dimension: number;
@@ -3773,6 +3845,9 @@ declare const globalSettingsSchema: z.ZodObject<{
3773
3845
  "openai-compatible"?: Record<string, {
3774
3846
  dimension: number;
3775
3847
  }> | undefined;
3848
+ gemini?: Record<string, {
3849
+ dimension: number;
3850
+ }> | undefined;
3776
3851
  }, {
3777
3852
  openai?: Record<string, {
3778
3853
  dimension: number;
@@ -3783,25 +3858,43 @@ declare const globalSettingsSchema: z.ZodObject<{
3783
3858
  "openai-compatible"?: Record<string, {
3784
3859
  dimension: number;
3785
3860
  }> | undefined;
3861
+ gemini?: Record<string, {
3862
+ dimension: number;
3863
+ }> | undefined;
3786
3864
  }>>;
3787
3865
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
3788
3866
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
3789
3867
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
3790
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
3868
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
3791
3869
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
3792
3870
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
3871
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
3872
+ codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
3873
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
3874
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
3875
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
3793
3876
  }, "strip", z.ZodTypeAny, {
3794
3877
  codebaseIndexEnabled?: boolean | undefined;
3795
3878
  codebaseIndexQdrantUrl?: string | undefined;
3796
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
3879
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
3797
3880
  codebaseIndexEmbedderBaseUrl?: string | undefined;
3798
3881
  codebaseIndexEmbedderModelId?: string | undefined;
3882
+ codebaseIndexEmbedderModelDimension?: number | undefined;
3883
+ codebaseIndexSearchMinScore?: number | undefined;
3884
+ codebaseIndexSearchMaxResults?: number | undefined;
3885
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3886
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3799
3887
  }, {
3800
3888
  codebaseIndexEnabled?: boolean | undefined;
3801
3889
  codebaseIndexQdrantUrl?: string | undefined;
3802
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
3890
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
3803
3891
  codebaseIndexEmbedderBaseUrl?: string | undefined;
3804
3892
  codebaseIndexEmbedderModelId?: string | undefined;
3893
+ codebaseIndexEmbedderModelDimension?: number | undefined;
3894
+ codebaseIndexSearchMinScore?: number | undefined;
3895
+ codebaseIndexSearchMaxResults?: number | undefined;
3896
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
3897
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3805
3898
  }>>;
3806
3899
  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"]>>;
3807
3900
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -3879,6 +3972,8 @@ declare const globalSettingsSchema: z.ZodObject<{
3879
3972
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
3880
3973
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3881
3974
  hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
3975
+ lastModeExportPath: z.ZodOptional<z.ZodString>;
3976
+ lastModeImportPath: z.ZodOptional<z.ZodString>;
3882
3977
  }, "strip", z.ZodTypeAny, {
3883
3978
  diffEnabled?: boolean | undefined;
3884
3979
  fuzzyMatchThreshold?: number | undefined;
@@ -3903,7 +3998,7 @@ declare const globalSettingsSchema: z.ZodObject<{
3903
3998
  listApiConfigMeta?: {
3904
3999
  name: string;
3905
4000
  id: string;
3906
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4001
+ 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;
3907
4002
  }[] | undefined;
3908
4003
  pinnedApiConfigs?: Record<string, boolean> | undefined;
3909
4004
  lastShownAnnouncementId?: string | undefined;
@@ -3936,6 +4031,9 @@ declare const globalSettingsSchema: z.ZodObject<{
3936
4031
  alwaysAllowModeSwitch?: boolean | undefined;
3937
4032
  alwaysAllowSubtasks?: boolean | undefined;
3938
4033
  alwaysAllowExecute?: boolean | undefined;
4034
+ alwaysAllowFollowupQuestions?: boolean | undefined;
4035
+ followupAutoApproveTimeoutMs?: number | undefined;
4036
+ alwaysAllowUpdateTodoList?: boolean | undefined;
3939
4037
  allowedCommands?: string[] | undefined;
3940
4038
  allowedMaxRequests?: number | null | undefined;
3941
4039
  autoCondenseContext?: boolean | undefined;
@@ -3980,13 +4078,21 @@ declare const globalSettingsSchema: z.ZodObject<{
3980
4078
  "openai-compatible"?: Record<string, {
3981
4079
  dimension: number;
3982
4080
  }> | undefined;
4081
+ gemini?: Record<string, {
4082
+ dimension: number;
4083
+ }> | undefined;
3983
4084
  } | undefined;
3984
4085
  codebaseIndexConfig?: {
3985
4086
  codebaseIndexEnabled?: boolean | undefined;
3986
4087
  codebaseIndexQdrantUrl?: string | undefined;
3987
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4088
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
3988
4089
  codebaseIndexEmbedderBaseUrl?: string | undefined;
3989
4090
  codebaseIndexEmbedderModelId?: string | undefined;
4091
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4092
+ codebaseIndexSearchMinScore?: number | undefined;
4093
+ codebaseIndexSearchMaxResults?: number | undefined;
4094
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4095
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
3990
4096
  } | undefined;
3991
4097
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
3992
4098
  mcpEnabled?: boolean | undefined;
@@ -4003,6 +4109,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4003
4109
  historyPreviewCollapsed?: boolean | undefined;
4004
4110
  profileThresholds?: Record<string, number> | undefined;
4005
4111
  hasOpenedModeSelector?: boolean | undefined;
4112
+ lastModeExportPath?: string | undefined;
4113
+ lastModeImportPath?: string | undefined;
4006
4114
  }, {
4007
4115
  diffEnabled?: boolean | undefined;
4008
4116
  fuzzyMatchThreshold?: number | undefined;
@@ -4027,7 +4135,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4027
4135
  listApiConfigMeta?: {
4028
4136
  name: string;
4029
4137
  id: string;
4030
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4138
+ 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;
4031
4139
  }[] | undefined;
4032
4140
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4033
4141
  lastShownAnnouncementId?: string | undefined;
@@ -4060,6 +4168,9 @@ declare const globalSettingsSchema: z.ZodObject<{
4060
4168
  alwaysAllowModeSwitch?: boolean | undefined;
4061
4169
  alwaysAllowSubtasks?: boolean | undefined;
4062
4170
  alwaysAllowExecute?: boolean | undefined;
4171
+ alwaysAllowFollowupQuestions?: boolean | undefined;
4172
+ followupAutoApproveTimeoutMs?: number | undefined;
4173
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4063
4174
  allowedCommands?: string[] | undefined;
4064
4175
  allowedMaxRequests?: number | null | undefined;
4065
4176
  autoCondenseContext?: boolean | undefined;
@@ -4104,13 +4215,21 @@ declare const globalSettingsSchema: z.ZodObject<{
4104
4215
  "openai-compatible"?: Record<string, {
4105
4216
  dimension: number;
4106
4217
  }> | undefined;
4218
+ gemini?: Record<string, {
4219
+ dimension: number;
4220
+ }> | undefined;
4107
4221
  } | undefined;
4108
4222
  codebaseIndexConfig?: {
4109
4223
  codebaseIndexEnabled?: boolean | undefined;
4110
4224
  codebaseIndexQdrantUrl?: string | undefined;
4111
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4225
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4112
4226
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4113
4227
  codebaseIndexEmbedderModelId?: string | undefined;
4228
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4229
+ codebaseIndexSearchMinScore?: number | undefined;
4230
+ codebaseIndexSearchMaxResults?: number | undefined;
4231
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4232
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4114
4233
  } | undefined;
4115
4234
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
4116
4235
  mcpEnabled?: boolean | undefined;
@@ -4127,9 +4246,11 @@ declare const globalSettingsSchema: z.ZodObject<{
4127
4246
  historyPreviewCollapsed?: boolean | undefined;
4128
4247
  profileThresholds?: Record<string, number> | undefined;
4129
4248
  hasOpenedModeSelector?: boolean | undefined;
4249
+ lastModeExportPath?: string | undefined;
4250
+ lastModeImportPath?: string | undefined;
4130
4251
  }>;
4131
4252
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
4132
- 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", "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"];
4253
+ 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", "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"];
4133
4254
  /**
4134
4255
  * RooCodeSettings
4135
4256
  */
@@ -4139,6 +4260,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4139
4260
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
4140
4261
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
4141
4262
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
4263
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
4142
4264
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
4143
4265
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4144
4266
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -4163,6 +4285,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4163
4285
  mistralCodestralUrl: z.ZodOptional<z.ZodString>;
4164
4286
  openAiNativeApiKey: z.ZodOptional<z.ZodString>;
4165
4287
  openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
4288
+ geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
4289
+ geminiCliProjectId: z.ZodOptional<z.ZodString>;
4166
4290
  geminiApiKey: z.ZodOptional<z.ZodString>;
4167
4291
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
4168
4292
  lmStudioModelId: z.ZodOptional<z.ZodString>;
@@ -4318,21 +4442,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4318
4442
  apiKey: z.ZodOptional<z.ZodString>;
4319
4443
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4320
4444
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
4321
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4445
+ 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"]>>;
4322
4446
  } & {
4323
4447
  currentApiConfigName: z.ZodOptional<z.ZodString>;
4324
4448
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
4325
4449
  id: z.ZodString;
4326
4450
  name: z.ZodString;
4327
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
4451
+ 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"]>>;
4328
4452
  }, "strip", z.ZodTypeAny, {
4329
4453
  name: string;
4330
4454
  id: string;
4331
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4455
+ 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;
4332
4456
  }, {
4333
4457
  name: string;
4334
4458
  id: string;
4335
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4459
+ 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;
4336
4460
  }>, "many">>;
4337
4461
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4338
4462
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -4390,6 +4514,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4390
4514
  alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
4391
4515
  alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
4392
4516
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
4517
+ alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
4518
+ followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
4519
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
4393
4520
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4394
4521
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4395
4522
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
@@ -4455,6 +4582,13 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4455
4582
  }, {
4456
4583
  dimension: number;
4457
4584
  }>>>;
4585
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4586
+ dimension: z.ZodNumber;
4587
+ }, "strip", z.ZodTypeAny, {
4588
+ dimension: number;
4589
+ }, {
4590
+ dimension: number;
4591
+ }>>>;
4458
4592
  }, "strip", z.ZodTypeAny, {
4459
4593
  openai?: Record<string, {
4460
4594
  dimension: number;
@@ -4465,6 +4599,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4465
4599
  "openai-compatible"?: Record<string, {
4466
4600
  dimension: number;
4467
4601
  }> | undefined;
4602
+ gemini?: Record<string, {
4603
+ dimension: number;
4604
+ }> | undefined;
4468
4605
  }, {
4469
4606
  openai?: Record<string, {
4470
4607
  dimension: number;
@@ -4475,25 +4612,43 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4475
4612
  "openai-compatible"?: Record<string, {
4476
4613
  dimension: number;
4477
4614
  }> | undefined;
4615
+ gemini?: Record<string, {
4616
+ dimension: number;
4617
+ }> | undefined;
4478
4618
  }>>;
4479
4619
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
4480
4620
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
4481
4621
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
4482
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
4622
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
4483
4623
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
4484
4624
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
4625
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
4626
+ codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
4627
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
4628
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
4629
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
4485
4630
  }, "strip", z.ZodTypeAny, {
4486
4631
  codebaseIndexEnabled?: boolean | undefined;
4487
4632
  codebaseIndexQdrantUrl?: string | undefined;
4488
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4633
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4489
4634
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4490
4635
  codebaseIndexEmbedderModelId?: string | undefined;
4636
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4637
+ codebaseIndexSearchMinScore?: number | undefined;
4638
+ codebaseIndexSearchMaxResults?: number | undefined;
4639
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4640
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4491
4641
  }, {
4492
4642
  codebaseIndexEnabled?: boolean | undefined;
4493
4643
  codebaseIndexQdrantUrl?: string | undefined;
4494
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4644
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4495
4645
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4496
4646
  codebaseIndexEmbedderModelId?: string | undefined;
4647
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4648
+ codebaseIndexSearchMinScore?: number | undefined;
4649
+ codebaseIndexSearchMaxResults?: number | undefined;
4650
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4651
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4497
4652
  }>>;
4498
4653
  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"]>>;
4499
4654
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -4571,14 +4726,17 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4571
4726
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
4572
4727
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4573
4728
  hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
4729
+ lastModeExportPath: z.ZodOptional<z.ZodString>;
4730
+ lastModeImportPath: z.ZodOptional<z.ZodString>;
4574
4731
  }, "strip", z.ZodTypeAny, {
4575
4732
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4733
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4734
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4576
4735
  codeIndexOpenAiKey?: string | undefined;
4577
4736
  codeIndexQdrantApiKey?: string | undefined;
4578
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4579
4737
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4580
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4581
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4738
+ codebaseIndexGeminiApiKey?: string | undefined;
4739
+ 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;
4582
4740
  includeMaxTokens?: boolean | undefined;
4583
4741
  diffEnabled?: boolean | undefined;
4584
4742
  fuzzyMatchThreshold?: number | undefined;
@@ -4667,6 +4825,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4667
4825
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
4668
4826
  geminiApiKey?: string | undefined;
4669
4827
  googleGeminiBaseUrl?: string | undefined;
4828
+ geminiCliOAuthPath?: string | undefined;
4829
+ geminiCliProjectId?: string | undefined;
4670
4830
  openAiNativeApiKey?: string | undefined;
4671
4831
  openAiNativeBaseUrl?: string | undefined;
4672
4832
  mistralApiKey?: string | undefined;
@@ -4704,7 +4864,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4704
4864
  listApiConfigMeta?: {
4705
4865
  name: string;
4706
4866
  id: string;
4707
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4867
+ 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;
4708
4868
  }[] | undefined;
4709
4869
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4710
4870
  lastShownAnnouncementId?: string | undefined;
@@ -4737,6 +4897,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4737
4897
  alwaysAllowModeSwitch?: boolean | undefined;
4738
4898
  alwaysAllowSubtasks?: boolean | undefined;
4739
4899
  alwaysAllowExecute?: boolean | undefined;
4900
+ alwaysAllowFollowupQuestions?: boolean | undefined;
4901
+ followupAutoApproveTimeoutMs?: number | undefined;
4902
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4740
4903
  allowedCommands?: string[] | undefined;
4741
4904
  allowedMaxRequests?: number | null | undefined;
4742
4905
  autoCondenseContext?: boolean | undefined;
@@ -4781,13 +4944,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4781
4944
  "openai-compatible"?: Record<string, {
4782
4945
  dimension: number;
4783
4946
  }> | undefined;
4947
+ gemini?: Record<string, {
4948
+ dimension: number;
4949
+ }> | undefined;
4784
4950
  } | undefined;
4785
4951
  codebaseIndexConfig?: {
4786
4952
  codebaseIndexEnabled?: boolean | undefined;
4787
4953
  codebaseIndexQdrantUrl?: string | undefined;
4788
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
4954
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
4789
4955
  codebaseIndexEmbedderBaseUrl?: string | undefined;
4790
4956
  codebaseIndexEmbedderModelId?: string | undefined;
4957
+ codebaseIndexEmbedderModelDimension?: number | undefined;
4958
+ codebaseIndexSearchMinScore?: number | undefined;
4959
+ codebaseIndexSearchMaxResults?: number | undefined;
4960
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4961
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4791
4962
  } | undefined;
4792
4963
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
4793
4964
  mcpEnabled?: boolean | undefined;
@@ -4804,14 +4975,17 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4804
4975
  historyPreviewCollapsed?: boolean | undefined;
4805
4976
  profileThresholds?: Record<string, number> | undefined;
4806
4977
  hasOpenedModeSelector?: boolean | undefined;
4978
+ lastModeExportPath?: string | undefined;
4979
+ lastModeImportPath?: string | undefined;
4807
4980
  }, {
4808
4981
  reasoningEffort?: "low" | "medium" | "high" | undefined;
4982
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4983
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4809
4984
  codeIndexOpenAiKey?: string | undefined;
4810
4985
  codeIndexQdrantApiKey?: string | undefined;
4811
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
4812
4986
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
4813
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
4814
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
4987
+ codebaseIndexGeminiApiKey?: string | undefined;
4988
+ 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;
4815
4989
  includeMaxTokens?: boolean | undefined;
4816
4990
  diffEnabled?: boolean | undefined;
4817
4991
  fuzzyMatchThreshold?: number | undefined;
@@ -4900,6 +5074,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4900
5074
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
4901
5075
  geminiApiKey?: string | undefined;
4902
5076
  googleGeminiBaseUrl?: string | undefined;
5077
+ geminiCliOAuthPath?: string | undefined;
5078
+ geminiCliProjectId?: string | undefined;
4903
5079
  openAiNativeApiKey?: string | undefined;
4904
5080
  openAiNativeBaseUrl?: string | undefined;
4905
5081
  mistralApiKey?: string | undefined;
@@ -4937,7 +5113,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4937
5113
  listApiConfigMeta?: {
4938
5114
  name: string;
4939
5115
  id: string;
4940
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
5116
+ 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;
4941
5117
  }[] | undefined;
4942
5118
  pinnedApiConfigs?: Record<string, boolean> | undefined;
4943
5119
  lastShownAnnouncementId?: string | undefined;
@@ -4970,6 +5146,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4970
5146
  alwaysAllowModeSwitch?: boolean | undefined;
4971
5147
  alwaysAllowSubtasks?: boolean | undefined;
4972
5148
  alwaysAllowExecute?: boolean | undefined;
5149
+ alwaysAllowFollowupQuestions?: boolean | undefined;
5150
+ followupAutoApproveTimeoutMs?: number | undefined;
5151
+ alwaysAllowUpdateTodoList?: boolean | undefined;
4973
5152
  allowedCommands?: string[] | undefined;
4974
5153
  allowedMaxRequests?: number | null | undefined;
4975
5154
  autoCondenseContext?: boolean | undefined;
@@ -5014,13 +5193,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5014
5193
  "openai-compatible"?: Record<string, {
5015
5194
  dimension: number;
5016
5195
  }> | undefined;
5196
+ gemini?: Record<string, {
5197
+ dimension: number;
5198
+ }> | undefined;
5017
5199
  } | undefined;
5018
5200
  codebaseIndexConfig?: {
5019
5201
  codebaseIndexEnabled?: boolean | undefined;
5020
5202
  codebaseIndexQdrantUrl?: string | undefined;
5021
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
5203
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
5022
5204
  codebaseIndexEmbedderBaseUrl?: string | undefined;
5023
5205
  codebaseIndexEmbedderModelId?: string | undefined;
5206
+ codebaseIndexEmbedderModelDimension?: number | undefined;
5207
+ codebaseIndexSearchMinScore?: number | undefined;
5208
+ codebaseIndexSearchMaxResults?: number | undefined;
5209
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
5210
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
5024
5211
  } | undefined;
5025
5212
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
5026
5213
  mcpEnabled?: boolean | undefined;
@@ -5037,12 +5224,14 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5037
5224
  historyPreviewCollapsed?: boolean | undefined;
5038
5225
  profileThresholds?: Record<string, number> | undefined;
5039
5226
  hasOpenedModeSelector?: boolean | undefined;
5227
+ lastModeExportPath?: string | undefined;
5228
+ lastModeImportPath?: string | undefined;
5040
5229
  }>;
5041
5230
  type RooCodeSettings = GlobalSettings & ProviderSettings;
5042
5231
  /**
5043
5232
  * SecretState
5044
5233
  */
5045
- 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"];
5234
+ 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"];
5046
5235
  type SecretState = Pick<ProviderSettings, (typeof SECRET_STATE_KEYS)[number]>;
5047
5236
  declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
5048
5237
  /**
@@ -5120,8 +5309,8 @@ type ClineAsk = z.infer<typeof clineAskSchema>;
5120
5309
  * - `condense_context_error`: Error occurred during context condensation
5121
5310
  * - `codebase_search_result`: Results from searching the codebase
5122
5311
  */
5123
- 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"];
5124
- 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"]>;
5312
+ 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"];
5313
+ 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"]>;
5125
5314
  type ClineSay = z.infer<typeof clineSaySchema>;
5126
5315
  /**
5127
5316
  * ToolProgressStatus
@@ -5164,7 +5353,7 @@ declare const clineMessageSchema: z.ZodObject<{
5164
5353
  ts: z.ZodNumber;
5165
5354
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
5166
5355
  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"]>>;
5167
- 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"]>>;
5356
+ 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"]>>;
5168
5357
  text: z.ZodOptional<z.ZodString>;
5169
5358
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5170
5359
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -5205,7 +5394,7 @@ declare const clineMessageSchema: z.ZodObject<{
5205
5394
  partial?: boolean | undefined;
5206
5395
  text?: string | undefined;
5207
5396
  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;
5208
- 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;
5397
+ 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;
5209
5398
  images?: string[] | undefined;
5210
5399
  conversationHistoryIndex?: number | undefined;
5211
5400
  checkpoint?: Record<string, unknown> | undefined;
@@ -5227,7 +5416,7 @@ declare const clineMessageSchema: z.ZodObject<{
5227
5416
  partial?: boolean | undefined;
5228
5417
  text?: string | undefined;
5229
5418
  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;
5230
- 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;
5419
+ 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;
5231
5420
  images?: string[] | undefined;
5232
5421
  conversationHistoryIndex?: number | undefined;
5233
5422
  checkpoint?: Record<string, unknown> | undefined;
@@ -5280,13 +5469,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
5280
5469
  /**
5281
5470
  * ToolName
5282
5471
  */
5283
- 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"];
5284
- 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"]>;
5472
+ 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"];
5473
+ 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"]>;
5285
5474
  type ToolName = z.infer<typeof toolNamesSchema>;
5286
5475
  /**
5287
5476
  * ToolUsage
5288
5477
  */
5289
- 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<{
5478
+ 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<{
5290
5479
  attempts: z.ZodNumber;
5291
5480
  failures: z.ZodNumber;
5292
5481
  }, "strip", z.ZodTypeAny, {
@@ -5336,7 +5525,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5336
5525
  ts: z.ZodNumber;
5337
5526
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
5338
5527
  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"]>>;
5339
- 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"]>>;
5528
+ 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"]>>;
5340
5529
  text: z.ZodOptional<z.ZodString>;
5341
5530
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5342
5531
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -5377,7 +5566,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5377
5566
  partial?: boolean | undefined;
5378
5567
  text?: string | undefined;
5379
5568
  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;
5380
- 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;
5569
+ 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;
5381
5570
  images?: string[] | undefined;
5382
5571
  conversationHistoryIndex?: number | undefined;
5383
5572
  checkpoint?: Record<string, unknown> | undefined;
@@ -5399,7 +5588,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5399
5588
  partial?: boolean | undefined;
5400
5589
  text?: string | undefined;
5401
5590
  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;
5402
- 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;
5591
+ 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;
5403
5592
  images?: string[] | undefined;
5404
5593
  conversationHistoryIndex?: number | undefined;
5405
5594
  checkpoint?: Record<string, unknown> | undefined;
@@ -5423,7 +5612,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5423
5612
  partial?: boolean | undefined;
5424
5613
  text?: string | undefined;
5425
5614
  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;
5426
- 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;
5615
+ 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;
5427
5616
  images?: string[] | undefined;
5428
5617
  conversationHistoryIndex?: number | undefined;
5429
5618
  checkpoint?: Record<string, unknown> | undefined;
@@ -5449,7 +5638,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5449
5638
  partial?: boolean | undefined;
5450
5639
  text?: string | undefined;
5451
5640
  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;
5452
- 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;
5641
+ 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;
5453
5642
  images?: string[] | undefined;
5454
5643
  conversationHistoryIndex?: number | undefined;
5455
5644
  checkpoint?: Record<string, unknown> | undefined;
@@ -5497,7 +5686,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5497
5686
  contextTokens: number;
5498
5687
  totalCacheWrites?: number | undefined;
5499
5688
  totalCacheReads?: number | undefined;
5500
- }>, 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<{
5689
+ }>, 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<{
5501
5690
  attempts: z.ZodNumber;
5502
5691
  failures: z.ZodNumber;
5503
5692
  }, "strip", z.ZodTypeAny, {
@@ -5535,7 +5724,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5535
5724
  totalCacheWrites?: number | undefined;
5536
5725
  totalCacheReads?: number | undefined;
5537
5726
  }>], null>;
5538
- 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>;
5727
+ 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>;
5539
5728
  }, "strip", z.ZodTypeAny, {
5540
5729
  message: [{
5541
5730
  message: {
@@ -5545,7 +5734,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5545
5734
  partial?: boolean | undefined;
5546
5735
  text?: string | undefined;
5547
5736
  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;
5548
- 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;
5737
+ 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;
5549
5738
  images?: string[] | undefined;
5550
5739
  conversationHistoryIndex?: number | undefined;
5551
5740
  checkpoint?: Record<string, unknown> | undefined;
@@ -5579,7 +5768,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5579
5768
  contextTokens: number;
5580
5769
  totalCacheWrites?: number | undefined;
5581
5770
  totalCacheReads?: number | undefined;
5582
- }, 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", {
5771
+ }, 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", {
5583
5772
  attempts: number;
5584
5773
  failures: number;
5585
5774
  }>>, {
@@ -5593,7 +5782,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5593
5782
  totalCacheWrites?: number | undefined;
5594
5783
  totalCacheReads?: number | undefined;
5595
5784
  }];
5596
- 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];
5785
+ 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];
5597
5786
  }, {
5598
5787
  message: [{
5599
5788
  message: {
@@ -5603,7 +5792,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5603
5792
  partial?: boolean | undefined;
5604
5793
  text?: string | undefined;
5605
5794
  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;
5606
- 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;
5795
+ 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;
5607
5796
  images?: string[] | undefined;
5608
5797
  conversationHistoryIndex?: number | undefined;
5609
5798
  checkpoint?: Record<string, unknown> | undefined;
@@ -5637,7 +5826,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5637
5826
  contextTokens: number;
5638
5827
  totalCacheWrites?: number | undefined;
5639
5828
  totalCacheReads?: number | undefined;
5640
- }, 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", {
5829
+ }, 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", {
5641
5830
  attempts: number;
5642
5831
  failures: number;
5643
5832
  }>>, {
@@ -5651,7 +5840,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
5651
5840
  totalCacheWrites?: number | undefined;
5652
5841
  totalCacheReads?: number | undefined;
5653
5842
  }];
5654
- 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];
5843
+ 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];
5655
5844
  }>;
5656
5845
  type RooCodeEvents = z.infer<typeof rooCodeEventsSchema>;
5657
5846
  /**
@@ -5688,6 +5877,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5688
5877
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
5689
5878
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
5690
5879
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
5880
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
5691
5881
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5692
5882
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5693
5883
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -5712,6 +5902,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5712
5902
  mistralCodestralUrl: z.ZodOptional<z.ZodString>;
5713
5903
  openAiNativeApiKey: z.ZodOptional<z.ZodString>;
5714
5904
  openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
5905
+ geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
5906
+ geminiCliProjectId: z.ZodOptional<z.ZodString>;
5715
5907
  geminiApiKey: z.ZodOptional<z.ZodString>;
5716
5908
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
5717
5909
  lmStudioModelId: z.ZodOptional<z.ZodString>;
@@ -5867,21 +6059,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5867
6059
  apiKey: z.ZodOptional<z.ZodString>;
5868
6060
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
5869
6061
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
5870
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
6062
+ 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"]>>;
5871
6063
  } & {
5872
6064
  currentApiConfigName: z.ZodOptional<z.ZodString>;
5873
6065
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
5874
6066
  id: z.ZodString;
5875
6067
  name: z.ZodString;
5876
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
6068
+ 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"]>>;
5877
6069
  }, "strip", z.ZodTypeAny, {
5878
6070
  name: string;
5879
6071
  id: string;
5880
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6072
+ 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;
5881
6073
  }, {
5882
6074
  name: string;
5883
6075
  id: string;
5884
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6076
+ 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;
5885
6077
  }>, "many">>;
5886
6078
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5887
6079
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -5939,6 +6131,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
5939
6131
  alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
5940
6132
  alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
5941
6133
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
6134
+ alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
6135
+ followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
6136
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
5942
6137
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5943
6138
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5944
6139
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
@@ -6004,6 +6199,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6004
6199
  }, {
6005
6200
  dimension: number;
6006
6201
  }>>>;
6202
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6203
+ dimension: z.ZodNumber;
6204
+ }, "strip", z.ZodTypeAny, {
6205
+ dimension: number;
6206
+ }, {
6207
+ dimension: number;
6208
+ }>>>;
6007
6209
  }, "strip", z.ZodTypeAny, {
6008
6210
  openai?: Record<string, {
6009
6211
  dimension: number;
@@ -6014,6 +6216,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6014
6216
  "openai-compatible"?: Record<string, {
6015
6217
  dimension: number;
6016
6218
  }> | undefined;
6219
+ gemini?: Record<string, {
6220
+ dimension: number;
6221
+ }> | undefined;
6017
6222
  }, {
6018
6223
  openai?: Record<string, {
6019
6224
  dimension: number;
@@ -6024,25 +6229,43 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6024
6229
  "openai-compatible"?: Record<string, {
6025
6230
  dimension: number;
6026
6231
  }> | undefined;
6232
+ gemini?: Record<string, {
6233
+ dimension: number;
6234
+ }> | undefined;
6027
6235
  }>>;
6028
6236
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
6029
6237
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
6030
6238
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
6031
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
6239
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
6032
6240
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
6033
6241
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
6242
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
6243
+ codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
6244
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
6245
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
6246
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
6034
6247
  }, "strip", z.ZodTypeAny, {
6035
6248
  codebaseIndexEnabled?: boolean | undefined;
6036
6249
  codebaseIndexQdrantUrl?: string | undefined;
6037
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6250
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6038
6251
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6039
6252
  codebaseIndexEmbedderModelId?: string | undefined;
6253
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6254
+ codebaseIndexSearchMinScore?: number | undefined;
6255
+ codebaseIndexSearchMaxResults?: number | undefined;
6256
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6257
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6040
6258
  }, {
6041
6259
  codebaseIndexEnabled?: boolean | undefined;
6042
6260
  codebaseIndexQdrantUrl?: string | undefined;
6043
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6261
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6044
6262
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6045
6263
  codebaseIndexEmbedderModelId?: string | undefined;
6264
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6265
+ codebaseIndexSearchMinScore?: number | undefined;
6266
+ codebaseIndexSearchMaxResults?: number | undefined;
6267
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6268
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6046
6269
  }>>;
6047
6270
  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"]>>;
6048
6271
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -6120,14 +6343,17 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6120
6343
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
6121
6344
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
6122
6345
  hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
6346
+ lastModeExportPath: z.ZodOptional<z.ZodString>;
6347
+ lastModeImportPath: z.ZodOptional<z.ZodString>;
6123
6348
  }, "strip", z.ZodTypeAny, {
6124
6349
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6350
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6351
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6125
6352
  codeIndexOpenAiKey?: string | undefined;
6126
6353
  codeIndexQdrantApiKey?: string | undefined;
6127
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6128
6354
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6129
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6130
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6355
+ codebaseIndexGeminiApiKey?: string | undefined;
6356
+ 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;
6131
6357
  includeMaxTokens?: boolean | undefined;
6132
6358
  diffEnabled?: boolean | undefined;
6133
6359
  fuzzyMatchThreshold?: number | undefined;
@@ -6216,6 +6442,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6216
6442
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
6217
6443
  geminiApiKey?: string | undefined;
6218
6444
  googleGeminiBaseUrl?: string | undefined;
6445
+ geminiCliOAuthPath?: string | undefined;
6446
+ geminiCliProjectId?: string | undefined;
6219
6447
  openAiNativeApiKey?: string | undefined;
6220
6448
  openAiNativeBaseUrl?: string | undefined;
6221
6449
  mistralApiKey?: string | undefined;
@@ -6253,7 +6481,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6253
6481
  listApiConfigMeta?: {
6254
6482
  name: string;
6255
6483
  id: string;
6256
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6484
+ 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;
6257
6485
  }[] | undefined;
6258
6486
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6259
6487
  lastShownAnnouncementId?: string | undefined;
@@ -6286,6 +6514,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6286
6514
  alwaysAllowModeSwitch?: boolean | undefined;
6287
6515
  alwaysAllowSubtasks?: boolean | undefined;
6288
6516
  alwaysAllowExecute?: boolean | undefined;
6517
+ alwaysAllowFollowupQuestions?: boolean | undefined;
6518
+ followupAutoApproveTimeoutMs?: number | undefined;
6519
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6289
6520
  allowedCommands?: string[] | undefined;
6290
6521
  allowedMaxRequests?: number | null | undefined;
6291
6522
  autoCondenseContext?: boolean | undefined;
@@ -6330,13 +6561,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6330
6561
  "openai-compatible"?: Record<string, {
6331
6562
  dimension: number;
6332
6563
  }> | undefined;
6564
+ gemini?: Record<string, {
6565
+ dimension: number;
6566
+ }> | undefined;
6333
6567
  } | undefined;
6334
6568
  codebaseIndexConfig?: {
6335
6569
  codebaseIndexEnabled?: boolean | undefined;
6336
6570
  codebaseIndexQdrantUrl?: string | undefined;
6337
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6571
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6338
6572
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6339
6573
  codebaseIndexEmbedderModelId?: string | undefined;
6574
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6575
+ codebaseIndexSearchMinScore?: number | undefined;
6576
+ codebaseIndexSearchMaxResults?: number | undefined;
6577
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6578
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6340
6579
  } | undefined;
6341
6580
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6342
6581
  mcpEnabled?: boolean | undefined;
@@ -6353,14 +6592,17 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6353
6592
  historyPreviewCollapsed?: boolean | undefined;
6354
6593
  profileThresholds?: Record<string, number> | undefined;
6355
6594
  hasOpenedModeSelector?: boolean | undefined;
6595
+ lastModeExportPath?: string | undefined;
6596
+ lastModeImportPath?: string | undefined;
6356
6597
  }, {
6357
6598
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6599
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6600
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6358
6601
  codeIndexOpenAiKey?: string | undefined;
6359
6602
  codeIndexQdrantApiKey?: string | undefined;
6360
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6361
6603
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6362
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6363
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6604
+ codebaseIndexGeminiApiKey?: string | undefined;
6605
+ 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;
6364
6606
  includeMaxTokens?: boolean | undefined;
6365
6607
  diffEnabled?: boolean | undefined;
6366
6608
  fuzzyMatchThreshold?: number | undefined;
@@ -6449,6 +6691,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6449
6691
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
6450
6692
  geminiApiKey?: string | undefined;
6451
6693
  googleGeminiBaseUrl?: string | undefined;
6694
+ geminiCliOAuthPath?: string | undefined;
6695
+ geminiCliProjectId?: string | undefined;
6452
6696
  openAiNativeApiKey?: string | undefined;
6453
6697
  openAiNativeBaseUrl?: string | undefined;
6454
6698
  mistralApiKey?: string | undefined;
@@ -6486,7 +6730,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6486
6730
  listApiConfigMeta?: {
6487
6731
  name: string;
6488
6732
  id: string;
6489
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6733
+ 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;
6490
6734
  }[] | undefined;
6491
6735
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6492
6736
  lastShownAnnouncementId?: string | undefined;
@@ -6519,6 +6763,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6519
6763
  alwaysAllowModeSwitch?: boolean | undefined;
6520
6764
  alwaysAllowSubtasks?: boolean | undefined;
6521
6765
  alwaysAllowExecute?: boolean | undefined;
6766
+ alwaysAllowFollowupQuestions?: boolean | undefined;
6767
+ followupAutoApproveTimeoutMs?: number | undefined;
6768
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6522
6769
  allowedCommands?: string[] | undefined;
6523
6770
  allowedMaxRequests?: number | null | undefined;
6524
6771
  autoCondenseContext?: boolean | undefined;
@@ -6563,13 +6810,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6563
6810
  "openai-compatible"?: Record<string, {
6564
6811
  dimension: number;
6565
6812
  }> | undefined;
6813
+ gemini?: Record<string, {
6814
+ dimension: number;
6815
+ }> | undefined;
6566
6816
  } | undefined;
6567
6817
  codebaseIndexConfig?: {
6568
6818
  codebaseIndexEnabled?: boolean | undefined;
6569
6819
  codebaseIndexQdrantUrl?: string | undefined;
6570
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
6820
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6571
6821
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6572
6822
  codebaseIndexEmbedderModelId?: string | undefined;
6823
+ codebaseIndexEmbedderModelDimension?: number | undefined;
6824
+ codebaseIndexSearchMinScore?: number | undefined;
6825
+ codebaseIndexSearchMaxResults?: number | undefined;
6826
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6827
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6573
6828
  } | undefined;
6574
6829
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6575
6830
  mcpEnabled?: boolean | undefined;
@@ -6586,6 +6841,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6586
6841
  historyPreviewCollapsed?: boolean | undefined;
6587
6842
  profileThresholds?: Record<string, number> | undefined;
6588
6843
  hasOpenedModeSelector?: boolean | undefined;
6844
+ lastModeExportPath?: string | undefined;
6845
+ lastModeImportPath?: string | undefined;
6589
6846
  }>;
6590
6847
  text: z.ZodString;
6591
6848
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6594,12 +6851,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6594
6851
  text: string;
6595
6852
  configuration: {
6596
6853
  reasoningEffort?: "low" | "medium" | "high" | undefined;
6854
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6855
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6597
6856
  codeIndexOpenAiKey?: string | undefined;
6598
6857
  codeIndexQdrantApiKey?: string | undefined;
6599
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6600
6858
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6601
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6602
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6859
+ codebaseIndexGeminiApiKey?: string | undefined;
6860
+ 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;
6603
6861
  includeMaxTokens?: boolean | undefined;
6604
6862
  diffEnabled?: boolean | undefined;
6605
6863
  fuzzyMatchThreshold?: number | undefined;
@@ -6688,6 +6946,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6688
6946
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
6689
6947
  geminiApiKey?: string | undefined;
6690
6948
  googleGeminiBaseUrl?: string | undefined;
6949
+ geminiCliOAuthPath?: string | undefined;
6950
+ geminiCliProjectId?: string | undefined;
6691
6951
  openAiNativeApiKey?: string | undefined;
6692
6952
  openAiNativeBaseUrl?: string | undefined;
6693
6953
  mistralApiKey?: string | undefined;
@@ -6725,7 +6985,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6725
6985
  listApiConfigMeta?: {
6726
6986
  name: string;
6727
6987
  id: string;
6728
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
6988
+ 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;
6729
6989
  }[] | undefined;
6730
6990
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6731
6991
  lastShownAnnouncementId?: string | undefined;
@@ -6758,6 +7018,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6758
7018
  alwaysAllowModeSwitch?: boolean | undefined;
6759
7019
  alwaysAllowSubtasks?: boolean | undefined;
6760
7020
  alwaysAllowExecute?: boolean | undefined;
7021
+ alwaysAllowFollowupQuestions?: boolean | undefined;
7022
+ followupAutoApproveTimeoutMs?: number | undefined;
7023
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6761
7024
  allowedCommands?: string[] | undefined;
6762
7025
  allowedMaxRequests?: number | null | undefined;
6763
7026
  autoCondenseContext?: boolean | undefined;
@@ -6802,13 +7065,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6802
7065
  "openai-compatible"?: Record<string, {
6803
7066
  dimension: number;
6804
7067
  }> | undefined;
7068
+ gemini?: Record<string, {
7069
+ dimension: number;
7070
+ }> | undefined;
6805
7071
  } | undefined;
6806
7072
  codebaseIndexConfig?: {
6807
7073
  codebaseIndexEnabled?: boolean | undefined;
6808
7074
  codebaseIndexQdrantUrl?: string | undefined;
6809
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7075
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
6810
7076
  codebaseIndexEmbedderBaseUrl?: string | undefined;
6811
7077
  codebaseIndexEmbedderModelId?: string | undefined;
7078
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7079
+ codebaseIndexSearchMinScore?: number | undefined;
7080
+ codebaseIndexSearchMaxResults?: number | undefined;
7081
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7082
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6812
7083
  } | undefined;
6813
7084
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6814
7085
  mcpEnabled?: boolean | undefined;
@@ -6825,6 +7096,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6825
7096
  historyPreviewCollapsed?: boolean | undefined;
6826
7097
  profileThresholds?: Record<string, number> | undefined;
6827
7098
  hasOpenedModeSelector?: boolean | undefined;
7099
+ lastModeExportPath?: string | undefined;
7100
+ lastModeImportPath?: string | undefined;
6828
7101
  };
6829
7102
  images?: string[] | undefined;
6830
7103
  newTab?: boolean | undefined;
@@ -6832,12 +7105,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6832
7105
  text: string;
6833
7106
  configuration: {
6834
7107
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7108
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7109
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6835
7110
  codeIndexOpenAiKey?: string | undefined;
6836
7111
  codeIndexQdrantApiKey?: string | undefined;
6837
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
6838
7112
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6839
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
6840
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7113
+ codebaseIndexGeminiApiKey?: string | undefined;
7114
+ 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;
6841
7115
  includeMaxTokens?: boolean | undefined;
6842
7116
  diffEnabled?: boolean | undefined;
6843
7117
  fuzzyMatchThreshold?: number | undefined;
@@ -6926,6 +7200,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6926
7200
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
6927
7201
  geminiApiKey?: string | undefined;
6928
7202
  googleGeminiBaseUrl?: string | undefined;
7203
+ geminiCliOAuthPath?: string | undefined;
7204
+ geminiCliProjectId?: string | undefined;
6929
7205
  openAiNativeApiKey?: string | undefined;
6930
7206
  openAiNativeBaseUrl?: string | undefined;
6931
7207
  mistralApiKey?: string | undefined;
@@ -6963,7 +7239,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6963
7239
  listApiConfigMeta?: {
6964
7240
  name: string;
6965
7241
  id: string;
6966
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7242
+ 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;
6967
7243
  }[] | undefined;
6968
7244
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6969
7245
  lastShownAnnouncementId?: string | undefined;
@@ -6996,6 +7272,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6996
7272
  alwaysAllowModeSwitch?: boolean | undefined;
6997
7273
  alwaysAllowSubtasks?: boolean | undefined;
6998
7274
  alwaysAllowExecute?: boolean | undefined;
7275
+ alwaysAllowFollowupQuestions?: boolean | undefined;
7276
+ followupAutoApproveTimeoutMs?: number | undefined;
7277
+ alwaysAllowUpdateTodoList?: boolean | undefined;
6999
7278
  allowedCommands?: string[] | undefined;
7000
7279
  allowedMaxRequests?: number | null | undefined;
7001
7280
  autoCondenseContext?: boolean | undefined;
@@ -7040,13 +7319,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7040
7319
  "openai-compatible"?: Record<string, {
7041
7320
  dimension: number;
7042
7321
  }> | undefined;
7322
+ gemini?: Record<string, {
7323
+ dimension: number;
7324
+ }> | undefined;
7043
7325
  } | undefined;
7044
7326
  codebaseIndexConfig?: {
7045
7327
  codebaseIndexEnabled?: boolean | undefined;
7046
7328
  codebaseIndexQdrantUrl?: string | undefined;
7047
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7329
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7048
7330
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7049
7331
  codebaseIndexEmbedderModelId?: string | undefined;
7332
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7333
+ codebaseIndexSearchMinScore?: number | undefined;
7334
+ codebaseIndexSearchMaxResults?: number | undefined;
7335
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7336
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7050
7337
  } | undefined;
7051
7338
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7052
7339
  mcpEnabled?: boolean | undefined;
@@ -7063,6 +7350,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7063
7350
  historyPreviewCollapsed?: boolean | undefined;
7064
7351
  profileThresholds?: Record<string, number> | undefined;
7065
7352
  hasOpenedModeSelector?: boolean | undefined;
7353
+ lastModeExportPath?: string | undefined;
7354
+ lastModeImportPath?: string | undefined;
7066
7355
  };
7067
7356
  images?: string[] | undefined;
7068
7357
  newTab?: boolean | undefined;
@@ -7073,12 +7362,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7073
7362
  text: string;
7074
7363
  configuration: {
7075
7364
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7365
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7366
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7076
7367
  codeIndexOpenAiKey?: string | undefined;
7077
7368
  codeIndexQdrantApiKey?: string | undefined;
7078
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7079
7369
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7080
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7081
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7370
+ codebaseIndexGeminiApiKey?: string | undefined;
7371
+ 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;
7082
7372
  includeMaxTokens?: boolean | undefined;
7083
7373
  diffEnabled?: boolean | undefined;
7084
7374
  fuzzyMatchThreshold?: number | undefined;
@@ -7167,6 +7457,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7167
7457
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
7168
7458
  geminiApiKey?: string | undefined;
7169
7459
  googleGeminiBaseUrl?: string | undefined;
7460
+ geminiCliOAuthPath?: string | undefined;
7461
+ geminiCliProjectId?: string | undefined;
7170
7462
  openAiNativeApiKey?: string | undefined;
7171
7463
  openAiNativeBaseUrl?: string | undefined;
7172
7464
  mistralApiKey?: string | undefined;
@@ -7204,7 +7496,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7204
7496
  listApiConfigMeta?: {
7205
7497
  name: string;
7206
7498
  id: string;
7207
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7499
+ 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;
7208
7500
  }[] | undefined;
7209
7501
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7210
7502
  lastShownAnnouncementId?: string | undefined;
@@ -7237,6 +7529,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7237
7529
  alwaysAllowModeSwitch?: boolean | undefined;
7238
7530
  alwaysAllowSubtasks?: boolean | undefined;
7239
7531
  alwaysAllowExecute?: boolean | undefined;
7532
+ alwaysAllowFollowupQuestions?: boolean | undefined;
7533
+ followupAutoApproveTimeoutMs?: number | undefined;
7534
+ alwaysAllowUpdateTodoList?: boolean | undefined;
7240
7535
  allowedCommands?: string[] | undefined;
7241
7536
  allowedMaxRequests?: number | null | undefined;
7242
7537
  autoCondenseContext?: boolean | undefined;
@@ -7281,13 +7576,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7281
7576
  "openai-compatible"?: Record<string, {
7282
7577
  dimension: number;
7283
7578
  }> | undefined;
7579
+ gemini?: Record<string, {
7580
+ dimension: number;
7581
+ }> | undefined;
7284
7582
  } | undefined;
7285
7583
  codebaseIndexConfig?: {
7286
7584
  codebaseIndexEnabled?: boolean | undefined;
7287
7585
  codebaseIndexQdrantUrl?: string | undefined;
7288
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7586
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7289
7587
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7290
7588
  codebaseIndexEmbedderModelId?: string | undefined;
7589
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7590
+ codebaseIndexSearchMinScore?: number | undefined;
7591
+ codebaseIndexSearchMaxResults?: number | undefined;
7592
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7593
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7291
7594
  } | undefined;
7292
7595
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7293
7596
  mcpEnabled?: boolean | undefined;
@@ -7304,6 +7607,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7304
7607
  historyPreviewCollapsed?: boolean | undefined;
7305
7608
  profileThresholds?: Record<string, number> | undefined;
7306
7609
  hasOpenedModeSelector?: boolean | undefined;
7610
+ lastModeExportPath?: string | undefined;
7611
+ lastModeImportPath?: string | undefined;
7307
7612
  };
7308
7613
  images?: string[] | undefined;
7309
7614
  newTab?: boolean | undefined;
@@ -7314,12 +7619,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7314
7619
  text: string;
7315
7620
  configuration: {
7316
7621
  reasoningEffort?: "low" | "medium" | "high" | undefined;
7622
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7623
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7317
7624
  codeIndexOpenAiKey?: string | undefined;
7318
7625
  codeIndexQdrantApiKey?: string | undefined;
7319
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7320
7626
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7321
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7322
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7627
+ codebaseIndexGeminiApiKey?: string | undefined;
7628
+ 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;
7323
7629
  includeMaxTokens?: boolean | undefined;
7324
7630
  diffEnabled?: boolean | undefined;
7325
7631
  fuzzyMatchThreshold?: number | undefined;
@@ -7408,6 +7714,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7408
7714
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
7409
7715
  geminiApiKey?: string | undefined;
7410
7716
  googleGeminiBaseUrl?: string | undefined;
7717
+ geminiCliOAuthPath?: string | undefined;
7718
+ geminiCliProjectId?: string | undefined;
7411
7719
  openAiNativeApiKey?: string | undefined;
7412
7720
  openAiNativeBaseUrl?: string | undefined;
7413
7721
  mistralApiKey?: string | undefined;
@@ -7445,7 +7753,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7445
7753
  listApiConfigMeta?: {
7446
7754
  name: string;
7447
7755
  id: string;
7448
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
7756
+ 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;
7449
7757
  }[] | undefined;
7450
7758
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7451
7759
  lastShownAnnouncementId?: string | undefined;
@@ -7478,6 +7786,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7478
7786
  alwaysAllowModeSwitch?: boolean | undefined;
7479
7787
  alwaysAllowSubtasks?: boolean | undefined;
7480
7788
  alwaysAllowExecute?: boolean | undefined;
7789
+ alwaysAllowFollowupQuestions?: boolean | undefined;
7790
+ followupAutoApproveTimeoutMs?: number | undefined;
7791
+ alwaysAllowUpdateTodoList?: boolean | undefined;
7481
7792
  allowedCommands?: string[] | undefined;
7482
7793
  allowedMaxRequests?: number | null | undefined;
7483
7794
  autoCondenseContext?: boolean | undefined;
@@ -7522,13 +7833,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7522
7833
  "openai-compatible"?: Record<string, {
7523
7834
  dimension: number;
7524
7835
  }> | undefined;
7836
+ gemini?: Record<string, {
7837
+ dimension: number;
7838
+ }> | undefined;
7525
7839
  } | undefined;
7526
7840
  codebaseIndexConfig?: {
7527
7841
  codebaseIndexEnabled?: boolean | undefined;
7528
7842
  codebaseIndexQdrantUrl?: string | undefined;
7529
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
7843
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
7530
7844
  codebaseIndexEmbedderBaseUrl?: string | undefined;
7531
7845
  codebaseIndexEmbedderModelId?: string | undefined;
7846
+ codebaseIndexEmbedderModelDimension?: number | undefined;
7847
+ codebaseIndexSearchMinScore?: number | undefined;
7848
+ codebaseIndexSearchMaxResults?: number | undefined;
7849
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
7850
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
7532
7851
  } | undefined;
7533
7852
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7534
7853
  mcpEnabled?: boolean | undefined;
@@ -7545,6 +7864,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7545
7864
  historyPreviewCollapsed?: boolean | undefined;
7546
7865
  profileThresholds?: Record<string, number> | undefined;
7547
7866
  hasOpenedModeSelector?: boolean | undefined;
7867
+ lastModeExportPath?: string | undefined;
7868
+ lastModeImportPath?: string | undefined;
7548
7869
  };
7549
7870
  images?: string[] | undefined;
7550
7871
  newTab?: boolean | undefined;
@@ -7581,7 +7902,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7581
7902
  ts: z.ZodNumber;
7582
7903
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
7583
7904
  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"]>>;
7584
- 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"]>>;
7905
+ 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"]>>;
7585
7906
  text: z.ZodOptional<z.ZodString>;
7586
7907
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7587
7908
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -7622,7 +7943,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7622
7943
  partial?: boolean | undefined;
7623
7944
  text?: string | undefined;
7624
7945
  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;
7625
- 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;
7946
+ 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;
7626
7947
  images?: string[] | undefined;
7627
7948
  conversationHistoryIndex?: number | undefined;
7628
7949
  checkpoint?: Record<string, unknown> | undefined;
@@ -7644,7 +7965,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7644
7965
  partial?: boolean | undefined;
7645
7966
  text?: string | undefined;
7646
7967
  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;
7647
- 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;
7968
+ 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;
7648
7969
  images?: string[] | undefined;
7649
7970
  conversationHistoryIndex?: number | undefined;
7650
7971
  checkpoint?: Record<string, unknown> | undefined;
@@ -7668,7 +7989,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7668
7989
  partial?: boolean | undefined;
7669
7990
  text?: string | undefined;
7670
7991
  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;
7671
- 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;
7992
+ 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;
7672
7993
  images?: string[] | undefined;
7673
7994
  conversationHistoryIndex?: number | undefined;
7674
7995
  checkpoint?: Record<string, unknown> | undefined;
@@ -7694,7 +8015,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7694
8015
  partial?: boolean | undefined;
7695
8016
  text?: string | undefined;
7696
8017
  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;
7697
- 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;
8018
+ 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;
7698
8019
  images?: string[] | undefined;
7699
8020
  conversationHistoryIndex?: number | undefined;
7700
8021
  checkpoint?: Record<string, unknown> | undefined;
@@ -7724,7 +8045,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7724
8045
  partial?: boolean | undefined;
7725
8046
  text?: string | undefined;
7726
8047
  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;
7727
- 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;
8048
+ 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;
7728
8049
  images?: string[] | undefined;
7729
8050
  conversationHistoryIndex?: number | undefined;
7730
8051
  checkpoint?: Record<string, unknown> | undefined;
@@ -7754,7 +8075,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7754
8075
  partial?: boolean | undefined;
7755
8076
  text?: string | undefined;
7756
8077
  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;
7757
- 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;
8078
+ 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;
7758
8079
  images?: string[] | undefined;
7759
8080
  conversationHistoryIndex?: number | undefined;
7760
8081
  checkpoint?: Record<string, unknown> | undefined;
@@ -7893,7 +8214,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7893
8214
  contextTokens: number;
7894
8215
  totalCacheWrites?: number | undefined;
7895
8216
  totalCacheReads?: number | undefined;
7896
- }>, 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<{
8217
+ }>, 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<{
7897
8218
  attempts: z.ZodNumber;
7898
8219
  failures: z.ZodNumber;
7899
8220
  }, "strip", z.ZodTypeAny, {
@@ -7919,7 +8240,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7919
8240
  contextTokens: number;
7920
8241
  totalCacheWrites?: number | undefined;
7921
8242
  totalCacheReads?: number | undefined;
7922
- }, 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", {
8243
+ }, 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", {
7923
8244
  attempts: number;
7924
8245
  failures: number;
7925
8246
  }>>, {
@@ -7935,7 +8256,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7935
8256
  contextTokens: number;
7936
8257
  totalCacheWrites?: number | undefined;
7937
8258
  totalCacheReads?: number | undefined;
7938
- }, 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", {
8259
+ }, 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", {
7939
8260
  attempts: number;
7940
8261
  failures: number;
7941
8262
  }>>, {
@@ -7991,15 +8312,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
7991
8312
  taskId?: number | undefined;
7992
8313
  }>, z.ZodObject<{
7993
8314
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
7994
- 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>;
8315
+ 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>;
7995
8316
  taskId: z.ZodOptional<z.ZodNumber>;
7996
8317
  }, "strip", z.ZodTypeAny, {
7997
8318
  eventName: RooCodeEventName.TaskToolFailed;
7998
- 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];
8319
+ 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];
7999
8320
  taskId?: number | undefined;
8000
8321
  }, {
8001
8322
  eventName: RooCodeEventName.TaskToolFailed;
8002
- 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];
8323
+ 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];
8003
8324
  taskId?: number | undefined;
8004
8325
  }>, z.ZodObject<{
8005
8326
  eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
@@ -8086,6 +8407,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8086
8407
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
8087
8408
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
8088
8409
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
8410
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
8089
8411
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
8090
8412
  modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8091
8413
  enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
@@ -8110,6 +8432,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8110
8432
  mistralCodestralUrl: z.ZodOptional<z.ZodString>;
8111
8433
  openAiNativeApiKey: z.ZodOptional<z.ZodString>;
8112
8434
  openAiNativeBaseUrl: z.ZodOptional<z.ZodString>;
8435
+ geminiCliOAuthPath: z.ZodOptional<z.ZodString>;
8436
+ geminiCliProjectId: z.ZodOptional<z.ZodString>;
8113
8437
  geminiApiKey: z.ZodOptional<z.ZodString>;
8114
8438
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
8115
8439
  lmStudioModelId: z.ZodOptional<z.ZodString>;
@@ -8265,21 +8589,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8265
8589
  apiKey: z.ZodOptional<z.ZodString>;
8266
8590
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
8267
8591
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
8268
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
8592
+ 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"]>>;
8269
8593
  } & {
8270
8594
  currentApiConfigName: z.ZodOptional<z.ZodString>;
8271
8595
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
8272
8596
  id: z.ZodString;
8273
8597
  name: z.ZodString;
8274
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
8598
+ 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"]>>;
8275
8599
  }, "strip", z.ZodTypeAny, {
8276
8600
  name: string;
8277
8601
  id: string;
8278
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8602
+ 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;
8279
8603
  }, {
8280
8604
  name: string;
8281
8605
  id: string;
8282
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8606
+ 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;
8283
8607
  }>, "many">>;
8284
8608
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
8285
8609
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -8337,6 +8661,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8337
8661
  alwaysAllowModeSwitch: z.ZodOptional<z.ZodBoolean>;
8338
8662
  alwaysAllowSubtasks: z.ZodOptional<z.ZodBoolean>;
8339
8663
  alwaysAllowExecute: z.ZodOptional<z.ZodBoolean>;
8664
+ alwaysAllowFollowupQuestions: z.ZodOptional<z.ZodBoolean>;
8665
+ followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
8666
+ alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
8340
8667
  allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8341
8668
  allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8342
8669
  autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
@@ -8402,6 +8729,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8402
8729
  }, {
8403
8730
  dimension: number;
8404
8731
  }>>>;
8732
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8733
+ dimension: z.ZodNumber;
8734
+ }, "strip", z.ZodTypeAny, {
8735
+ dimension: number;
8736
+ }, {
8737
+ dimension: number;
8738
+ }>>>;
8405
8739
  }, "strip", z.ZodTypeAny, {
8406
8740
  openai?: Record<string, {
8407
8741
  dimension: number;
@@ -8412,6 +8746,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8412
8746
  "openai-compatible"?: Record<string, {
8413
8747
  dimension: number;
8414
8748
  }> | undefined;
8749
+ gemini?: Record<string, {
8750
+ dimension: number;
8751
+ }> | undefined;
8415
8752
  }, {
8416
8753
  openai?: Record<string, {
8417
8754
  dimension: number;
@@ -8422,25 +8759,43 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8422
8759
  "openai-compatible"?: Record<string, {
8423
8760
  dimension: number;
8424
8761
  }> | undefined;
8762
+ gemini?: Record<string, {
8763
+ dimension: number;
8764
+ }> | undefined;
8425
8765
  }>>;
8426
8766
  codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
8427
8767
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
8428
8768
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
8429
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
8769
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
8430
8770
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
8431
8771
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
8772
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
8773
+ codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
8774
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
8775
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
8776
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
8432
8777
  }, "strip", z.ZodTypeAny, {
8433
8778
  codebaseIndexEnabled?: boolean | undefined;
8434
8779
  codebaseIndexQdrantUrl?: string | undefined;
8435
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
8780
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8436
8781
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8437
8782
  codebaseIndexEmbedderModelId?: string | undefined;
8783
+ codebaseIndexEmbedderModelDimension?: number | undefined;
8784
+ codebaseIndexSearchMinScore?: number | undefined;
8785
+ codebaseIndexSearchMaxResults?: number | undefined;
8786
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8787
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8438
8788
  }, {
8439
8789
  codebaseIndexEnabled?: boolean | undefined;
8440
8790
  codebaseIndexQdrantUrl?: string | undefined;
8441
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
8791
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8442
8792
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8443
8793
  codebaseIndexEmbedderModelId?: string | undefined;
8794
+ codebaseIndexEmbedderModelDimension?: number | undefined;
8795
+ codebaseIndexSearchMinScore?: number | undefined;
8796
+ codebaseIndexSearchMaxResults?: number | undefined;
8797
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8798
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8444
8799
  }>>;
8445
8800
  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"]>>;
8446
8801
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
@@ -8518,14 +8873,17 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8518
8873
  historyPreviewCollapsed: z.ZodOptional<z.ZodBoolean>;
8519
8874
  profileThresholds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
8520
8875
  hasOpenedModeSelector: z.ZodOptional<z.ZodBoolean>;
8876
+ lastModeExportPath: z.ZodOptional<z.ZodString>;
8877
+ lastModeImportPath: z.ZodOptional<z.ZodString>;
8521
8878
  }, "strip", z.ZodTypeAny, {
8522
8879
  reasoningEffort?: "low" | "medium" | "high" | undefined;
8880
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8881
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8523
8882
  codeIndexOpenAiKey?: string | undefined;
8524
8883
  codeIndexQdrantApiKey?: string | undefined;
8525
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8526
8884
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8527
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8528
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
8885
+ codebaseIndexGeminiApiKey?: string | undefined;
8886
+ 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;
8529
8887
  includeMaxTokens?: boolean | undefined;
8530
8888
  diffEnabled?: boolean | undefined;
8531
8889
  fuzzyMatchThreshold?: number | undefined;
@@ -8614,6 +8972,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8614
8972
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
8615
8973
  geminiApiKey?: string | undefined;
8616
8974
  googleGeminiBaseUrl?: string | undefined;
8975
+ geminiCliOAuthPath?: string | undefined;
8976
+ geminiCliProjectId?: string | undefined;
8617
8977
  openAiNativeApiKey?: string | undefined;
8618
8978
  openAiNativeBaseUrl?: string | undefined;
8619
8979
  mistralApiKey?: string | undefined;
@@ -8651,7 +9011,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8651
9011
  listApiConfigMeta?: {
8652
9012
  name: string;
8653
9013
  id: string;
8654
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9014
+ 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;
8655
9015
  }[] | undefined;
8656
9016
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8657
9017
  lastShownAnnouncementId?: string | undefined;
@@ -8684,6 +9044,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8684
9044
  alwaysAllowModeSwitch?: boolean | undefined;
8685
9045
  alwaysAllowSubtasks?: boolean | undefined;
8686
9046
  alwaysAllowExecute?: boolean | undefined;
9047
+ alwaysAllowFollowupQuestions?: boolean | undefined;
9048
+ followupAutoApproveTimeoutMs?: number | undefined;
9049
+ alwaysAllowUpdateTodoList?: boolean | undefined;
8687
9050
  allowedCommands?: string[] | undefined;
8688
9051
  allowedMaxRequests?: number | null | undefined;
8689
9052
  autoCondenseContext?: boolean | undefined;
@@ -8728,13 +9091,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8728
9091
  "openai-compatible"?: Record<string, {
8729
9092
  dimension: number;
8730
9093
  }> | undefined;
9094
+ gemini?: Record<string, {
9095
+ dimension: number;
9096
+ }> | undefined;
8731
9097
  } | undefined;
8732
9098
  codebaseIndexConfig?: {
8733
9099
  codebaseIndexEnabled?: boolean | undefined;
8734
9100
  codebaseIndexQdrantUrl?: string | undefined;
8735
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9101
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8736
9102
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8737
9103
  codebaseIndexEmbedderModelId?: string | undefined;
9104
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9105
+ codebaseIndexSearchMinScore?: number | undefined;
9106
+ codebaseIndexSearchMaxResults?: number | undefined;
9107
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9108
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8738
9109
  } | undefined;
8739
9110
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8740
9111
  mcpEnabled?: boolean | undefined;
@@ -8751,14 +9122,17 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8751
9122
  historyPreviewCollapsed?: boolean | undefined;
8752
9123
  profileThresholds?: Record<string, number> | undefined;
8753
9124
  hasOpenedModeSelector?: boolean | undefined;
9125
+ lastModeExportPath?: string | undefined;
9126
+ lastModeImportPath?: string | undefined;
8754
9127
  }, {
8755
9128
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9129
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9130
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8756
9131
  codeIndexOpenAiKey?: string | undefined;
8757
9132
  codeIndexQdrantApiKey?: string | undefined;
8758
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8759
9133
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8760
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8761
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9134
+ codebaseIndexGeminiApiKey?: string | undefined;
9135
+ 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;
8762
9136
  includeMaxTokens?: boolean | undefined;
8763
9137
  diffEnabled?: boolean | undefined;
8764
9138
  fuzzyMatchThreshold?: number | undefined;
@@ -8847,6 +9221,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8847
9221
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
8848
9222
  geminiApiKey?: string | undefined;
8849
9223
  googleGeminiBaseUrl?: string | undefined;
9224
+ geminiCliOAuthPath?: string | undefined;
9225
+ geminiCliProjectId?: string | undefined;
8850
9226
  openAiNativeApiKey?: string | undefined;
8851
9227
  openAiNativeBaseUrl?: string | undefined;
8852
9228
  mistralApiKey?: string | undefined;
@@ -8884,7 +9260,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8884
9260
  listApiConfigMeta?: {
8885
9261
  name: string;
8886
9262
  id: string;
8887
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9263
+ 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;
8888
9264
  }[] | undefined;
8889
9265
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8890
9266
  lastShownAnnouncementId?: string | undefined;
@@ -8917,6 +9293,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8917
9293
  alwaysAllowModeSwitch?: boolean | undefined;
8918
9294
  alwaysAllowSubtasks?: boolean | undefined;
8919
9295
  alwaysAllowExecute?: boolean | undefined;
9296
+ alwaysAllowFollowupQuestions?: boolean | undefined;
9297
+ followupAutoApproveTimeoutMs?: number | undefined;
9298
+ alwaysAllowUpdateTodoList?: boolean | undefined;
8920
9299
  allowedCommands?: string[] | undefined;
8921
9300
  allowedMaxRequests?: number | null | undefined;
8922
9301
  autoCondenseContext?: boolean | undefined;
@@ -8961,13 +9340,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8961
9340
  "openai-compatible"?: Record<string, {
8962
9341
  dimension: number;
8963
9342
  }> | undefined;
9343
+ gemini?: Record<string, {
9344
+ dimension: number;
9345
+ }> | undefined;
8964
9346
  } | undefined;
8965
9347
  codebaseIndexConfig?: {
8966
9348
  codebaseIndexEnabled?: boolean | undefined;
8967
9349
  codebaseIndexQdrantUrl?: string | undefined;
8968
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9350
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
8969
9351
  codebaseIndexEmbedderBaseUrl?: string | undefined;
8970
9352
  codebaseIndexEmbedderModelId?: string | undefined;
9353
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9354
+ codebaseIndexSearchMinScore?: number | undefined;
9355
+ codebaseIndexSearchMaxResults?: number | undefined;
9356
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9357
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8971
9358
  } | undefined;
8972
9359
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8973
9360
  mcpEnabled?: boolean | undefined;
@@ -8984,6 +9371,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8984
9371
  historyPreviewCollapsed?: boolean | undefined;
8985
9372
  profileThresholds?: Record<string, number> | undefined;
8986
9373
  hasOpenedModeSelector?: boolean | undefined;
9374
+ lastModeExportPath?: string | undefined;
9375
+ lastModeImportPath?: string | undefined;
8987
9376
  }>;
8988
9377
  text: z.ZodString;
8989
9378
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8992,12 +9381,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8992
9381
  text: string;
8993
9382
  configuration: {
8994
9383
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9384
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9385
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
8995
9386
  codeIndexOpenAiKey?: string | undefined;
8996
9387
  codeIndexQdrantApiKey?: string | undefined;
8997
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
8998
9388
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8999
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9000
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9389
+ codebaseIndexGeminiApiKey?: string | undefined;
9390
+ 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;
9001
9391
  includeMaxTokens?: boolean | undefined;
9002
9392
  diffEnabled?: boolean | undefined;
9003
9393
  fuzzyMatchThreshold?: number | undefined;
@@ -9086,6 +9476,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9086
9476
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9087
9477
  geminiApiKey?: string | undefined;
9088
9478
  googleGeminiBaseUrl?: string | undefined;
9479
+ geminiCliOAuthPath?: string | undefined;
9480
+ geminiCliProjectId?: string | undefined;
9089
9481
  openAiNativeApiKey?: string | undefined;
9090
9482
  openAiNativeBaseUrl?: string | undefined;
9091
9483
  mistralApiKey?: string | undefined;
@@ -9123,7 +9515,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9123
9515
  listApiConfigMeta?: {
9124
9516
  name: string;
9125
9517
  id: string;
9126
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9518
+ 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;
9127
9519
  }[] | undefined;
9128
9520
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9129
9521
  lastShownAnnouncementId?: string | undefined;
@@ -9156,6 +9548,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9156
9548
  alwaysAllowModeSwitch?: boolean | undefined;
9157
9549
  alwaysAllowSubtasks?: boolean | undefined;
9158
9550
  alwaysAllowExecute?: boolean | undefined;
9551
+ alwaysAllowFollowupQuestions?: boolean | undefined;
9552
+ followupAutoApproveTimeoutMs?: number | undefined;
9553
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9159
9554
  allowedCommands?: string[] | undefined;
9160
9555
  allowedMaxRequests?: number | null | undefined;
9161
9556
  autoCondenseContext?: boolean | undefined;
@@ -9200,13 +9595,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9200
9595
  "openai-compatible"?: Record<string, {
9201
9596
  dimension: number;
9202
9597
  }> | undefined;
9598
+ gemini?: Record<string, {
9599
+ dimension: number;
9600
+ }> | undefined;
9203
9601
  } | undefined;
9204
9602
  codebaseIndexConfig?: {
9205
9603
  codebaseIndexEnabled?: boolean | undefined;
9206
9604
  codebaseIndexQdrantUrl?: string | undefined;
9207
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9605
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9208
9606
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9209
9607
  codebaseIndexEmbedderModelId?: string | undefined;
9608
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9609
+ codebaseIndexSearchMinScore?: number | undefined;
9610
+ codebaseIndexSearchMaxResults?: number | undefined;
9611
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9612
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9210
9613
  } | undefined;
9211
9614
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9212
9615
  mcpEnabled?: boolean | undefined;
@@ -9223,6 +9626,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9223
9626
  historyPreviewCollapsed?: boolean | undefined;
9224
9627
  profileThresholds?: Record<string, number> | undefined;
9225
9628
  hasOpenedModeSelector?: boolean | undefined;
9629
+ lastModeExportPath?: string | undefined;
9630
+ lastModeImportPath?: string | undefined;
9226
9631
  };
9227
9632
  images?: string[] | undefined;
9228
9633
  newTab?: boolean | undefined;
@@ -9230,12 +9635,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9230
9635
  text: string;
9231
9636
  configuration: {
9232
9637
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9638
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9639
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9233
9640
  codeIndexOpenAiKey?: string | undefined;
9234
9641
  codeIndexQdrantApiKey?: string | undefined;
9235
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9236
9642
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9237
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9238
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9643
+ codebaseIndexGeminiApiKey?: string | undefined;
9644
+ 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;
9239
9645
  includeMaxTokens?: boolean | undefined;
9240
9646
  diffEnabled?: boolean | undefined;
9241
9647
  fuzzyMatchThreshold?: number | undefined;
@@ -9324,6 +9730,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9324
9730
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9325
9731
  geminiApiKey?: string | undefined;
9326
9732
  googleGeminiBaseUrl?: string | undefined;
9733
+ geminiCliOAuthPath?: string | undefined;
9734
+ geminiCliProjectId?: string | undefined;
9327
9735
  openAiNativeApiKey?: string | undefined;
9328
9736
  openAiNativeBaseUrl?: string | undefined;
9329
9737
  mistralApiKey?: string | undefined;
@@ -9361,7 +9769,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9361
9769
  listApiConfigMeta?: {
9362
9770
  name: string;
9363
9771
  id: string;
9364
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9772
+ 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;
9365
9773
  }[] | undefined;
9366
9774
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9367
9775
  lastShownAnnouncementId?: string | undefined;
@@ -9394,6 +9802,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9394
9802
  alwaysAllowModeSwitch?: boolean | undefined;
9395
9803
  alwaysAllowSubtasks?: boolean | undefined;
9396
9804
  alwaysAllowExecute?: boolean | undefined;
9805
+ alwaysAllowFollowupQuestions?: boolean | undefined;
9806
+ followupAutoApproveTimeoutMs?: number | undefined;
9807
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9397
9808
  allowedCommands?: string[] | undefined;
9398
9809
  allowedMaxRequests?: number | null | undefined;
9399
9810
  autoCondenseContext?: boolean | undefined;
@@ -9438,13 +9849,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9438
9849
  "openai-compatible"?: Record<string, {
9439
9850
  dimension: number;
9440
9851
  }> | undefined;
9852
+ gemini?: Record<string, {
9853
+ dimension: number;
9854
+ }> | undefined;
9441
9855
  } | undefined;
9442
9856
  codebaseIndexConfig?: {
9443
9857
  codebaseIndexEnabled?: boolean | undefined;
9444
9858
  codebaseIndexQdrantUrl?: string | undefined;
9445
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
9859
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9446
9860
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9447
9861
  codebaseIndexEmbedderModelId?: string | undefined;
9862
+ codebaseIndexEmbedderModelDimension?: number | undefined;
9863
+ codebaseIndexSearchMinScore?: number | undefined;
9864
+ codebaseIndexSearchMaxResults?: number | undefined;
9865
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9866
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9448
9867
  } | undefined;
9449
9868
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9450
9869
  mcpEnabled?: boolean | undefined;
@@ -9461,6 +9880,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9461
9880
  historyPreviewCollapsed?: boolean | undefined;
9462
9881
  profileThresholds?: Record<string, number> | undefined;
9463
9882
  hasOpenedModeSelector?: boolean | undefined;
9883
+ lastModeExportPath?: string | undefined;
9884
+ lastModeImportPath?: string | undefined;
9464
9885
  };
9465
9886
  images?: string[] | undefined;
9466
9887
  newTab?: boolean | undefined;
@@ -9471,12 +9892,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9471
9892
  text: string;
9472
9893
  configuration: {
9473
9894
  reasoningEffort?: "low" | "medium" | "high" | undefined;
9895
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9896
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9474
9897
  codeIndexOpenAiKey?: string | undefined;
9475
9898
  codeIndexQdrantApiKey?: string | undefined;
9476
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9477
9899
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9478
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9479
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
9900
+ codebaseIndexGeminiApiKey?: string | undefined;
9901
+ 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;
9480
9902
  includeMaxTokens?: boolean | undefined;
9481
9903
  diffEnabled?: boolean | undefined;
9482
9904
  fuzzyMatchThreshold?: number | undefined;
@@ -9565,6 +9987,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9565
9987
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9566
9988
  geminiApiKey?: string | undefined;
9567
9989
  googleGeminiBaseUrl?: string | undefined;
9990
+ geminiCliOAuthPath?: string | undefined;
9991
+ geminiCliProjectId?: string | undefined;
9568
9992
  openAiNativeApiKey?: string | undefined;
9569
9993
  openAiNativeBaseUrl?: string | undefined;
9570
9994
  mistralApiKey?: string | undefined;
@@ -9602,7 +10026,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9602
10026
  listApiConfigMeta?: {
9603
10027
  name: string;
9604
10028
  id: string;
9605
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10029
+ 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;
9606
10030
  }[] | undefined;
9607
10031
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9608
10032
  lastShownAnnouncementId?: string | undefined;
@@ -9635,6 +10059,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9635
10059
  alwaysAllowModeSwitch?: boolean | undefined;
9636
10060
  alwaysAllowSubtasks?: boolean | undefined;
9637
10061
  alwaysAllowExecute?: boolean | undefined;
10062
+ alwaysAllowFollowupQuestions?: boolean | undefined;
10063
+ followupAutoApproveTimeoutMs?: number | undefined;
10064
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9638
10065
  allowedCommands?: string[] | undefined;
9639
10066
  allowedMaxRequests?: number | null | undefined;
9640
10067
  autoCondenseContext?: boolean | undefined;
@@ -9679,13 +10106,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9679
10106
  "openai-compatible"?: Record<string, {
9680
10107
  dimension: number;
9681
10108
  }> | undefined;
10109
+ gemini?: Record<string, {
10110
+ dimension: number;
10111
+ }> | undefined;
9682
10112
  } | undefined;
9683
10113
  codebaseIndexConfig?: {
9684
10114
  codebaseIndexEnabled?: boolean | undefined;
9685
10115
  codebaseIndexQdrantUrl?: string | undefined;
9686
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10116
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9687
10117
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9688
10118
  codebaseIndexEmbedderModelId?: string | undefined;
10119
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10120
+ codebaseIndexSearchMinScore?: number | undefined;
10121
+ codebaseIndexSearchMaxResults?: number | undefined;
10122
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10123
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9689
10124
  } | undefined;
9690
10125
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9691
10126
  mcpEnabled?: boolean | undefined;
@@ -9702,6 +10137,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9702
10137
  historyPreviewCollapsed?: boolean | undefined;
9703
10138
  profileThresholds?: Record<string, number> | undefined;
9704
10139
  hasOpenedModeSelector?: boolean | undefined;
10140
+ lastModeExportPath?: string | undefined;
10141
+ lastModeImportPath?: string | undefined;
9705
10142
  };
9706
10143
  images?: string[] | undefined;
9707
10144
  newTab?: boolean | undefined;
@@ -9712,12 +10149,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9712
10149
  text: string;
9713
10150
  configuration: {
9714
10151
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10152
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10153
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9715
10154
  codeIndexOpenAiKey?: string | undefined;
9716
10155
  codeIndexQdrantApiKey?: string | undefined;
9717
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9718
10156
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9719
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9720
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10157
+ codebaseIndexGeminiApiKey?: string | undefined;
10158
+ 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;
9721
10159
  includeMaxTokens?: boolean | undefined;
9722
10160
  diffEnabled?: boolean | undefined;
9723
10161
  fuzzyMatchThreshold?: number | undefined;
@@ -9806,6 +10244,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9806
10244
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9807
10245
  geminiApiKey?: string | undefined;
9808
10246
  googleGeminiBaseUrl?: string | undefined;
10247
+ geminiCliOAuthPath?: string | undefined;
10248
+ geminiCliProjectId?: string | undefined;
9809
10249
  openAiNativeApiKey?: string | undefined;
9810
10250
  openAiNativeBaseUrl?: string | undefined;
9811
10251
  mistralApiKey?: string | undefined;
@@ -9843,7 +10283,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9843
10283
  listApiConfigMeta?: {
9844
10284
  name: string;
9845
10285
  id: string;
9846
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10286
+ 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;
9847
10287
  }[] | undefined;
9848
10288
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9849
10289
  lastShownAnnouncementId?: string | undefined;
@@ -9876,6 +10316,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9876
10316
  alwaysAllowModeSwitch?: boolean | undefined;
9877
10317
  alwaysAllowSubtasks?: boolean | undefined;
9878
10318
  alwaysAllowExecute?: boolean | undefined;
10319
+ alwaysAllowFollowupQuestions?: boolean | undefined;
10320
+ followupAutoApproveTimeoutMs?: number | undefined;
10321
+ alwaysAllowUpdateTodoList?: boolean | undefined;
9879
10322
  allowedCommands?: string[] | undefined;
9880
10323
  allowedMaxRequests?: number | null | undefined;
9881
10324
  autoCondenseContext?: boolean | undefined;
@@ -9920,13 +10363,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9920
10363
  "openai-compatible"?: Record<string, {
9921
10364
  dimension: number;
9922
10365
  }> | undefined;
10366
+ gemini?: Record<string, {
10367
+ dimension: number;
10368
+ }> | undefined;
9923
10369
  } | undefined;
9924
10370
  codebaseIndexConfig?: {
9925
10371
  codebaseIndexEnabled?: boolean | undefined;
9926
10372
  codebaseIndexQdrantUrl?: string | undefined;
9927
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10373
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
9928
10374
  codebaseIndexEmbedderBaseUrl?: string | undefined;
9929
10375
  codebaseIndexEmbedderModelId?: string | undefined;
10376
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10377
+ codebaseIndexSearchMinScore?: number | undefined;
10378
+ codebaseIndexSearchMaxResults?: number | undefined;
10379
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10380
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9930
10381
  } | undefined;
9931
10382
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9932
10383
  mcpEnabled?: boolean | undefined;
@@ -9943,6 +10394,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9943
10394
  historyPreviewCollapsed?: boolean | undefined;
9944
10395
  profileThresholds?: Record<string, number> | undefined;
9945
10396
  hasOpenedModeSelector?: boolean | undefined;
10397
+ lastModeExportPath?: string | undefined;
10398
+ lastModeImportPath?: string | undefined;
9946
10399
  };
9947
10400
  images?: string[] | undefined;
9948
10401
  newTab?: boolean | undefined;
@@ -9975,12 +10428,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9975
10428
  text: string;
9976
10429
  configuration: {
9977
10430
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10431
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10432
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9978
10433
  codeIndexOpenAiKey?: string | undefined;
9979
10434
  codeIndexQdrantApiKey?: string | undefined;
9980
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
9981
10435
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9982
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
9983
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10436
+ codebaseIndexGeminiApiKey?: string | undefined;
10437
+ 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;
9984
10438
  includeMaxTokens?: boolean | undefined;
9985
10439
  diffEnabled?: boolean | undefined;
9986
10440
  fuzzyMatchThreshold?: number | undefined;
@@ -10069,6 +10523,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10069
10523
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
10070
10524
  geminiApiKey?: string | undefined;
10071
10525
  googleGeminiBaseUrl?: string | undefined;
10526
+ geminiCliOAuthPath?: string | undefined;
10527
+ geminiCliProjectId?: string | undefined;
10072
10528
  openAiNativeApiKey?: string | undefined;
10073
10529
  openAiNativeBaseUrl?: string | undefined;
10074
10530
  mistralApiKey?: string | undefined;
@@ -10106,7 +10562,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10106
10562
  listApiConfigMeta?: {
10107
10563
  name: string;
10108
10564
  id: string;
10109
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10565
+ 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;
10110
10566
  }[] | undefined;
10111
10567
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10112
10568
  lastShownAnnouncementId?: string | undefined;
@@ -10139,6 +10595,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10139
10595
  alwaysAllowModeSwitch?: boolean | undefined;
10140
10596
  alwaysAllowSubtasks?: boolean | undefined;
10141
10597
  alwaysAllowExecute?: boolean | undefined;
10598
+ alwaysAllowFollowupQuestions?: boolean | undefined;
10599
+ followupAutoApproveTimeoutMs?: number | undefined;
10600
+ alwaysAllowUpdateTodoList?: boolean | undefined;
10142
10601
  allowedCommands?: string[] | undefined;
10143
10602
  allowedMaxRequests?: number | null | undefined;
10144
10603
  autoCondenseContext?: boolean | undefined;
@@ -10183,13 +10642,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10183
10642
  "openai-compatible"?: Record<string, {
10184
10643
  dimension: number;
10185
10644
  }> | undefined;
10645
+ gemini?: Record<string, {
10646
+ dimension: number;
10647
+ }> | undefined;
10186
10648
  } | undefined;
10187
10649
  codebaseIndexConfig?: {
10188
10650
  codebaseIndexEnabled?: boolean | undefined;
10189
10651
  codebaseIndexQdrantUrl?: string | undefined;
10190
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10652
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
10191
10653
  codebaseIndexEmbedderBaseUrl?: string | undefined;
10192
10654
  codebaseIndexEmbedderModelId?: string | undefined;
10655
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10656
+ codebaseIndexSearchMinScore?: number | undefined;
10657
+ codebaseIndexSearchMaxResults?: number | undefined;
10658
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10659
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10193
10660
  } | undefined;
10194
10661
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10195
10662
  mcpEnabled?: boolean | undefined;
@@ -10206,6 +10673,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10206
10673
  historyPreviewCollapsed?: boolean | undefined;
10207
10674
  profileThresholds?: Record<string, number> | undefined;
10208
10675
  hasOpenedModeSelector?: boolean | undefined;
10676
+ lastModeExportPath?: string | undefined;
10677
+ lastModeImportPath?: string | undefined;
10209
10678
  };
10210
10679
  images?: string[] | undefined;
10211
10680
  newTab?: boolean | undefined;
@@ -10227,12 +10696,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10227
10696
  text: string;
10228
10697
  configuration: {
10229
10698
  reasoningEffort?: "low" | "medium" | "high" | undefined;
10699
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10700
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10230
10701
  codeIndexOpenAiKey?: string | undefined;
10231
10702
  codeIndexQdrantApiKey?: string | undefined;
10232
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10233
10703
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10234
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10235
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10704
+ codebaseIndexGeminiApiKey?: string | undefined;
10705
+ 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;
10236
10706
  includeMaxTokens?: boolean | undefined;
10237
10707
  diffEnabled?: boolean | undefined;
10238
10708
  fuzzyMatchThreshold?: number | undefined;
@@ -10321,6 +10791,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10321
10791
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
10322
10792
  geminiApiKey?: string | undefined;
10323
10793
  googleGeminiBaseUrl?: string | undefined;
10794
+ geminiCliOAuthPath?: string | undefined;
10795
+ geminiCliProjectId?: string | undefined;
10324
10796
  openAiNativeApiKey?: string | undefined;
10325
10797
  openAiNativeBaseUrl?: string | undefined;
10326
10798
  mistralApiKey?: string | undefined;
@@ -10358,7 +10830,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10358
10830
  listApiConfigMeta?: {
10359
10831
  name: string;
10360
10832
  id: string;
10361
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
10833
+ 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;
10362
10834
  }[] | undefined;
10363
10835
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10364
10836
  lastShownAnnouncementId?: string | undefined;
@@ -10391,6 +10863,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10391
10863
  alwaysAllowModeSwitch?: boolean | undefined;
10392
10864
  alwaysAllowSubtasks?: boolean | undefined;
10393
10865
  alwaysAllowExecute?: boolean | undefined;
10866
+ alwaysAllowFollowupQuestions?: boolean | undefined;
10867
+ followupAutoApproveTimeoutMs?: number | undefined;
10868
+ alwaysAllowUpdateTodoList?: boolean | undefined;
10394
10869
  allowedCommands?: string[] | undefined;
10395
10870
  allowedMaxRequests?: number | null | undefined;
10396
10871
  autoCondenseContext?: boolean | undefined;
@@ -10435,13 +10910,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10435
10910
  "openai-compatible"?: Record<string, {
10436
10911
  dimension: number;
10437
10912
  }> | undefined;
10913
+ gemini?: Record<string, {
10914
+ dimension: number;
10915
+ }> | undefined;
10438
10916
  } | undefined;
10439
10917
  codebaseIndexConfig?: {
10440
10918
  codebaseIndexEnabled?: boolean | undefined;
10441
10919
  codebaseIndexQdrantUrl?: string | undefined;
10442
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
10920
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
10443
10921
  codebaseIndexEmbedderBaseUrl?: string | undefined;
10444
10922
  codebaseIndexEmbedderModelId?: string | undefined;
10923
+ codebaseIndexEmbedderModelDimension?: number | undefined;
10924
+ codebaseIndexSearchMinScore?: number | undefined;
10925
+ codebaseIndexSearchMaxResults?: number | undefined;
10926
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
10927
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
10445
10928
  } | undefined;
10446
10929
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10447
10930
  mcpEnabled?: boolean | undefined;
@@ -10458,6 +10941,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10458
10941
  historyPreviewCollapsed?: boolean | undefined;
10459
10942
  profileThresholds?: Record<string, number> | undefined;
10460
10943
  hasOpenedModeSelector?: boolean | undefined;
10944
+ lastModeExportPath?: string | undefined;
10945
+ lastModeImportPath?: string | undefined;
10461
10946
  };
10462
10947
  images?: string[] | undefined;
10463
10948
  newTab?: boolean | undefined;
@@ -10483,7 +10968,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10483
10968
  ts: z.ZodNumber;
10484
10969
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
10485
10970
  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"]>>;
10486
- 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"]>>;
10971
+ 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"]>>;
10487
10972
  text: z.ZodOptional<z.ZodString>;
10488
10973
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10489
10974
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -10524,7 +11009,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10524
11009
  partial?: boolean | undefined;
10525
11010
  text?: string | undefined;
10526
11011
  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;
10527
- 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;
11012
+ 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;
10528
11013
  images?: string[] | undefined;
10529
11014
  conversationHistoryIndex?: number | undefined;
10530
11015
  checkpoint?: Record<string, unknown> | undefined;
@@ -10546,7 +11031,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10546
11031
  partial?: boolean | undefined;
10547
11032
  text?: string | undefined;
10548
11033
  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;
10549
- 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;
11034
+ 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;
10550
11035
  images?: string[] | undefined;
10551
11036
  conversationHistoryIndex?: number | undefined;
10552
11037
  checkpoint?: Record<string, unknown> | undefined;
@@ -10570,7 +11055,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10570
11055
  partial?: boolean | undefined;
10571
11056
  text?: string | undefined;
10572
11057
  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;
10573
- 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;
11058
+ 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;
10574
11059
  images?: string[] | undefined;
10575
11060
  conversationHistoryIndex?: number | undefined;
10576
11061
  checkpoint?: Record<string, unknown> | undefined;
@@ -10596,7 +11081,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10596
11081
  partial?: boolean | undefined;
10597
11082
  text?: string | undefined;
10598
11083
  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;
10599
- 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;
11084
+ 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;
10600
11085
  images?: string[] | undefined;
10601
11086
  conversationHistoryIndex?: number | undefined;
10602
11087
  checkpoint?: Record<string, unknown> | undefined;
@@ -10626,7 +11111,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10626
11111
  partial?: boolean | undefined;
10627
11112
  text?: string | undefined;
10628
11113
  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;
10629
- 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;
11114
+ 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;
10630
11115
  images?: string[] | undefined;
10631
11116
  conversationHistoryIndex?: number | undefined;
10632
11117
  checkpoint?: Record<string, unknown> | undefined;
@@ -10656,7 +11141,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10656
11141
  partial?: boolean | undefined;
10657
11142
  text?: string | undefined;
10658
11143
  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;
10659
- 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;
11144
+ 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;
10660
11145
  images?: string[] | undefined;
10661
11146
  conversationHistoryIndex?: number | undefined;
10662
11147
  checkpoint?: Record<string, unknown> | undefined;
@@ -10795,7 +11280,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10795
11280
  contextTokens: number;
10796
11281
  totalCacheWrites?: number | undefined;
10797
11282
  totalCacheReads?: number | undefined;
10798
- }>, 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<{
11283
+ }>, 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<{
10799
11284
  attempts: z.ZodNumber;
10800
11285
  failures: z.ZodNumber;
10801
11286
  }, "strip", z.ZodTypeAny, {
@@ -10821,7 +11306,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10821
11306
  contextTokens: number;
10822
11307
  totalCacheWrites?: number | undefined;
10823
11308
  totalCacheReads?: number | undefined;
10824
- }, 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", {
11309
+ }, 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", {
10825
11310
  attempts: number;
10826
11311
  failures: number;
10827
11312
  }>>, {
@@ -10837,7 +11322,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10837
11322
  contextTokens: number;
10838
11323
  totalCacheWrites?: number | undefined;
10839
11324
  totalCacheReads?: number | undefined;
10840
- }, 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", {
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" | "update_todo_list", {
10841
11326
  attempts: number;
10842
11327
  failures: number;
10843
11328
  }>>, {
@@ -10893,15 +11378,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10893
11378
  taskId?: number | undefined;
10894
11379
  }>, z.ZodObject<{
10895
11380
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
10896
- 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>;
11381
+ 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>;
10897
11382
  taskId: z.ZodOptional<z.ZodNumber>;
10898
11383
  }, "strip", z.ZodTypeAny, {
10899
11384
  eventName: RooCodeEventName.TaskToolFailed;
10900
- 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];
11385
+ 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];
10901
11386
  taskId?: number | undefined;
10902
11387
  }, {
10903
11388
  eventName: RooCodeEventName.TaskToolFailed;
10904
- 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];
11389
+ 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];
10905
11390
  taskId?: number | undefined;
10906
11391
  }>, z.ZodObject<{
10907
11392
  eventName: z.ZodLiteral<RooCodeEventName.EvalPass>;
@@ -10940,7 +11425,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10940
11425
  partial?: boolean | undefined;
10941
11426
  text?: string | undefined;
10942
11427
  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;
10943
- 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;
11428
+ 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;
10944
11429
  images?: string[] | undefined;
10945
11430
  conversationHistoryIndex?: number | undefined;
10946
11431
  checkpoint?: Record<string, unknown> | undefined;
@@ -11001,7 +11486,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11001
11486
  contextTokens: number;
11002
11487
  totalCacheWrites?: number | undefined;
11003
11488
  totalCacheReads?: number | undefined;
11004
- }, 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", {
11489
+ }, 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", {
11005
11490
  attempts: number;
11006
11491
  failures: number;
11007
11492
  }>>, {
@@ -11021,7 +11506,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11021
11506
  taskId?: number | undefined;
11022
11507
  } | {
11023
11508
  eventName: RooCodeEventName.TaskToolFailed;
11024
- 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];
11509
+ 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];
11025
11510
  taskId?: number | undefined;
11026
11511
  } | {
11027
11512
  taskId: number;
@@ -11046,7 +11531,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11046
11531
  partial?: boolean | undefined;
11047
11532
  text?: string | undefined;
11048
11533
  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;
11049
- 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;
11534
+ 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;
11050
11535
  images?: string[] | undefined;
11051
11536
  conversationHistoryIndex?: number | undefined;
11052
11537
  checkpoint?: Record<string, unknown> | undefined;
@@ -11107,7 +11592,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11107
11592
  contextTokens: number;
11108
11593
  totalCacheWrites?: number | undefined;
11109
11594
  totalCacheReads?: number | undefined;
11110
- }, 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", {
11595
+ }, 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", {
11111
11596
  attempts: number;
11112
11597
  failures: number;
11113
11598
  }>>, {
@@ -11127,7 +11612,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11127
11612
  taskId?: number | undefined;
11128
11613
  } | {
11129
11614
  eventName: RooCodeEventName.TaskToolFailed;
11130
- 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];
11615
+ 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];
11131
11616
  taskId?: number | undefined;
11132
11617
  } | {
11133
11618
  taskId: number;
@@ -11309,27 +11794,55 @@ interface RooCodeIpcServer extends EventEmitter<IpcServerEvents> {
11309
11794
  get isListening(): boolean;
11310
11795
  }
11311
11796
 
11797
+ /**
11798
+ * Codebase Index Constants
11799
+ */
11800
+ declare const CODEBASE_INDEX_DEFAULTS: {
11801
+ readonly MIN_SEARCH_RESULTS: 10;
11802
+ readonly MAX_SEARCH_RESULTS: 200;
11803
+ readonly DEFAULT_SEARCH_RESULTS: 50;
11804
+ readonly SEARCH_RESULTS_STEP: 10;
11805
+ readonly MIN_SEARCH_SCORE: 0;
11806
+ readonly MAX_SEARCH_SCORE: 1;
11807
+ readonly DEFAULT_SEARCH_MIN_SCORE: 0.4;
11808
+ readonly SEARCH_SCORE_STEP: 0.05;
11809
+ };
11312
11810
  /**
11313
11811
  * CodebaseIndexConfig
11314
11812
  */
11315
11813
  declare const codebaseIndexConfigSchema: z.ZodObject<{
11316
11814
  codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
11317
11815
  codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
11318
- codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
11816
+ codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini"]>>;
11319
11817
  codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
11320
11818
  codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
11819
+ codebaseIndexEmbedderModelDimension: z.ZodOptional<z.ZodNumber>;
11820
+ codebaseIndexSearchMinScore: z.ZodOptional<z.ZodNumber>;
11821
+ codebaseIndexSearchMaxResults: z.ZodOptional<z.ZodNumber>;
11822
+ codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
11823
+ codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
11321
11824
  }, "strip", z.ZodTypeAny, {
11322
11825
  codebaseIndexEnabled?: boolean | undefined;
11323
11826
  codebaseIndexQdrantUrl?: string | undefined;
11324
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
11827
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
11325
11828
  codebaseIndexEmbedderBaseUrl?: string | undefined;
11326
11829
  codebaseIndexEmbedderModelId?: string | undefined;
11830
+ codebaseIndexEmbedderModelDimension?: number | undefined;
11831
+ codebaseIndexSearchMinScore?: number | undefined;
11832
+ codebaseIndexSearchMaxResults?: number | undefined;
11833
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11834
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11327
11835
  }, {
11328
11836
  codebaseIndexEnabled?: boolean | undefined;
11329
11837
  codebaseIndexQdrantUrl?: string | undefined;
11330
- codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
11838
+ codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | undefined;
11331
11839
  codebaseIndexEmbedderBaseUrl?: string | undefined;
11332
11840
  codebaseIndexEmbedderModelId?: string | undefined;
11841
+ codebaseIndexEmbedderModelDimension?: number | undefined;
11842
+ codebaseIndexSearchMinScore?: number | undefined;
11843
+ codebaseIndexSearchMaxResults?: number | undefined;
11844
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11845
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11333
11846
  }>;
11334
11847
  type CodebaseIndexConfig = z.infer<typeof codebaseIndexConfigSchema>;
11335
11848
  /**
@@ -11357,6 +11870,13 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11357
11870
  }, {
11358
11871
  dimension: number;
11359
11872
  }>>>;
11873
+ gemini: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11874
+ dimension: z.ZodNumber;
11875
+ }, "strip", z.ZodTypeAny, {
11876
+ dimension: number;
11877
+ }, {
11878
+ dimension: number;
11879
+ }>>>;
11360
11880
  }, "strip", z.ZodTypeAny, {
11361
11881
  openai?: Record<string, {
11362
11882
  dimension: number;
@@ -11367,6 +11887,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11367
11887
  "openai-compatible"?: Record<string, {
11368
11888
  dimension: number;
11369
11889
  }> | undefined;
11890
+ gemini?: Record<string, {
11891
+ dimension: number;
11892
+ }> | undefined;
11370
11893
  }, {
11371
11894
  openai?: Record<string, {
11372
11895
  dimension: number;
@@ -11377,6 +11900,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
11377
11900
  "openai-compatible"?: Record<string, {
11378
11901
  dimension: number;
11379
11902
  }> | undefined;
11903
+ gemini?: Record<string, {
11904
+ dimension: number;
11905
+ }> | undefined;
11380
11906
  }>;
11381
11907
  type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>;
11382
11908
  /**
@@ -11388,18 +11914,21 @@ declare const codebaseIndexProviderSchema: z.ZodObject<{
11388
11914
  codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
11389
11915
  codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
11390
11916
  codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
11917
+ codebaseIndexGeminiApiKey: z.ZodOptional<z.ZodString>;
11391
11918
  }, "strip", z.ZodTypeAny, {
11919
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11920
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11392
11921
  codeIndexOpenAiKey?: string | undefined;
11393
11922
  codeIndexQdrantApiKey?: string | undefined;
11394
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11395
11923
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11396
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11924
+ codebaseIndexGeminiApiKey?: string | undefined;
11397
11925
  }, {
11926
+ codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11927
+ codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11398
11928
  codeIndexOpenAiKey?: string | undefined;
11399
11929
  codeIndexQdrantApiKey?: string | undefined;
11400
- codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
11401
11930
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11402
- codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
11931
+ codebaseIndexGeminiApiKey?: string | undefined;
11403
11932
  }>;
11404
11933
  type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
11405
11934
 
@@ -11718,6 +12247,69 @@ declare const experimentsSchema: z.ZodObject<{
11718
12247
  }>;
11719
12248
  type Experiments = z.infer<typeof experimentsSchema>;
11720
12249
 
12250
+ /**
12251
+ * Interface for follow-up data structure used in follow-up questions
12252
+ * This represents the data structure for follow-up questions that the LLM can ask
12253
+ * to gather more information needed to complete a task.
12254
+ */
12255
+ interface FollowUpData {
12256
+ /** The question being asked by the LLM */
12257
+ question?: string;
12258
+ /** Array of suggested answers that the user can select */
12259
+ suggest?: Array<SuggestionItem>;
12260
+ }
12261
+ /**
12262
+ * Interface for a suggestion item with optional mode switching
12263
+ */
12264
+ interface SuggestionItem {
12265
+ /** The text of the suggestion */
12266
+ answer: string;
12267
+ /** Optional mode to switch to when selecting this suggestion */
12268
+ mode?: string;
12269
+ }
12270
+ /**
12271
+ * Zod schema for SuggestionItem
12272
+ */
12273
+ declare const suggestionItemSchema: z.ZodObject<{
12274
+ answer: z.ZodString;
12275
+ mode: z.ZodOptional<z.ZodString>;
12276
+ }, "strip", z.ZodTypeAny, {
12277
+ answer: string;
12278
+ mode?: string | undefined;
12279
+ }, {
12280
+ answer: string;
12281
+ mode?: string | undefined;
12282
+ }>;
12283
+ /**
12284
+ * Zod schema for FollowUpData
12285
+ */
12286
+ declare const followUpDataSchema: z.ZodObject<{
12287
+ question: z.ZodOptional<z.ZodString>;
12288
+ suggest: z.ZodOptional<z.ZodArray<z.ZodObject<{
12289
+ answer: z.ZodString;
12290
+ mode: z.ZodOptional<z.ZodString>;
12291
+ }, "strip", z.ZodTypeAny, {
12292
+ answer: string;
12293
+ mode?: string | undefined;
12294
+ }, {
12295
+ answer: string;
12296
+ mode?: string | undefined;
12297
+ }>, "many">>;
12298
+ }, "strip", z.ZodTypeAny, {
12299
+ question?: string | undefined;
12300
+ suggest?: {
12301
+ answer: string;
12302
+ mode?: string | undefined;
12303
+ }[] | undefined;
12304
+ }, {
12305
+ question?: string | undefined;
12306
+ suggest?: {
12307
+ answer: string;
12308
+ mode?: string | undefined;
12309
+ }[] | undefined;
12310
+ }>;
12311
+ type FollowUpDataType = z.infer<typeof followUpDataSchema>;
12312
+
11721
12313
  /**
11722
12314
  * HistoryItem
11723
12315
  */
@@ -12447,6 +13039,14 @@ type CustomModePrompts = z.infer<typeof customModePromptsSchema>;
12447
13039
  declare const customSupportPromptsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
12448
13040
  type CustomSupportPrompts = z.infer<typeof customSupportPromptsSchema>;
12449
13041
 
13042
+ /**
13043
+ * Types related to task sharing functionality
13044
+ */
13045
+ /**
13046
+ * Visibility options for sharing tasks
13047
+ */
13048
+ type ShareVisibility = "organization" | "public";
13049
+
12450
13050
  /**
12451
13051
  * TelemetrySetting
12452
13052
  */
@@ -12464,6 +13064,7 @@ declare enum TelemetryEventName {
12464
13064
  TASK_CONVERSATION_MESSAGE = "Conversation Message",
12465
13065
  LLM_COMPLETION = "LLM Completion",
12466
13066
  MODE_SWITCH = "Mode Switched",
13067
+ MODE_SELECTOR_OPENED = "Mode Selector Opened",
12467
13068
  TOOL_USED = "Tool Used",
12468
13069
  CHECKPOINT_CREATED = "Checkpoint Created",
12469
13070
  CHECKPOINT_RESTORED = "Checkpoint Restored",
@@ -12481,6 +13082,14 @@ declare enum TelemetryEventName {
12481
13082
  MARKETPLACE_ITEM_REMOVED = "Marketplace Item Removed",
12482
13083
  MARKETPLACE_TAB_VIEWED = "Marketplace Tab Viewed",
12483
13084
  MARKETPLACE_INSTALL_BUTTON_CLICKED = "Marketplace Install Button Clicked",
13085
+ SHARE_BUTTON_CLICKED = "Share Button Clicked",
13086
+ SHARE_ORGANIZATION_CLICKED = "Share Organization Clicked",
13087
+ SHARE_PUBLIC_CLICKED = "Share Public Clicked",
13088
+ SHARE_CONNECT_TO_CLOUD_CLICKED = "Share Connect To Cloud Clicked",
13089
+ ACCOUNT_CONNECT_CLICKED = "Account Connect Clicked",
13090
+ ACCOUNT_CONNECT_SUCCESS = "Account Connect Success",
13091
+ ACCOUNT_LOGOUT_CLICKED = "Account Logout Clicked",
13092
+ ACCOUNT_LOGOUT_SUCCESS = "Account Logout Success",
12484
13093
  SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
12485
13094
  DIFF_APPLICATION_ERROR = "Diff Application Error",
12486
13095
  SHELL_INTEGRATION_ERROR = "Shell Integration Error",
@@ -12497,6 +13106,7 @@ declare const appPropertiesSchema: z.ZodObject<{
12497
13106
  editorName: z.ZodString;
12498
13107
  language: z.ZodString;
12499
13108
  mode: z.ZodString;
13109
+ cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
12500
13110
  }, "strip", z.ZodTypeAny, {
12501
13111
  appName: string;
12502
13112
  appVersion: string;
@@ -12505,6 +13115,7 @@ declare const appPropertiesSchema: z.ZodObject<{
12505
13115
  editorName: string;
12506
13116
  language: string;
12507
13117
  mode: string;
13118
+ cloudIsAuthenticated?: boolean | undefined;
12508
13119
  }, {
12509
13120
  appName: string;
12510
13121
  appVersion: string;
@@ -12513,21 +13124,22 @@ declare const appPropertiesSchema: z.ZodObject<{
12513
13124
  editorName: string;
12514
13125
  language: string;
12515
13126
  mode: string;
13127
+ cloudIsAuthenticated?: boolean | undefined;
12516
13128
  }>;
12517
13129
  declare const taskPropertiesSchema: z.ZodObject<{
12518
13130
  taskId: z.ZodOptional<z.ZodString>;
12519
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
13131
+ 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"]>>;
12520
13132
  modelId: z.ZodOptional<z.ZodString>;
12521
13133
  diffStrategy: z.ZodOptional<z.ZodString>;
12522
13134
  isSubtask: z.ZodOptional<z.ZodBoolean>;
12523
13135
  }, "strip", z.ZodTypeAny, {
12524
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13136
+ 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;
12525
13137
  taskId?: string | undefined;
12526
13138
  modelId?: string | undefined;
12527
13139
  diffStrategy?: string | undefined;
12528
13140
  isSubtask?: boolean | undefined;
12529
13141
  }, {
12530
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13142
+ 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;
12531
13143
  taskId?: string | undefined;
12532
13144
  modelId?: string | undefined;
12533
13145
  diffStrategy?: string | undefined;
@@ -12551,7 +13163,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12551
13163
  repositoryName: z.ZodOptional<z.ZodString>;
12552
13164
  defaultBranch: z.ZodOptional<z.ZodString>;
12553
13165
  taskId: z.ZodOptional<z.ZodString>;
12554
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
13166
+ 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"]>>;
12555
13167
  modelId: z.ZodOptional<z.ZodString>;
12556
13168
  diffStrategy: z.ZodOptional<z.ZodString>;
12557
13169
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12562,6 +13174,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12562
13174
  editorName: z.ZodString;
12563
13175
  language: z.ZodString;
12564
13176
  mode: z.ZodString;
13177
+ cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
12565
13178
  }, "strip", z.ZodTypeAny, {
12566
13179
  appName: string;
12567
13180
  appVersion: string;
@@ -12570,7 +13183,8 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12570
13183
  editorName: string;
12571
13184
  language: string;
12572
13185
  mode: string;
12573
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13186
+ 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;
13187
+ cloudIsAuthenticated?: boolean | undefined;
12574
13188
  taskId?: string | undefined;
12575
13189
  modelId?: string | undefined;
12576
13190
  diffStrategy?: string | undefined;
@@ -12586,56 +13200,8 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
12586
13200
  editorName: string;
12587
13201
  language: string;
12588
13202
  mode: string;
12589
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12590
- taskId?: string | undefined;
12591
- modelId?: string | undefined;
12592
- diffStrategy?: string | undefined;
12593
- isSubtask?: boolean | undefined;
12594
- repositoryUrl?: string | undefined;
12595
- repositoryName?: string | undefined;
12596
- defaultBranch?: string | undefined;
12597
- }>;
12598
- declare const cloudTelemetryPropertiesSchema: z.ZodObject<{
12599
- repositoryUrl: z.ZodOptional<z.ZodString>;
12600
- repositoryName: z.ZodOptional<z.ZodString>;
12601
- defaultBranch: z.ZodOptional<z.ZodString>;
12602
- taskId: z.ZodOptional<z.ZodString>;
12603
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
12604
- modelId: z.ZodOptional<z.ZodString>;
12605
- diffStrategy: z.ZodOptional<z.ZodString>;
12606
- isSubtask: z.ZodOptional<z.ZodBoolean>;
12607
- appName: z.ZodString;
12608
- appVersion: z.ZodString;
12609
- vscodeVersion: z.ZodString;
12610
- platform: z.ZodString;
12611
- editorName: z.ZodString;
12612
- language: z.ZodString;
12613
- mode: z.ZodString;
12614
- }, "strip", z.ZodTypeAny, {
12615
- appName: string;
12616
- appVersion: string;
12617
- vscodeVersion: string;
12618
- platform: string;
12619
- editorName: string;
12620
- language: string;
12621
- mode: string;
12622
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
12623
- taskId?: string | undefined;
12624
- modelId?: string | undefined;
12625
- diffStrategy?: string | undefined;
12626
- isSubtask?: boolean | undefined;
12627
- repositoryUrl?: string | undefined;
12628
- repositoryName?: string | undefined;
12629
- defaultBranch?: string | undefined;
12630
- }, {
12631
- appName: string;
12632
- appVersion: string;
12633
- vscodeVersion: string;
12634
- platform: string;
12635
- editorName: string;
12636
- language: string;
12637
- mode: string;
12638
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13203
+ 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;
13204
+ cloudIsAuthenticated?: boolean | undefined;
12639
13205
  taskId?: string | undefined;
12640
13206
  modelId?: string | undefined;
12641
13207
  diffStrategy?: string | undefined;
@@ -12645,7 +13211,6 @@ declare const cloudTelemetryPropertiesSchema: z.ZodObject<{
12645
13211
  defaultBranch?: string | undefined;
12646
13212
  }>;
12647
13213
  type TelemetryProperties = z.infer<typeof telemetryPropertiesSchema>;
12648
- type CloudTelemetryProperties = z.infer<typeof cloudTelemetryPropertiesSchema>;
12649
13214
  type GitProperties = z.infer<typeof gitPropertiesSchema>;
12650
13215
  /**
12651
13216
  * TelemetryEvent
@@ -12658,13 +13223,13 @@ type TelemetryEvent = {
12658
13223
  * RooCodeTelemetryEvent
12659
13224
  */
12660
13225
  declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12661
- type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, 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.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]>;
13226
+ 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]>;
12662
13227
  properties: z.ZodObject<{
12663
13228
  repositoryUrl: z.ZodOptional<z.ZodString>;
12664
13229
  repositoryName: z.ZodOptional<z.ZodString>;
12665
13230
  defaultBranch: z.ZodOptional<z.ZodString>;
12666
13231
  taskId: z.ZodOptional<z.ZodString>;
12667
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
13232
+ 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"]>>;
12668
13233
  modelId: z.ZodOptional<z.ZodString>;
12669
13234
  diffStrategy: z.ZodOptional<z.ZodString>;
12670
13235
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12675,6 +13240,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12675
13240
  editorName: z.ZodString;
12676
13241
  language: z.ZodString;
12677
13242
  mode: z.ZodString;
13243
+ cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
12678
13244
  }, "strip", z.ZodTypeAny, {
12679
13245
  appName: string;
12680
13246
  appVersion: string;
@@ -12683,7 +13249,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12683
13249
  editorName: string;
12684
13250
  language: string;
12685
13251
  mode: string;
12686
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13252
+ 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;
13253
+ cloudIsAuthenticated?: boolean | undefined;
12687
13254
  taskId?: string | undefined;
12688
13255
  modelId?: string | undefined;
12689
13256
  diffStrategy?: string | undefined;
@@ -12699,7 +13266,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12699
13266
  editorName: string;
12700
13267
  language: string;
12701
13268
  mode: string;
12702
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13269
+ 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;
13270
+ cloudIsAuthenticated?: boolean | undefined;
12703
13271
  taskId?: string | undefined;
12704
13272
  modelId?: string | undefined;
12705
13273
  diffStrategy?: string | undefined;
@@ -12709,7 +13277,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12709
13277
  defaultBranch?: string | undefined;
12710
13278
  }>;
12711
13279
  }, "strip", z.ZodTypeAny, {
12712
- type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
13280
+ 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;
12713
13281
  properties: {
12714
13282
  appName: string;
12715
13283
  appVersion: string;
@@ -12718,7 +13286,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12718
13286
  editorName: string;
12719
13287
  language: string;
12720
13288
  mode: string;
12721
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13289
+ 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;
13290
+ cloudIsAuthenticated?: boolean | undefined;
12722
13291
  taskId?: string | undefined;
12723
13292
  modelId?: string | undefined;
12724
13293
  diffStrategy?: string | undefined;
@@ -12728,7 +13297,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12728
13297
  defaultBranch?: string | undefined;
12729
13298
  };
12730
13299
  }, {
12731
- type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | 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.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
13300
+ 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;
12732
13301
  properties: {
12733
13302
  appName: string;
12734
13303
  appVersion: string;
@@ -12737,7 +13306,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12737
13306
  editorName: string;
12738
13307
  language: string;
12739
13308
  mode: string;
12740
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13309
+ 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;
13310
+ cloudIsAuthenticated?: boolean | undefined;
12741
13311
  taskId?: string | undefined;
12742
13312
  modelId?: string | undefined;
12743
13313
  diffStrategy?: string | undefined;
@@ -12754,7 +13324,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12754
13324
  ts: z.ZodNumber;
12755
13325
  type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>;
12756
13326
  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"]>>;
12757
- 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"]>>;
13327
+ 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"]>>;
12758
13328
  text: z.ZodOptional<z.ZodString>;
12759
13329
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12760
13330
  partial: z.ZodOptional<z.ZodBoolean>;
@@ -12795,7 +13365,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12795
13365
  partial?: boolean | undefined;
12796
13366
  text?: string | undefined;
12797
13367
  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;
12798
- 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;
13368
+ 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;
12799
13369
  images?: string[] | undefined;
12800
13370
  conversationHistoryIndex?: number | undefined;
12801
13371
  checkpoint?: Record<string, unknown> | undefined;
@@ -12817,7 +13387,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12817
13387
  partial?: boolean | undefined;
12818
13388
  text?: string | undefined;
12819
13389
  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;
12820
- 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;
13390
+ 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;
12821
13391
  images?: string[] | undefined;
12822
13392
  conversationHistoryIndex?: number | undefined;
12823
13393
  checkpoint?: Record<string, unknown> | undefined;
@@ -12836,7 +13406,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12836
13406
  repositoryUrl: z.ZodOptional<z.ZodString>;
12837
13407
  repositoryName: z.ZodOptional<z.ZodString>;
12838
13408
  defaultBranch: z.ZodOptional<z.ZodString>;
12839
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
13409
+ 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"]>>;
12840
13410
  modelId: z.ZodOptional<z.ZodString>;
12841
13411
  diffStrategy: z.ZodOptional<z.ZodString>;
12842
13412
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -12847,6 +13417,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12847
13417
  editorName: z.ZodString;
12848
13418
  language: z.ZodString;
12849
13419
  mode: z.ZodString;
13420
+ cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
12850
13421
  }, "strip", z.ZodTypeAny, {
12851
13422
  message: {
12852
13423
  type: "ask" | "say";
@@ -12855,7 +13426,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12855
13426
  partial?: boolean | undefined;
12856
13427
  text?: string | undefined;
12857
13428
  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;
12858
- 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;
13429
+ 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;
12859
13430
  images?: string[] | undefined;
12860
13431
  conversationHistoryIndex?: number | undefined;
12861
13432
  checkpoint?: Record<string, unknown> | undefined;
@@ -12879,7 +13450,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12879
13450
  language: string;
12880
13451
  mode: string;
12881
13452
  taskId: string;
12882
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13453
+ 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;
13454
+ cloudIsAuthenticated?: boolean | undefined;
12883
13455
  modelId?: string | undefined;
12884
13456
  diffStrategy?: string | undefined;
12885
13457
  isSubtask?: boolean | undefined;
@@ -12894,7 +13466,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12894
13466
  partial?: boolean | undefined;
12895
13467
  text?: string | undefined;
12896
13468
  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;
12897
- 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;
13469
+ 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;
12898
13470
  images?: string[] | undefined;
12899
13471
  conversationHistoryIndex?: number | undefined;
12900
13472
  checkpoint?: Record<string, unknown> | undefined;
@@ -12918,7 +13490,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12918
13490
  language: string;
12919
13491
  mode: string;
12920
13492
  taskId: string;
12921
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13493
+ 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;
13494
+ cloudIsAuthenticated?: boolean | undefined;
12922
13495
  modelId?: string | undefined;
12923
13496
  diffStrategy?: string | undefined;
12924
13497
  isSubtask?: boolean | undefined;
@@ -12936,7 +13509,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12936
13509
  partial?: boolean | undefined;
12937
13510
  text?: string | undefined;
12938
13511
  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;
12939
- 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;
13512
+ 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;
12940
13513
  images?: string[] | undefined;
12941
13514
  conversationHistoryIndex?: number | undefined;
12942
13515
  checkpoint?: Record<string, unknown> | undefined;
@@ -12960,7 +13533,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12960
13533
  language: string;
12961
13534
  mode: string;
12962
13535
  taskId: string;
12963
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13536
+ 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;
13537
+ cloudIsAuthenticated?: boolean | undefined;
12964
13538
  modelId?: string | undefined;
12965
13539
  diffStrategy?: string | undefined;
12966
13540
  isSubtask?: boolean | undefined;
@@ -12978,7 +13552,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
12978
13552
  partial?: boolean | undefined;
12979
13553
  text?: string | undefined;
12980
13554
  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;
12981
- 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;
13555
+ 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;
12982
13556
  images?: string[] | undefined;
12983
13557
  conversationHistoryIndex?: number | undefined;
12984
13558
  checkpoint?: Record<string, unknown> | undefined;
@@ -13002,7 +13576,8 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13002
13576
  language: string;
13003
13577
  mode: string;
13004
13578
  taskId: string;
13005
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13579
+ 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;
13580
+ cloudIsAuthenticated?: boolean | undefined;
13006
13581
  modelId?: string | undefined;
13007
13582
  diffStrategy?: string | undefined;
13008
13583
  isSubtask?: boolean | undefined;
@@ -13022,7 +13597,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13022
13597
  repositoryName: z.ZodOptional<z.ZodString>;
13023
13598
  defaultBranch: z.ZodOptional<z.ZodString>;
13024
13599
  taskId: z.ZodOptional<z.ZodString>;
13025
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
13600
+ 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"]>>;
13026
13601
  modelId: z.ZodOptional<z.ZodString>;
13027
13602
  diffStrategy: z.ZodOptional<z.ZodString>;
13028
13603
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -13033,6 +13608,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13033
13608
  editorName: z.ZodString;
13034
13609
  language: z.ZodString;
13035
13610
  mode: z.ZodString;
13611
+ cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
13036
13612
  }, "strip", z.ZodTypeAny, {
13037
13613
  appName: string;
13038
13614
  appVersion: string;
@@ -13043,8 +13619,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13043
13619
  mode: string;
13044
13620
  inputTokens: number;
13045
13621
  outputTokens: number;
13046
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13622
+ 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;
13047
13623
  cost?: number | undefined;
13624
+ cloudIsAuthenticated?: boolean | undefined;
13048
13625
  taskId?: string | undefined;
13049
13626
  modelId?: string | undefined;
13050
13627
  diffStrategy?: string | undefined;
@@ -13064,8 +13641,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13064
13641
  mode: string;
13065
13642
  inputTokens: number;
13066
13643
  outputTokens: number;
13067
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13644
+ 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;
13068
13645
  cost?: number | undefined;
13646
+ cloudIsAuthenticated?: boolean | undefined;
13069
13647
  taskId?: string | undefined;
13070
13648
  modelId?: string | undefined;
13071
13649
  diffStrategy?: string | undefined;
@@ -13088,8 +13666,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13088
13666
  mode: string;
13089
13667
  inputTokens: number;
13090
13668
  outputTokens: number;
13091
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13669
+ 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;
13092
13670
  cost?: number | undefined;
13671
+ cloudIsAuthenticated?: boolean | undefined;
13093
13672
  taskId?: string | undefined;
13094
13673
  modelId?: string | undefined;
13095
13674
  diffStrategy?: string | undefined;
@@ -13112,8 +13691,9 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
13112
13691
  mode: string;
13113
13692
  inputTokens: number;
13114
13693
  outputTokens: number;
13115
- apiProvider?: "openai" | "ollama" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
13694
+ 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;
13116
13695
  cost?: number | undefined;
13696
+ cloudIsAuthenticated?: boolean | undefined;
13117
13697
  taskId?: string | undefined;
13118
13698
  modelId?: string | undefined;
13119
13699
  diffStrategy?: string | undefined;
@@ -13141,7 +13721,6 @@ type TelemetryEventSubscription = {
13141
13721
  */
13142
13722
  interface TelemetryPropertiesProvider {
13143
13723
  getTelemetryProperties(): Promise<TelemetryProperties>;
13144
- getCloudTelemetryProperties?(): Promise<CloudTelemetryProperties>;
13145
13724
  }
13146
13725
  /**
13147
13726
  * TelemetryClient
@@ -13225,7 +13804,7 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
13225
13804
  /**
13226
13805
  * Command
13227
13806
  */
13228
- declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput", "focusPanel"];
13807
+ declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "importSettings", "focusInput", "acceptInput", "focusPanel"];
13229
13808
  type CommandId = (typeof commandIds)[number];
13230
13809
  /**
13231
13810
  * Language
@@ -13235,4 +13814,27 @@ declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "i
13235
13814
  type Language = z.infer<typeof languagesSchema>;
13236
13815
  declare const isLanguage: (value: string) => value is Language;
13237
13816
 
13238
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudTelemetryProperties, 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, 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 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, cloudTelemetryPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, 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, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
13817
+ /**
13818
+ * TodoStatus
13819
+ */
13820
+ declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>;
13821
+ type TodoStatus = z.infer<typeof todoStatusSchema>;
13822
+ /**
13823
+ * TodoItem
13824
+ */
13825
+ declare const todoItemSchema: z.ZodObject<{
13826
+ id: z.ZodString;
13827
+ content: z.ZodString;
13828
+ status: z.ZodEnum<["pending", "in_progress", "completed"]>;
13829
+ }, "strip", z.ZodTypeAny, {
13830
+ status: "completed" | "pending" | "in_progress";
13831
+ id: string;
13832
+ content: string;
13833
+ }, {
13834
+ status: "completed" | "pending" | "in_progress";
13835
+ id: string;
13836
+ content: string;
13837
+ }>;
13838
+ type TodoItem = z.infer<typeof todoItemSchema>;
13839
+
13840
+ 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, 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, 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 };