@roo-code/types 1.39.0 → 1.40.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
@@ -450,7 +450,7 @@ declare const BEDROCK_REGIONS: {
450
450
  label: string;
451
451
  }[];
452
452
 
453
- type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera";
453
+ type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air";
454
454
  declare const chutesDefaultModelId: ChutesModelId;
455
455
  declare const chutesModels: {
456
456
  readonly "deepseek-ai/DeepSeek-R1-0528": {
@@ -660,6 +660,15 @@ declare const chutesModels: {
660
660
  readonly outputPrice: 0;
661
661
  readonly description: "TNGTech DeepSeek R1T Chimera model.";
662
662
  };
663
+ readonly "zai-org/GLM-4.5-Air": {
664
+ readonly maxTokens: 32768;
665
+ readonly contextWindow: 151329;
666
+ readonly supportsImages: false;
667
+ readonly supportsPromptCache: false;
668
+ readonly inputPrice: 0;
669
+ readonly outputPrice: 0;
670
+ readonly description: "GLM-4.5-Air model with 151,329 token context window and 106B total parameters with 12B activated.";
671
+ };
663
672
  };
664
673
 
665
674
  /**
@@ -1269,6 +1278,18 @@ declare const groqModels: {
1269
1278
  };
1270
1279
  };
1271
1280
 
1281
+ /**
1282
+ * HuggingFace provider constants
1283
+ */
1284
+ declare const HUGGINGFACE_DEFAULT_MAX_TOKENS = 2048;
1285
+ declare const HUGGINGFACE_MAX_TOKENS_FALLBACK = 8192;
1286
+ declare const HUGGINGFACE_DEFAULT_CONTEXT_WINDOW = 128000;
1287
+ declare const HUGGINGFACE_SLIDER_STEP = 256;
1288
+ declare const HUGGINGFACE_SLIDER_MIN = 1;
1289
+ declare const HUGGINGFACE_TEMPERATURE_MAX_VALUE = 2;
1290
+ declare const HUGGINGFACE_API_URL = "https://router.huggingface.co/v1/models?collection=roocode";
1291
+ declare const HUGGINGFACE_CACHE_DURATION: number;
1292
+
1272
1293
  declare const litellmDefaultModelId = "claude-3-7-sonnet-20250219";
1273
1294
  declare const litellmDefaultModelInfo: ModelInfo;
1274
1295
  declare const LITELLM_COMPUTER_USE_MODELS: Set<string>;
@@ -2352,6 +2373,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2352
2373
  awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
2353
2374
  awsProfile: z.ZodOptional<z.ZodString>;
2354
2375
  awsUseProfile: z.ZodOptional<z.ZodBoolean>;
2376
+ awsApiKey: z.ZodOptional<z.ZodString>;
2377
+ awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
2355
2378
  awsCustomArn: z.ZodOptional<z.ZodString>;
2356
2379
  awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
2357
2380
  awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -2380,6 +2403,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2380
2403
  awsUsePromptCache?: boolean | undefined;
2381
2404
  awsProfile?: string | undefined;
2382
2405
  awsUseProfile?: boolean | undefined;
2406
+ awsApiKey?: string | undefined;
2407
+ awsUseApiKey?: boolean | undefined;
2383
2408
  awsCustomArn?: string | undefined;
2384
2409
  awsModelContextWindow?: number | undefined;
2385
2410
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -2406,6 +2431,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2406
2431
  awsUsePromptCache?: boolean | undefined;
2407
2432
  awsProfile?: string | undefined;
2408
2433
  awsUseProfile?: boolean | undefined;
2434
+ awsApiKey?: string | undefined;
2435
+ awsUseApiKey?: boolean | undefined;
2409
2436
  awsCustomArn?: string | undefined;
2410
2437
  awsModelContextWindow?: number | undefined;
2411
2438
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -2874,6 +2901,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2874
2901
  } & {
2875
2902
  geminiApiKey: z.ZodOptional<z.ZodString>;
2876
2903
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
2904
+ enableUrlContext: z.ZodOptional<z.ZodBoolean>;
2905
+ enableGrounding: z.ZodOptional<z.ZodBoolean>;
2877
2906
  } & {
2878
2907
  apiProvider: z.ZodLiteral<"gemini">;
2879
2908
  }, "strip", z.ZodTypeAny, {
@@ -2892,6 +2921,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2892
2921
  apiModelId?: string | undefined;
2893
2922
  geminiApiKey?: string | undefined;
2894
2923
  googleGeminiBaseUrl?: string | undefined;
2924
+ enableUrlContext?: boolean | undefined;
2925
+ enableGrounding?: boolean | undefined;
2895
2926
  }, {
2896
2927
  apiProvider: "gemini";
2897
2928
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -2908,6 +2939,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2908
2939
  apiModelId?: string | undefined;
2909
2940
  geminiApiKey?: string | undefined;
2910
2941
  googleGeminiBaseUrl?: string | undefined;
2942
+ enableUrlContext?: boolean | undefined;
2943
+ enableGrounding?: boolean | undefined;
2911
2944
  }>, z.ZodObject<{
2912
2945
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
2913
2946
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3551,6 +3584,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
3551
3584
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
3552
3585
  litellmApiKey: z.ZodOptional<z.ZodString>;
3553
3586
  litellmModelId: z.ZodOptional<z.ZodString>;
3587
+ litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
3554
3588
  } & {
3555
3589
  apiProvider: z.ZodLiteral<"litellm">;
3556
3590
  }, "strip", z.ZodTypeAny, {
@@ -3569,6 +3603,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
3569
3603
  litellmBaseUrl?: string | undefined;
3570
3604
  litellmApiKey?: string | undefined;
3571
3605
  litellmModelId?: string | undefined;
3606
+ litellmUsePromptCache?: boolean | undefined;
3572
3607
  }, {
3573
3608
  apiProvider: "litellm";
3574
3609
  reasoningEffort?: "low" | "medium" | "high" | undefined;
@@ -3585,6 +3620,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
3585
3620
  litellmBaseUrl?: string | undefined;
3586
3621
  litellmApiKey?: string | undefined;
3587
3622
  litellmModelId?: string | undefined;
3623
+ litellmUsePromptCache?: boolean | undefined;
3588
3624
  }>, z.ZodObject<{
3589
3625
  apiProvider: z.ZodUndefined;
3590
3626
  }, "strip", z.ZodTypeAny, {
@@ -3614,6 +3650,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3614
3650
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
3615
3651
  litellmApiKey: z.ZodOptional<z.ZodString>;
3616
3652
  litellmModelId: z.ZodOptional<z.ZodString>;
3653
+ litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
3617
3654
  apiModelId: z.ZodOptional<z.ZodString>;
3618
3655
  chutesApiKey: z.ZodOptional<z.ZodString>;
3619
3656
  huggingFaceApiKey: z.ZodOptional<z.ZodString>;
@@ -3638,6 +3675,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3638
3675
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
3639
3676
  geminiApiKey: z.ZodOptional<z.ZodString>;
3640
3677
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
3678
+ enableUrlContext: z.ZodOptional<z.ZodBoolean>;
3679
+ enableGrounding: z.ZodOptional<z.ZodBoolean>;
3641
3680
  lmStudioModelId: z.ZodOptional<z.ZodString>;
3642
3681
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
3643
3682
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -3776,6 +3815,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3776
3815
  awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
3777
3816
  awsProfile: z.ZodOptional<z.ZodString>;
3778
3817
  awsUseProfile: z.ZodOptional<z.ZodBoolean>;
3818
+ awsApiKey: z.ZodOptional<z.ZodString>;
3819
+ awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
3779
3820
  awsCustomArn: z.ZodOptional<z.ZodString>;
3780
3821
  awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
3781
3822
  awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3834,6 +3875,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3834
3875
  awsUsePromptCache?: boolean | undefined;
3835
3876
  awsProfile?: string | undefined;
3836
3877
  awsUseProfile?: boolean | undefined;
3878
+ awsApiKey?: string | undefined;
3879
+ awsUseApiKey?: boolean | undefined;
3837
3880
  awsCustomArn?: string | undefined;
3838
3881
  awsModelContextWindow?: number | undefined;
3839
3882
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -3894,6 +3937,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3894
3937
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
3895
3938
  geminiApiKey?: string | undefined;
3896
3939
  googleGeminiBaseUrl?: string | undefined;
3940
+ enableUrlContext?: boolean | undefined;
3941
+ enableGrounding?: boolean | undefined;
3897
3942
  geminiCliOAuthPath?: string | undefined;
3898
3943
  geminiCliProjectId?: string | undefined;
3899
3944
  openAiNativeApiKey?: string | undefined;
@@ -3918,6 +3963,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3918
3963
  litellmBaseUrl?: string | undefined;
3919
3964
  litellmApiKey?: string | undefined;
3920
3965
  litellmModelId?: string | undefined;
3966
+ litellmUsePromptCache?: boolean | undefined;
3921
3967
  }, {
3922
3968
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3923
3969
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -3959,6 +4005,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3959
4005
  awsUsePromptCache?: boolean | undefined;
3960
4006
  awsProfile?: string | undefined;
3961
4007
  awsUseProfile?: boolean | undefined;
4008
+ awsApiKey?: string | undefined;
4009
+ awsUseApiKey?: boolean | undefined;
3962
4010
  awsCustomArn?: string | undefined;
3963
4011
  awsModelContextWindow?: number | undefined;
3964
4012
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -4019,6 +4067,8 @@ declare const providerSettingsSchema: z.ZodObject<{
4019
4067
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
4020
4068
  geminiApiKey?: string | undefined;
4021
4069
  googleGeminiBaseUrl?: string | undefined;
4070
+ enableUrlContext?: boolean | undefined;
4071
+ enableGrounding?: boolean | undefined;
4022
4072
  geminiCliOAuthPath?: string | undefined;
4023
4073
  geminiCliProjectId?: string | undefined;
4024
4074
  openAiNativeApiKey?: string | undefined;
@@ -4043,9 +4093,10 @@ declare const providerSettingsSchema: z.ZodObject<{
4043
4093
  litellmBaseUrl?: string | undefined;
4044
4094
  litellmApiKey?: string | undefined;
4045
4095
  litellmModelId?: string | undefined;
4096
+ litellmUsePromptCache?: boolean | undefined;
4046
4097
  }>;
4047
4098
  type ProviderSettings = z.infer<typeof providerSettingsSchema>;
4048
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
4099
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "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", "enableUrlContext", "enableGrounding", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache"];
4049
4100
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
4050
4101
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
4051
4102
  declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
@@ -4096,6 +4147,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4096
4147
  totalCost: z.ZodNumber;
4097
4148
  size: z.ZodOptional<z.ZodNumber>;
4098
4149
  workspace: z.ZodOptional<z.ZodString>;
4150
+ mode: z.ZodOptional<z.ZodString>;
4099
4151
  }, "strip", z.ZodTypeAny, {
4100
4152
  number: number;
4101
4153
  id: string;
@@ -4108,6 +4160,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4108
4160
  cacheReads?: number | undefined;
4109
4161
  size?: number | undefined;
4110
4162
  workspace?: string | undefined;
4163
+ mode?: string | undefined;
4111
4164
  }, {
4112
4165
  number: number;
4113
4166
  id: string;
@@ -4120,6 +4173,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4120
4173
  cacheReads?: number | undefined;
4121
4174
  size?: number | undefined;
4122
4175
  workspace?: string | undefined;
4176
+ mode?: string | undefined;
4123
4177
  }>, "many">>;
4124
4178
  condensingApiConfigId: z.ZodOptional<z.ZodString>;
4125
4179
  customCondensingPrompt: z.ZodOptional<z.ZodString>;
@@ -4174,6 +4228,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4174
4228
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
4175
4229
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
4176
4230
  maxReadFileLine: z.ZodOptional<z.ZodNumber>;
4231
+ maxImageFileSize: z.ZodOptional<z.ZodNumber>;
4232
+ maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
4177
4233
  terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
4178
4234
  terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
4179
4235
  terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
@@ -4192,12 +4248,15 @@ declare const globalSettingsSchema: z.ZodObject<{
4192
4248
  experiments: z.ZodOptional<z.ZodObject<{
4193
4249
  powerSteering: z.ZodOptional<z.ZodBoolean>;
4194
4250
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
4251
+ preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
4195
4252
  }, "strip", z.ZodTypeAny, {
4196
4253
  powerSteering?: boolean | undefined;
4197
4254
  multiFileApplyDiff?: boolean | undefined;
4255
+ preventFocusDisruption?: boolean | undefined;
4198
4256
  }, {
4199
4257
  powerSteering?: boolean | undefined;
4200
4258
  multiFileApplyDiff?: boolean | undefined;
4259
+ preventFocusDisruption?: boolean | undefined;
4201
4260
  }>>;
4202
4261
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
4203
4262
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4384,8 +4443,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4384
4443
  diffEnabled?: boolean | undefined;
4385
4444
  fuzzyMatchThreshold?: number | undefined;
4386
4445
  rateLimitSeconds?: number | undefined;
4387
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
4388
4446
  mode?: string | undefined;
4447
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
4389
4448
  customInstructions?: string | undefined;
4390
4449
  customModes?: {
4391
4450
  name: string;
@@ -4420,6 +4479,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4420
4479
  cacheReads?: number | undefined;
4421
4480
  size?: number | undefined;
4422
4481
  workspace?: string | undefined;
4482
+ mode?: string | undefined;
4423
4483
  }[] | undefined;
4424
4484
  condensingApiConfigId?: string | undefined;
4425
4485
  customCondensingPrompt?: string | undefined;
@@ -4466,6 +4526,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4466
4526
  maxWorkspaceFiles?: number | undefined;
4467
4527
  showRooIgnoredFiles?: boolean | undefined;
4468
4528
  maxReadFileLine?: number | undefined;
4529
+ maxImageFileSize?: number | undefined;
4530
+ maxTotalImageSize?: number | undefined;
4469
4531
  terminalOutputLineLimit?: number | undefined;
4470
4532
  terminalOutputCharacterLimit?: number | undefined;
4471
4533
  terminalShellIntegrationTimeout?: number | undefined;
@@ -4481,6 +4543,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4481
4543
  experiments?: {
4482
4544
  powerSteering?: boolean | undefined;
4483
4545
  multiFileApplyDiff?: boolean | undefined;
4546
+ preventFocusDisruption?: boolean | undefined;
4484
4547
  } | undefined;
4485
4548
  codebaseIndexModels?: {
4486
4549
  openai?: Record<string, {
@@ -4532,8 +4595,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4532
4595
  diffEnabled?: boolean | undefined;
4533
4596
  fuzzyMatchThreshold?: number | undefined;
4534
4597
  rateLimitSeconds?: number | undefined;
4535
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
4536
4598
  mode?: string | undefined;
4599
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
4537
4600
  customInstructions?: string | undefined;
4538
4601
  customModes?: {
4539
4602
  name: string;
@@ -4568,6 +4631,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4568
4631
  cacheReads?: number | undefined;
4569
4632
  size?: number | undefined;
4570
4633
  workspace?: string | undefined;
4634
+ mode?: string | undefined;
4571
4635
  }[] | undefined;
4572
4636
  condensingApiConfigId?: string | undefined;
4573
4637
  customCondensingPrompt?: string | undefined;
@@ -4614,6 +4678,8 @@ declare const globalSettingsSchema: z.ZodObject<{
4614
4678
  maxWorkspaceFiles?: number | undefined;
4615
4679
  showRooIgnoredFiles?: boolean | undefined;
4616
4680
  maxReadFileLine?: number | undefined;
4681
+ maxImageFileSize?: number | undefined;
4682
+ maxTotalImageSize?: number | undefined;
4617
4683
  terminalOutputLineLimit?: number | undefined;
4618
4684
  terminalOutputCharacterLimit?: number | undefined;
4619
4685
  terminalShellIntegrationTimeout?: number | undefined;
@@ -4629,6 +4695,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4629
4695
  experiments?: {
4630
4696
  powerSteering?: boolean | undefined;
4631
4697
  multiFileApplyDiff?: boolean | undefined;
4698
+ preventFocusDisruption?: boolean | undefined;
4632
4699
  } | undefined;
4633
4700
  codebaseIndexModels?: {
4634
4701
  openai?: Record<string, {
@@ -4678,7 +4745,7 @@ declare const globalSettingsSchema: z.ZodObject<{
4678
4745
  lastModeImportPath?: string | undefined;
4679
4746
  }>;
4680
4747
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
4681
- declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
4748
+ declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "mode", "language", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "maxImageFileSize", "maxTotalImageSize", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
4682
4749
  /**
4683
4750
  * RooCodeSettings
4684
4751
  */
@@ -4701,6 +4768,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4701
4768
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
4702
4769
  litellmApiKey: z.ZodOptional<z.ZodString>;
4703
4770
  litellmModelId: z.ZodOptional<z.ZodString>;
4771
+ litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
4704
4772
  apiModelId: z.ZodOptional<z.ZodString>;
4705
4773
  chutesApiKey: z.ZodOptional<z.ZodString>;
4706
4774
  huggingFaceApiKey: z.ZodOptional<z.ZodString>;
@@ -4725,6 +4793,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4725
4793
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
4726
4794
  geminiApiKey: z.ZodOptional<z.ZodString>;
4727
4795
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
4796
+ enableUrlContext: z.ZodOptional<z.ZodBoolean>;
4797
+ enableGrounding: z.ZodOptional<z.ZodBoolean>;
4728
4798
  lmStudioModelId: z.ZodOptional<z.ZodString>;
4729
4799
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
4730
4800
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -4863,6 +4933,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4863
4933
  awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
4864
4934
  awsProfile: z.ZodOptional<z.ZodString>;
4865
4935
  awsUseProfile: z.ZodOptional<z.ZodBoolean>;
4936
+ awsApiKey: z.ZodOptional<z.ZodString>;
4937
+ awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
4866
4938
  awsCustomArn: z.ZodOptional<z.ZodString>;
4867
4939
  awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
4868
4940
  awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -4910,6 +4982,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4910
4982
  totalCost: z.ZodNumber;
4911
4983
  size: z.ZodOptional<z.ZodNumber>;
4912
4984
  workspace: z.ZodOptional<z.ZodString>;
4985
+ mode: z.ZodOptional<z.ZodString>;
4913
4986
  }, "strip", z.ZodTypeAny, {
4914
4987
  number: number;
4915
4988
  id: string;
@@ -4922,6 +4995,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4922
4995
  cacheReads?: number | undefined;
4923
4996
  size?: number | undefined;
4924
4997
  workspace?: string | undefined;
4998
+ mode?: string | undefined;
4925
4999
  }, {
4926
5000
  number: number;
4927
5001
  id: string;
@@ -4934,6 +5008,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4934
5008
  cacheReads?: number | undefined;
4935
5009
  size?: number | undefined;
4936
5010
  workspace?: string | undefined;
5011
+ mode?: string | undefined;
4937
5012
  }>, "many">>;
4938
5013
  condensingApiConfigId: z.ZodOptional<z.ZodString>;
4939
5014
  customCondensingPrompt: z.ZodOptional<z.ZodString>;
@@ -4980,6 +5055,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4980
5055
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
4981
5056
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
4982
5057
  maxReadFileLine: z.ZodOptional<z.ZodNumber>;
5058
+ maxImageFileSize: z.ZodOptional<z.ZodNumber>;
5059
+ maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
4983
5060
  terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
4984
5061
  terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
4985
5062
  terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
@@ -4998,12 +5075,15 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
4998
5075
  experiments: z.ZodOptional<z.ZodObject<{
4999
5076
  powerSteering: z.ZodOptional<z.ZodBoolean>;
5000
5077
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
5078
+ preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
5001
5079
  }, "strip", z.ZodTypeAny, {
5002
5080
  powerSteering?: boolean | undefined;
5003
5081
  multiFileApplyDiff?: boolean | undefined;
5082
+ preventFocusDisruption?: boolean | undefined;
5004
5083
  }, {
5005
5084
  powerSteering?: boolean | undefined;
5006
5085
  multiFileApplyDiff?: boolean | undefined;
5086
+ preventFocusDisruption?: boolean | undefined;
5007
5087
  }>>;
5008
5088
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
5009
5089
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5227,6 +5307,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5227
5307
  awsUsePromptCache?: boolean | undefined;
5228
5308
  awsProfile?: string | undefined;
5229
5309
  awsUseProfile?: boolean | undefined;
5310
+ awsApiKey?: string | undefined;
5311
+ awsUseApiKey?: boolean | undefined;
5230
5312
  awsCustomArn?: string | undefined;
5231
5313
  awsModelContextWindow?: number | undefined;
5232
5314
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -5287,6 +5369,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5287
5369
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
5288
5370
  geminiApiKey?: string | undefined;
5289
5371
  googleGeminiBaseUrl?: string | undefined;
5372
+ enableUrlContext?: boolean | undefined;
5373
+ enableGrounding?: boolean | undefined;
5290
5374
  geminiCliOAuthPath?: string | undefined;
5291
5375
  geminiCliProjectId?: string | undefined;
5292
5376
  openAiNativeApiKey?: string | undefined;
@@ -5311,8 +5395,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5311
5395
  litellmBaseUrl?: string | undefined;
5312
5396
  litellmApiKey?: string | undefined;
5313
5397
  litellmModelId?: string | undefined;
5314
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
5398
+ litellmUsePromptCache?: boolean | undefined;
5315
5399
  mode?: string | undefined;
5400
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
5316
5401
  customInstructions?: string | undefined;
5317
5402
  customModes?: {
5318
5403
  name: string;
@@ -5347,6 +5432,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5347
5432
  cacheReads?: number | undefined;
5348
5433
  size?: number | undefined;
5349
5434
  workspace?: string | undefined;
5435
+ mode?: string | undefined;
5350
5436
  }[] | undefined;
5351
5437
  condensingApiConfigId?: string | undefined;
5352
5438
  customCondensingPrompt?: string | undefined;
@@ -5393,6 +5479,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5393
5479
  maxWorkspaceFiles?: number | undefined;
5394
5480
  showRooIgnoredFiles?: boolean | undefined;
5395
5481
  maxReadFileLine?: number | undefined;
5482
+ maxImageFileSize?: number | undefined;
5483
+ maxTotalImageSize?: number | undefined;
5396
5484
  terminalOutputLineLimit?: number | undefined;
5397
5485
  terminalOutputCharacterLimit?: number | undefined;
5398
5486
  terminalShellIntegrationTimeout?: number | undefined;
@@ -5408,6 +5496,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5408
5496
  experiments?: {
5409
5497
  powerSteering?: boolean | undefined;
5410
5498
  multiFileApplyDiff?: boolean | undefined;
5499
+ preventFocusDisruption?: boolean | undefined;
5411
5500
  } | undefined;
5412
5501
  codebaseIndexModels?: {
5413
5502
  openai?: Record<string, {
@@ -5496,6 +5585,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5496
5585
  awsUsePromptCache?: boolean | undefined;
5497
5586
  awsProfile?: string | undefined;
5498
5587
  awsUseProfile?: boolean | undefined;
5588
+ awsApiKey?: string | undefined;
5589
+ awsUseApiKey?: boolean | undefined;
5499
5590
  awsCustomArn?: string | undefined;
5500
5591
  awsModelContextWindow?: number | undefined;
5501
5592
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -5556,6 +5647,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5556
5647
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
5557
5648
  geminiApiKey?: string | undefined;
5558
5649
  googleGeminiBaseUrl?: string | undefined;
5650
+ enableUrlContext?: boolean | undefined;
5651
+ enableGrounding?: boolean | undefined;
5559
5652
  geminiCliOAuthPath?: string | undefined;
5560
5653
  geminiCliProjectId?: string | undefined;
5561
5654
  openAiNativeApiKey?: string | undefined;
@@ -5580,8 +5673,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5580
5673
  litellmBaseUrl?: string | undefined;
5581
5674
  litellmApiKey?: string | undefined;
5582
5675
  litellmModelId?: string | undefined;
5583
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
5676
+ litellmUsePromptCache?: boolean | undefined;
5584
5677
  mode?: string | undefined;
5678
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
5585
5679
  customInstructions?: string | undefined;
5586
5680
  customModes?: {
5587
5681
  name: string;
@@ -5616,6 +5710,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5616
5710
  cacheReads?: number | undefined;
5617
5711
  size?: number | undefined;
5618
5712
  workspace?: string | undefined;
5713
+ mode?: string | undefined;
5619
5714
  }[] | undefined;
5620
5715
  condensingApiConfigId?: string | undefined;
5621
5716
  customCondensingPrompt?: string | undefined;
@@ -5662,6 +5757,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5662
5757
  maxWorkspaceFiles?: number | undefined;
5663
5758
  showRooIgnoredFiles?: boolean | undefined;
5664
5759
  maxReadFileLine?: number | undefined;
5760
+ maxImageFileSize?: number | undefined;
5761
+ maxTotalImageSize?: number | undefined;
5665
5762
  terminalOutputLineLimit?: number | undefined;
5666
5763
  terminalOutputCharacterLimit?: number | undefined;
5667
5764
  terminalShellIntegrationTimeout?: number | undefined;
@@ -5677,6 +5774,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5677
5774
  experiments?: {
5678
5775
  powerSteering?: boolean | undefined;
5679
5776
  multiFileApplyDiff?: boolean | undefined;
5777
+ preventFocusDisruption?: boolean | undefined;
5680
5778
  } | undefined;
5681
5779
  codebaseIndexModels?: {
5682
5780
  openai?: Record<string, {
@@ -5729,7 +5827,7 @@ type RooCodeSettings = GlobalSettings & ProviderSettings;
5729
5827
  /**
5730
5828
  * SecretState
5731
5829
  */
5732
- declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "moonshotApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "huggingFaceApiKey"];
5830
+ declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsApiKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "moonshotApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "huggingFaceApiKey"];
5733
5831
  type SecretState = Pick<ProviderSettings, (typeof SECRET_STATE_KEYS)[number]>;
5734
5832
  declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
5735
5833
  /**
@@ -5960,6 +6058,20 @@ declare const tokenUsageSchema: z.ZodObject<{
5960
6058
  totalCacheReads?: number | undefined;
5961
6059
  }>;
5962
6060
  type TokenUsage = z.infer<typeof tokenUsageSchema>;
6061
+ /**
6062
+ * QueuedMessage
6063
+ */
6064
+ /**
6065
+ * Represents a message that is queued to be sent when sending is enabled
6066
+ */
6067
+ interface QueuedMessage {
6068
+ /** Unique identifier for the queued message */
6069
+ id: string;
6070
+ /** The text content of the message */
6071
+ text: string;
6072
+ /** Array of image data URLs attached to the message */
6073
+ images: string[];
6074
+ }
5963
6075
 
5964
6076
  /**
5965
6077
  * ToolGroup
@@ -6398,6 +6510,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6398
6510
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
6399
6511
  litellmApiKey: z.ZodOptional<z.ZodString>;
6400
6512
  litellmModelId: z.ZodOptional<z.ZodString>;
6513
+ litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
6401
6514
  apiModelId: z.ZodOptional<z.ZodString>;
6402
6515
  chutesApiKey: z.ZodOptional<z.ZodString>;
6403
6516
  huggingFaceApiKey: z.ZodOptional<z.ZodString>;
@@ -6422,6 +6535,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6422
6535
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
6423
6536
  geminiApiKey: z.ZodOptional<z.ZodString>;
6424
6537
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
6538
+ enableUrlContext: z.ZodOptional<z.ZodBoolean>;
6539
+ enableGrounding: z.ZodOptional<z.ZodBoolean>;
6425
6540
  lmStudioModelId: z.ZodOptional<z.ZodString>;
6426
6541
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
6427
6542
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -6560,6 +6675,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6560
6675
  awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
6561
6676
  awsProfile: z.ZodOptional<z.ZodString>;
6562
6677
  awsUseProfile: z.ZodOptional<z.ZodBoolean>;
6678
+ awsApiKey: z.ZodOptional<z.ZodString>;
6679
+ awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
6563
6680
  awsCustomArn: z.ZodOptional<z.ZodString>;
6564
6681
  awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
6565
6682
  awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -6607,6 +6724,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6607
6724
  totalCost: z.ZodNumber;
6608
6725
  size: z.ZodOptional<z.ZodNumber>;
6609
6726
  workspace: z.ZodOptional<z.ZodString>;
6727
+ mode: z.ZodOptional<z.ZodString>;
6610
6728
  }, "strip", z.ZodTypeAny, {
6611
6729
  number: number;
6612
6730
  id: string;
@@ -6619,6 +6737,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6619
6737
  cacheReads?: number | undefined;
6620
6738
  size?: number | undefined;
6621
6739
  workspace?: string | undefined;
6740
+ mode?: string | undefined;
6622
6741
  }, {
6623
6742
  number: number;
6624
6743
  id: string;
@@ -6631,6 +6750,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6631
6750
  cacheReads?: number | undefined;
6632
6751
  size?: number | undefined;
6633
6752
  workspace?: string | undefined;
6753
+ mode?: string | undefined;
6634
6754
  }>, "many">>;
6635
6755
  condensingApiConfigId: z.ZodOptional<z.ZodString>;
6636
6756
  customCondensingPrompt: z.ZodOptional<z.ZodString>;
@@ -6677,6 +6797,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6677
6797
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
6678
6798
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
6679
6799
  maxReadFileLine: z.ZodOptional<z.ZodNumber>;
6800
+ maxImageFileSize: z.ZodOptional<z.ZodNumber>;
6801
+ maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
6680
6802
  terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
6681
6803
  terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
6682
6804
  terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
@@ -6695,12 +6817,15 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6695
6817
  experiments: z.ZodOptional<z.ZodObject<{
6696
6818
  powerSteering: z.ZodOptional<z.ZodBoolean>;
6697
6819
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
6820
+ preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
6698
6821
  }, "strip", z.ZodTypeAny, {
6699
6822
  powerSteering?: boolean | undefined;
6700
6823
  multiFileApplyDiff?: boolean | undefined;
6824
+ preventFocusDisruption?: boolean | undefined;
6701
6825
  }, {
6702
6826
  powerSteering?: boolean | undefined;
6703
6827
  multiFileApplyDiff?: boolean | undefined;
6828
+ preventFocusDisruption?: boolean | undefined;
6704
6829
  }>>;
6705
6830
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
6706
6831
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6924,6 +7049,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6924
7049
  awsUsePromptCache?: boolean | undefined;
6925
7050
  awsProfile?: string | undefined;
6926
7051
  awsUseProfile?: boolean | undefined;
7052
+ awsApiKey?: string | undefined;
7053
+ awsUseApiKey?: boolean | undefined;
6927
7054
  awsCustomArn?: string | undefined;
6928
7055
  awsModelContextWindow?: number | undefined;
6929
7056
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -6984,6 +7111,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6984
7111
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
6985
7112
  geminiApiKey?: string | undefined;
6986
7113
  googleGeminiBaseUrl?: string | undefined;
7114
+ enableUrlContext?: boolean | undefined;
7115
+ enableGrounding?: boolean | undefined;
6987
7116
  geminiCliOAuthPath?: string | undefined;
6988
7117
  geminiCliProjectId?: string | undefined;
6989
7118
  openAiNativeApiKey?: string | undefined;
@@ -7008,8 +7137,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7008
7137
  litellmBaseUrl?: string | undefined;
7009
7138
  litellmApiKey?: string | undefined;
7010
7139
  litellmModelId?: string | undefined;
7011
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7140
+ litellmUsePromptCache?: boolean | undefined;
7012
7141
  mode?: string | undefined;
7142
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7013
7143
  customInstructions?: string | undefined;
7014
7144
  customModes?: {
7015
7145
  name: string;
@@ -7044,6 +7174,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7044
7174
  cacheReads?: number | undefined;
7045
7175
  size?: number | undefined;
7046
7176
  workspace?: string | undefined;
7177
+ mode?: string | undefined;
7047
7178
  }[] | undefined;
7048
7179
  condensingApiConfigId?: string | undefined;
7049
7180
  customCondensingPrompt?: string | undefined;
@@ -7090,6 +7221,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7090
7221
  maxWorkspaceFiles?: number | undefined;
7091
7222
  showRooIgnoredFiles?: boolean | undefined;
7092
7223
  maxReadFileLine?: number | undefined;
7224
+ maxImageFileSize?: number | undefined;
7225
+ maxTotalImageSize?: number | undefined;
7093
7226
  terminalOutputLineLimit?: number | undefined;
7094
7227
  terminalOutputCharacterLimit?: number | undefined;
7095
7228
  terminalShellIntegrationTimeout?: number | undefined;
@@ -7105,6 +7238,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7105
7238
  experiments?: {
7106
7239
  powerSteering?: boolean | undefined;
7107
7240
  multiFileApplyDiff?: boolean | undefined;
7241
+ preventFocusDisruption?: boolean | undefined;
7108
7242
  } | undefined;
7109
7243
  codebaseIndexModels?: {
7110
7244
  openai?: Record<string, {
@@ -7193,6 +7327,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7193
7327
  awsUsePromptCache?: boolean | undefined;
7194
7328
  awsProfile?: string | undefined;
7195
7329
  awsUseProfile?: boolean | undefined;
7330
+ awsApiKey?: string | undefined;
7331
+ awsUseApiKey?: boolean | undefined;
7196
7332
  awsCustomArn?: string | undefined;
7197
7333
  awsModelContextWindow?: number | undefined;
7198
7334
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -7253,6 +7389,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7253
7389
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
7254
7390
  geminiApiKey?: string | undefined;
7255
7391
  googleGeminiBaseUrl?: string | undefined;
7392
+ enableUrlContext?: boolean | undefined;
7393
+ enableGrounding?: boolean | undefined;
7256
7394
  geminiCliOAuthPath?: string | undefined;
7257
7395
  geminiCliProjectId?: string | undefined;
7258
7396
  openAiNativeApiKey?: string | undefined;
@@ -7277,8 +7415,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7277
7415
  litellmBaseUrl?: string | undefined;
7278
7416
  litellmApiKey?: string | undefined;
7279
7417
  litellmModelId?: string | undefined;
7280
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7418
+ litellmUsePromptCache?: boolean | undefined;
7281
7419
  mode?: string | undefined;
7420
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7282
7421
  customInstructions?: string | undefined;
7283
7422
  customModes?: {
7284
7423
  name: string;
@@ -7313,6 +7452,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7313
7452
  cacheReads?: number | undefined;
7314
7453
  size?: number | undefined;
7315
7454
  workspace?: string | undefined;
7455
+ mode?: string | undefined;
7316
7456
  }[] | undefined;
7317
7457
  condensingApiConfigId?: string | undefined;
7318
7458
  customCondensingPrompt?: string | undefined;
@@ -7359,6 +7499,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7359
7499
  maxWorkspaceFiles?: number | undefined;
7360
7500
  showRooIgnoredFiles?: boolean | undefined;
7361
7501
  maxReadFileLine?: number | undefined;
7502
+ maxImageFileSize?: number | undefined;
7503
+ maxTotalImageSize?: number | undefined;
7362
7504
  terminalOutputLineLimit?: number | undefined;
7363
7505
  terminalOutputCharacterLimit?: number | undefined;
7364
7506
  terminalShellIntegrationTimeout?: number | undefined;
@@ -7374,6 +7516,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7374
7516
  experiments?: {
7375
7517
  powerSteering?: boolean | undefined;
7376
7518
  multiFileApplyDiff?: boolean | undefined;
7519
+ preventFocusDisruption?: boolean | undefined;
7377
7520
  } | undefined;
7378
7521
  codebaseIndexModels?: {
7379
7522
  openai?: Record<string, {
@@ -7468,6 +7611,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7468
7611
  awsUsePromptCache?: boolean | undefined;
7469
7612
  awsProfile?: string | undefined;
7470
7613
  awsUseProfile?: boolean | undefined;
7614
+ awsApiKey?: string | undefined;
7615
+ awsUseApiKey?: boolean | undefined;
7471
7616
  awsCustomArn?: string | undefined;
7472
7617
  awsModelContextWindow?: number | undefined;
7473
7618
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -7528,6 +7673,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7528
7673
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
7529
7674
  geminiApiKey?: string | undefined;
7530
7675
  googleGeminiBaseUrl?: string | undefined;
7676
+ enableUrlContext?: boolean | undefined;
7677
+ enableGrounding?: boolean | undefined;
7531
7678
  geminiCliOAuthPath?: string | undefined;
7532
7679
  geminiCliProjectId?: string | undefined;
7533
7680
  openAiNativeApiKey?: string | undefined;
@@ -7552,8 +7699,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7552
7699
  litellmBaseUrl?: string | undefined;
7553
7700
  litellmApiKey?: string | undefined;
7554
7701
  litellmModelId?: string | undefined;
7555
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7702
+ litellmUsePromptCache?: boolean | undefined;
7556
7703
  mode?: string | undefined;
7704
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7557
7705
  customInstructions?: string | undefined;
7558
7706
  customModes?: {
7559
7707
  name: string;
@@ -7588,6 +7736,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7588
7736
  cacheReads?: number | undefined;
7589
7737
  size?: number | undefined;
7590
7738
  workspace?: string | undefined;
7739
+ mode?: string | undefined;
7591
7740
  }[] | undefined;
7592
7741
  condensingApiConfigId?: string | undefined;
7593
7742
  customCondensingPrompt?: string | undefined;
@@ -7634,6 +7783,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7634
7783
  maxWorkspaceFiles?: number | undefined;
7635
7784
  showRooIgnoredFiles?: boolean | undefined;
7636
7785
  maxReadFileLine?: number | undefined;
7786
+ maxImageFileSize?: number | undefined;
7787
+ maxTotalImageSize?: number | undefined;
7637
7788
  terminalOutputLineLimit?: number | undefined;
7638
7789
  terminalOutputCharacterLimit?: number | undefined;
7639
7790
  terminalShellIntegrationTimeout?: number | undefined;
@@ -7649,6 +7800,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7649
7800
  experiments?: {
7650
7801
  powerSteering?: boolean | undefined;
7651
7802
  multiFileApplyDiff?: boolean | undefined;
7803
+ preventFocusDisruption?: boolean | undefined;
7652
7804
  } | undefined;
7653
7805
  codebaseIndexModels?: {
7654
7806
  openai?: Record<string, {
@@ -7742,6 +7894,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7742
7894
  awsUsePromptCache?: boolean | undefined;
7743
7895
  awsProfile?: string | undefined;
7744
7896
  awsUseProfile?: boolean | undefined;
7897
+ awsApiKey?: string | undefined;
7898
+ awsUseApiKey?: boolean | undefined;
7745
7899
  awsCustomArn?: string | undefined;
7746
7900
  awsModelContextWindow?: number | undefined;
7747
7901
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -7802,6 +7956,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7802
7956
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
7803
7957
  geminiApiKey?: string | undefined;
7804
7958
  googleGeminiBaseUrl?: string | undefined;
7959
+ enableUrlContext?: boolean | undefined;
7960
+ enableGrounding?: boolean | undefined;
7805
7961
  geminiCliOAuthPath?: string | undefined;
7806
7962
  geminiCliProjectId?: string | undefined;
7807
7963
  openAiNativeApiKey?: string | undefined;
@@ -7826,8 +7982,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7826
7982
  litellmBaseUrl?: string | undefined;
7827
7983
  litellmApiKey?: string | undefined;
7828
7984
  litellmModelId?: string | undefined;
7829
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7985
+ litellmUsePromptCache?: boolean | undefined;
7830
7986
  mode?: string | undefined;
7987
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7831
7988
  customInstructions?: string | undefined;
7832
7989
  customModes?: {
7833
7990
  name: string;
@@ -7862,6 +8019,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7862
8019
  cacheReads?: number | undefined;
7863
8020
  size?: number | undefined;
7864
8021
  workspace?: string | undefined;
8022
+ mode?: string | undefined;
7865
8023
  }[] | undefined;
7866
8024
  condensingApiConfigId?: string | undefined;
7867
8025
  customCondensingPrompt?: string | undefined;
@@ -7908,6 +8066,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7908
8066
  maxWorkspaceFiles?: number | undefined;
7909
8067
  showRooIgnoredFiles?: boolean | undefined;
7910
8068
  maxReadFileLine?: number | undefined;
8069
+ maxImageFileSize?: number | undefined;
8070
+ maxTotalImageSize?: number | undefined;
7911
8071
  terminalOutputLineLimit?: number | undefined;
7912
8072
  terminalOutputCharacterLimit?: number | undefined;
7913
8073
  terminalShellIntegrationTimeout?: number | undefined;
@@ -7923,6 +8083,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7923
8083
  experiments?: {
7924
8084
  powerSteering?: boolean | undefined;
7925
8085
  multiFileApplyDiff?: boolean | undefined;
8086
+ preventFocusDisruption?: boolean | undefined;
7926
8087
  } | undefined;
7927
8088
  codebaseIndexModels?: {
7928
8089
  openai?: Record<string, {
@@ -8019,6 +8180,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8019
8180
  awsUsePromptCache?: boolean | undefined;
8020
8181
  awsProfile?: string | undefined;
8021
8182
  awsUseProfile?: boolean | undefined;
8183
+ awsApiKey?: string | undefined;
8184
+ awsUseApiKey?: boolean | undefined;
8022
8185
  awsCustomArn?: string | undefined;
8023
8186
  awsModelContextWindow?: number | undefined;
8024
8187
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -8079,6 +8242,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8079
8242
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
8080
8243
  geminiApiKey?: string | undefined;
8081
8244
  googleGeminiBaseUrl?: string | undefined;
8245
+ enableUrlContext?: boolean | undefined;
8246
+ enableGrounding?: boolean | undefined;
8082
8247
  geminiCliOAuthPath?: string | undefined;
8083
8248
  geminiCliProjectId?: string | undefined;
8084
8249
  openAiNativeApiKey?: string | undefined;
@@ -8103,8 +8268,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8103
8268
  litellmBaseUrl?: string | undefined;
8104
8269
  litellmApiKey?: string | undefined;
8105
8270
  litellmModelId?: string | undefined;
8106
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8271
+ litellmUsePromptCache?: boolean | undefined;
8107
8272
  mode?: string | undefined;
8273
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8108
8274
  customInstructions?: string | undefined;
8109
8275
  customModes?: {
8110
8276
  name: string;
@@ -8139,6 +8305,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8139
8305
  cacheReads?: number | undefined;
8140
8306
  size?: number | undefined;
8141
8307
  workspace?: string | undefined;
8308
+ mode?: string | undefined;
8142
8309
  }[] | undefined;
8143
8310
  condensingApiConfigId?: string | undefined;
8144
8311
  customCondensingPrompt?: string | undefined;
@@ -8185,6 +8352,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8185
8352
  maxWorkspaceFiles?: number | undefined;
8186
8353
  showRooIgnoredFiles?: boolean | undefined;
8187
8354
  maxReadFileLine?: number | undefined;
8355
+ maxImageFileSize?: number | undefined;
8356
+ maxTotalImageSize?: number | undefined;
8188
8357
  terminalOutputLineLimit?: number | undefined;
8189
8358
  terminalOutputCharacterLimit?: number | undefined;
8190
8359
  terminalShellIntegrationTimeout?: number | undefined;
@@ -8200,6 +8369,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8200
8369
  experiments?: {
8201
8370
  powerSteering?: boolean | undefined;
8202
8371
  multiFileApplyDiff?: boolean | undefined;
8372
+ preventFocusDisruption?: boolean | undefined;
8203
8373
  } | undefined;
8204
8374
  codebaseIndexModels?: {
8205
8375
  openai?: Record<string, {
@@ -8296,6 +8466,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8296
8466
  awsUsePromptCache?: boolean | undefined;
8297
8467
  awsProfile?: string | undefined;
8298
8468
  awsUseProfile?: boolean | undefined;
8469
+ awsApiKey?: string | undefined;
8470
+ awsUseApiKey?: boolean | undefined;
8299
8471
  awsCustomArn?: string | undefined;
8300
8472
  awsModelContextWindow?: number | undefined;
8301
8473
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -8356,6 +8528,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8356
8528
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
8357
8529
  geminiApiKey?: string | undefined;
8358
8530
  googleGeminiBaseUrl?: string | undefined;
8531
+ enableUrlContext?: boolean | undefined;
8532
+ enableGrounding?: boolean | undefined;
8359
8533
  geminiCliOAuthPath?: string | undefined;
8360
8534
  geminiCliProjectId?: string | undefined;
8361
8535
  openAiNativeApiKey?: string | undefined;
@@ -8380,8 +8554,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8380
8554
  litellmBaseUrl?: string | undefined;
8381
8555
  litellmApiKey?: string | undefined;
8382
8556
  litellmModelId?: string | undefined;
8383
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8557
+ litellmUsePromptCache?: boolean | undefined;
8384
8558
  mode?: string | undefined;
8559
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8385
8560
  customInstructions?: string | undefined;
8386
8561
  customModes?: {
8387
8562
  name: string;
@@ -8416,6 +8591,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8416
8591
  cacheReads?: number | undefined;
8417
8592
  size?: number | undefined;
8418
8593
  workspace?: string | undefined;
8594
+ mode?: string | undefined;
8419
8595
  }[] | undefined;
8420
8596
  condensingApiConfigId?: string | undefined;
8421
8597
  customCondensingPrompt?: string | undefined;
@@ -8462,6 +8638,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8462
8638
  maxWorkspaceFiles?: number | undefined;
8463
8639
  showRooIgnoredFiles?: boolean | undefined;
8464
8640
  maxReadFileLine?: number | undefined;
8641
+ maxImageFileSize?: number | undefined;
8642
+ maxTotalImageSize?: number | undefined;
8465
8643
  terminalOutputLineLimit?: number | undefined;
8466
8644
  terminalOutputCharacterLimit?: number | undefined;
8467
8645
  terminalShellIntegrationTimeout?: number | undefined;
@@ -8477,6 +8655,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8477
8655
  experiments?: {
8478
8656
  powerSteering?: boolean | undefined;
8479
8657
  multiFileApplyDiff?: boolean | undefined;
8658
+ preventFocusDisruption?: boolean | undefined;
8480
8659
  } | undefined;
8481
8660
  codebaseIndexModels?: {
8482
8661
  openai?: Record<string, {
@@ -9085,6 +9264,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9085
9264
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
9086
9265
  litellmApiKey: z.ZodOptional<z.ZodString>;
9087
9266
  litellmModelId: z.ZodOptional<z.ZodString>;
9267
+ litellmUsePromptCache: z.ZodOptional<z.ZodBoolean>;
9088
9268
  apiModelId: z.ZodOptional<z.ZodString>;
9089
9269
  chutesApiKey: z.ZodOptional<z.ZodString>;
9090
9270
  huggingFaceApiKey: z.ZodOptional<z.ZodString>;
@@ -9109,6 +9289,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9109
9289
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
9110
9290
  geminiApiKey: z.ZodOptional<z.ZodString>;
9111
9291
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
9292
+ enableUrlContext: z.ZodOptional<z.ZodBoolean>;
9293
+ enableGrounding: z.ZodOptional<z.ZodBoolean>;
9112
9294
  lmStudioModelId: z.ZodOptional<z.ZodString>;
9113
9295
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
9114
9296
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -9247,6 +9429,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9247
9429
  awsUsePromptCache: z.ZodOptional<z.ZodBoolean>;
9248
9430
  awsProfile: z.ZodOptional<z.ZodString>;
9249
9431
  awsUseProfile: z.ZodOptional<z.ZodBoolean>;
9432
+ awsApiKey: z.ZodOptional<z.ZodString>;
9433
+ awsUseApiKey: z.ZodOptional<z.ZodBoolean>;
9250
9434
  awsCustomArn: z.ZodOptional<z.ZodString>;
9251
9435
  awsModelContextWindow: z.ZodOptional<z.ZodNumber>;
9252
9436
  awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -9294,6 +9478,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9294
9478
  totalCost: z.ZodNumber;
9295
9479
  size: z.ZodOptional<z.ZodNumber>;
9296
9480
  workspace: z.ZodOptional<z.ZodString>;
9481
+ mode: z.ZodOptional<z.ZodString>;
9297
9482
  }, "strip", z.ZodTypeAny, {
9298
9483
  number: number;
9299
9484
  id: string;
@@ -9306,6 +9491,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9306
9491
  cacheReads?: number | undefined;
9307
9492
  size?: number | undefined;
9308
9493
  workspace?: string | undefined;
9494
+ mode?: string | undefined;
9309
9495
  }, {
9310
9496
  number: number;
9311
9497
  id: string;
@@ -9318,6 +9504,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9318
9504
  cacheReads?: number | undefined;
9319
9505
  size?: number | undefined;
9320
9506
  workspace?: string | undefined;
9507
+ mode?: string | undefined;
9321
9508
  }>, "many">>;
9322
9509
  condensingApiConfigId: z.ZodOptional<z.ZodString>;
9323
9510
  customCondensingPrompt: z.ZodOptional<z.ZodString>;
@@ -9364,6 +9551,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9364
9551
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
9365
9552
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
9366
9553
  maxReadFileLine: z.ZodOptional<z.ZodNumber>;
9554
+ maxImageFileSize: z.ZodOptional<z.ZodNumber>;
9555
+ maxTotalImageSize: z.ZodOptional<z.ZodNumber>;
9367
9556
  terminalOutputLineLimit: z.ZodOptional<z.ZodNumber>;
9368
9557
  terminalOutputCharacterLimit: z.ZodOptional<z.ZodNumber>;
9369
9558
  terminalShellIntegrationTimeout: z.ZodOptional<z.ZodNumber>;
@@ -9382,12 +9571,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9382
9571
  experiments: z.ZodOptional<z.ZodObject<{
9383
9572
  powerSteering: z.ZodOptional<z.ZodBoolean>;
9384
9573
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
9574
+ preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
9385
9575
  }, "strip", z.ZodTypeAny, {
9386
9576
  powerSteering?: boolean | undefined;
9387
9577
  multiFileApplyDiff?: boolean | undefined;
9578
+ preventFocusDisruption?: boolean | undefined;
9388
9579
  }, {
9389
9580
  powerSteering?: boolean | undefined;
9390
9581
  multiFileApplyDiff?: boolean | undefined;
9582
+ preventFocusDisruption?: boolean | undefined;
9391
9583
  }>>;
9392
9584
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
9393
9585
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9611,6 +9803,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9611
9803
  awsUsePromptCache?: boolean | undefined;
9612
9804
  awsProfile?: string | undefined;
9613
9805
  awsUseProfile?: boolean | undefined;
9806
+ awsApiKey?: string | undefined;
9807
+ awsUseApiKey?: boolean | undefined;
9614
9808
  awsCustomArn?: string | undefined;
9615
9809
  awsModelContextWindow?: number | undefined;
9616
9810
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -9671,6 +9865,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9671
9865
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9672
9866
  geminiApiKey?: string | undefined;
9673
9867
  googleGeminiBaseUrl?: string | undefined;
9868
+ enableUrlContext?: boolean | undefined;
9869
+ enableGrounding?: boolean | undefined;
9674
9870
  geminiCliOAuthPath?: string | undefined;
9675
9871
  geminiCliProjectId?: string | undefined;
9676
9872
  openAiNativeApiKey?: string | undefined;
@@ -9695,8 +9891,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9695
9891
  litellmBaseUrl?: string | undefined;
9696
9892
  litellmApiKey?: string | undefined;
9697
9893
  litellmModelId?: string | undefined;
9698
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
9894
+ litellmUsePromptCache?: boolean | undefined;
9699
9895
  mode?: string | undefined;
9896
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
9700
9897
  customInstructions?: string | undefined;
9701
9898
  customModes?: {
9702
9899
  name: string;
@@ -9731,6 +9928,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9731
9928
  cacheReads?: number | undefined;
9732
9929
  size?: number | undefined;
9733
9930
  workspace?: string | undefined;
9931
+ mode?: string | undefined;
9734
9932
  }[] | undefined;
9735
9933
  condensingApiConfigId?: string | undefined;
9736
9934
  customCondensingPrompt?: string | undefined;
@@ -9777,6 +9975,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9777
9975
  maxWorkspaceFiles?: number | undefined;
9778
9976
  showRooIgnoredFiles?: boolean | undefined;
9779
9977
  maxReadFileLine?: number | undefined;
9978
+ maxImageFileSize?: number | undefined;
9979
+ maxTotalImageSize?: number | undefined;
9780
9980
  terminalOutputLineLimit?: number | undefined;
9781
9981
  terminalOutputCharacterLimit?: number | undefined;
9782
9982
  terminalShellIntegrationTimeout?: number | undefined;
@@ -9792,6 +9992,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9792
9992
  experiments?: {
9793
9993
  powerSteering?: boolean | undefined;
9794
9994
  multiFileApplyDiff?: boolean | undefined;
9995
+ preventFocusDisruption?: boolean | undefined;
9795
9996
  } | undefined;
9796
9997
  codebaseIndexModels?: {
9797
9998
  openai?: Record<string, {
@@ -9880,6 +10081,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9880
10081
  awsUsePromptCache?: boolean | undefined;
9881
10082
  awsProfile?: string | undefined;
9882
10083
  awsUseProfile?: boolean | undefined;
10084
+ awsApiKey?: string | undefined;
10085
+ awsUseApiKey?: boolean | undefined;
9883
10086
  awsCustomArn?: string | undefined;
9884
10087
  awsModelContextWindow?: number | undefined;
9885
10088
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -9940,6 +10143,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9940
10143
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
9941
10144
  geminiApiKey?: string | undefined;
9942
10145
  googleGeminiBaseUrl?: string | undefined;
10146
+ enableUrlContext?: boolean | undefined;
10147
+ enableGrounding?: boolean | undefined;
9943
10148
  geminiCliOAuthPath?: string | undefined;
9944
10149
  geminiCliProjectId?: string | undefined;
9945
10150
  openAiNativeApiKey?: string | undefined;
@@ -9964,8 +10169,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9964
10169
  litellmBaseUrl?: string | undefined;
9965
10170
  litellmApiKey?: string | undefined;
9966
10171
  litellmModelId?: string | undefined;
9967
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10172
+ litellmUsePromptCache?: boolean | undefined;
9968
10173
  mode?: string | undefined;
10174
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
9969
10175
  customInstructions?: string | undefined;
9970
10176
  customModes?: {
9971
10177
  name: string;
@@ -10000,6 +10206,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10000
10206
  cacheReads?: number | undefined;
10001
10207
  size?: number | undefined;
10002
10208
  workspace?: string | undefined;
10209
+ mode?: string | undefined;
10003
10210
  }[] | undefined;
10004
10211
  condensingApiConfigId?: string | undefined;
10005
10212
  customCondensingPrompt?: string | undefined;
@@ -10046,6 +10253,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10046
10253
  maxWorkspaceFiles?: number | undefined;
10047
10254
  showRooIgnoredFiles?: boolean | undefined;
10048
10255
  maxReadFileLine?: number | undefined;
10256
+ maxImageFileSize?: number | undefined;
10257
+ maxTotalImageSize?: number | undefined;
10049
10258
  terminalOutputLineLimit?: number | undefined;
10050
10259
  terminalOutputCharacterLimit?: number | undefined;
10051
10260
  terminalShellIntegrationTimeout?: number | undefined;
@@ -10061,6 +10270,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10061
10270
  experiments?: {
10062
10271
  powerSteering?: boolean | undefined;
10063
10272
  multiFileApplyDiff?: boolean | undefined;
10273
+ preventFocusDisruption?: boolean | undefined;
10064
10274
  } | undefined;
10065
10275
  codebaseIndexModels?: {
10066
10276
  openai?: Record<string, {
@@ -10155,6 +10365,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10155
10365
  awsUsePromptCache?: boolean | undefined;
10156
10366
  awsProfile?: string | undefined;
10157
10367
  awsUseProfile?: boolean | undefined;
10368
+ awsApiKey?: string | undefined;
10369
+ awsUseApiKey?: boolean | undefined;
10158
10370
  awsCustomArn?: string | undefined;
10159
10371
  awsModelContextWindow?: number | undefined;
10160
10372
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -10215,6 +10427,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10215
10427
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
10216
10428
  geminiApiKey?: string | undefined;
10217
10429
  googleGeminiBaseUrl?: string | undefined;
10430
+ enableUrlContext?: boolean | undefined;
10431
+ enableGrounding?: boolean | undefined;
10218
10432
  geminiCliOAuthPath?: string | undefined;
10219
10433
  geminiCliProjectId?: string | undefined;
10220
10434
  openAiNativeApiKey?: string | undefined;
@@ -10239,8 +10453,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10239
10453
  litellmBaseUrl?: string | undefined;
10240
10454
  litellmApiKey?: string | undefined;
10241
10455
  litellmModelId?: string | undefined;
10242
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10456
+ litellmUsePromptCache?: boolean | undefined;
10243
10457
  mode?: string | undefined;
10458
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10244
10459
  customInstructions?: string | undefined;
10245
10460
  customModes?: {
10246
10461
  name: string;
@@ -10275,6 +10490,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10275
10490
  cacheReads?: number | undefined;
10276
10491
  size?: number | undefined;
10277
10492
  workspace?: string | undefined;
10493
+ mode?: string | undefined;
10278
10494
  }[] | undefined;
10279
10495
  condensingApiConfigId?: string | undefined;
10280
10496
  customCondensingPrompt?: string | undefined;
@@ -10321,6 +10537,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10321
10537
  maxWorkspaceFiles?: number | undefined;
10322
10538
  showRooIgnoredFiles?: boolean | undefined;
10323
10539
  maxReadFileLine?: number | undefined;
10540
+ maxImageFileSize?: number | undefined;
10541
+ maxTotalImageSize?: number | undefined;
10324
10542
  terminalOutputLineLimit?: number | undefined;
10325
10543
  terminalOutputCharacterLimit?: number | undefined;
10326
10544
  terminalShellIntegrationTimeout?: number | undefined;
@@ -10336,6 +10554,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10336
10554
  experiments?: {
10337
10555
  powerSteering?: boolean | undefined;
10338
10556
  multiFileApplyDiff?: boolean | undefined;
10557
+ preventFocusDisruption?: boolean | undefined;
10339
10558
  } | undefined;
10340
10559
  codebaseIndexModels?: {
10341
10560
  openai?: Record<string, {
@@ -10429,6 +10648,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10429
10648
  awsUsePromptCache?: boolean | undefined;
10430
10649
  awsProfile?: string | undefined;
10431
10650
  awsUseProfile?: boolean | undefined;
10651
+ awsApiKey?: string | undefined;
10652
+ awsUseApiKey?: boolean | undefined;
10432
10653
  awsCustomArn?: string | undefined;
10433
10654
  awsModelContextWindow?: number | undefined;
10434
10655
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -10489,6 +10710,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10489
10710
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
10490
10711
  geminiApiKey?: string | undefined;
10491
10712
  googleGeminiBaseUrl?: string | undefined;
10713
+ enableUrlContext?: boolean | undefined;
10714
+ enableGrounding?: boolean | undefined;
10492
10715
  geminiCliOAuthPath?: string | undefined;
10493
10716
  geminiCliProjectId?: string | undefined;
10494
10717
  openAiNativeApiKey?: string | undefined;
@@ -10513,8 +10736,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10513
10736
  litellmBaseUrl?: string | undefined;
10514
10737
  litellmApiKey?: string | undefined;
10515
10738
  litellmModelId?: string | undefined;
10516
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10739
+ litellmUsePromptCache?: boolean | undefined;
10517
10740
  mode?: string | undefined;
10741
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10518
10742
  customInstructions?: string | undefined;
10519
10743
  customModes?: {
10520
10744
  name: string;
@@ -10549,6 +10773,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10549
10773
  cacheReads?: number | undefined;
10550
10774
  size?: number | undefined;
10551
10775
  workspace?: string | undefined;
10776
+ mode?: string | undefined;
10552
10777
  }[] | undefined;
10553
10778
  condensingApiConfigId?: string | undefined;
10554
10779
  customCondensingPrompt?: string | undefined;
@@ -10595,6 +10820,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10595
10820
  maxWorkspaceFiles?: number | undefined;
10596
10821
  showRooIgnoredFiles?: boolean | undefined;
10597
10822
  maxReadFileLine?: number | undefined;
10823
+ maxImageFileSize?: number | undefined;
10824
+ maxTotalImageSize?: number | undefined;
10598
10825
  terminalOutputLineLimit?: number | undefined;
10599
10826
  terminalOutputCharacterLimit?: number | undefined;
10600
10827
  terminalShellIntegrationTimeout?: number | undefined;
@@ -10610,6 +10837,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10610
10837
  experiments?: {
10611
10838
  powerSteering?: boolean | undefined;
10612
10839
  multiFileApplyDiff?: boolean | undefined;
10840
+ preventFocusDisruption?: boolean | undefined;
10613
10841
  } | undefined;
10614
10842
  codebaseIndexModels?: {
10615
10843
  openai?: Record<string, {
@@ -10706,6 +10934,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10706
10934
  awsUsePromptCache?: boolean | undefined;
10707
10935
  awsProfile?: string | undefined;
10708
10936
  awsUseProfile?: boolean | undefined;
10937
+ awsApiKey?: string | undefined;
10938
+ awsUseApiKey?: boolean | undefined;
10709
10939
  awsCustomArn?: string | undefined;
10710
10940
  awsModelContextWindow?: number | undefined;
10711
10941
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -10766,6 +10996,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10766
10996
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
10767
10997
  geminiApiKey?: string | undefined;
10768
10998
  googleGeminiBaseUrl?: string | undefined;
10999
+ enableUrlContext?: boolean | undefined;
11000
+ enableGrounding?: boolean | undefined;
10769
11001
  geminiCliOAuthPath?: string | undefined;
10770
11002
  geminiCliProjectId?: string | undefined;
10771
11003
  openAiNativeApiKey?: string | undefined;
@@ -10790,8 +11022,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10790
11022
  litellmBaseUrl?: string | undefined;
10791
11023
  litellmApiKey?: string | undefined;
10792
11024
  litellmModelId?: string | undefined;
10793
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11025
+ litellmUsePromptCache?: boolean | undefined;
10794
11026
  mode?: string | undefined;
11027
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10795
11028
  customInstructions?: string | undefined;
10796
11029
  customModes?: {
10797
11030
  name: string;
@@ -10826,6 +11059,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10826
11059
  cacheReads?: number | undefined;
10827
11060
  size?: number | undefined;
10828
11061
  workspace?: string | undefined;
11062
+ mode?: string | undefined;
10829
11063
  }[] | undefined;
10830
11064
  condensingApiConfigId?: string | undefined;
10831
11065
  customCondensingPrompt?: string | undefined;
@@ -10872,6 +11106,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10872
11106
  maxWorkspaceFiles?: number | undefined;
10873
11107
  showRooIgnoredFiles?: boolean | undefined;
10874
11108
  maxReadFileLine?: number | undefined;
11109
+ maxImageFileSize?: number | undefined;
11110
+ maxTotalImageSize?: number | undefined;
10875
11111
  terminalOutputLineLimit?: number | undefined;
10876
11112
  terminalOutputCharacterLimit?: number | undefined;
10877
11113
  terminalShellIntegrationTimeout?: number | undefined;
@@ -10887,6 +11123,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10887
11123
  experiments?: {
10888
11124
  powerSteering?: boolean | undefined;
10889
11125
  multiFileApplyDiff?: boolean | undefined;
11126
+ preventFocusDisruption?: boolean | undefined;
10890
11127
  } | undefined;
10891
11128
  codebaseIndexModels?: {
10892
11129
  openai?: Record<string, {
@@ -10983,6 +11220,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10983
11220
  awsUsePromptCache?: boolean | undefined;
10984
11221
  awsProfile?: string | undefined;
10985
11222
  awsUseProfile?: boolean | undefined;
11223
+ awsApiKey?: string | undefined;
11224
+ awsUseApiKey?: boolean | undefined;
10986
11225
  awsCustomArn?: string | undefined;
10987
11226
  awsModelContextWindow?: number | undefined;
10988
11227
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -11043,6 +11282,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11043
11282
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
11044
11283
  geminiApiKey?: string | undefined;
11045
11284
  googleGeminiBaseUrl?: string | undefined;
11285
+ enableUrlContext?: boolean | undefined;
11286
+ enableGrounding?: boolean | undefined;
11046
11287
  geminiCliOAuthPath?: string | undefined;
11047
11288
  geminiCliProjectId?: string | undefined;
11048
11289
  openAiNativeApiKey?: string | undefined;
@@ -11067,8 +11308,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11067
11308
  litellmBaseUrl?: string | undefined;
11068
11309
  litellmApiKey?: string | undefined;
11069
11310
  litellmModelId?: string | undefined;
11070
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11311
+ litellmUsePromptCache?: boolean | undefined;
11071
11312
  mode?: string | undefined;
11313
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11072
11314
  customInstructions?: string | undefined;
11073
11315
  customModes?: {
11074
11316
  name: string;
@@ -11103,6 +11345,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11103
11345
  cacheReads?: number | undefined;
11104
11346
  size?: number | undefined;
11105
11347
  workspace?: string | undefined;
11348
+ mode?: string | undefined;
11106
11349
  }[] | undefined;
11107
11350
  condensingApiConfigId?: string | undefined;
11108
11351
  customCondensingPrompt?: string | undefined;
@@ -11149,6 +11392,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11149
11392
  maxWorkspaceFiles?: number | undefined;
11150
11393
  showRooIgnoredFiles?: boolean | undefined;
11151
11394
  maxReadFileLine?: number | undefined;
11395
+ maxImageFileSize?: number | undefined;
11396
+ maxTotalImageSize?: number | undefined;
11152
11397
  terminalOutputLineLimit?: number | undefined;
11153
11398
  terminalOutputCharacterLimit?: number | undefined;
11154
11399
  terminalShellIntegrationTimeout?: number | undefined;
@@ -11164,6 +11409,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11164
11409
  experiments?: {
11165
11410
  powerSteering?: boolean | undefined;
11166
11411
  multiFileApplyDiff?: boolean | undefined;
11412
+ preventFocusDisruption?: boolean | undefined;
11167
11413
  } | undefined;
11168
11414
  codebaseIndexModels?: {
11169
11415
  openai?: Record<string, {
@@ -11282,6 +11528,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11282
11528
  awsUsePromptCache?: boolean | undefined;
11283
11529
  awsProfile?: string | undefined;
11284
11530
  awsUseProfile?: boolean | undefined;
11531
+ awsApiKey?: string | undefined;
11532
+ awsUseApiKey?: boolean | undefined;
11285
11533
  awsCustomArn?: string | undefined;
11286
11534
  awsModelContextWindow?: number | undefined;
11287
11535
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -11342,6 +11590,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11342
11590
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
11343
11591
  geminiApiKey?: string | undefined;
11344
11592
  googleGeminiBaseUrl?: string | undefined;
11593
+ enableUrlContext?: boolean | undefined;
11594
+ enableGrounding?: boolean | undefined;
11345
11595
  geminiCliOAuthPath?: string | undefined;
11346
11596
  geminiCliProjectId?: string | undefined;
11347
11597
  openAiNativeApiKey?: string | undefined;
@@ -11366,8 +11616,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11366
11616
  litellmBaseUrl?: string | undefined;
11367
11617
  litellmApiKey?: string | undefined;
11368
11618
  litellmModelId?: string | undefined;
11369
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11619
+ litellmUsePromptCache?: boolean | undefined;
11370
11620
  mode?: string | undefined;
11621
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11371
11622
  customInstructions?: string | undefined;
11372
11623
  customModes?: {
11373
11624
  name: string;
@@ -11402,6 +11653,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11402
11653
  cacheReads?: number | undefined;
11403
11654
  size?: number | undefined;
11404
11655
  workspace?: string | undefined;
11656
+ mode?: string | undefined;
11405
11657
  }[] | undefined;
11406
11658
  condensingApiConfigId?: string | undefined;
11407
11659
  customCondensingPrompt?: string | undefined;
@@ -11448,6 +11700,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11448
11700
  maxWorkspaceFiles?: number | undefined;
11449
11701
  showRooIgnoredFiles?: boolean | undefined;
11450
11702
  maxReadFileLine?: number | undefined;
11703
+ maxImageFileSize?: number | undefined;
11704
+ maxTotalImageSize?: number | undefined;
11451
11705
  terminalOutputLineLimit?: number | undefined;
11452
11706
  terminalOutputCharacterLimit?: number | undefined;
11453
11707
  terminalShellIntegrationTimeout?: number | undefined;
@@ -11463,6 +11717,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11463
11717
  experiments?: {
11464
11718
  powerSteering?: boolean | undefined;
11465
11719
  multiFileApplyDiff?: boolean | undefined;
11720
+ preventFocusDisruption?: boolean | undefined;
11466
11721
  } | undefined;
11467
11722
  codebaseIndexModels?: {
11468
11723
  openai?: Record<string, {
@@ -11570,6 +11825,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11570
11825
  awsUsePromptCache?: boolean | undefined;
11571
11826
  awsProfile?: string | undefined;
11572
11827
  awsUseProfile?: boolean | undefined;
11828
+ awsApiKey?: string | undefined;
11829
+ awsUseApiKey?: boolean | undefined;
11573
11830
  awsCustomArn?: string | undefined;
11574
11831
  awsModelContextWindow?: number | undefined;
11575
11832
  awsBedrockEndpointEnabled?: boolean | undefined;
@@ -11630,6 +11887,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11630
11887
  lmStudioSpeculativeDecodingEnabled?: boolean | undefined;
11631
11888
  geminiApiKey?: string | undefined;
11632
11889
  googleGeminiBaseUrl?: string | undefined;
11890
+ enableUrlContext?: boolean | undefined;
11891
+ enableGrounding?: boolean | undefined;
11633
11892
  geminiCliOAuthPath?: string | undefined;
11634
11893
  geminiCliProjectId?: string | undefined;
11635
11894
  openAiNativeApiKey?: string | undefined;
@@ -11654,8 +11913,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11654
11913
  litellmBaseUrl?: string | undefined;
11655
11914
  litellmApiKey?: string | undefined;
11656
11915
  litellmModelId?: string | undefined;
11657
- language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11916
+ litellmUsePromptCache?: boolean | undefined;
11658
11917
  mode?: string | undefined;
11918
+ language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11659
11919
  customInstructions?: string | undefined;
11660
11920
  customModes?: {
11661
11921
  name: string;
@@ -11690,6 +11950,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11690
11950
  cacheReads?: number | undefined;
11691
11951
  size?: number | undefined;
11692
11952
  workspace?: string | undefined;
11953
+ mode?: string | undefined;
11693
11954
  }[] | undefined;
11694
11955
  condensingApiConfigId?: string | undefined;
11695
11956
  customCondensingPrompt?: string | undefined;
@@ -11736,6 +11997,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11736
11997
  maxWorkspaceFiles?: number | undefined;
11737
11998
  showRooIgnoredFiles?: boolean | undefined;
11738
11999
  maxReadFileLine?: number | undefined;
12000
+ maxImageFileSize?: number | undefined;
12001
+ maxTotalImageSize?: number | undefined;
11739
12002
  terminalOutputLineLimit?: number | undefined;
11740
12003
  terminalOutputCharacterLimit?: number | undefined;
11741
12004
  terminalShellIntegrationTimeout?: number | undefined;
@@ -11751,6 +12014,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11751
12014
  experiments?: {
11752
12015
  powerSteering?: boolean | undefined;
11753
12016
  multiFileApplyDiff?: boolean | undefined;
12017
+ preventFocusDisruption?: boolean | undefined;
11754
12018
  } | undefined;
11755
12019
  codebaseIndexModels?: {
11756
12020
  openai?: Record<string, {
@@ -13025,6 +13289,128 @@ declare const organizationSettingsSchema: z.ZodObject<{
13025
13289
  models?: string[] | undefined;
13026
13290
  }>;
13027
13291
  }>;
13292
+ hiddenMcps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13293
+ hideMarketplaceMcps: z.ZodOptional<z.ZodBoolean>;
13294
+ mcps: z.ZodOptional<z.ZodArray<z.ZodObject<{
13295
+ id: z.ZodString;
13296
+ name: z.ZodString;
13297
+ description: z.ZodString;
13298
+ author: z.ZodOptional<z.ZodString>;
13299
+ authorUrl: z.ZodOptional<z.ZodString>;
13300
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13301
+ prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13302
+ } & {
13303
+ url: z.ZodString;
13304
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
13305
+ name: z.ZodString;
13306
+ content: z.ZodString;
13307
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
13308
+ name: z.ZodString;
13309
+ key: z.ZodString;
13310
+ placeholder: z.ZodOptional<z.ZodString>;
13311
+ optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13312
+ }, "strip", z.ZodTypeAny, {
13313
+ name: string;
13314
+ key: string;
13315
+ optional: boolean;
13316
+ placeholder?: string | undefined;
13317
+ }, {
13318
+ name: string;
13319
+ key: string;
13320
+ placeholder?: string | undefined;
13321
+ optional?: boolean | undefined;
13322
+ }>, "many">>;
13323
+ prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13324
+ }, "strip", z.ZodTypeAny, {
13325
+ name: string;
13326
+ content: string;
13327
+ parameters?: {
13328
+ name: string;
13329
+ key: string;
13330
+ optional: boolean;
13331
+ placeholder?: string | undefined;
13332
+ }[] | undefined;
13333
+ prerequisites?: string[] | undefined;
13334
+ }, {
13335
+ name: string;
13336
+ content: string;
13337
+ parameters?: {
13338
+ name: string;
13339
+ key: string;
13340
+ placeholder?: string | undefined;
13341
+ optional?: boolean | undefined;
13342
+ }[] | undefined;
13343
+ prerequisites?: string[] | undefined;
13344
+ }>, "many">]>;
13345
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
13346
+ name: z.ZodString;
13347
+ key: z.ZodString;
13348
+ placeholder: z.ZodOptional<z.ZodString>;
13349
+ optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13350
+ }, "strip", z.ZodTypeAny, {
13351
+ name: string;
13352
+ key: string;
13353
+ optional: boolean;
13354
+ placeholder?: string | undefined;
13355
+ }, {
13356
+ name: string;
13357
+ key: string;
13358
+ placeholder?: string | undefined;
13359
+ optional?: boolean | undefined;
13360
+ }>, "many">>;
13361
+ }, "strip", z.ZodTypeAny, {
13362
+ description: string;
13363
+ name: string;
13364
+ id: string;
13365
+ url: string;
13366
+ content: string | {
13367
+ name: string;
13368
+ content: string;
13369
+ parameters?: {
13370
+ name: string;
13371
+ key: string;
13372
+ optional: boolean;
13373
+ placeholder?: string | undefined;
13374
+ }[] | undefined;
13375
+ prerequisites?: string[] | undefined;
13376
+ }[];
13377
+ parameters?: {
13378
+ name: string;
13379
+ key: string;
13380
+ optional: boolean;
13381
+ placeholder?: string | undefined;
13382
+ }[] | undefined;
13383
+ prerequisites?: string[] | undefined;
13384
+ author?: string | undefined;
13385
+ authorUrl?: string | undefined;
13386
+ tags?: string[] | undefined;
13387
+ }, {
13388
+ description: string;
13389
+ name: string;
13390
+ id: string;
13391
+ url: string;
13392
+ content: string | {
13393
+ name: string;
13394
+ content: string;
13395
+ parameters?: {
13396
+ name: string;
13397
+ key: string;
13398
+ placeholder?: string | undefined;
13399
+ optional?: boolean | undefined;
13400
+ }[] | undefined;
13401
+ prerequisites?: string[] | undefined;
13402
+ }[];
13403
+ parameters?: {
13404
+ name: string;
13405
+ key: string;
13406
+ placeholder?: string | undefined;
13407
+ optional?: boolean | undefined;
13408
+ }[] | undefined;
13409
+ prerequisites?: string[] | undefined;
13410
+ author?: string | undefined;
13411
+ authorUrl?: string | undefined;
13412
+ tags?: string[] | undefined;
13413
+ }>, "many">>;
13028
13414
  }, "strip", z.ZodTypeAny, {
13029
13415
  version: number;
13030
13416
  defaultSettings: {
@@ -13054,6 +13440,35 @@ declare const organizationSettingsSchema: z.ZodObject<{
13054
13440
  taskShareExpirationDays?: number | undefined;
13055
13441
  allowMembersViewAllTasks?: boolean | undefined;
13056
13442
  } | undefined;
13443
+ hiddenMcps?: string[] | undefined;
13444
+ hideMarketplaceMcps?: boolean | undefined;
13445
+ mcps?: {
13446
+ description: string;
13447
+ name: string;
13448
+ id: string;
13449
+ url: string;
13450
+ content: string | {
13451
+ name: string;
13452
+ content: string;
13453
+ parameters?: {
13454
+ name: string;
13455
+ key: string;
13456
+ optional: boolean;
13457
+ placeholder?: string | undefined;
13458
+ }[] | undefined;
13459
+ prerequisites?: string[] | undefined;
13460
+ }[];
13461
+ parameters?: {
13462
+ name: string;
13463
+ key: string;
13464
+ optional: boolean;
13465
+ placeholder?: string | undefined;
13466
+ }[] | undefined;
13467
+ prerequisites?: string[] | undefined;
13468
+ author?: string | undefined;
13469
+ authorUrl?: string | undefined;
13470
+ tags?: string[] | undefined;
13471
+ }[] | undefined;
13057
13472
  }, {
13058
13473
  version: number;
13059
13474
  defaultSettings: {
@@ -13083,6 +13498,35 @@ declare const organizationSettingsSchema: z.ZodObject<{
13083
13498
  taskShareExpirationDays?: number | undefined;
13084
13499
  allowMembersViewAllTasks?: boolean | undefined;
13085
13500
  } | undefined;
13501
+ hiddenMcps?: string[] | undefined;
13502
+ hideMarketplaceMcps?: boolean | undefined;
13503
+ mcps?: {
13504
+ description: string;
13505
+ name: string;
13506
+ id: string;
13507
+ url: string;
13508
+ content: string | {
13509
+ name: string;
13510
+ content: string;
13511
+ parameters?: {
13512
+ name: string;
13513
+ key: string;
13514
+ placeholder?: string | undefined;
13515
+ optional?: boolean | undefined;
13516
+ }[] | undefined;
13517
+ prerequisites?: string[] | undefined;
13518
+ }[];
13519
+ parameters?: {
13520
+ name: string;
13521
+ key: string;
13522
+ placeholder?: string | undefined;
13523
+ optional?: boolean | undefined;
13524
+ }[] | undefined;
13525
+ prerequisites?: string[] | undefined;
13526
+ author?: string | undefined;
13527
+ authorUrl?: string | undefined;
13528
+ tags?: string[] | undefined;
13529
+ }[] | undefined;
13086
13530
  }>;
13087
13531
  type OrganizationSettings = z.infer<typeof organizationSettingsSchema>;
13088
13532
  /**
@@ -13117,8 +13561,8 @@ type ShareResponse = z.infer<typeof shareResponseSchema>;
13117
13561
  /**
13118
13562
  * ExperimentId
13119
13563
  */
13120
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff"];
13121
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff"]>;
13564
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"];
13565
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"]>;
13122
13566
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
13123
13567
  /**
13124
13568
  * Experiments
@@ -13126,12 +13570,15 @@ type ExperimentId = z.infer<typeof experimentIdsSchema>;
13126
13570
  declare const experimentsSchema: z.ZodObject<{
13127
13571
  powerSteering: z.ZodOptional<z.ZodBoolean>;
13128
13572
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
13573
+ preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
13129
13574
  }, "strip", z.ZodTypeAny, {
13130
13575
  powerSteering?: boolean | undefined;
13131
13576
  multiFileApplyDiff?: boolean | undefined;
13577
+ preventFocusDisruption?: boolean | undefined;
13132
13578
  }, {
13133
13579
  powerSteering?: boolean | undefined;
13134
13580
  multiFileApplyDiff?: boolean | undefined;
13581
+ preventFocusDisruption?: boolean | undefined;
13135
13582
  }>;
13136
13583
  type Experiments = z.infer<typeof experimentsSchema>;
13137
13584
 
@@ -13213,6 +13660,7 @@ declare const historyItemSchema: z.ZodObject<{
13213
13660
  totalCost: z.ZodNumber;
13214
13661
  size: z.ZodOptional<z.ZodNumber>;
13215
13662
  workspace: z.ZodOptional<z.ZodString>;
13663
+ mode: z.ZodOptional<z.ZodString>;
13216
13664
  }, "strip", z.ZodTypeAny, {
13217
13665
  number: number;
13218
13666
  id: string;
@@ -13225,6 +13673,7 @@ declare const historyItemSchema: z.ZodObject<{
13225
13673
  cacheReads?: number | undefined;
13226
13674
  size?: number | undefined;
13227
13675
  workspace?: string | undefined;
13676
+ mode?: string | undefined;
13228
13677
  }, {
13229
13678
  number: number;
13230
13679
  id: string;
@@ -13237,6 +13686,7 @@ declare const historyItemSchema: z.ZodObject<{
13237
13686
  cacheReads?: number | undefined;
13238
13687
  size?: number | undefined;
13239
13688
  workspace?: string | undefined;
13689
+ mode?: string | undefined;
13240
13690
  }>;
13241
13691
  type HistoryItem = z.infer<typeof historyItemSchema>;
13242
13692
 
@@ -14001,22 +14451,22 @@ declare const appPropertiesSchema: z.ZodObject<{
14001
14451
  mode: z.ZodString;
14002
14452
  cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
14003
14453
  }, "strip", z.ZodTypeAny, {
14454
+ mode: string;
14004
14455
  appName: string;
14005
14456
  appVersion: string;
14006
14457
  vscodeVersion: string;
14007
14458
  platform: string;
14008
14459
  editorName: string;
14009
14460
  language: string;
14010
- mode: string;
14011
14461
  cloudIsAuthenticated?: boolean | undefined;
14012
14462
  }, {
14463
+ mode: string;
14013
14464
  appName: string;
14014
14465
  appVersion: string;
14015
14466
  vscodeVersion: string;
14016
14467
  platform: string;
14017
14468
  editorName: string;
14018
14469
  language: string;
14019
- mode: string;
14020
14470
  cloudIsAuthenticated?: boolean | undefined;
14021
14471
  }>;
14022
14472
  declare const taskPropertiesSchema: z.ZodObject<{
@@ -14113,13 +14563,13 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
14113
14563
  mode: z.ZodString;
14114
14564
  cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
14115
14565
  }, "strip", z.ZodTypeAny, {
14566
+ mode: string;
14116
14567
  appName: string;
14117
14568
  appVersion: string;
14118
14569
  vscodeVersion: string;
14119
14570
  platform: string;
14120
14571
  editorName: string;
14121
14572
  language: string;
14122
- mode: string;
14123
14573
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14124
14574
  cloudIsAuthenticated?: boolean | undefined;
14125
14575
  taskId?: string | undefined;
@@ -14136,13 +14586,13 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
14136
14586
  repositoryName?: string | undefined;
14137
14587
  defaultBranch?: string | undefined;
14138
14588
  }, {
14589
+ mode: string;
14139
14590
  appName: string;
14140
14591
  appVersion: string;
14141
14592
  vscodeVersion: string;
14142
14593
  platform: string;
14143
14594
  editorName: string;
14144
14595
  language: string;
14145
- mode: string;
14146
14596
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14147
14597
  cloudIsAuthenticated?: boolean | undefined;
14148
14598
  taskId?: string | undefined;
@@ -14207,13 +14657,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14207
14657
  mode: z.ZodString;
14208
14658
  cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
14209
14659
  }, "strip", z.ZodTypeAny, {
14660
+ mode: string;
14210
14661
  appName: string;
14211
14662
  appVersion: string;
14212
14663
  vscodeVersion: string;
14213
14664
  platform: string;
14214
14665
  editorName: string;
14215
14666
  language: string;
14216
- mode: string;
14217
14667
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14218
14668
  cloudIsAuthenticated?: boolean | undefined;
14219
14669
  taskId?: string | undefined;
@@ -14230,13 +14680,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14230
14680
  repositoryName?: string | undefined;
14231
14681
  defaultBranch?: string | undefined;
14232
14682
  }, {
14683
+ mode: string;
14233
14684
  appName: string;
14234
14685
  appVersion: string;
14235
14686
  vscodeVersion: string;
14236
14687
  platform: string;
14237
14688
  editorName: string;
14238
14689
  language: string;
14239
- mode: string;
14240
14690
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14241
14691
  cloudIsAuthenticated?: boolean | undefined;
14242
14692
  taskId?: string | undefined;
@@ -14256,13 +14706,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14256
14706
  }, "strip", z.ZodTypeAny, {
14257
14707
  type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
14258
14708
  properties: {
14709
+ mode: string;
14259
14710
  appName: string;
14260
14711
  appVersion: string;
14261
14712
  vscodeVersion: string;
14262
14713
  platform: string;
14263
14714
  editorName: string;
14264
14715
  language: string;
14265
- mode: string;
14266
14716
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14267
14717
  cloudIsAuthenticated?: boolean | undefined;
14268
14718
  taskId?: string | undefined;
@@ -14282,13 +14732,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14282
14732
  }, {
14283
14733
  type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
14284
14734
  properties: {
14735
+ mode: string;
14285
14736
  appName: string;
14286
14737
  appVersion: string;
14287
14738
  vscodeVersion: string;
14288
14739
  platform: string;
14289
14740
  editorName: string;
14290
14741
  language: string;
14291
- mode: string;
14292
14742
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14293
14743
  cloudIsAuthenticated?: boolean | undefined;
14294
14744
  taskId?: string | undefined;
@@ -14451,13 +14901,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14451
14901
  isProtected?: boolean | undefined;
14452
14902
  apiProtocol?: "openai" | "anthropic" | undefined;
14453
14903
  };
14904
+ mode: string;
14454
14905
  appName: string;
14455
14906
  appVersion: string;
14456
14907
  vscodeVersion: string;
14457
14908
  platform: string;
14458
14909
  editorName: string;
14459
14910
  language: string;
14460
- mode: string;
14461
14911
  taskId: string;
14462
14912
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14463
14913
  cloudIsAuthenticated?: boolean | undefined;
@@ -14498,13 +14948,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14498
14948
  isProtected?: boolean | undefined;
14499
14949
  apiProtocol?: "openai" | "anthropic" | undefined;
14500
14950
  };
14951
+ mode: string;
14501
14952
  appName: string;
14502
14953
  appVersion: string;
14503
14954
  vscodeVersion: string;
14504
14955
  platform: string;
14505
14956
  editorName: string;
14506
14957
  language: string;
14507
- mode: string;
14508
14958
  taskId: string;
14509
14959
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14510
14960
  cloudIsAuthenticated?: boolean | undefined;
@@ -14548,13 +14998,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14548
14998
  isProtected?: boolean | undefined;
14549
14999
  apiProtocol?: "openai" | "anthropic" | undefined;
14550
15000
  };
15001
+ mode: string;
14551
15002
  appName: string;
14552
15003
  appVersion: string;
14553
15004
  vscodeVersion: string;
14554
15005
  platform: string;
14555
15006
  editorName: string;
14556
15007
  language: string;
14557
- mode: string;
14558
15008
  taskId: string;
14559
15009
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14560
15010
  cloudIsAuthenticated?: boolean | undefined;
@@ -14598,13 +15048,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14598
15048
  isProtected?: boolean | undefined;
14599
15049
  apiProtocol?: "openai" | "anthropic" | undefined;
14600
15050
  };
15051
+ mode: string;
14601
15052
  appName: string;
14602
15053
  appVersion: string;
14603
15054
  vscodeVersion: string;
14604
15055
  platform: string;
14605
15056
  editorName: string;
14606
15057
  language: string;
14607
- mode: string;
14608
15058
  taskId: string;
14609
15059
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
14610
15060
  cloudIsAuthenticated?: boolean | undefined;
@@ -14662,13 +15112,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14662
15112
  mode: z.ZodString;
14663
15113
  cloudIsAuthenticated: z.ZodOptional<z.ZodBoolean>;
14664
15114
  }, "strip", z.ZodTypeAny, {
15115
+ mode: string;
14665
15116
  appName: string;
14666
15117
  appVersion: string;
14667
15118
  vscodeVersion: string;
14668
15119
  platform: string;
14669
15120
  editorName: string;
14670
15121
  language: string;
14671
- mode: string;
14672
15122
  inputTokens: number;
14673
15123
  outputTokens: number;
14674
15124
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
@@ -14690,13 +15140,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14690
15140
  cacheReadTokens?: number | undefined;
14691
15141
  cacheWriteTokens?: number | undefined;
14692
15142
  }, {
15143
+ mode: string;
14693
15144
  appName: string;
14694
15145
  appVersion: string;
14695
15146
  vscodeVersion: string;
14696
15147
  platform: string;
14697
15148
  editorName: string;
14698
15149
  language: string;
14699
- mode: string;
14700
15150
  inputTokens: number;
14701
15151
  outputTokens: number;
14702
15152
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
@@ -14721,13 +15171,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14721
15171
  }, "strip", z.ZodTypeAny, {
14722
15172
  type: TelemetryEventName.LLM_COMPLETION;
14723
15173
  properties: {
15174
+ mode: string;
14724
15175
  appName: string;
14725
15176
  appVersion: string;
14726
15177
  vscodeVersion: string;
14727
15178
  platform: string;
14728
15179
  editorName: string;
14729
15180
  language: string;
14730
- mode: string;
14731
15181
  inputTokens: number;
14732
15182
  outputTokens: number;
14733
15183
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
@@ -14752,13 +15202,13 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
14752
15202
  }, {
14753
15203
  type: TelemetryEventName.LLM_COMPLETION;
14754
15204
  properties: {
15205
+ mode: string;
14755
15206
  appName: string;
14756
15207
  appVersion: string;
14757
15208
  vscodeVersion: string;
14758
15209
  platform: string;
14759
15210
  editorName: string;
14760
15211
  language: string;
14761
- mode: string;
14762
15212
  inputTokens: number;
14763
15213
  outputTokens: number;
14764
15214
  apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | undefined;
@@ -14922,4 +15372,4 @@ declare const todoItemSchema: z.ZodObject<{
14922
15372
  }>;
14923
15373
  type TodoItem = z.infer<typeof todoItemSchema>;
14924
15374
 
14925
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, 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, MOONSHOT_DEFAULT_TEMPERATURE, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type 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, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, 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, moonshotDefaultModelId, moonshotModels, 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 };
15375
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, 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, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, 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, MOONSHOT_DEFAULT_TEMPERATURE, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type QueuedMessage, 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, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, 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, moonshotDefaultModelId, moonshotModels, 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 };