@roo-code/types 1.108.0 → 1.110.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
@@ -28,6 +28,7 @@ declare enum RooCodeEventName {
28
28
  TaskModeSwitched = "taskModeSwitched",
29
29
  TaskAskResponded = "taskAskResponded",
30
30
  TaskUserMessage = "taskUserMessage",
31
+ QueuedMessagesUpdated = "queuedMessagesUpdated",
31
32
  TaskTokenUsageUpdated = "taskTokenUsageUpdated",
32
33
  TaskToolFailed = "taskToolFailed",
33
34
  ModeChanged = "modeChanged",
@@ -290,6 +291,22 @@ declare const rooCodeEventsSchema: z.ZodObject<{
290
291
  taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
291
292
  taskAskResponded: z.ZodTuple<[z.ZodString], null>;
292
293
  taskUserMessage: z.ZodTuple<[z.ZodString], null>;
294
+ queuedMessagesUpdated: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
295
+ timestamp: z.ZodNumber;
296
+ id: z.ZodString;
297
+ text: z.ZodString;
298
+ images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ text: string;
301
+ timestamp: number;
302
+ id: string;
303
+ images?: string[] | undefined;
304
+ }, {
305
+ text: string;
306
+ timestamp: number;
307
+ id: string;
308
+ images?: string[] | undefined;
309
+ }>, "many">], null>;
293
310
  taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
294
311
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
295
312
  totalTokensIn: z.ZodNumber;
@@ -401,6 +418,12 @@ declare const rooCodeEventsSchema: z.ZodObject<{
401
418
  taskModeSwitched: [string, string];
402
419
  taskAskResponded: [string];
403
420
  taskUserMessage: [string];
421
+ queuedMessagesUpdated: [string, {
422
+ text: string;
423
+ timestamp: number;
424
+ id: string;
425
+ images?: string[] | undefined;
426
+ }[]];
404
427
  taskTokenUsageUpdated: [string, {
405
428
  totalTokensIn: number;
406
429
  totalTokensOut: number;
@@ -486,6 +509,12 @@ declare const rooCodeEventsSchema: z.ZodObject<{
486
509
  taskModeSwitched: [string, string];
487
510
  taskAskResponded: [string];
488
511
  taskUserMessage: [string];
512
+ queuedMessagesUpdated: [string, {
513
+ text: string;
514
+ timestamp: number;
515
+ id: string;
516
+ images?: string[] | undefined;
517
+ }[]];
489
518
  taskTokenUsageUpdated: [string, {
490
519
  totalTokensIn: number;
491
520
  totalTokensOut: number;
@@ -1061,6 +1090,43 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1061
1090
  eventName: RooCodeEventName.TaskAskResponded;
1062
1091
  payload: [string];
1063
1092
  taskId?: number | undefined;
1093
+ }>, z.ZodObject<{
1094
+ eventName: z.ZodLiteral<RooCodeEventName.QueuedMessagesUpdated>;
1095
+ payload: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
1096
+ timestamp: z.ZodNumber;
1097
+ id: z.ZodString;
1098
+ text: z.ZodString;
1099
+ images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ text: string;
1102
+ timestamp: number;
1103
+ id: string;
1104
+ images?: string[] | undefined;
1105
+ }, {
1106
+ text: string;
1107
+ timestamp: number;
1108
+ id: string;
1109
+ images?: string[] | undefined;
1110
+ }>, "many">], null>;
1111
+ taskId: z.ZodOptional<z.ZodNumber>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
1114
+ payload: [string, {
1115
+ text: string;
1116
+ timestamp: number;
1117
+ id: string;
1118
+ images?: string[] | undefined;
1119
+ }[]];
1120
+ taskId?: number | undefined;
1121
+ }, {
1122
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
1123
+ payload: [string, {
1124
+ text: string;
1125
+ timestamp: number;
1126
+ id: string;
1127
+ images?: string[] | undefined;
1128
+ }[]];
1129
+ taskId?: number | undefined;
1064
1130
  }>, z.ZodObject<{
1065
1131
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
1066
1132
  payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
@@ -1460,8 +1526,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1460
1526
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
1461
1527
  vertexProjectId: z.ZodOptional<z.ZodString>;
1462
1528
  vertexRegion: z.ZodOptional<z.ZodString>;
1463
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
1464
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
1465
1529
  vertex1MContext: z.ZodOptional<z.ZodBoolean>;
1466
1530
  } & {
1467
1531
  apiProvider: z.ZodLiteral<"vertex">;
@@ -1482,8 +1546,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1482
1546
  vertexJsonCredentials?: string | undefined;
1483
1547
  vertexProjectId?: string | undefined;
1484
1548
  vertexRegion?: string | undefined;
1485
- enableUrlContext?: boolean | undefined;
1486
- enableGrounding?: boolean | undefined;
1487
1549
  vertex1MContext?: boolean | undefined;
1488
1550
  }, {
1489
1551
  apiProvider: "vertex";
@@ -1502,8 +1564,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1502
1564
  vertexJsonCredentials?: string | undefined;
1503
1565
  vertexProjectId?: string | undefined;
1504
1566
  vertexRegion?: string | undefined;
1505
- enableUrlContext?: boolean | undefined;
1506
- enableGrounding?: boolean | undefined;
1507
1567
  vertex1MContext?: boolean | undefined;
1508
1568
  }>, z.ZodObject<{
1509
1569
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
@@ -1964,8 +2024,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1964
2024
  } & {
1965
2025
  geminiApiKey: z.ZodOptional<z.ZodString>;
1966
2026
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
1967
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
1968
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
1969
2027
  } & {
1970
2028
  apiProvider: z.ZodLiteral<"gemini">;
1971
2029
  }, "strip", z.ZodTypeAny, {
@@ -1981,8 +2039,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1981
2039
  modelMaxThinkingTokens?: number | undefined;
1982
2040
  verbosity?: "low" | "medium" | "high" | undefined;
1983
2041
  apiModelId?: string | undefined;
1984
- enableUrlContext?: boolean | undefined;
1985
- enableGrounding?: boolean | undefined;
1986
2042
  geminiApiKey?: string | undefined;
1987
2043
  googleGeminiBaseUrl?: string | undefined;
1988
2044
  }, {
@@ -1998,8 +2054,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1998
2054
  modelMaxThinkingTokens?: number | undefined;
1999
2055
  verbosity?: "low" | "medium" | "high" | undefined;
2000
2056
  apiModelId?: string | undefined;
2001
- enableUrlContext?: boolean | undefined;
2002
- enableGrounding?: boolean | undefined;
2003
2057
  geminiApiKey?: string | undefined;
2004
2058
  googleGeminiBaseUrl?: string | undefined;
2005
2059
  }>, z.ZodObject<{
@@ -3329,8 +3383,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3329
3383
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
3330
3384
  geminiApiKey: z.ZodOptional<z.ZodString>;
3331
3385
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
3332
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
3333
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
3334
3386
  lmStudioModelId: z.ZodOptional<z.ZodString>;
3335
3387
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
3336
3388
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -3578,8 +3630,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3578
3630
  vertexJsonCredentials?: string | undefined;
3579
3631
  vertexProjectId?: string | undefined;
3580
3632
  vertexRegion?: string | undefined;
3581
- enableUrlContext?: boolean | undefined;
3582
- enableGrounding?: boolean | undefined;
3583
3633
  vertex1MContext?: boolean | undefined;
3584
3634
  openAiBaseUrl?: string | undefined;
3585
3635
  openAiApiKey?: string | undefined;
@@ -3744,8 +3794,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3744
3794
  vertexJsonCredentials?: string | undefined;
3745
3795
  vertexProjectId?: string | undefined;
3746
3796
  vertexRegion?: string | undefined;
3747
- enableUrlContext?: boolean | undefined;
3748
- enableGrounding?: boolean | undefined;
3749
3797
  vertex1MContext?: boolean | undefined;
3750
3798
  openAiBaseUrl?: string | undefined;
3751
3799
  openAiApiKey?: string | undefined;
@@ -3931,8 +3979,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3931
3979
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
3932
3980
  geminiApiKey: z.ZodOptional<z.ZodString>;
3933
3981
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
3934
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
3935
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
3936
3982
  lmStudioModelId: z.ZodOptional<z.ZodString>;
3937
3983
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
3938
3984
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -4183,8 +4229,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4183
4229
  vertexJsonCredentials?: string | undefined;
4184
4230
  vertexProjectId?: string | undefined;
4185
4231
  vertexRegion?: string | undefined;
4186
- enableUrlContext?: boolean | undefined;
4187
- enableGrounding?: boolean | undefined;
4188
4232
  vertex1MContext?: boolean | undefined;
4189
4233
  openAiBaseUrl?: string | undefined;
4190
4234
  openAiApiKey?: string | undefined;
@@ -4350,8 +4394,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4350
4394
  vertexJsonCredentials?: string | undefined;
4351
4395
  vertexProjectId?: string | undefined;
4352
4396
  vertexRegion?: string | undefined;
4353
- enableUrlContext?: boolean | undefined;
4354
- enableGrounding?: boolean | undefined;
4355
4397
  vertex1MContext?: boolean | undefined;
4356
4398
  openAiBaseUrl?: string | undefined;
4357
4399
  openAiApiKey?: string | undefined;
@@ -4681,8 +4723,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4681
4723
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
4682
4724
  vertexProjectId: z.ZodOptional<z.ZodString>;
4683
4725
  vertexRegion: z.ZodOptional<z.ZodString>;
4684
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
4685
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
4686
4726
  vertex1MContext: z.ZodOptional<z.ZodBoolean>;
4687
4727
  } & {
4688
4728
  apiProvider: z.ZodLiteral<"vertex">;
@@ -4703,8 +4743,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4703
4743
  vertexJsonCredentials?: string | undefined;
4704
4744
  vertexProjectId?: string | undefined;
4705
4745
  vertexRegion?: string | undefined;
4706
- enableUrlContext?: boolean | undefined;
4707
- enableGrounding?: boolean | undefined;
4708
4746
  vertex1MContext?: boolean | undefined;
4709
4747
  }, {
4710
4748
  apiProvider: "vertex";
@@ -4723,8 +4761,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4723
4761
  vertexJsonCredentials?: string | undefined;
4724
4762
  vertexProjectId?: string | undefined;
4725
4763
  vertexRegion?: string | undefined;
4726
- enableUrlContext?: boolean | undefined;
4727
- enableGrounding?: boolean | undefined;
4728
4764
  vertex1MContext?: boolean | undefined;
4729
4765
  }>, z.ZodObject<{
4730
4766
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
@@ -5185,8 +5221,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5185
5221
  } & {
5186
5222
  geminiApiKey: z.ZodOptional<z.ZodString>;
5187
5223
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
5188
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
5189
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
5190
5224
  } & {
5191
5225
  apiProvider: z.ZodLiteral<"gemini">;
5192
5226
  }, "strip", z.ZodTypeAny, {
@@ -5202,8 +5236,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5202
5236
  modelMaxThinkingTokens?: number | undefined;
5203
5237
  verbosity?: "low" | "medium" | "high" | undefined;
5204
5238
  apiModelId?: string | undefined;
5205
- enableUrlContext?: boolean | undefined;
5206
- enableGrounding?: boolean | undefined;
5207
5239
  geminiApiKey?: string | undefined;
5208
5240
  googleGeminiBaseUrl?: string | undefined;
5209
5241
  }, {
@@ -5219,8 +5251,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5219
5251
  modelMaxThinkingTokens?: number | undefined;
5220
5252
  verbosity?: "low" | "medium" | "high" | undefined;
5221
5253
  apiModelId?: string | undefined;
5222
- enableUrlContext?: boolean | undefined;
5223
- enableGrounding?: boolean | undefined;
5224
5254
  geminiApiKey?: string | undefined;
5225
5255
  googleGeminiBaseUrl?: string | undefined;
5226
5256
  }>, z.ZodObject<{
@@ -6487,7 +6517,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
6487
6517
  id?: string | undefined;
6488
6518
  }>>;
6489
6519
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
6490
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "todoListEnabled", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "awsBedrockServiceTier", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "vertex1MContext", "openAiBaseUrl", "openAiApiKey", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "rooApiKey", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
6520
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "todoListEnabled", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "awsBedrockServiceTier", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "vertex1MContext", "openAiBaseUrl", "openAiApiKey", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "rooApiKey", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
6491
6521
  /**
6492
6522
  * ModelIdKey
6493
6523
  */
@@ -7002,6 +7032,11 @@ declare const globalSettingsSchema: z.ZodObject<{
7002
7032
  * @default true
7003
7033
  */
7004
7034
  showWorktreesInHomeScreen: z.ZodOptional<z.ZodBoolean>;
7035
+ /**
7036
+ * List of native tool names to globally disable.
7037
+ * Tools in this list will be excluded from prompt generation and rejected at execution time.
7038
+ */
7039
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
7005
7040
  }, "strip", z.ZodTypeAny, {
7006
7041
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7007
7042
  rateLimitSeconds?: number | undefined;
@@ -7185,6 +7220,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7185
7220
  lastImageSavePath?: string | undefined;
7186
7221
  worktreeAutoOpenPath?: string | undefined;
7187
7222
  showWorktreesInHomeScreen?: boolean | undefined;
7223
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
7188
7224
  }, {
7189
7225
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7190
7226
  rateLimitSeconds?: number | undefined;
@@ -7368,9 +7404,10 @@ declare const globalSettingsSchema: z.ZodObject<{
7368
7404
  lastImageSavePath?: string | undefined;
7369
7405
  worktreeAutoOpenPath?: string | undefined;
7370
7406
  showWorktreesInHomeScreen?: boolean | undefined;
7407
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
7371
7408
  }>;
7372
7409
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
7373
- declare const GLOBAL_SETTINGS_KEYS: ["rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "dismissedUpsells", "imageGenerationProvider", "openRouterImageApiKey", "openRouterImageGenerationSelectedModel", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "allowedMaxCost", "autoCondenseContext", "autoCondenseContextPercent", "includeCurrentTime", "includeCurrentCost", "maxGitStatusFiles", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "checkpointTimeout", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "enableSubfolderRules", "maxImageFileSize", "maxTotalImageSize", "terminalOutputPreviewSize", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "reasoningBlockCollapsed", "enterBehavior", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath", "lastSettingsExportPath", "lastTaskExportPath", "lastImageSavePath", "worktreeAutoOpenPath", "showWorktreesInHomeScreen"];
7410
+ declare const GLOBAL_SETTINGS_KEYS: ["rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "dismissedUpsells", "imageGenerationProvider", "openRouterImageApiKey", "openRouterImageGenerationSelectedModel", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "allowedMaxCost", "autoCondenseContext", "autoCondenseContextPercent", "includeCurrentTime", "includeCurrentCost", "maxGitStatusFiles", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "checkpointTimeout", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "enableSubfolderRules", "maxImageFileSize", "maxTotalImageSize", "terminalOutputPreviewSize", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "reasoningBlockCollapsed", "enterBehavior", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath", "lastSettingsExportPath", "lastTaskExportPath", "lastImageSavePath", "worktreeAutoOpenPath", "showWorktreesInHomeScreen", "disabledTools"];
7374
7411
  /**
7375
7412
  * RooCodeSettings
7376
7413
  */
@@ -7443,8 +7480,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7443
7480
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
7444
7481
  geminiApiKey: z.ZodOptional<z.ZodString>;
7445
7482
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
7446
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
7447
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
7448
7483
  lmStudioModelId: z.ZodOptional<z.ZodString>;
7449
7484
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
7450
7485
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -8044,6 +8079,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8044
8079
  lastImageSavePath: z.ZodOptional<z.ZodString>;
8045
8080
  worktreeAutoOpenPath: z.ZodOptional<z.ZodString>;
8046
8081
  showWorktreesInHomeScreen: z.ZodOptional<z.ZodBoolean>;
8082
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
8047
8083
  }, "strip", z.ZodTypeAny, {
8048
8084
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
8049
8085
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -8096,8 +8132,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8096
8132
  vertexJsonCredentials?: string | undefined;
8097
8133
  vertexProjectId?: string | undefined;
8098
8134
  vertexRegion?: string | undefined;
8099
- enableUrlContext?: boolean | undefined;
8100
- enableGrounding?: boolean | undefined;
8101
8135
  vertex1MContext?: boolean | undefined;
8102
8136
  openAiBaseUrl?: string | undefined;
8103
8137
  openAiApiKey?: string | undefined;
@@ -8391,6 +8425,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8391
8425
  lastImageSavePath?: string | undefined;
8392
8426
  worktreeAutoOpenPath?: string | undefined;
8393
8427
  showWorktreesInHomeScreen?: boolean | undefined;
8428
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
8394
8429
  }, {
8395
8430
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
8396
8431
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -8443,8 +8478,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8443
8478
  vertexJsonCredentials?: string | undefined;
8444
8479
  vertexProjectId?: string | undefined;
8445
8480
  vertexRegion?: string | undefined;
8446
- enableUrlContext?: boolean | undefined;
8447
- enableGrounding?: boolean | undefined;
8448
8481
  vertex1MContext?: boolean | undefined;
8449
8482
  openAiBaseUrl?: string | undefined;
8450
8483
  openAiApiKey?: string | undefined;
@@ -8738,6 +8771,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8738
8771
  lastImageSavePath?: string | undefined;
8739
8772
  worktreeAutoOpenPath?: string | undefined;
8740
8773
  showWorktreesInHomeScreen?: boolean | undefined;
8774
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
8741
8775
  }>;
8742
8776
  type RooCodeSettings = GlobalSettings & ProviderSettings;
8743
8777
  /**
@@ -8882,8 +8916,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8882
8916
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
8883
8917
  geminiApiKey: z.ZodOptional<z.ZodString>;
8884
8918
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
8885
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
8886
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
8887
8919
  lmStudioModelId: z.ZodOptional<z.ZodString>;
8888
8920
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
8889
8921
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -9483,6 +9515,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9483
9515
  lastImageSavePath: z.ZodOptional<z.ZodString>;
9484
9516
  worktreeAutoOpenPath: z.ZodOptional<z.ZodString>;
9485
9517
  showWorktreesInHomeScreen: z.ZodOptional<z.ZodBoolean>;
9518
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
9486
9519
  }, "strip", z.ZodTypeAny, {
9487
9520
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
9488
9521
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -9535,8 +9568,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9535
9568
  vertexJsonCredentials?: string | undefined;
9536
9569
  vertexProjectId?: string | undefined;
9537
9570
  vertexRegion?: string | undefined;
9538
- enableUrlContext?: boolean | undefined;
9539
- enableGrounding?: boolean | undefined;
9540
9571
  vertex1MContext?: boolean | undefined;
9541
9572
  openAiBaseUrl?: string | undefined;
9542
9573
  openAiApiKey?: string | undefined;
@@ -9830,6 +9861,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9830
9861
  lastImageSavePath?: string | undefined;
9831
9862
  worktreeAutoOpenPath?: string | undefined;
9832
9863
  showWorktreesInHomeScreen?: boolean | undefined;
9864
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
9833
9865
  }, {
9834
9866
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
9835
9867
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -9882,8 +9914,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9882
9914
  vertexJsonCredentials?: string | undefined;
9883
9915
  vertexProjectId?: string | undefined;
9884
9916
  vertexRegion?: string | undefined;
9885
- enableUrlContext?: boolean | undefined;
9886
- enableGrounding?: boolean | undefined;
9887
9917
  vertex1MContext?: boolean | undefined;
9888
9918
  openAiBaseUrl?: string | undefined;
9889
9919
  openAiApiKey?: string | undefined;
@@ -10177,6 +10207,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10177
10207
  lastImageSavePath?: string | undefined;
10178
10208
  worktreeAutoOpenPath?: string | undefined;
10179
10209
  showWorktreesInHomeScreen?: boolean | undefined;
10210
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
10180
10211
  }>;
10181
10212
  text: z.ZodString;
10182
10213
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -10235,8 +10266,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10235
10266
  vertexJsonCredentials?: string | undefined;
10236
10267
  vertexProjectId?: string | undefined;
10237
10268
  vertexRegion?: string | undefined;
10238
- enableUrlContext?: boolean | undefined;
10239
- enableGrounding?: boolean | undefined;
10240
10269
  vertex1MContext?: boolean | undefined;
10241
10270
  openAiBaseUrl?: string | undefined;
10242
10271
  openAiApiKey?: string | undefined;
@@ -10530,6 +10559,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10530
10559
  lastImageSavePath?: string | undefined;
10531
10560
  worktreeAutoOpenPath?: string | undefined;
10532
10561
  showWorktreesInHomeScreen?: boolean | undefined;
10562
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
10533
10563
  };
10534
10564
  images?: string[] | undefined;
10535
10565
  newTab?: boolean | undefined;
@@ -10587,8 +10617,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10587
10617
  vertexJsonCredentials?: string | undefined;
10588
10618
  vertexProjectId?: string | undefined;
10589
10619
  vertexRegion?: string | undefined;
10590
- enableUrlContext?: boolean | undefined;
10591
- enableGrounding?: boolean | undefined;
10592
10620
  vertex1MContext?: boolean | undefined;
10593
10621
  openAiBaseUrl?: string | undefined;
10594
10622
  openAiApiKey?: string | undefined;
@@ -10882,6 +10910,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10882
10910
  lastImageSavePath?: string | undefined;
10883
10911
  worktreeAutoOpenPath?: string | undefined;
10884
10912
  showWorktreesInHomeScreen?: boolean | undefined;
10913
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
10885
10914
  };
10886
10915
  images?: string[] | undefined;
10887
10916
  newTab?: boolean | undefined;
@@ -10941,8 +10970,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10941
10970
  vertexJsonCredentials?: string | undefined;
10942
10971
  vertexProjectId?: string | undefined;
10943
10972
  vertexRegion?: string | undefined;
10944
- enableUrlContext?: boolean | undefined;
10945
- enableGrounding?: boolean | undefined;
10946
10973
  vertex1MContext?: boolean | undefined;
10947
10974
  openAiBaseUrl?: string | undefined;
10948
10975
  openAiApiKey?: string | undefined;
@@ -11236,6 +11263,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11236
11263
  lastImageSavePath?: string | undefined;
11237
11264
  worktreeAutoOpenPath?: string | undefined;
11238
11265
  showWorktreesInHomeScreen?: boolean | undefined;
11266
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
11239
11267
  };
11240
11268
  images?: string[] | undefined;
11241
11269
  newTab?: boolean | undefined;
@@ -11296,8 +11324,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11296
11324
  vertexJsonCredentials?: string | undefined;
11297
11325
  vertexProjectId?: string | undefined;
11298
11326
  vertexRegion?: string | undefined;
11299
- enableUrlContext?: boolean | undefined;
11300
- enableGrounding?: boolean | undefined;
11301
11327
  vertex1MContext?: boolean | undefined;
11302
11328
  openAiBaseUrl?: string | undefined;
11303
11329
  openAiApiKey?: string | undefined;
@@ -11591,6 +11617,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11591
11617
  lastImageSavePath?: string | undefined;
11592
11618
  worktreeAutoOpenPath?: string | undefined;
11593
11619
  showWorktreesInHomeScreen?: boolean | undefined;
11620
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
11594
11621
  };
11595
11622
  images?: string[] | undefined;
11596
11623
  newTab?: boolean | undefined;
@@ -11598,21 +11625,15 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11598
11625
  commandName: TaskCommandName.StartNewTask;
11599
11626
  }>, z.ZodObject<{
11600
11627
  commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
11601
- data: z.ZodString;
11602
11628
  }, "strip", z.ZodTypeAny, {
11603
- data: string;
11604
11629
  commandName: TaskCommandName.CancelTask;
11605
11630
  }, {
11606
- data: string;
11607
11631
  commandName: TaskCommandName.CancelTask;
11608
11632
  }>, z.ZodObject<{
11609
11633
  commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
11610
- data: z.ZodString;
11611
11634
  }, "strip", z.ZodTypeAny, {
11612
- data: string;
11613
11635
  commandName: TaskCommandName.CloseTask;
11614
11636
  }, {
11615
- data: string;
11616
11637
  commandName: TaskCommandName.CloseTask;
11617
11638
  }>, z.ZodObject<{
11618
11639
  commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
@@ -11760,8 +11781,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11760
11781
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
11761
11782
  geminiApiKey: z.ZodOptional<z.ZodString>;
11762
11783
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
11763
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
11764
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
11765
11784
  lmStudioModelId: z.ZodOptional<z.ZodString>;
11766
11785
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
11767
11786
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -12361,6 +12380,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12361
12380
  lastImageSavePath: z.ZodOptional<z.ZodString>;
12362
12381
  worktreeAutoOpenPath: z.ZodOptional<z.ZodString>;
12363
12382
  showWorktreesInHomeScreen: z.ZodOptional<z.ZodBoolean>;
12383
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
12364
12384
  }, "strip", z.ZodTypeAny, {
12365
12385
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
12366
12386
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -12413,8 +12433,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12413
12433
  vertexJsonCredentials?: string | undefined;
12414
12434
  vertexProjectId?: string | undefined;
12415
12435
  vertexRegion?: string | undefined;
12416
- enableUrlContext?: boolean | undefined;
12417
- enableGrounding?: boolean | undefined;
12418
12436
  vertex1MContext?: boolean | undefined;
12419
12437
  openAiBaseUrl?: string | undefined;
12420
12438
  openAiApiKey?: string | undefined;
@@ -12708,6 +12726,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12708
12726
  lastImageSavePath?: string | undefined;
12709
12727
  worktreeAutoOpenPath?: string | undefined;
12710
12728
  showWorktreesInHomeScreen?: boolean | undefined;
12729
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
12711
12730
  }, {
12712
12731
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
12713
12732
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -12760,8 +12779,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12760
12779
  vertexJsonCredentials?: string | undefined;
12761
12780
  vertexProjectId?: string | undefined;
12762
12781
  vertexRegion?: string | undefined;
12763
- enableUrlContext?: boolean | undefined;
12764
- enableGrounding?: boolean | undefined;
12765
12782
  vertex1MContext?: boolean | undefined;
12766
12783
  openAiBaseUrl?: string | undefined;
12767
12784
  openAiApiKey?: string | undefined;
@@ -13055,6 +13072,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13055
13072
  lastImageSavePath?: string | undefined;
13056
13073
  worktreeAutoOpenPath?: string | undefined;
13057
13074
  showWorktreesInHomeScreen?: boolean | undefined;
13075
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
13058
13076
  }>;
13059
13077
  text: z.ZodString;
13060
13078
  images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -13113,8 +13131,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13113
13131
  vertexJsonCredentials?: string | undefined;
13114
13132
  vertexProjectId?: string | undefined;
13115
13133
  vertexRegion?: string | undefined;
13116
- enableUrlContext?: boolean | undefined;
13117
- enableGrounding?: boolean | undefined;
13118
13134
  vertex1MContext?: boolean | undefined;
13119
13135
  openAiBaseUrl?: string | undefined;
13120
13136
  openAiApiKey?: string | undefined;
@@ -13408,6 +13424,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13408
13424
  lastImageSavePath?: string | undefined;
13409
13425
  worktreeAutoOpenPath?: string | undefined;
13410
13426
  showWorktreesInHomeScreen?: boolean | undefined;
13427
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
13411
13428
  };
13412
13429
  images?: string[] | undefined;
13413
13430
  newTab?: boolean | undefined;
@@ -13465,8 +13482,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13465
13482
  vertexJsonCredentials?: string | undefined;
13466
13483
  vertexProjectId?: string | undefined;
13467
13484
  vertexRegion?: string | undefined;
13468
- enableUrlContext?: boolean | undefined;
13469
- enableGrounding?: boolean | undefined;
13470
13485
  vertex1MContext?: boolean | undefined;
13471
13486
  openAiBaseUrl?: string | undefined;
13472
13487
  openAiApiKey?: string | undefined;
@@ -13760,6 +13775,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13760
13775
  lastImageSavePath?: string | undefined;
13761
13776
  worktreeAutoOpenPath?: string | undefined;
13762
13777
  showWorktreesInHomeScreen?: boolean | undefined;
13778
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
13763
13779
  };
13764
13780
  images?: string[] | undefined;
13765
13781
  newTab?: boolean | undefined;
@@ -13819,8 +13835,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13819
13835
  vertexJsonCredentials?: string | undefined;
13820
13836
  vertexProjectId?: string | undefined;
13821
13837
  vertexRegion?: string | undefined;
13822
- enableUrlContext?: boolean | undefined;
13823
- enableGrounding?: boolean | undefined;
13824
13838
  vertex1MContext?: boolean | undefined;
13825
13839
  openAiBaseUrl?: string | undefined;
13826
13840
  openAiApiKey?: string | undefined;
@@ -14114,6 +14128,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14114
14128
  lastImageSavePath?: string | undefined;
14115
14129
  worktreeAutoOpenPath?: string | undefined;
14116
14130
  showWorktreesInHomeScreen?: boolean | undefined;
14131
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
14117
14132
  };
14118
14133
  images?: string[] | undefined;
14119
14134
  newTab?: boolean | undefined;
@@ -14174,8 +14189,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14174
14189
  vertexJsonCredentials?: string | undefined;
14175
14190
  vertexProjectId?: string | undefined;
14176
14191
  vertexRegion?: string | undefined;
14177
- enableUrlContext?: boolean | undefined;
14178
- enableGrounding?: boolean | undefined;
14179
14192
  vertex1MContext?: boolean | undefined;
14180
14193
  openAiBaseUrl?: string | undefined;
14181
14194
  openAiApiKey?: string | undefined;
@@ -14469,6 +14482,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14469
14482
  lastImageSavePath?: string | undefined;
14470
14483
  worktreeAutoOpenPath?: string | undefined;
14471
14484
  showWorktreesInHomeScreen?: boolean | undefined;
14485
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
14472
14486
  };
14473
14487
  images?: string[] | undefined;
14474
14488
  newTab?: boolean | undefined;
@@ -14476,21 +14490,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14476
14490
  commandName: TaskCommandName.StartNewTask;
14477
14491
  }>, z.ZodObject<{
14478
14492
  commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
14479
- data: z.ZodString;
14480
14493
  }, "strip", z.ZodTypeAny, {
14481
- data: string;
14482
14494
  commandName: TaskCommandName.CancelTask;
14483
14495
  }, {
14484
- data: string;
14485
14496
  commandName: TaskCommandName.CancelTask;
14486
14497
  }>, z.ZodObject<{
14487
14498
  commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
14488
- data: z.ZodString;
14489
14499
  }, "strip", z.ZodTypeAny, {
14490
- data: string;
14491
14500
  commandName: TaskCommandName.CloseTask;
14492
14501
  }, {
14493
- data: string;
14494
14502
  commandName: TaskCommandName.CloseTask;
14495
14503
  }>, z.ZodObject<{
14496
14504
  commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
@@ -14583,8 +14591,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14583
14591
  vertexJsonCredentials?: string | undefined;
14584
14592
  vertexProjectId?: string | undefined;
14585
14593
  vertexRegion?: string | undefined;
14586
- enableUrlContext?: boolean | undefined;
14587
- enableGrounding?: boolean | undefined;
14588
14594
  vertex1MContext?: boolean | undefined;
14589
14595
  openAiBaseUrl?: string | undefined;
14590
14596
  openAiApiKey?: string | undefined;
@@ -14878,16 +14884,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14878
14884
  lastImageSavePath?: string | undefined;
14879
14885
  worktreeAutoOpenPath?: string | undefined;
14880
14886
  showWorktreesInHomeScreen?: boolean | undefined;
14887
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
14881
14888
  };
14882
14889
  images?: string[] | undefined;
14883
14890
  newTab?: boolean | undefined;
14884
14891
  };
14885
14892
  commandName: TaskCommandName.StartNewTask;
14886
14893
  } | {
14887
- data: string;
14888
14894
  commandName: TaskCommandName.CancelTask;
14889
14895
  } | {
14890
- data: string;
14891
14896
  commandName: TaskCommandName.CloseTask;
14892
14897
  } | {
14893
14898
  data: string;
@@ -14958,8 +14963,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14958
14963
  vertexJsonCredentials?: string | undefined;
14959
14964
  vertexProjectId?: string | undefined;
14960
14965
  vertexRegion?: string | undefined;
14961
- enableUrlContext?: boolean | undefined;
14962
- enableGrounding?: boolean | undefined;
14963
14966
  vertex1MContext?: boolean | undefined;
14964
14967
  openAiBaseUrl?: string | undefined;
14965
14968
  openAiApiKey?: string | undefined;
@@ -15253,16 +15256,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15253
15256
  lastImageSavePath?: string | undefined;
15254
15257
  worktreeAutoOpenPath?: string | undefined;
15255
15258
  showWorktreesInHomeScreen?: boolean | undefined;
15259
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
15256
15260
  };
15257
15261
  images?: string[] | undefined;
15258
15262
  newTab?: boolean | undefined;
15259
15263
  };
15260
15264
  commandName: TaskCommandName.StartNewTask;
15261
15265
  } | {
15262
- data: string;
15263
15266
  commandName: TaskCommandName.CancelTask;
15264
15267
  } | {
15265
- data: string;
15266
15268
  commandName: TaskCommandName.CloseTask;
15267
15269
  } | {
15268
15270
  data: string;
@@ -15833,6 +15835,43 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15833
15835
  eventName: RooCodeEventName.TaskAskResponded;
15834
15836
  payload: [string];
15835
15837
  taskId?: number | undefined;
15838
+ }>, z.ZodObject<{
15839
+ eventName: z.ZodLiteral<RooCodeEventName.QueuedMessagesUpdated>;
15840
+ payload: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
15841
+ timestamp: z.ZodNumber;
15842
+ id: z.ZodString;
15843
+ text: z.ZodString;
15844
+ images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15845
+ }, "strip", z.ZodTypeAny, {
15846
+ text: string;
15847
+ timestamp: number;
15848
+ id: string;
15849
+ images?: string[] | undefined;
15850
+ }, {
15851
+ text: string;
15852
+ timestamp: number;
15853
+ id: string;
15854
+ images?: string[] | undefined;
15855
+ }>, "many">], null>;
15856
+ taskId: z.ZodOptional<z.ZodNumber>;
15857
+ }, "strip", z.ZodTypeAny, {
15858
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
15859
+ payload: [string, {
15860
+ text: string;
15861
+ timestamp: number;
15862
+ id: string;
15863
+ images?: string[] | undefined;
15864
+ }[]];
15865
+ taskId?: number | undefined;
15866
+ }, {
15867
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
15868
+ payload: [string, {
15869
+ text: string;
15870
+ timestamp: number;
15871
+ id: string;
15872
+ images?: string[] | undefined;
15873
+ }[]];
15874
+ taskId?: number | undefined;
15836
15875
  }>, z.ZodObject<{
15837
15876
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
15838
15877
  payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
@@ -16057,6 +16096,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16057
16096
  eventName: RooCodeEventName.TaskAskResponded;
16058
16097
  payload: [string];
16059
16098
  taskId?: number | undefined;
16099
+ } | {
16100
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
16101
+ payload: [string, {
16102
+ text: string;
16103
+ timestamp: number;
16104
+ id: string;
16105
+ images?: string[] | undefined;
16106
+ }[]];
16107
+ taskId?: number | undefined;
16060
16108
  } | {
16061
16109
  eventName: RooCodeEventName.TaskToolFailed;
16062
16110
  payload: [string, "browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool", string];
@@ -16211,6 +16259,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16211
16259
  eventName: RooCodeEventName.TaskAskResponded;
16212
16260
  payload: [string];
16213
16261
  taskId?: number | undefined;
16262
+ } | {
16263
+ eventName: RooCodeEventName.QueuedMessagesUpdated;
16264
+ payload: [string, {
16265
+ text: string;
16266
+ timestamp: number;
16267
+ id: string;
16268
+ images?: string[] | undefined;
16269
+ }[]];
16270
+ taskId?: number | undefined;
16214
16271
  } | {
16215
16272
  eventName: RooCodeEventName.TaskToolFailed;
16216
16273
  payload: [string, "browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool", string];
@@ -18211,6 +18268,7 @@ type TaskEvents = {
18211
18268
  [RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
18212
18269
  [RooCodeEventName.TaskAskResponded]: [];
18213
18270
  [RooCodeEventName.TaskUserMessage]: [taskId: string];
18271
+ [RooCodeEventName.QueuedMessagesUpdated]: [taskId: string, messages: QueuedMessage[]];
18214
18272
  [RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
18215
18273
  [RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
18216
18274
  };
@@ -18305,6 +18363,7 @@ declare const organizationDefaultSettingsSchema: z.ZodObject<{
18305
18363
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
18306
18364
  terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
18307
18365
  terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
18366
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
18308
18367
  } & {
18309
18368
  maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
18310
18369
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
@@ -18319,6 +18378,7 @@ declare const organizationDefaultSettingsSchema: z.ZodObject<{
18319
18378
  terminalShellIntegrationDisabled?: boolean | undefined;
18320
18379
  terminalCommandDelay?: number | undefined;
18321
18380
  terminalZshClearEolMark?: boolean | undefined;
18381
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
18322
18382
  }, {
18323
18383
  enableCheckpoints?: boolean | undefined;
18324
18384
  maxOpenTabsContext?: number | undefined;
@@ -18328,6 +18388,7 @@ declare const organizationDefaultSettingsSchema: z.ZodObject<{
18328
18388
  terminalShellIntegrationDisabled?: boolean | undefined;
18329
18389
  terminalCommandDelay?: number | undefined;
18330
18390
  terminalZshClearEolMark?: boolean | undefined;
18391
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
18331
18392
  }>;
18332
18393
  type OrganizationDefaultSettings = z.infer<typeof organizationDefaultSettingsSchema>;
18333
18394
  /**
@@ -18410,6 +18471,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18410
18471
  showRooIgnoredFiles: z.ZodOptional<z.ZodBoolean>;
18411
18472
  terminalShellIntegrationDisabled: z.ZodOptional<z.ZodBoolean>;
18412
18473
  terminalZshClearEolMark: z.ZodOptional<z.ZodBoolean>;
18474
+ disabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<["execute_command", "read_file", "read_command_output", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, "many">>;
18413
18475
  } & {
18414
18476
  maxOpenTabsContext: z.ZodOptional<z.ZodNumber>;
18415
18477
  maxWorkspaceFiles: z.ZodOptional<z.ZodNumber>;
@@ -18424,6 +18486,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18424
18486
  terminalShellIntegrationDisabled?: boolean | undefined;
18425
18487
  terminalCommandDelay?: number | undefined;
18426
18488
  terminalZshClearEolMark?: boolean | undefined;
18489
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
18427
18490
  }, {
18428
18491
  enableCheckpoints?: boolean | undefined;
18429
18492
  maxOpenTabsContext?: number | undefined;
@@ -18433,6 +18496,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18433
18496
  terminalShellIntegrationDisabled?: boolean | undefined;
18434
18497
  terminalCommandDelay?: number | undefined;
18435
18498
  terminalZshClearEolMark?: boolean | undefined;
18499
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
18436
18500
  }>;
18437
18501
  allowList: z.ZodObject<{
18438
18502
  allowAll: z.ZodBoolean;
@@ -18658,8 +18722,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
18658
18722
  geminiCliProjectId: z.ZodOptional<z.ZodString>;
18659
18723
  geminiApiKey: z.ZodOptional<z.ZodString>;
18660
18724
  googleGeminiBaseUrl: z.ZodOptional<z.ZodString>;
18661
- enableUrlContext: z.ZodOptional<z.ZodBoolean>;
18662
- enableGrounding: z.ZodOptional<z.ZodBoolean>;
18663
18725
  lmStudioModelId: z.ZodOptional<z.ZodString>;
18664
18726
  lmStudioBaseUrl: z.ZodOptional<z.ZodString>;
18665
18727
  lmStudioDraftModelId: z.ZodOptional<z.ZodString>;
@@ -18910,8 +18972,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
18910
18972
  vertexJsonCredentials?: string | undefined;
18911
18973
  vertexProjectId?: string | undefined;
18912
18974
  vertexRegion?: string | undefined;
18913
- enableUrlContext?: boolean | undefined;
18914
- enableGrounding?: boolean | undefined;
18915
18975
  vertex1MContext?: boolean | undefined;
18916
18976
  openAiBaseUrl?: string | undefined;
18917
18977
  openAiApiKey?: string | undefined;
@@ -19077,8 +19137,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19077
19137
  vertexJsonCredentials?: string | undefined;
19078
19138
  vertexProjectId?: string | undefined;
19079
19139
  vertexRegion?: string | undefined;
19080
- enableUrlContext?: boolean | undefined;
19081
- enableGrounding?: boolean | undefined;
19082
19140
  vertex1MContext?: boolean | undefined;
19083
19141
  openAiBaseUrl?: string | undefined;
19084
19142
  openAiApiKey?: string | undefined;
@@ -19204,6 +19262,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19204
19262
  terminalShellIntegrationDisabled?: boolean | undefined;
19205
19263
  terminalCommandDelay?: number | undefined;
19206
19264
  terminalZshClearEolMark?: boolean | undefined;
19265
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
19207
19266
  };
19208
19267
  allowList: {
19209
19268
  allowAll: boolean;
@@ -19305,8 +19364,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19305
19364
  vertexJsonCredentials?: string | undefined;
19306
19365
  vertexProjectId?: string | undefined;
19307
19366
  vertexRegion?: string | undefined;
19308
- enableUrlContext?: boolean | undefined;
19309
- enableGrounding?: boolean | undefined;
19310
19367
  vertex1MContext?: boolean | undefined;
19311
19368
  openAiBaseUrl?: string | undefined;
19312
19369
  openAiApiKey?: string | undefined;
@@ -19432,6 +19489,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19432
19489
  terminalShellIntegrationDisabled?: boolean | undefined;
19433
19490
  terminalCommandDelay?: number | undefined;
19434
19491
  terminalZshClearEolMark?: boolean | undefined;
19492
+ disabledTools?: ("browser_action" | "execute_command" | "read_file" | "read_command_output" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool")[] | undefined;
19435
19493
  };
19436
19494
  allowList: {
19437
19495
  allowAll: boolean;
@@ -19533,8 +19591,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19533
19591
  vertexJsonCredentials?: string | undefined;
19534
19592
  vertexProjectId?: string | undefined;
19535
19593
  vertexRegion?: string | undefined;
19536
- enableUrlContext?: boolean | undefined;
19537
- enableGrounding?: boolean | undefined;
19538
19594
  vertex1MContext?: boolean | undefined;
19539
19595
  openAiBaseUrl?: string | undefined;
19540
19596
  openAiApiKey?: string | undefined;
@@ -44536,7 +44592,17 @@ interface SkillMetadata {
44536
44592
  description: string;
44537
44593
  path: string;
44538
44594
  source: "global" | "project" | "built-in";
44595
+ /**
44596
+ * @deprecated Use modeSlugs instead. Kept for backward compatibility.
44597
+ * If set, skill is only available in this mode.
44598
+ */
44539
44599
  mode?: string;
44600
+ /**
44601
+ * Mode slugs where this skill is available.
44602
+ * - undefined or empty array means the skill is available in all modes ("Any mode").
44603
+ * - An array with one or more mode slugs restricts the skill to those modes.
44604
+ */
44605
+ modeSlugs?: string[];
44540
44606
  }
44541
44607
  /**
44542
44608
  * Skill name validation constants per agentskills.io specification:
@@ -45095,7 +45161,7 @@ interface OpenAiCodexRateLimitsMessage {
45095
45161
  values?: OpenAiCodexRateLimitInfo;
45096
45162
  error?: string;
45097
45163
  }
45098
- type ExtensionState = Pick<GlobalSettings, "currentApiConfigName" | "listApiConfigMeta" | "pinnedApiConfigs" | "customInstructions" | "dismissedUpsells" | "autoApprovalEnabled" | "alwaysAllowReadOnly" | "alwaysAllowReadOnlyOutsideWorkspace" | "alwaysAllowWrite" | "alwaysAllowWriteOutsideWorkspace" | "alwaysAllowWriteProtected" | "alwaysAllowBrowser" | "alwaysAllowMcp" | "alwaysAllowModeSwitch" | "alwaysAllowSubtasks" | "alwaysAllowFollowupQuestions" | "alwaysAllowExecute" | "followupAutoApproveTimeoutMs" | "allowedCommands" | "deniedCommands" | "allowedMaxRequests" | "allowedMaxCost" | "browserToolEnabled" | "browserViewportSize" | "screenshotQuality" | "remoteBrowserEnabled" | "cachedChromeHostUrl" | "remoteBrowserHost" | "ttsEnabled" | "ttsSpeed" | "soundEnabled" | "soundVolume" | "terminalOutputPreviewSize" | "terminalShellIntegrationTimeout" | "terminalShellIntegrationDisabled" | "terminalCommandDelay" | "terminalPowershellCounter" | "terminalZshClearEolMark" | "terminalZshOhMy" | "terminalZshP10k" | "terminalZdotdir" | "diagnosticsEnabled" | "language" | "modeApiConfigs" | "customModePrompts" | "customSupportPrompts" | "enhancementApiConfigId" | "customCondensingPrompt" | "codebaseIndexConfig" | "codebaseIndexModels" | "profileThresholds" | "includeDiagnosticMessages" | "maxDiagnosticMessages" | "imageGenerationProvider" | "openRouterImageGenerationSelectedModel" | "includeTaskHistoryInEnhance" | "reasoningBlockCollapsed" | "enterBehavior" | "includeCurrentTime" | "includeCurrentCost" | "maxGitStatusFiles" | "requestDelaySeconds" | "showWorktreesInHomeScreen"> & {
45164
+ type ExtensionState = Pick<GlobalSettings, "currentApiConfigName" | "listApiConfigMeta" | "pinnedApiConfigs" | "customInstructions" | "dismissedUpsells" | "autoApprovalEnabled" | "alwaysAllowReadOnly" | "alwaysAllowReadOnlyOutsideWorkspace" | "alwaysAllowWrite" | "alwaysAllowWriteOutsideWorkspace" | "alwaysAllowWriteProtected" | "alwaysAllowBrowser" | "alwaysAllowMcp" | "alwaysAllowModeSwitch" | "alwaysAllowSubtasks" | "alwaysAllowFollowupQuestions" | "alwaysAllowExecute" | "followupAutoApproveTimeoutMs" | "allowedCommands" | "deniedCommands" | "allowedMaxRequests" | "allowedMaxCost" | "browserToolEnabled" | "browserViewportSize" | "screenshotQuality" | "remoteBrowserEnabled" | "cachedChromeHostUrl" | "remoteBrowserHost" | "ttsEnabled" | "ttsSpeed" | "soundEnabled" | "soundVolume" | "terminalOutputPreviewSize" | "terminalShellIntegrationTimeout" | "terminalShellIntegrationDisabled" | "terminalCommandDelay" | "terminalPowershellCounter" | "terminalZshClearEolMark" | "terminalZshOhMy" | "terminalZshP10k" | "terminalZdotdir" | "diagnosticsEnabled" | "language" | "modeApiConfigs" | "customModePrompts" | "customSupportPrompts" | "enhancementApiConfigId" | "customCondensingPrompt" | "codebaseIndexConfig" | "codebaseIndexModels" | "profileThresholds" | "includeDiagnosticMessages" | "maxDiagnosticMessages" | "imageGenerationProvider" | "openRouterImageGenerationSelectedModel" | "includeTaskHistoryInEnhance" | "reasoningBlockCollapsed" | "enterBehavior" | "includeCurrentTime" | "includeCurrentCost" | "maxGitStatusFiles" | "requestDelaySeconds" | "showWorktreesInHomeScreen" | "disabledTools"> & {
45099
45165
  version: string;
45100
45166
  clineMessages: ClineMessage[];
45101
45167
  currentTaskItem?: HistoryItem;
@@ -45175,7 +45241,7 @@ interface UpdateTodoListPayload {
45175
45241
  }
45176
45242
  type EditQueuedMessagePayload = Pick<QueuedMessage, "id" | "text" | "images">;
45177
45243
  interface WebviewMessage {
45178
- type: "updateTodoList" | "deleteMultipleTasksWithIds" | "currentApiConfigName" | "saveApiConfiguration" | "upsertApiConfiguration" | "deleteApiConfiguration" | "loadApiConfiguration" | "loadApiConfigurationById" | "renameApiConfiguration" | "getListApiConfiguration" | "customInstructions" | "webviewDidLaunch" | "newTask" | "askResponse" | "terminalOperation" | "clearTask" | "didShowAnnouncement" | "selectImages" | "exportCurrentTask" | "shareCurrentTask" | "showTaskWithId" | "deleteTaskWithId" | "exportTaskWithId" | "importSettings" | "exportSettings" | "resetState" | "flushRouterModels" | "requestRouterModels" | "requestOpenAiModels" | "requestOllamaModels" | "requestLmStudioModels" | "requestRooModels" | "requestRooCreditBalance" | "requestVsCodeLmModels" | "requestHuggingFaceModels" | "openImage" | "saveImage" | "openFile" | "openMention" | "cancelTask" | "cancelAutoApproval" | "updateVSCodeSetting" | "getVSCodeSetting" | "vsCodeSetting" | "updateCondensingPrompt" | "playSound" | "playTts" | "stopTts" | "ttsEnabled" | "ttsSpeed" | "openKeyboardShortcuts" | "openMcpSettings" | "openProjectMcpSettings" | "restartMcpServer" | "refreshAllMcpServers" | "toggleToolAlwaysAllow" | "toggleToolEnabledForPrompt" | "toggleMcpServer" | "updateMcpTimeout" | "enhancePrompt" | "enhancedPrompt" | "draggedImages" | "deleteMessage" | "deleteMessageConfirm" | "submitEditedMessage" | "editMessageConfirm" | "remoteControlEnabled" | "taskSyncEnabled" | "searchCommits" | "setApiConfigPassword" | "mode" | "updatePrompt" | "getSystemPrompt" | "copySystemPrompt" | "systemPrompt" | "enhancementApiConfigId" | "autoApprovalEnabled" | "updateCustomMode" | "deleteCustomMode" | "setopenAiCustomModelInfo" | "openCustomModesSettings" | "checkpointDiff" | "checkpointRestore" | "deleteMcpServer" | "codebaseIndexEnabled" | "telemetrySetting" | "testBrowserConnection" | "browserConnectionResult" | "searchFiles" | "toggleApiConfigPin" | "hasOpenedModeSelector" | "clearCloudAuthSkipModel" | "cloudButtonClicked" | "rooCloudSignIn" | "cloudLandingPageSignIn" | "rooCloudSignOut" | "rooCloudManualUrl" | "openAiCodexSignIn" | "openAiCodexSignOut" | "switchOrganization" | "condenseTaskContextRequest" | "requestIndexingStatus" | "startIndexing" | "clearIndexData" | "indexingStatusUpdate" | "indexCleared" | "focusPanelRequest" | "openExternal" | "filterMarketplaceItems" | "marketplaceButtonClicked" | "installMarketplaceItem" | "installMarketplaceItemWithParameters" | "cancelMarketplaceInstall" | "removeInstalledMarketplaceItem" | "marketplaceInstallResult" | "fetchMarketplaceData" | "switchTab" | "shareTaskSuccess" | "exportMode" | "exportModeResult" | "importMode" | "importModeResult" | "checkRulesDirectory" | "checkRulesDirectoryResult" | "saveCodeIndexSettingsAtomic" | "requestCodeIndexSecretStatus" | "requestCommands" | "openCommandFile" | "deleteCommand" | "createCommand" | "insertTextIntoTextarea" | "showMdmAuthRequiredNotification" | "imageGenerationSettings" | "queueMessage" | "removeQueuedMessage" | "editQueuedMessage" | "dismissUpsell" | "getDismissedUpsells" | "openMarkdownPreview" | "updateSettings" | "allowedCommands" | "getTaskWithAggregatedCosts" | "deniedCommands" | "killBrowserSession" | "openBrowserSessionPanel" | "showBrowserSessionPanelAtStep" | "refreshBrowserSessionPanel" | "browserPanelDidLaunch" | "openDebugApiHistory" | "openDebugUiHistory" | "downloadErrorDiagnostics" | "requestOpenAiCodexRateLimits" | "refreshCustomTools" | "requestModes" | "switchMode" | "debugSetting" | "listWorktrees" | "createWorktree" | "deleteWorktree" | "switchWorktree" | "getAvailableBranches" | "getWorktreeDefaults" | "getWorktreeIncludeStatus" | "checkBranchWorktreeInclude" | "createWorktreeInclude" | "checkoutBranch" | "browseForWorktreePath" | "requestSkills" | "createSkill" | "deleteSkill" | "openSkillFile";
45244
+ type: "updateTodoList" | "deleteMultipleTasksWithIds" | "currentApiConfigName" | "saveApiConfiguration" | "upsertApiConfiguration" | "deleteApiConfiguration" | "loadApiConfiguration" | "loadApiConfigurationById" | "renameApiConfiguration" | "getListApiConfiguration" | "customInstructions" | "webviewDidLaunch" | "newTask" | "askResponse" | "terminalOperation" | "clearTask" | "didShowAnnouncement" | "selectImages" | "exportCurrentTask" | "shareCurrentTask" | "showTaskWithId" | "deleteTaskWithId" | "exportTaskWithId" | "importSettings" | "exportSettings" | "resetState" | "flushRouterModels" | "requestRouterModels" | "requestOpenAiModels" | "requestOllamaModels" | "requestLmStudioModels" | "requestRooModels" | "requestRooCreditBalance" | "requestVsCodeLmModels" | "requestHuggingFaceModels" | "openImage" | "saveImage" | "openFile" | "openMention" | "cancelTask" | "cancelAutoApproval" | "updateVSCodeSetting" | "getVSCodeSetting" | "vsCodeSetting" | "updateCondensingPrompt" | "playSound" | "playTts" | "stopTts" | "ttsEnabled" | "ttsSpeed" | "openKeyboardShortcuts" | "openMcpSettings" | "openProjectMcpSettings" | "restartMcpServer" | "refreshAllMcpServers" | "toggleToolAlwaysAllow" | "toggleToolEnabledForPrompt" | "toggleMcpServer" | "updateMcpTimeout" | "enhancePrompt" | "enhancedPrompt" | "draggedImages" | "deleteMessage" | "deleteMessageConfirm" | "submitEditedMessage" | "editMessageConfirm" | "remoteControlEnabled" | "taskSyncEnabled" | "searchCommits" | "setApiConfigPassword" | "mode" | "updatePrompt" | "getSystemPrompt" | "copySystemPrompt" | "systemPrompt" | "enhancementApiConfigId" | "autoApprovalEnabled" | "updateCustomMode" | "deleteCustomMode" | "setopenAiCustomModelInfo" | "openCustomModesSettings" | "checkpointDiff" | "checkpointRestore" | "deleteMcpServer" | "codebaseIndexEnabled" | "telemetrySetting" | "testBrowserConnection" | "browserConnectionResult" | "searchFiles" | "toggleApiConfigPin" | "hasOpenedModeSelector" | "clearCloudAuthSkipModel" | "cloudButtonClicked" | "rooCloudSignIn" | "cloudLandingPageSignIn" | "rooCloudSignOut" | "rooCloudManualUrl" | "openAiCodexSignIn" | "openAiCodexSignOut" | "switchOrganization" | "condenseTaskContextRequest" | "requestIndexingStatus" | "startIndexing" | "clearIndexData" | "indexingStatusUpdate" | "indexCleared" | "focusPanelRequest" | "openExternal" | "filterMarketplaceItems" | "marketplaceButtonClicked" | "installMarketplaceItem" | "installMarketplaceItemWithParameters" | "cancelMarketplaceInstall" | "removeInstalledMarketplaceItem" | "marketplaceInstallResult" | "fetchMarketplaceData" | "switchTab" | "shareTaskSuccess" | "exportMode" | "exportModeResult" | "importMode" | "importModeResult" | "checkRulesDirectory" | "checkRulesDirectoryResult" | "saveCodeIndexSettingsAtomic" | "requestCodeIndexSecretStatus" | "requestCommands" | "openCommandFile" | "deleteCommand" | "createCommand" | "insertTextIntoTextarea" | "showMdmAuthRequiredNotification" | "imageGenerationSettings" | "queueMessage" | "removeQueuedMessage" | "editQueuedMessage" | "dismissUpsell" | "getDismissedUpsells" | "openMarkdownPreview" | "updateSettings" | "allowedCommands" | "getTaskWithAggregatedCosts" | "deniedCommands" | "killBrowserSession" | "openBrowserSessionPanel" | "showBrowserSessionPanelAtStep" | "refreshBrowserSessionPanel" | "browserPanelDidLaunch" | "openDebugApiHistory" | "openDebugUiHistory" | "downloadErrorDiagnostics" | "requestOpenAiCodexRateLimits" | "refreshCustomTools" | "requestModes" | "switchMode" | "debugSetting" | "listWorktrees" | "createWorktree" | "deleteWorktree" | "switchWorktree" | "getAvailableBranches" | "getWorktreeDefaults" | "getWorktreeIncludeStatus" | "checkBranchWorktreeInclude" | "createWorktreeInclude" | "checkoutBranch" | "browseForWorktreePath" | "requestSkills" | "createSkill" | "deleteSkill" | "moveSkill" | "updateSkillModes" | "openSkillFile";
45179
45245
  text?: string;
45180
45246
  editedMessageContent?: string;
45181
45247
  tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud";
@@ -45210,8 +45276,15 @@ interface WebviewMessage {
45210
45276
  payload?: WebViewMessagePayload;
45211
45277
  source?: "global" | "project" | "built-in";
45212
45278
  skillName?: string;
45279
+ /** @deprecated Use skillModeSlugs instead */
45213
45280
  skillMode?: string;
45281
+ /** @deprecated Use newSkillModeSlugs instead */
45282
+ newSkillMode?: string;
45214
45283
  skillDescription?: string;
45284
+ /** Mode slugs for skill operations. undefined/empty = any mode */
45285
+ skillModeSlugs?: string[];
45286
+ /** Target mode slugs for updateSkillModes */
45287
+ newSkillModeSlugs?: string[];
45215
45288
  requestId?: string;
45216
45289
  ids?: string[];
45217
45290
  hasSystemPromptOverride?: boolean;
@@ -45723,6 +45796,24 @@ declare const anthropicModels: {
45723
45796
  readonly cacheReadsPrice: 0.6;
45724
45797
  }];
45725
45798
  };
45799
+ readonly "claude-opus-4-6": {
45800
+ readonly maxTokens: 128000;
45801
+ readonly contextWindow: 200000;
45802
+ readonly supportsImages: true;
45803
+ readonly supportsPromptCache: true;
45804
+ readonly inputPrice: 5;
45805
+ readonly outputPrice: 25;
45806
+ readonly cacheWritesPrice: 6.25;
45807
+ readonly cacheReadsPrice: 0.5;
45808
+ readonly supportsReasoningBudget: true;
45809
+ readonly tiers: [{
45810
+ readonly contextWindow: 1000000;
45811
+ readonly inputPrice: 10;
45812
+ readonly outputPrice: 37.5;
45813
+ readonly cacheWritesPrice: 12.5;
45814
+ readonly cacheReadsPrice: 1;
45815
+ }];
45816
+ };
45726
45817
  readonly "claude-opus-4-5-20251101": {
45727
45818
  readonly maxTokens: 32000;
45728
45819
  readonly contextWindow: 200000;
@@ -46069,6 +46160,27 @@ declare const bedrockModels: {
46069
46160
  readonly maxCachePoints: 4;
46070
46161
  readonly cachableFields: ["system", "messages", "tools"];
46071
46162
  };
46163
+ readonly "anthropic.claude-opus-4-6-v1": {
46164
+ readonly maxTokens: 8192;
46165
+ readonly contextWindow: 200000;
46166
+ readonly supportsImages: true;
46167
+ readonly supportsPromptCache: true;
46168
+ readonly supportsReasoningBudget: true;
46169
+ readonly inputPrice: 5;
46170
+ readonly outputPrice: 25;
46171
+ readonly cacheWritesPrice: 6.25;
46172
+ readonly cacheReadsPrice: 0.5;
46173
+ readonly minTokensPerCachePoint: 1024;
46174
+ readonly maxCachePoints: 4;
46175
+ readonly cachableFields: ["system", "messages", "tools"];
46176
+ readonly tiers: [{
46177
+ readonly contextWindow: 1000000;
46178
+ readonly inputPrice: 10;
46179
+ readonly outputPrice: 37.5;
46180
+ readonly cacheWritesPrice: 12.5;
46181
+ readonly cacheReadsPrice: 1;
46182
+ }];
46183
+ };
46072
46184
  readonly "anthropic.claude-opus-4-5-20251101-v1:0": {
46073
46185
  readonly maxTokens: 8192;
46074
46186
  readonly contextWindow: 200000;
@@ -46371,8 +46483,8 @@ declare const BEDROCK_REGIONS: {
46371
46483
  value: string;
46372
46484
  label: string;
46373
46485
  }[];
46374
- declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0"];
46375
- declare const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", "anthropic.claude-opus-4-5-20251101-v1:0"];
46486
+ declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-opus-4-6-v1"];
46487
+ declare const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", "anthropic.claude-opus-4-5-20251101-v1:0", "anthropic.claude-opus-4-6-v1"];
46376
46488
  type BedrockServiceTier = "STANDARD" | "FLEX" | "PRIORITY";
46377
46489
  declare const BEDROCK_SERVICE_TIER_MODEL_IDS: readonly ["amazon.nova-lite-v1:0", "amazon.nova-2-lite-v1:0", "amazon.nova-pro-v1:0", "amazon.nova-pro-latency-optimized-v1:0", "deepseek.r1-v1:0", "qwen.qwen3-next-80b-a3b", "qwen.qwen3-coder-480b-a35b-v1:0", "openai.gpt-oss-20b-1:0", "openai.gpt-oss-120b-1:0"];
46378
46490
  declare const BEDROCK_SERVICE_TIER_PRICING: {
@@ -46918,7 +47030,7 @@ declare const featherlessModels: {
46918
47030
  };
46919
47031
  declare const featherlessDefaultModelId: FeatherlessModelId;
46920
47032
 
46921
- type FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct" | "accounts/fireworks/models/kimi-k2-instruct-0905" | "accounts/fireworks/models/kimi-k2-thinking" | "accounts/fireworks/models/minimax-m2" | "accounts/fireworks/models/minimax-m2p1" | "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507" | "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct" | "accounts/fireworks/models/deepseek-r1-0528" | "accounts/fireworks/models/deepseek-v3" | "accounts/fireworks/models/deepseek-v3p1" | "accounts/fireworks/models/deepseek-v3p2" | "accounts/fireworks/models/glm-4p5" | "accounts/fireworks/models/glm-4p5-air" | "accounts/fireworks/models/glm-4p6" | "accounts/fireworks/models/glm-4p7" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/llama-v3p3-70b-instruct" | "accounts/fireworks/models/llama4-maverick-instruct-basic" | "accounts/fireworks/models/llama4-scout-instruct-basic";
47033
+ type FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct" | "accounts/fireworks/models/kimi-k2-instruct-0905" | "accounts/fireworks/models/kimi-k2-thinking" | "accounts/fireworks/models/kimi-k2p5" | "accounts/fireworks/models/minimax-m2" | "accounts/fireworks/models/minimax-m2p1" | "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507" | "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct" | "accounts/fireworks/models/deepseek-r1-0528" | "accounts/fireworks/models/deepseek-v3" | "accounts/fireworks/models/deepseek-v3p1" | "accounts/fireworks/models/deepseek-v3p2" | "accounts/fireworks/models/glm-4p5" | "accounts/fireworks/models/glm-4p5-air" | "accounts/fireworks/models/glm-4p6" | "accounts/fireworks/models/glm-4p7" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/llama-v3p3-70b-instruct" | "accounts/fireworks/models/llama4-maverick-instruct-basic" | "accounts/fireworks/models/llama4-scout-instruct-basic";
46922
47034
  declare const fireworksDefaultModelId: FireworksModelId;
46923
47035
  declare const fireworksModels: {
46924
47036
  readonly "accounts/fireworks/models/kimi-k2-instruct-0905": {
@@ -46953,6 +47065,16 @@ declare const fireworksModels: {
46953
47065
  readonly cacheReadsPrice: 0.15;
46954
47066
  readonly description: "The kimi-k2-thinking model is a general-purpose agentic reasoning model developed by Moonshot AI. Thanks to its strength in deep reasoning and multi-turn tool use, it can solve even the hardest problems.";
46955
47067
  };
47068
+ readonly "accounts/fireworks/models/kimi-k2p5": {
47069
+ readonly maxTokens: 16384;
47070
+ readonly contextWindow: 262144;
47071
+ readonly supportsImages: true;
47072
+ readonly supportsPromptCache: true;
47073
+ readonly inputPrice: 0.6;
47074
+ readonly outputPrice: 3;
47075
+ readonly cacheReadsPrice: 0.1;
47076
+ readonly description: "Kimi K2.5 is Moonshot AI's flagship agentic model and a new SOTA open model. It unifies vision and text, thinking and non-thinking modes, and single-agent and multi-agent execution into one model. Fireworks enables users to control the reasoning behavior and inspect its reasoning history for greater transparency.";
47077
+ };
46956
47078
  readonly "accounts/fireworks/models/minimax-m2": {
46957
47079
  readonly maxTokens: 4096;
46958
47080
  readonly contextWindow: 204800;
@@ -48240,6 +48362,20 @@ declare const openAiCodexModels: {
48240
48362
  readonly supportsTemperature: false;
48241
48363
  readonly description: "GPT-5.1 Codex: GPT-5.1 optimized for agentic coding via ChatGPT subscription";
48242
48364
  };
48365
+ readonly "gpt-5.3-codex": {
48366
+ readonly maxTokens: 128000;
48367
+ readonly contextWindow: 400000;
48368
+ readonly includedTools: ["apply_patch"];
48369
+ readonly excludedTools: ["apply_diff", "write_to_file"];
48370
+ readonly supportsImages: true;
48371
+ readonly supportsPromptCache: true;
48372
+ readonly supportsReasoningEffort: ["low", "medium", "high", "xhigh"];
48373
+ readonly reasoningEffort: "medium";
48374
+ readonly inputPrice: 0;
48375
+ readonly outputPrice: 0;
48376
+ readonly supportsTemperature: false;
48377
+ readonly description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription";
48378
+ };
48243
48379
  readonly "gpt-5.2-codex": {
48244
48380
  readonly maxTokens: 128000;
48245
48381
  readonly contextWindow: 400000;
@@ -48932,6 +49068,24 @@ declare const vertexModels: {
48932
49068
  readonly cacheReadsPrice: 0.1;
48933
49069
  readonly supportsReasoningBudget: true;
48934
49070
  };
49071
+ readonly "claude-opus-4-6": {
49072
+ readonly maxTokens: 8192;
49073
+ readonly contextWindow: 200000;
49074
+ readonly supportsImages: true;
49075
+ readonly supportsPromptCache: true;
49076
+ readonly inputPrice: 5;
49077
+ readonly outputPrice: 25;
49078
+ readonly cacheWritesPrice: 6.25;
49079
+ readonly cacheReadsPrice: 0.5;
49080
+ readonly supportsReasoningBudget: true;
49081
+ readonly tiers: [{
49082
+ readonly contextWindow: 1000000;
49083
+ readonly inputPrice: 10;
49084
+ readonly outputPrice: 37.5;
49085
+ readonly cacheWritesPrice: 12.5;
49086
+ readonly cacheReadsPrice: 1;
49087
+ }];
49088
+ };
48935
49089
  readonly "claude-opus-4-5@20251101": {
48936
49090
  readonly maxTokens: 8192;
48937
49091
  readonly contextWindow: 200000;
@@ -49121,7 +49275,7 @@ declare const vertexModels: {
49121
49275
  readonly description: "Kimi K2 Thinking Model with 256K context window.";
49122
49276
  };
49123
49277
  };
49124
- declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929"];
49278
+ declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929", "claude-opus-4-6"];
49125
49279
  declare const VERTEX_REGIONS: {
49126
49280
  value: string;
49127
49281
  label: string;
@@ -49338,6 +49492,8 @@ declare const xaiModels: {
49338
49492
  readonly cacheWritesPrice: 0.05;
49339
49493
  readonly cacheReadsPrice: 0.05;
49340
49494
  readonly description: "xAI's Grok 4.1 Fast model with 2M context window, optimized for high-performance agentic tool calling with reasoning";
49495
+ readonly supportsReasoningEffort: ["low", "high"];
49496
+ readonly reasoningEffort: "low";
49341
49497
  readonly includedTools: ["search_replace"];
49342
49498
  readonly excludedTools: ["apply_diff"];
49343
49499
  };
@@ -49364,6 +49520,8 @@ declare const xaiModels: {
49364
49520
  readonly cacheWritesPrice: 0.05;
49365
49521
  readonly cacheReadsPrice: 0.05;
49366
49522
  readonly description: "xAI's Grok 4 Fast model with 2M context window, optimized for high-performance agentic tool calling with reasoning";
49523
+ readonly supportsReasoningEffort: ["low", "high"];
49524
+ readonly reasoningEffort: "low";
49367
49525
  readonly includedTools: ["search_replace"];
49368
49526
  readonly excludedTools: ["apply_diff"];
49369
49527
  };