@roo-code/types 1.94.0 → 1.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -62,7 +62,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
62
62
  contextTokens: number;
63
63
  totalCacheWrites?: number | undefined;
64
64
  totalCacheReads?: number | undefined;
65
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
65
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
66
66
  attempts: z.ZodNumber;
67
67
  failures: z.ZodNumber;
68
68
  }, "strip", z.ZodTypeAny, {
@@ -290,7 +290,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
290
290
  taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
291
291
  taskAskResponded: z.ZodTuple<[z.ZodString], null>;
292
292
  taskUserMessage: z.ZodTuple<[z.ZodString], null>;
293
- taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
293
+ taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
294
294
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
295
295
  totalTokensIn: z.ZodNumber;
296
296
  totalTokensOut: z.ZodNumber;
@@ -312,7 +312,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
312
312
  contextTokens: number;
313
313
  totalCacheWrites?: number | undefined;
314
314
  totalCacheReads?: number | undefined;
315
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
315
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
316
316
  attempts: z.ZodNumber;
317
317
  failures: z.ZodNumber;
318
318
  }, "strip", z.ZodTypeAny, {
@@ -343,7 +343,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
343
343
  contextTokens: number;
344
344
  totalCacheWrites?: number | undefined;
345
345
  totalCacheReads?: number | undefined;
346
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
346
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
347
347
  attempts: number;
348
348
  failures: number;
349
349
  }>>, {
@@ -408,11 +408,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
408
408
  contextTokens: number;
409
409
  totalCacheWrites?: number | undefined;
410
410
  totalCacheReads?: number | undefined;
411
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
411
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
412
412
  attempts: number;
413
413
  failures: number;
414
414
  }>>];
415
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
415
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
416
416
  modeChanged: [string];
417
417
  providerProfileChanged: [{
418
418
  name: string;
@@ -428,7 +428,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
428
428
  contextTokens: number;
429
429
  totalCacheWrites?: number | undefined;
430
430
  totalCacheReads?: number | undefined;
431
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
431
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
432
432
  attempts: number;
433
433
  failures: number;
434
434
  }>>, {
@@ -493,11 +493,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
493
493
  contextTokens: number;
494
494
  totalCacheWrites?: number | undefined;
495
495
  totalCacheReads?: number | undefined;
496
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
496
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
497
497
  attempts: number;
498
498
  failures: number;
499
499
  }>>];
500
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
500
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
501
501
  modeChanged: [string];
502
502
  providerProfileChanged: [{
503
503
  name: string;
@@ -555,7 +555,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
555
555
  contextTokens: number;
556
556
  totalCacheWrites?: number | undefined;
557
557
  totalCacheReads?: number | undefined;
558
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
558
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
559
559
  attempts: z.ZodNumber;
560
560
  failures: z.ZodNumber;
561
561
  }, "strip", z.ZodTypeAny, {
@@ -581,7 +581,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
581
581
  contextTokens: number;
582
582
  totalCacheWrites?: number | undefined;
583
583
  totalCacheReads?: number | undefined;
584
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
584
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
585
585
  attempts: number;
586
586
  failures: number;
587
587
  }>>, {
@@ -597,7 +597,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
597
597
  contextTokens: number;
598
598
  totalCacheWrites?: number | undefined;
599
599
  totalCacheReads?: number | undefined;
600
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
600
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
601
601
  attempts: number;
602
602
  failures: number;
603
603
  }>>, {
@@ -1063,15 +1063,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1063
1063
  taskId?: number | undefined;
1064
1064
  }>, z.ZodObject<{
1065
1065
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
1066
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
1066
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
1067
1067
  taskId: z.ZodOptional<z.ZodNumber>;
1068
1068
  }, "strip", z.ZodTypeAny, {
1069
1069
  eventName: RooCodeEventName.TaskToolFailed;
1070
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
1070
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
1071
1071
  taskId?: number | undefined;
1072
1072
  }, {
1073
1073
  eventName: RooCodeEventName.TaskToolFailed;
1074
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
1074
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
1075
1075
  taskId?: number | undefined;
1076
1076
  }>, z.ZodObject<{
1077
1077
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -1096,7 +1096,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1096
1096
  contextTokens: number;
1097
1097
  totalCacheWrites?: number | undefined;
1098
1098
  totalCacheReads?: number | undefined;
1099
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
1099
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
1100
1100
  attempts: z.ZodNumber;
1101
1101
  failures: z.ZodNumber;
1102
1102
  }, "strip", z.ZodTypeAny, {
@@ -1116,7 +1116,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1116
1116
  contextTokens: number;
1117
1117
  totalCacheWrites?: number | undefined;
1118
1118
  totalCacheReads?: number | undefined;
1119
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
1119
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
1120
1120
  attempts: number;
1121
1121
  failures: number;
1122
1122
  }>>];
@@ -1130,7 +1130,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1130
1130
  contextTokens: number;
1131
1131
  totalCacheWrites?: number | undefined;
1132
1132
  totalCacheReads?: number | undefined;
1133
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
1133
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
1134
1134
  attempts: number;
1135
1135
  failures: number;
1136
1136
  }>>];
@@ -1377,7 +1377,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1377
1377
  openRouterModelId: z.ZodOptional<z.ZodString>;
1378
1378
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
1379
1379
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
1380
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
1381
1380
  } & {
1382
1381
  apiProvider: z.ZodLiteral<"openrouter">;
1383
1382
  }, "strip", z.ZodTypeAny, {
@@ -1399,7 +1398,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1399
1398
  openRouterModelId?: string | undefined;
1400
1399
  openRouterBaseUrl?: string | undefined;
1401
1400
  openRouterSpecificProvider?: string | undefined;
1402
- openRouterUseMiddleOutTransform?: boolean | undefined;
1403
1401
  }, {
1404
1402
  apiProvider: "openrouter";
1405
1403
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -1419,7 +1417,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1419
1417
  openRouterModelId?: string | undefined;
1420
1418
  openRouterBaseUrl?: string | undefined;
1421
1419
  openRouterSpecificProvider?: string | undefined;
1422
- openRouterUseMiddleOutTransform?: boolean | undefined;
1423
1420
  }>, z.ZodObject<{
1424
1421
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
1425
1422
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3913,7 +3910,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3913
3910
  openRouterModelId: z.ZodOptional<z.ZodString>;
3914
3911
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
3915
3912
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
3916
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
3917
3913
  apiKey: z.ZodOptional<z.ZodString>;
3918
3914
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3919
3915
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -3952,7 +3948,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3952
3948
  openRouterModelId?: string | undefined;
3953
3949
  openRouterBaseUrl?: string | undefined;
3954
3950
  openRouterSpecificProvider?: string | undefined;
3955
- openRouterUseMiddleOutTransform?: boolean | undefined;
3956
3951
  awsAccessKey?: string | undefined;
3957
3952
  awsSecretKey?: string | undefined;
3958
3953
  awsSessionToken?: string | undefined;
@@ -4124,7 +4119,6 @@ declare const providerSettingsSchema: z.ZodObject<{
4124
4119
  openRouterModelId?: string | undefined;
4125
4120
  openRouterBaseUrl?: string | undefined;
4126
4121
  openRouterSpecificProvider?: string | undefined;
4127
- openRouterUseMiddleOutTransform?: boolean | undefined;
4128
4122
  awsAccessKey?: string | undefined;
4129
4123
  awsSecretKey?: string | undefined;
4130
4124
  awsSessionToken?: string | undefined;
@@ -4537,7 +4531,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4537
4531
  openRouterModelId: z.ZodOptional<z.ZodString>;
4538
4532
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
4539
4533
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
4540
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
4541
4534
  apiKey: z.ZodOptional<z.ZodString>;
4542
4535
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4543
4536
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -4579,7 +4572,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4579
4572
  openRouterModelId?: string | undefined;
4580
4573
  openRouterBaseUrl?: string | undefined;
4581
4574
  openRouterSpecificProvider?: string | undefined;
4582
- openRouterUseMiddleOutTransform?: boolean | undefined;
4583
4575
  awsAccessKey?: string | undefined;
4584
4576
  awsSecretKey?: string | undefined;
4585
4577
  awsSessionToken?: string | undefined;
@@ -4752,7 +4744,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4752
4744
  openRouterModelId?: string | undefined;
4753
4745
  openRouterBaseUrl?: string | undefined;
4754
4746
  openRouterSpecificProvider?: string | undefined;
4755
- openRouterUseMiddleOutTransform?: boolean | undefined;
4756
4747
  awsAccessKey?: string | undefined;
4757
4748
  awsSecretKey?: string | undefined;
4758
4749
  awsSessionToken?: string | undefined;
@@ -5024,7 +5015,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5024
5015
  openRouterModelId: z.ZodOptional<z.ZodString>;
5025
5016
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
5026
5017
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
5027
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
5028
5018
  } & {
5029
5019
  apiProvider: z.ZodLiteral<"openrouter">;
5030
5020
  }, "strip", z.ZodTypeAny, {
@@ -5046,7 +5036,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5046
5036
  openRouterModelId?: string | undefined;
5047
5037
  openRouterBaseUrl?: string | undefined;
5048
5038
  openRouterSpecificProvider?: string | undefined;
5049
- openRouterUseMiddleOutTransform?: boolean | undefined;
5050
5039
  }, {
5051
5040
  apiProvider: "openrouter";
5052
5041
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -5066,7 +5055,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5066
5055
  openRouterModelId?: string | undefined;
5067
5056
  openRouterBaseUrl?: string | undefined;
5068
5057
  openRouterSpecificProvider?: string | undefined;
5069
- openRouterUseMiddleOutTransform?: boolean | undefined;
5070
5058
  }>, z.ZodObject<{
5071
5059
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5072
5060
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -7295,7 +7283,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
7295
7283
  id?: string | undefined;
7296
7284
  }>>;
7297
7285
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
7298
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "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", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "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", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
7286
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "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", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "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", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
7299
7287
  /**
7300
7288
  * ModelIdKey
7301
7289
  */
@@ -7534,6 +7522,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7534
7522
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
7535
7523
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
7536
7524
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
7525
+ customTools: z.ZodOptional<z.ZodBoolean>;
7537
7526
  }, "strip", z.ZodTypeAny, {
7538
7527
  powerSteering?: boolean | undefined;
7539
7528
  multiFileApplyDiff?: boolean | undefined;
@@ -7541,6 +7530,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7541
7530
  imageGeneration?: boolean | undefined;
7542
7531
  runSlashCommand?: boolean | undefined;
7543
7532
  multipleNativeToolCalls?: boolean | undefined;
7533
+ customTools?: boolean | undefined;
7544
7534
  }, {
7545
7535
  powerSteering?: boolean | undefined;
7546
7536
  multiFileApplyDiff?: boolean | undefined;
@@ -7548,6 +7538,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7548
7538
  imageGeneration?: boolean | undefined;
7549
7539
  runSlashCommand?: boolean | undefined;
7550
7540
  multipleNativeToolCalls?: boolean | undefined;
7541
+ customTools?: boolean | undefined;
7551
7542
  }>>;
7552
7543
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
7553
7544
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7912,6 +7903,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7912
7903
  imageGeneration?: boolean | undefined;
7913
7904
  runSlashCommand?: boolean | undefined;
7914
7905
  multipleNativeToolCalls?: boolean | undefined;
7906
+ customTools?: boolean | undefined;
7915
7907
  } | undefined;
7916
7908
  codebaseIndexModels?: {
7917
7909
  openai?: Record<string, {
@@ -8099,6 +8091,7 @@ declare const globalSettingsSchema: z.ZodObject<{
8099
8091
  imageGeneration?: boolean | undefined;
8100
8092
  runSlashCommand?: boolean | undefined;
8101
8093
  multipleNativeToolCalls?: boolean | undefined;
8094
+ customTools?: boolean | undefined;
8102
8095
  } | undefined;
8103
8096
  codebaseIndexModels?: {
8104
8097
  openai?: Record<string, {
@@ -8436,7 +8429,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8436
8429
  openRouterModelId: z.ZodOptional<z.ZodString>;
8437
8430
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
8438
8431
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
8439
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
8440
8432
  apiKey: z.ZodOptional<z.ZodString>;
8441
8433
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
8442
8434
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -8606,6 +8598,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8606
8598
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
8607
8599
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
8608
8600
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
8601
+ customTools: z.ZodOptional<z.ZodBoolean>;
8609
8602
  }, "strip", z.ZodTypeAny, {
8610
8603
  powerSteering?: boolean | undefined;
8611
8604
  multiFileApplyDiff?: boolean | undefined;
@@ -8613,6 +8606,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8613
8606
  imageGeneration?: boolean | undefined;
8614
8607
  runSlashCommand?: boolean | undefined;
8615
8608
  multipleNativeToolCalls?: boolean | undefined;
8609
+ customTools?: boolean | undefined;
8616
8610
  }, {
8617
8611
  powerSteering?: boolean | undefined;
8618
8612
  multiFileApplyDiff?: boolean | undefined;
@@ -8620,6 +8614,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8620
8614
  imageGeneration?: boolean | undefined;
8621
8615
  runSlashCommand?: boolean | undefined;
8622
8616
  multipleNativeToolCalls?: boolean | undefined;
8617
+ customTools?: boolean | undefined;
8623
8618
  }>>;
8624
8619
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
8625
8620
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8887,7 +8882,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8887
8882
  openRouterModelId?: string | undefined;
8888
8883
  openRouterBaseUrl?: string | undefined;
8889
8884
  openRouterSpecificProvider?: string | undefined;
8890
- openRouterUseMiddleOutTransform?: boolean | undefined;
8891
8885
  awsAccessKey?: string | undefined;
8892
8886
  awsSecretKey?: string | undefined;
8893
8887
  awsSessionToken?: string | undefined;
@@ -9146,6 +9140,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9146
9140
  imageGeneration?: boolean | undefined;
9147
9141
  runSlashCommand?: boolean | undefined;
9148
9142
  multipleNativeToolCalls?: boolean | undefined;
9143
+ customTools?: boolean | undefined;
9149
9144
  } | undefined;
9150
9145
  codebaseIndexModels?: {
9151
9146
  openai?: Record<string, {
@@ -9242,7 +9237,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9242
9237
  openRouterModelId?: string | undefined;
9243
9238
  openRouterBaseUrl?: string | undefined;
9244
9239
  openRouterSpecificProvider?: string | undefined;
9245
- openRouterUseMiddleOutTransform?: boolean | undefined;
9246
9240
  awsAccessKey?: string | undefined;
9247
9241
  awsSecretKey?: string | undefined;
9248
9242
  awsSessionToken?: string | undefined;
@@ -9501,6 +9495,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9501
9495
  imageGeneration?: boolean | undefined;
9502
9496
  runSlashCommand?: boolean | undefined;
9503
9497
  multipleNativeToolCalls?: boolean | undefined;
9498
+ customTools?: boolean | undefined;
9504
9499
  } | undefined;
9505
9500
  codebaseIndexModels?: {
9506
9501
  openai?: Record<string, {
@@ -9907,7 +9902,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9907
9902
  openRouterModelId: z.ZodOptional<z.ZodString>;
9908
9903
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
9909
9904
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
9910
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
9911
9905
  apiKey: z.ZodOptional<z.ZodString>;
9912
9906
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
9913
9907
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -10077,6 +10071,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10077
10071
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
10078
10072
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
10079
10073
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
10074
+ customTools: z.ZodOptional<z.ZodBoolean>;
10080
10075
  }, "strip", z.ZodTypeAny, {
10081
10076
  powerSteering?: boolean | undefined;
10082
10077
  multiFileApplyDiff?: boolean | undefined;
@@ -10084,6 +10079,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10084
10079
  imageGeneration?: boolean | undefined;
10085
10080
  runSlashCommand?: boolean | undefined;
10086
10081
  multipleNativeToolCalls?: boolean | undefined;
10082
+ customTools?: boolean | undefined;
10087
10083
  }, {
10088
10084
  powerSteering?: boolean | undefined;
10089
10085
  multiFileApplyDiff?: boolean | undefined;
@@ -10091,6 +10087,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10091
10087
  imageGeneration?: boolean | undefined;
10092
10088
  runSlashCommand?: boolean | undefined;
10093
10089
  multipleNativeToolCalls?: boolean | undefined;
10090
+ customTools?: boolean | undefined;
10094
10091
  }>>;
10095
10092
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
10096
10093
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10358,7 +10355,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10358
10355
  openRouterModelId?: string | undefined;
10359
10356
  openRouterBaseUrl?: string | undefined;
10360
10357
  openRouterSpecificProvider?: string | undefined;
10361
- openRouterUseMiddleOutTransform?: boolean | undefined;
10362
10358
  awsAccessKey?: string | undefined;
10363
10359
  awsSecretKey?: string | undefined;
10364
10360
  awsSessionToken?: string | undefined;
@@ -10617,6 +10613,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10617
10613
  imageGeneration?: boolean | undefined;
10618
10614
  runSlashCommand?: boolean | undefined;
10619
10615
  multipleNativeToolCalls?: boolean | undefined;
10616
+ customTools?: boolean | undefined;
10620
10617
  } | undefined;
10621
10618
  codebaseIndexModels?: {
10622
10619
  openai?: Record<string, {
@@ -10713,7 +10710,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10713
10710
  openRouterModelId?: string | undefined;
10714
10711
  openRouterBaseUrl?: string | undefined;
10715
10712
  openRouterSpecificProvider?: string | undefined;
10716
- openRouterUseMiddleOutTransform?: boolean | undefined;
10717
10713
  awsAccessKey?: string | undefined;
10718
10714
  awsSecretKey?: string | undefined;
10719
10715
  awsSessionToken?: string | undefined;
@@ -10972,6 +10968,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10972
10968
  imageGeneration?: boolean | undefined;
10973
10969
  runSlashCommand?: boolean | undefined;
10974
10970
  multipleNativeToolCalls?: boolean | undefined;
10971
+ customTools?: boolean | undefined;
10975
10972
  } | undefined;
10976
10973
  codebaseIndexModels?: {
10977
10974
  openai?: Record<string, {
@@ -11074,7 +11071,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11074
11071
  openRouterModelId?: string | undefined;
11075
11072
  openRouterBaseUrl?: string | undefined;
11076
11073
  openRouterSpecificProvider?: string | undefined;
11077
- openRouterUseMiddleOutTransform?: boolean | undefined;
11078
11074
  awsAccessKey?: string | undefined;
11079
11075
  awsSecretKey?: string | undefined;
11080
11076
  awsSessionToken?: string | undefined;
@@ -11333,6 +11329,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11333
11329
  imageGeneration?: boolean | undefined;
11334
11330
  runSlashCommand?: boolean | undefined;
11335
11331
  multipleNativeToolCalls?: boolean | undefined;
11332
+ customTools?: boolean | undefined;
11336
11333
  } | undefined;
11337
11334
  codebaseIndexModels?: {
11338
11335
  openai?: Record<string, {
@@ -11434,7 +11431,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11434
11431
  openRouterModelId?: string | undefined;
11435
11432
  openRouterBaseUrl?: string | undefined;
11436
11433
  openRouterSpecificProvider?: string | undefined;
11437
- openRouterUseMiddleOutTransform?: boolean | undefined;
11438
11434
  awsAccessKey?: string | undefined;
11439
11435
  awsSecretKey?: string | undefined;
11440
11436
  awsSessionToken?: string | undefined;
@@ -11693,6 +11689,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11693
11689
  imageGeneration?: boolean | undefined;
11694
11690
  runSlashCommand?: boolean | undefined;
11695
11691
  multipleNativeToolCalls?: boolean | undefined;
11692
+ customTools?: boolean | undefined;
11696
11693
  } | undefined;
11697
11694
  codebaseIndexModels?: {
11698
11695
  openai?: Record<string, {
@@ -11796,7 +11793,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11796
11793
  openRouterModelId?: string | undefined;
11797
11794
  openRouterBaseUrl?: string | undefined;
11798
11795
  openRouterSpecificProvider?: string | undefined;
11799
- openRouterUseMiddleOutTransform?: boolean | undefined;
11800
11796
  awsAccessKey?: string | undefined;
11801
11797
  awsSecretKey?: string | undefined;
11802
11798
  awsSessionToken?: string | undefined;
@@ -12055,6 +12051,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12055
12051
  imageGeneration?: boolean | undefined;
12056
12052
  runSlashCommand?: boolean | undefined;
12057
12053
  multipleNativeToolCalls?: boolean | undefined;
12054
+ customTools?: boolean | undefined;
12058
12055
  } | undefined;
12059
12056
  codebaseIndexModels?: {
12060
12057
  openai?: Record<string, {
@@ -12159,7 +12156,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12159
12156
  openRouterModelId?: string | undefined;
12160
12157
  openRouterBaseUrl?: string | undefined;
12161
12158
  openRouterSpecificProvider?: string | undefined;
12162
- openRouterUseMiddleOutTransform?: boolean | undefined;
12163
12159
  awsAccessKey?: string | undefined;
12164
12160
  awsSecretKey?: string | undefined;
12165
12161
  awsSessionToken?: string | undefined;
@@ -12418,6 +12414,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12418
12414
  imageGeneration?: boolean | undefined;
12419
12415
  runSlashCommand?: boolean | undefined;
12420
12416
  multipleNativeToolCalls?: boolean | undefined;
12417
+ customTools?: boolean | undefined;
12421
12418
  } | undefined;
12422
12419
  codebaseIndexModels?: {
12423
12420
  openai?: Record<string, {
@@ -12849,7 +12846,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12849
12846
  openRouterModelId: z.ZodOptional<z.ZodString>;
12850
12847
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
12851
12848
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
12852
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
12853
12849
  apiKey: z.ZodOptional<z.ZodString>;
12854
12850
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
12855
12851
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -13019,6 +13015,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13019
13015
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
13020
13016
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
13021
13017
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
13018
+ customTools: z.ZodOptional<z.ZodBoolean>;
13022
13019
  }, "strip", z.ZodTypeAny, {
13023
13020
  powerSteering?: boolean | undefined;
13024
13021
  multiFileApplyDiff?: boolean | undefined;
@@ -13026,6 +13023,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13026
13023
  imageGeneration?: boolean | undefined;
13027
13024
  runSlashCommand?: boolean | undefined;
13028
13025
  multipleNativeToolCalls?: boolean | undefined;
13026
+ customTools?: boolean | undefined;
13029
13027
  }, {
13030
13028
  powerSteering?: boolean | undefined;
13031
13029
  multiFileApplyDiff?: boolean | undefined;
@@ -13033,6 +13031,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13033
13031
  imageGeneration?: boolean | undefined;
13034
13032
  runSlashCommand?: boolean | undefined;
13035
13033
  multipleNativeToolCalls?: boolean | undefined;
13034
+ customTools?: boolean | undefined;
13036
13035
  }>>;
13037
13036
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
13038
13037
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13300,7 +13299,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13300
13299
  openRouterModelId?: string | undefined;
13301
13300
  openRouterBaseUrl?: string | undefined;
13302
13301
  openRouterSpecificProvider?: string | undefined;
13303
- openRouterUseMiddleOutTransform?: boolean | undefined;
13304
13302
  awsAccessKey?: string | undefined;
13305
13303
  awsSecretKey?: string | undefined;
13306
13304
  awsSessionToken?: string | undefined;
@@ -13559,6 +13557,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13559
13557
  imageGeneration?: boolean | undefined;
13560
13558
  runSlashCommand?: boolean | undefined;
13561
13559
  multipleNativeToolCalls?: boolean | undefined;
13560
+ customTools?: boolean | undefined;
13562
13561
  } | undefined;
13563
13562
  codebaseIndexModels?: {
13564
13563
  openai?: Record<string, {
@@ -13655,7 +13654,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13655
13654
  openRouterModelId?: string | undefined;
13656
13655
  openRouterBaseUrl?: string | undefined;
13657
13656
  openRouterSpecificProvider?: string | undefined;
13658
- openRouterUseMiddleOutTransform?: boolean | undefined;
13659
13657
  awsAccessKey?: string | undefined;
13660
13658
  awsSecretKey?: string | undefined;
13661
13659
  awsSessionToken?: string | undefined;
@@ -13914,6 +13912,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13914
13912
  imageGeneration?: boolean | undefined;
13915
13913
  runSlashCommand?: boolean | undefined;
13916
13914
  multipleNativeToolCalls?: boolean | undefined;
13915
+ customTools?: boolean | undefined;
13917
13916
  } | undefined;
13918
13917
  codebaseIndexModels?: {
13919
13918
  openai?: Record<string, {
@@ -14016,7 +14015,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14016
14015
  openRouterModelId?: string | undefined;
14017
14016
  openRouterBaseUrl?: string | undefined;
14018
14017
  openRouterSpecificProvider?: string | undefined;
14019
- openRouterUseMiddleOutTransform?: boolean | undefined;
14020
14018
  awsAccessKey?: string | undefined;
14021
14019
  awsSecretKey?: string | undefined;
14022
14020
  awsSessionToken?: string | undefined;
@@ -14275,6 +14273,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14275
14273
  imageGeneration?: boolean | undefined;
14276
14274
  runSlashCommand?: boolean | undefined;
14277
14275
  multipleNativeToolCalls?: boolean | undefined;
14276
+ customTools?: boolean | undefined;
14278
14277
  } | undefined;
14279
14278
  codebaseIndexModels?: {
14280
14279
  openai?: Record<string, {
@@ -14376,7 +14375,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14376
14375
  openRouterModelId?: string | undefined;
14377
14376
  openRouterBaseUrl?: string | undefined;
14378
14377
  openRouterSpecificProvider?: string | undefined;
14379
- openRouterUseMiddleOutTransform?: boolean | undefined;
14380
14378
  awsAccessKey?: string | undefined;
14381
14379
  awsSecretKey?: string | undefined;
14382
14380
  awsSessionToken?: string | undefined;
@@ -14635,6 +14633,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14635
14633
  imageGeneration?: boolean | undefined;
14636
14634
  runSlashCommand?: boolean | undefined;
14637
14635
  multipleNativeToolCalls?: boolean | undefined;
14636
+ customTools?: boolean | undefined;
14638
14637
  } | undefined;
14639
14638
  codebaseIndexModels?: {
14640
14639
  openai?: Record<string, {
@@ -14738,7 +14737,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14738
14737
  openRouterModelId?: string | undefined;
14739
14738
  openRouterBaseUrl?: string | undefined;
14740
14739
  openRouterSpecificProvider?: string | undefined;
14741
- openRouterUseMiddleOutTransform?: boolean | undefined;
14742
14740
  awsAccessKey?: string | undefined;
14743
14741
  awsSecretKey?: string | undefined;
14744
14742
  awsSessionToken?: string | undefined;
@@ -14997,6 +14995,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14997
14995
  imageGeneration?: boolean | undefined;
14998
14996
  runSlashCommand?: boolean | undefined;
14999
14997
  multipleNativeToolCalls?: boolean | undefined;
14998
+ customTools?: boolean | undefined;
15000
14999
  } | undefined;
15001
15000
  codebaseIndexModels?: {
15002
15001
  openai?: Record<string, {
@@ -15101,7 +15100,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15101
15100
  openRouterModelId?: string | undefined;
15102
15101
  openRouterBaseUrl?: string | undefined;
15103
15102
  openRouterSpecificProvider?: string | undefined;
15104
- openRouterUseMiddleOutTransform?: boolean | undefined;
15105
15103
  awsAccessKey?: string | undefined;
15106
15104
  awsSecretKey?: string | undefined;
15107
15105
  awsSessionToken?: string | undefined;
@@ -15360,6 +15358,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15360
15358
  imageGeneration?: boolean | undefined;
15361
15359
  runSlashCommand?: boolean | undefined;
15362
15360
  multipleNativeToolCalls?: boolean | undefined;
15361
+ customTools?: boolean | undefined;
15363
15362
  } | undefined;
15364
15363
  codebaseIndexModels?: {
15365
15364
  openai?: Record<string, {
@@ -15518,7 +15517,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15518
15517
  openRouterModelId?: string | undefined;
15519
15518
  openRouterBaseUrl?: string | undefined;
15520
15519
  openRouterSpecificProvider?: string | undefined;
15521
- openRouterUseMiddleOutTransform?: boolean | undefined;
15522
15520
  awsAccessKey?: string | undefined;
15523
15521
  awsSecretKey?: string | undefined;
15524
15522
  awsSessionToken?: string | undefined;
@@ -15777,6 +15775,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15777
15775
  imageGeneration?: boolean | undefined;
15778
15776
  runSlashCommand?: boolean | undefined;
15779
15777
  multipleNativeToolCalls?: boolean | undefined;
15778
+ customTools?: boolean | undefined;
15780
15779
  } | undefined;
15781
15780
  codebaseIndexModels?: {
15782
15781
  openai?: Record<string, {
@@ -15901,7 +15900,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15901
15900
  openRouterModelId?: string | undefined;
15902
15901
  openRouterBaseUrl?: string | undefined;
15903
15902
  openRouterSpecificProvider?: string | undefined;
15904
- openRouterUseMiddleOutTransform?: boolean | undefined;
15905
15903
  awsAccessKey?: string | undefined;
15906
15904
  awsSecretKey?: string | undefined;
15907
15905
  awsSessionToken?: string | undefined;
@@ -16160,6 +16158,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16160
16158
  imageGeneration?: boolean | undefined;
16161
16159
  runSlashCommand?: boolean | undefined;
16162
16160
  multipleNativeToolCalls?: boolean | undefined;
16161
+ customTools?: boolean | undefined;
16163
16162
  } | undefined;
16164
16163
  codebaseIndexModels?: {
16165
16164
  openai?: Record<string, {
@@ -16296,7 +16295,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16296
16295
  contextTokens: number;
16297
16296
  totalCacheWrites?: number | undefined;
16298
16297
  totalCacheReads?: number | undefined;
16299
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
16298
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
16300
16299
  attempts: z.ZodNumber;
16301
16300
  failures: z.ZodNumber;
16302
16301
  }, "strip", z.ZodTypeAny, {
@@ -16322,7 +16321,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16322
16321
  contextTokens: number;
16323
16322
  totalCacheWrites?: number | undefined;
16324
16323
  totalCacheReads?: number | undefined;
16325
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16324
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
16326
16325
  attempts: number;
16327
16326
  failures: number;
16328
16327
  }>>, {
@@ -16338,7 +16337,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16338
16337
  contextTokens: number;
16339
16338
  totalCacheWrites?: number | undefined;
16340
16339
  totalCacheReads?: number | undefined;
16341
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16340
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
16342
16341
  attempts: number;
16343
16342
  failures: number;
16344
16343
  }>>, {
@@ -16804,15 +16803,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16804
16803
  taskId?: number | undefined;
16805
16804
  }>, z.ZodObject<{
16806
16805
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
16807
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
16806
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
16808
16807
  taskId: z.ZodOptional<z.ZodNumber>;
16809
16808
  }, "strip", z.ZodTypeAny, {
16810
16809
  eventName: RooCodeEventName.TaskToolFailed;
16811
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
16810
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
16812
16811
  taskId?: number | undefined;
16813
16812
  }, {
16814
16813
  eventName: RooCodeEventName.TaskToolFailed;
16815
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
16814
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
16816
16815
  taskId?: number | undefined;
16817
16816
  }>, z.ZodObject<{
16818
16817
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -16837,7 +16836,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16837
16836
  contextTokens: number;
16838
16837
  totalCacheWrites?: number | undefined;
16839
16838
  totalCacheReads?: number | undefined;
16840
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
16839
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
16841
16840
  attempts: z.ZodNumber;
16842
16841
  failures: z.ZodNumber;
16843
16842
  }, "strip", z.ZodTypeAny, {
@@ -16857,7 +16856,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16857
16856
  contextTokens: number;
16858
16857
  totalCacheWrites?: number | undefined;
16859
16858
  totalCacheReads?: number | undefined;
16860
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16859
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
16861
16860
  attempts: number;
16862
16861
  failures: number;
16863
16862
  }>>];
@@ -16871,7 +16870,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16871
16870
  contextTokens: number;
16872
16871
  totalCacheWrites?: number | undefined;
16873
16872
  totalCacheReads?: number | undefined;
16874
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16873
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
16875
16874
  attempts: number;
16876
16875
  failures: number;
16877
16876
  }>>];
@@ -16920,7 +16919,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16920
16919
  contextTokens: number;
16921
16920
  totalCacheWrites?: number | undefined;
16922
16921
  totalCacheReads?: number | undefined;
16923
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16922
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
16924
16923
  attempts: number;
16925
16924
  failures: number;
16926
16925
  }>>, {
@@ -17028,7 +17027,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17028
17027
  taskId?: number | undefined;
17029
17028
  } | {
17030
17029
  eventName: RooCodeEventName.TaskToolFailed;
17031
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
17030
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
17032
17031
  taskId?: number | undefined;
17033
17032
  } | {
17034
17033
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -17039,7 +17038,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17039
17038
  contextTokens: number;
17040
17039
  totalCacheWrites?: number | undefined;
17041
17040
  totalCacheReads?: number | undefined;
17042
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17041
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
17043
17042
  attempts: number;
17044
17043
  failures: number;
17045
17044
  }>>];
@@ -17074,7 +17073,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17074
17073
  contextTokens: number;
17075
17074
  totalCacheWrites?: number | undefined;
17076
17075
  totalCacheReads?: number | undefined;
17077
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17076
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
17078
17077
  attempts: number;
17079
17078
  failures: number;
17080
17079
  }>>, {
@@ -17182,7 +17181,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17182
17181
  taskId?: number | undefined;
17183
17182
  } | {
17184
17183
  eventName: RooCodeEventName.TaskToolFailed;
17185
- payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
17184
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
17186
17185
  taskId?: number | undefined;
17187
17186
  } | {
17188
17187
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -17193,7 +17192,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17193
17192
  contextTokens: number;
17194
17193
  totalCacheWrites?: number | undefined;
17195
17194
  totalCacheReads?: number | undefined;
17196
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17195
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "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" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
17197
17196
  attempts: number;
17198
17197
  failures: number;
17199
17198
  }>>];
@@ -17738,13 +17737,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
17738
17737
  /**
17739
17738
  * ToolName
17740
17739
  */
17741
- declare const toolNames: readonly ["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"];
17742
- declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>;
17740
+ declare const toolNames: readonly ["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"];
17741
+ declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>;
17743
17742
  type ToolName = z.infer<typeof toolNamesSchema>;
17744
17743
  /**
17745
17744
  * ToolUsage
17746
17745
  */
17747
- declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
17746
+ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "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", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
17748
17747
  attempts: z.ZodNumber;
17749
17748
  failures: z.ZodNumber;
17750
17749
  }, "strip", z.ZodTypeAny, {
@@ -19882,7 +19881,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19882
19881
  openRouterModelId: z.ZodOptional<z.ZodString>;
19883
19882
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
19884
19883
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
19885
- openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
19886
19884
  apiKey: z.ZodOptional<z.ZodString>;
19887
19885
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
19888
19886
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -19924,7 +19922,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19924
19922
  openRouterModelId?: string | undefined;
19925
19923
  openRouterBaseUrl?: string | undefined;
19926
19924
  openRouterSpecificProvider?: string | undefined;
19927
- openRouterUseMiddleOutTransform?: boolean | undefined;
19928
19925
  awsAccessKey?: string | undefined;
19929
19926
  awsSecretKey?: string | undefined;
19930
19927
  awsSessionToken?: string | undefined;
@@ -20097,7 +20094,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20097
20094
  openRouterModelId?: string | undefined;
20098
20095
  openRouterBaseUrl?: string | undefined;
20099
20096
  openRouterSpecificProvider?: string | undefined;
20100
- openRouterUseMiddleOutTransform?: boolean | undefined;
20101
20097
  awsAccessKey?: string | undefined;
20102
20098
  awsSecretKey?: string | undefined;
20103
20099
  awsSessionToken?: string | undefined;
@@ -20334,7 +20330,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20334
20330
  openRouterModelId?: string | undefined;
20335
20331
  openRouterBaseUrl?: string | undefined;
20336
20332
  openRouterSpecificProvider?: string | undefined;
20337
- openRouterUseMiddleOutTransform?: boolean | undefined;
20338
20333
  awsAccessKey?: string | undefined;
20339
20334
  awsSecretKey?: string | undefined;
20340
20335
  awsSessionToken?: string | undefined;
@@ -20571,7 +20566,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20571
20566
  openRouterModelId?: string | undefined;
20572
20567
  openRouterBaseUrl?: string | undefined;
20573
20568
  openRouterSpecificProvider?: string | undefined;
20574
- openRouterUseMiddleOutTransform?: boolean | undefined;
20575
20569
  awsAccessKey?: string | undefined;
20576
20570
  awsSecretKey?: string | undefined;
20577
20571
  awsSessionToken?: string | undefined;
@@ -44330,6 +44324,7 @@ interface SerializedCustomToolDefinition {
44330
44324
  name: string;
44331
44325
  description: string;
44332
44326
  parameters?: SerializedCustomToolParameters;
44327
+ source?: string;
44333
44328
  }
44334
44329
  /**
44335
44330
  * Type-safe definition structure for a custom tool with inferred parameter types.
@@ -44349,7 +44344,7 @@ interface TypedCustomToolDefinition<T extends CustomToolParametersSchema> extend
44349
44344
  *
44350
44345
  * @example
44351
44346
  * ```ts
44352
- * import { z, defineCustomTool } from "@roo-code/types"
44347
+ * import { parametersSchema as z, defineCustomTool } from "@roo-code/types"
44353
44348
  *
44354
44349
  * export default defineCustomTool({
44355
44350
  * name: "add_numbers",
@@ -44369,8 +44364,8 @@ declare function defineCustomTool<T extends CustomToolParametersSchema>(definiti
44369
44364
  /**
44370
44365
  * ExperimentId
44371
44366
  */
44372
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"];
44373
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"]>;
44367
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"];
44368
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"]>;
44374
44369
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
44375
44370
  /**
44376
44371
  * Experiments
@@ -44382,6 +44377,7 @@ declare const experimentsSchema: z.ZodObject<{
44382
44377
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
44383
44378
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
44384
44379
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
44380
+ customTools: z.ZodOptional<z.ZodBoolean>;
44385
44381
  }, "strip", z.ZodTypeAny, {
44386
44382
  powerSteering?: boolean | undefined;
44387
44383
  multiFileApplyDiff?: boolean | undefined;
@@ -44389,6 +44385,7 @@ declare const experimentsSchema: z.ZodObject<{
44389
44385
  imageGeneration?: boolean | undefined;
44390
44386
  runSlashCommand?: boolean | undefined;
44391
44387
  multipleNativeToolCalls?: boolean | undefined;
44388
+ customTools?: boolean | undefined;
44392
44389
  }, {
44393
44390
  powerSteering?: boolean | undefined;
44394
44391
  multiFileApplyDiff?: boolean | undefined;
@@ -44396,6 +44393,7 @@ declare const experimentsSchema: z.ZodObject<{
44396
44393
  imageGeneration?: boolean | undefined;
44397
44394
  runSlashCommand?: boolean | undefined;
44398
44395
  multipleNativeToolCalls?: boolean | undefined;
44396
+ customTools?: boolean | undefined;
44399
44397
  }>;
44400
44398
  type Experiments = z.infer<typeof experimentsSchema>;
44401
44399
 
@@ -45463,18 +45461,6 @@ declare const modelInfoSchema: z.ZodObject<{
45463
45461
  }>;
45464
45462
  type ModelInfo = z.infer<typeof modelInfoSchema>;
45465
45463
 
45466
- /**
45467
- * Configuration for models that should use simplified single-file read_file tool
45468
- * These models will use the simpler <read_file><path>...</path></read_file> format
45469
- * instead of the more complex multi-file args format
45470
- */
45471
- /**
45472
- * Check if a model should use single file read format
45473
- * @param modelId The model ID to check
45474
- * @returns true if the model should use single file reads
45475
- */
45476
- declare function shouldUseSingleFileRead(modelId: string): boolean;
45477
-
45478
45464
  /**
45479
45465
  * CommandExecutionStatus
45480
45466
  */
@@ -45800,6 +45786,7 @@ declare const basetenModels: {
45800
45786
  readonly contextWindow: 163840;
45801
45787
  readonly supportsImages: false;
45802
45788
  readonly supportsPromptCache: false;
45789
+ readonly supportsNativeTools: true;
45803
45790
  readonly inputPrice: 2.55;
45804
45791
  readonly outputPrice: 5.95;
45805
45792
  readonly cacheWritesPrice: 0;
@@ -45811,6 +45798,7 @@ declare const basetenModels: {
45811
45798
  readonly contextWindow: 163840;
45812
45799
  readonly supportsImages: false;
45813
45800
  readonly supportsPromptCache: false;
45801
+ readonly supportsNativeTools: true;
45814
45802
  readonly inputPrice: 2.55;
45815
45803
  readonly outputPrice: 5.95;
45816
45804
  readonly cacheWritesPrice: 0;
@@ -45822,6 +45810,7 @@ declare const basetenModels: {
45822
45810
  readonly contextWindow: 163840;
45823
45811
  readonly supportsImages: false;
45824
45812
  readonly supportsPromptCache: false;
45813
+ readonly supportsNativeTools: true;
45825
45814
  readonly inputPrice: 0.77;
45826
45815
  readonly outputPrice: 0.77;
45827
45816
  readonly cacheWritesPrice: 0;
@@ -45833,6 +45822,7 @@ declare const basetenModels: {
45833
45822
  readonly contextWindow: 163840;
45834
45823
  readonly supportsImages: false;
45835
45824
  readonly supportsPromptCache: false;
45825
+ readonly supportsNativeTools: true;
45836
45826
  readonly inputPrice: 0.5;
45837
45827
  readonly outputPrice: 1.5;
45838
45828
  readonly cacheWritesPrice: 0;
@@ -45851,11 +45841,24 @@ declare const basetenModels: {
45851
45841
  readonly cacheReadsPrice: 0;
45852
45842
  readonly description: "DeepSeek's hybrid reasoning model with efficient long context scaling with GPT-5 level performance";
45853
45843
  };
45844
+ readonly "openai/gpt-oss-120b": {
45845
+ readonly maxTokens: 16384;
45846
+ readonly contextWindow: 128072;
45847
+ readonly supportsImages: false;
45848
+ readonly supportsPromptCache: false;
45849
+ readonly supportsNativeTools: true;
45850
+ readonly inputPrice: 0.1;
45851
+ readonly outputPrice: 0.5;
45852
+ readonly cacheWritesPrice: 0;
45853
+ readonly cacheReadsPrice: 0;
45854
+ readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45855
+ };
45854
45856
  readonly "Qwen/Qwen3-235B-A22B-Instruct-2507": {
45855
45857
  readonly maxTokens: 16384;
45856
45858
  readonly contextWindow: 262144;
45857
45859
  readonly supportsImages: false;
45858
45860
  readonly supportsPromptCache: false;
45861
+ readonly supportsNativeTools: true;
45859
45862
  readonly inputPrice: 0.22;
45860
45863
  readonly outputPrice: 0.8;
45861
45864
  readonly cacheWritesPrice: 0;
@@ -45867,24 +45870,13 @@ declare const basetenModels: {
45867
45870
  readonly contextWindow: 262144;
45868
45871
  readonly supportsImages: false;
45869
45872
  readonly supportsPromptCache: false;
45873
+ readonly supportsNativeTools: true;
45870
45874
  readonly inputPrice: 0.38;
45871
45875
  readonly outputPrice: 1.53;
45872
45876
  readonly cacheWritesPrice: 0;
45873
45877
  readonly cacheReadsPrice: 0;
45874
45878
  readonly description: "Mixture-of-experts LLM with advanced coding and reasoning capabilities";
45875
45879
  };
45876
- readonly "openai/gpt-oss-120b": {
45877
- readonly maxTokens: 16384;
45878
- readonly contextWindow: 128072;
45879
- readonly supportsImages: false;
45880
- readonly supportsPromptCache: false;
45881
- readonly supportsNativeTools: true;
45882
- readonly inputPrice: 0.1;
45883
- readonly outputPrice: 0.5;
45884
- readonly cacheWritesPrice: 0;
45885
- readonly cacheReadsPrice: 0;
45886
- readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45887
- };
45888
45880
  readonly "moonshotai/Kimi-K2-Instruct-0905": {
45889
45881
  readonly maxTokens: 16384;
45890
45882
  readonly contextWindow: 262000;
@@ -46346,22 +46338,6 @@ declare const bedrockModels: {
46346
46338
  readonly outputPrice: 0.6;
46347
46339
  readonly description: "Amazon Titan Text Express";
46348
46340
  };
46349
- readonly "amazon.titan-text-embeddings-v1:0": {
46350
- readonly maxTokens: 8192;
46351
- readonly contextWindow: 8000;
46352
- readonly supportsImages: false;
46353
- readonly supportsPromptCache: false;
46354
- readonly inputPrice: 0.1;
46355
- readonly description: "Amazon Titan Text Embeddings";
46356
- };
46357
- readonly "amazon.titan-text-embeddings-v2:0": {
46358
- readonly maxTokens: 8192;
46359
- readonly contextWindow: 8000;
46360
- readonly supportsImages: false;
46361
- readonly supportsPromptCache: false;
46362
- readonly inputPrice: 0.02;
46363
- readonly description: "Amazon Titan Text Embeddings V2";
46364
- };
46365
46341
  readonly "moonshot.kimi-k2-thinking": {
46366
46342
  readonly maxTokens: 32000;
46367
46343
  readonly contextWindow: 262144;
@@ -46431,7 +46407,7 @@ type CerebrasModelId = keyof typeof cerebrasModels;
46431
46407
  declare const cerebrasDefaultModelId: CerebrasModelId;
46432
46408
  declare const cerebrasModels: {
46433
46409
  readonly "zai-glm-4.6": {
46434
- readonly maxTokens: 8192;
46410
+ readonly maxTokens: 16384;
46435
46411
  readonly contextWindow: 131072;
46436
46412
  readonly supportsImages: false;
46437
46413
  readonly supportsPromptCache: false;
@@ -46442,7 +46418,7 @@ declare const cerebrasModels: {
46442
46418
  readonly description: "Highly intelligent general purpose model with up to 1,000 tokens/s";
46443
46419
  };
46444
46420
  readonly "qwen-3-235b-a22b-instruct-2507": {
46445
- readonly maxTokens: 8192;
46421
+ readonly maxTokens: 16384;
46446
46422
  readonly contextWindow: 64000;
46447
46423
  readonly supportsImages: false;
46448
46424
  readonly supportsPromptCache: false;
@@ -46453,7 +46429,7 @@ declare const cerebrasModels: {
46453
46429
  readonly description: "Intelligent model with ~1400 tokens/s";
46454
46430
  };
46455
46431
  readonly "llama-3.3-70b": {
46456
- readonly maxTokens: 8192;
46432
+ readonly maxTokens: 16384;
46457
46433
  readonly contextWindow: 64000;
46458
46434
  readonly supportsImages: false;
46459
46435
  readonly supportsPromptCache: false;
@@ -46464,7 +46440,7 @@ declare const cerebrasModels: {
46464
46440
  readonly description: "Powerful model with ~2600 tokens/s";
46465
46441
  };
46466
46442
  readonly "qwen-3-32b": {
46467
- readonly maxTokens: 8192;
46443
+ readonly maxTokens: 16384;
46468
46444
  readonly contextWindow: 64000;
46469
46445
  readonly supportsImages: false;
46470
46446
  readonly supportsPromptCache: false;
@@ -46475,7 +46451,7 @@ declare const cerebrasModels: {
46475
46451
  readonly description: "SOTA coding performance with ~2500 tokens/s";
46476
46452
  };
46477
46453
  readonly "gpt-oss-120b": {
46478
- readonly maxTokens: 8192;
46454
+ readonly maxTokens: 16384;
46479
46455
  readonly contextWindow: 64000;
46480
46456
  readonly supportsImages: false;
46481
46457
  readonly supportsPromptCache: false;
@@ -47125,6 +47101,7 @@ declare const featherlessModels: {
47125
47101
  readonly contextWindow: 32678;
47126
47102
  readonly supportsImages: false;
47127
47103
  readonly supportsPromptCache: false;
47104
+ readonly supportsNativeTools: true;
47128
47105
  readonly inputPrice: 0;
47129
47106
  readonly outputPrice: 0;
47130
47107
  readonly description: "DeepSeek V3 0324 model.";
@@ -47134,6 +47111,7 @@ declare const featherlessModels: {
47134
47111
  readonly contextWindow: 32678;
47135
47112
  readonly supportsImages: false;
47136
47113
  readonly supportsPromptCache: false;
47114
+ readonly supportsNativeTools: true;
47137
47115
  readonly inputPrice: 0;
47138
47116
  readonly outputPrice: 0;
47139
47117
  readonly description: "DeepSeek R1 0528 model.";
@@ -47153,6 +47131,7 @@ declare const featherlessModels: {
47153
47131
  readonly contextWindow: 32678;
47154
47132
  readonly supportsImages: false;
47155
47133
  readonly supportsPromptCache: false;
47134
+ readonly supportsNativeTools: true;
47156
47135
  readonly inputPrice: 0;
47157
47136
  readonly outputPrice: 0;
47158
47137
  readonly description: "GPT-OSS 120B model.";
@@ -47554,7 +47533,7 @@ declare const geminiModels: {
47554
47533
  };
47555
47534
  };
47556
47535
 
47557
- type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "qwen/qwen3-32b" | "deepseek-r1-distill-llama-70b" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-instruct-0905" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b";
47536
+ type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "qwen/qwen3-32b" | "moonshotai/kimi-k2-instruct-0905" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b";
47558
47537
  declare const groqDefaultModelId: GroqModelId;
47559
47538
  declare const groqModels: {
47560
47539
  readonly "llama-3.1-8b-instant": {
@@ -47590,33 +47569,6 @@ declare const groqModels: {
47590
47569
  readonly outputPrice: 0.34;
47591
47570
  readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
47592
47571
  };
47593
- readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
47594
- readonly maxTokens: 8192;
47595
- readonly contextWindow: 131072;
47596
- readonly supportsImages: false;
47597
- readonly supportsPromptCache: false;
47598
- readonly inputPrice: 0.2;
47599
- readonly outputPrice: 0.6;
47600
- readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
47601
- };
47602
- readonly "mistral-saba-24b": {
47603
- readonly maxTokens: 8192;
47604
- readonly contextWindow: 32768;
47605
- readonly supportsImages: false;
47606
- readonly supportsPromptCache: false;
47607
- readonly inputPrice: 0.79;
47608
- readonly outputPrice: 0.79;
47609
- readonly description: "Mistral Saba 24B model, 32K context.";
47610
- };
47611
- readonly "qwen-qwq-32b": {
47612
- readonly maxTokens: 8192;
47613
- readonly contextWindow: 131072;
47614
- readonly supportsImages: false;
47615
- readonly supportsPromptCache: false;
47616
- readonly inputPrice: 0.29;
47617
- readonly outputPrice: 0.39;
47618
- readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
47619
- };
47620
47572
  readonly "qwen/qwen3-32b": {
47621
47573
  readonly maxTokens: 8192;
47622
47574
  readonly contextWindow: 131072;
@@ -47628,25 +47580,6 @@ declare const groqModels: {
47628
47580
  readonly outputPrice: 0.59;
47629
47581
  readonly description: "Alibaba Qwen 3 32B model, 128K context.";
47630
47582
  };
47631
- readonly "deepseek-r1-distill-llama-70b": {
47632
- readonly maxTokens: 8192;
47633
- readonly contextWindow: 131072;
47634
- readonly supportsImages: false;
47635
- readonly supportsPromptCache: false;
47636
- readonly inputPrice: 0.75;
47637
- readonly outputPrice: 0.99;
47638
- readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
47639
- };
47640
- readonly "moonshotai/kimi-k2-instruct": {
47641
- readonly maxTokens: 16384;
47642
- readonly contextWindow: 131072;
47643
- readonly supportsImages: false;
47644
- readonly supportsPromptCache: true;
47645
- readonly inputPrice: 1;
47646
- readonly outputPrice: 3;
47647
- readonly cacheReadsPrice: 0.5;
47648
- readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.";
47649
- };
47650
47583
  readonly "moonshotai/kimi-k2-instruct-0905": {
47651
47584
  readonly maxTokens: 16384;
47652
47585
  readonly contextWindow: 262144;
@@ -48835,7 +48768,7 @@ declare const RooModelsResponseSchema: z.ZodObject<{
48835
48768
  type RooModel = z.infer<typeof RooModelSchema>;
48836
48769
  type RooModelsResponse = z.infer<typeof RooModelsResponseSchema>;
48837
48770
 
48838
- type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Llama-3.3-Swallow-70B-Instruct-v0.4" | "Qwen3-32B" | "gpt-oss-120b";
48771
+ type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "Llama-4-Maverick-17B-128E-Instruct" | "Qwen3-32B" | "gpt-oss-120b";
48839
48772
  declare const sambaNovaDefaultModelId: SambaNovaModelId;
48840
48773
  declare const sambaNovaModels: {
48841
48774
  readonly "Meta-Llama-3.1-8B-Instruct": {
@@ -48894,15 +48827,6 @@ declare const sambaNovaModels: {
48894
48827
  readonly outputPrice: 4.5;
48895
48828
  readonly description: "DeepSeek V3.1 model with 32K context window.";
48896
48829
  };
48897
- readonly "DeepSeek-R1-Distill-Llama-70B": {
48898
- readonly maxTokens: 8192;
48899
- readonly contextWindow: 131072;
48900
- readonly supportsImages: false;
48901
- readonly supportsPromptCache: false;
48902
- readonly inputPrice: 0.7;
48903
- readonly outputPrice: 1.4;
48904
- readonly description: "DeepSeek R1 distilled Llama 70B model with 128K context window.";
48905
- };
48906
48830
  readonly "Llama-4-Maverick-17B-128E-Instruct": {
48907
48831
  readonly maxTokens: 8192;
48908
48832
  readonly contextWindow: 131072;
@@ -48914,15 +48838,6 @@ declare const sambaNovaModels: {
48914
48838
  readonly outputPrice: 1.8;
48915
48839
  readonly description: "Meta Llama 4 Maverick 17B 128E Instruct model with 128K context window.";
48916
48840
  };
48917
- readonly "Llama-3.3-Swallow-70B-Instruct-v0.4": {
48918
- readonly maxTokens: 8192;
48919
- readonly contextWindow: 16384;
48920
- readonly supportsImages: false;
48921
- readonly supportsPromptCache: false;
48922
- readonly inputPrice: 0.6;
48923
- readonly outputPrice: 1.2;
48924
- readonly description: "Tokyotech Llama 3.3 Swallow 70B Instruct v0.4 model with 16K context window.";
48925
- };
48926
48841
  readonly "Qwen3-32B": {
48927
48842
  readonly maxTokens: 8192;
48928
48843
  readonly contextWindow: 8192;
@@ -49412,6 +49327,7 @@ declare const vertexModels: {
49412
49327
  readonly contextWindow: 131072;
49413
49328
  readonly supportsImages: false;
49414
49329
  readonly supportsPromptCache: false;
49330
+ readonly supportsNativeTools: true;
49415
49331
  readonly inputPrice: 0.35;
49416
49332
  readonly outputPrice: 1.15;
49417
49333
  readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
@@ -49421,6 +49337,7 @@ declare const vertexModels: {
49421
49337
  readonly contextWindow: 163840;
49422
49338
  readonly supportsImages: false;
49423
49339
  readonly supportsPromptCache: false;
49340
+ readonly supportsNativeTools: true;
49424
49341
  readonly inputPrice: 1.35;
49425
49342
  readonly outputPrice: 5.4;
49426
49343
  readonly description: "DeepSeek R1 (0528). Available in us-central1";
@@ -49430,6 +49347,7 @@ declare const vertexModels: {
49430
49347
  readonly contextWindow: 163840;
49431
49348
  readonly supportsImages: false;
49432
49349
  readonly supportsPromptCache: false;
49350
+ readonly supportsNativeTools: true;
49433
49351
  readonly inputPrice: 0.6;
49434
49352
  readonly outputPrice: 1.7;
49435
49353
  readonly description: "DeepSeek V3.1. Available in us-west2";
@@ -49439,6 +49357,7 @@ declare const vertexModels: {
49439
49357
  readonly contextWindow: 131072;
49440
49358
  readonly supportsImages: false;
49441
49359
  readonly supportsPromptCache: false;
49360
+ readonly supportsNativeTools: true;
49442
49361
  readonly inputPrice: 0.15;
49443
49362
  readonly outputPrice: 0.6;
49444
49363
  readonly description: "OpenAI gpt-oss 120B. Available in us-central1";
@@ -49448,6 +49367,7 @@ declare const vertexModels: {
49448
49367
  readonly contextWindow: 131072;
49449
49368
  readonly supportsImages: false;
49450
49369
  readonly supportsPromptCache: false;
49370
+ readonly supportsNativeTools: true;
49451
49371
  readonly inputPrice: 0.075;
49452
49372
  readonly outputPrice: 0.3;
49453
49373
  readonly description: "OpenAI gpt-oss 20B. Available in us-central1";
@@ -49457,6 +49377,7 @@ declare const vertexModels: {
49457
49377
  readonly contextWindow: 262144;
49458
49378
  readonly supportsImages: false;
49459
49379
  readonly supportsPromptCache: false;
49380
+ readonly supportsNativeTools: true;
49460
49381
  readonly inputPrice: 1;
49461
49382
  readonly outputPrice: 4;
49462
49383
  readonly description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1";
@@ -49466,6 +49387,7 @@ declare const vertexModels: {
49466
49387
  readonly contextWindow: 262144;
49467
49388
  readonly supportsImages: false;
49468
49389
  readonly supportsPromptCache: false;
49390
+ readonly supportsNativeTools: true;
49469
49391
  readonly inputPrice: 0.25;
49470
49392
  readonly outputPrice: 1;
49471
49393
  readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
@@ -49800,7 +49722,7 @@ type InternationalZAiModelId = keyof typeof internationalZAiModels;
49800
49722
  declare const internationalZAiDefaultModelId: InternationalZAiModelId;
49801
49723
  declare const internationalZAiModels: {
49802
49724
  readonly "glm-4.5": {
49803
- readonly maxTokens: 98304;
49725
+ readonly maxTokens: 16384;
49804
49726
  readonly contextWindow: 131072;
49805
49727
  readonly supportsImages: false;
49806
49728
  readonly supportsPromptCache: true;
@@ -49813,7 +49735,7 @@ declare const internationalZAiModels: {
49813
49735
  readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
49814
49736
  };
49815
49737
  readonly "glm-4.5-air": {
49816
- readonly maxTokens: 98304;
49738
+ readonly maxTokens: 16384;
49817
49739
  readonly contextWindow: 131072;
49818
49740
  readonly supportsImages: false;
49819
49741
  readonly supportsPromptCache: true;
@@ -49826,7 +49748,7 @@ declare const internationalZAiModels: {
49826
49748
  readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
49827
49749
  };
49828
49750
  readonly "glm-4.5-x": {
49829
- readonly maxTokens: 98304;
49751
+ readonly maxTokens: 16384;
49830
49752
  readonly contextWindow: 131072;
49831
49753
  readonly supportsImages: false;
49832
49754
  readonly supportsPromptCache: true;
@@ -49839,7 +49761,7 @@ declare const internationalZAiModels: {
49839
49761
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49840
49762
  };
49841
49763
  readonly "glm-4.5-airx": {
49842
- readonly maxTokens: 98304;
49764
+ readonly maxTokens: 16384;
49843
49765
  readonly contextWindow: 131072;
49844
49766
  readonly supportsImages: false;
49845
49767
  readonly supportsPromptCache: true;
@@ -49852,7 +49774,7 @@ declare const internationalZAiModels: {
49852
49774
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49853
49775
  };
49854
49776
  readonly "glm-4.5-flash": {
49855
- readonly maxTokens: 98304;
49777
+ readonly maxTokens: 16384;
49856
49778
  readonly contextWindow: 131072;
49857
49779
  readonly supportsImages: false;
49858
49780
  readonly supportsPromptCache: true;
@@ -49878,7 +49800,7 @@ declare const internationalZAiModels: {
49878
49800
  readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
49879
49801
  };
49880
49802
  readonly "glm-4.6": {
49881
- readonly maxTokens: 98304;
49803
+ readonly maxTokens: 16384;
49882
49804
  readonly contextWindow: 200000;
49883
49805
  readonly supportsImages: false;
49884
49806
  readonly supportsPromptCache: true;
@@ -49890,8 +49812,24 @@ declare const internationalZAiModels: {
49890
49812
  readonly cacheReadsPrice: 0.11;
49891
49813
  readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
49892
49814
  };
49815
+ readonly "glm-4.7": {
49816
+ readonly maxTokens: 16384;
49817
+ readonly contextWindow: 200000;
49818
+ readonly supportsImages: false;
49819
+ readonly supportsPromptCache: true;
49820
+ readonly supportsNativeTools: true;
49821
+ readonly defaultToolProtocol: "native";
49822
+ readonly supportsReasoningEffort: ["disable", "medium"];
49823
+ readonly reasoningEffort: "medium";
49824
+ readonly preserveReasoning: true;
49825
+ readonly inputPrice: 0.6;
49826
+ readonly outputPrice: 2.2;
49827
+ readonly cacheWritesPrice: 0;
49828
+ readonly cacheReadsPrice: 0.11;
49829
+ readonly description: "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.";
49830
+ };
49893
49831
  readonly "glm-4-32b-0414-128k": {
49894
- readonly maxTokens: 98304;
49832
+ readonly maxTokens: 16384;
49895
49833
  readonly contextWindow: 131072;
49896
49834
  readonly supportsImages: false;
49897
49835
  readonly supportsPromptCache: false;
@@ -49908,7 +49846,7 @@ type MainlandZAiModelId = keyof typeof mainlandZAiModels;
49908
49846
  declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
49909
49847
  declare const mainlandZAiModels: {
49910
49848
  readonly "glm-4.5": {
49911
- readonly maxTokens: 98304;
49849
+ readonly maxTokens: 16384;
49912
49850
  readonly contextWindow: 131072;
49913
49851
  readonly supportsImages: false;
49914
49852
  readonly supportsPromptCache: true;
@@ -49921,7 +49859,7 @@ declare const mainlandZAiModels: {
49921
49859
  readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
49922
49860
  };
49923
49861
  readonly "glm-4.5-air": {
49924
- readonly maxTokens: 98304;
49862
+ readonly maxTokens: 16384;
49925
49863
  readonly contextWindow: 131072;
49926
49864
  readonly supportsImages: false;
49927
49865
  readonly supportsPromptCache: true;
@@ -49934,7 +49872,7 @@ declare const mainlandZAiModels: {
49934
49872
  readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
49935
49873
  };
49936
49874
  readonly "glm-4.5-x": {
49937
- readonly maxTokens: 98304;
49875
+ readonly maxTokens: 16384;
49938
49876
  readonly contextWindow: 131072;
49939
49877
  readonly supportsImages: false;
49940
49878
  readonly supportsPromptCache: true;
@@ -49947,7 +49885,7 @@ declare const mainlandZAiModels: {
49947
49885
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49948
49886
  };
49949
49887
  readonly "glm-4.5-airx": {
49950
- readonly maxTokens: 98304;
49888
+ readonly maxTokens: 16384;
49951
49889
  readonly contextWindow: 131072;
49952
49890
  readonly supportsImages: false;
49953
49891
  readonly supportsPromptCache: true;
@@ -49960,7 +49898,7 @@ declare const mainlandZAiModels: {
49960
49898
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49961
49899
  };
49962
49900
  readonly "glm-4.5-flash": {
49963
- readonly maxTokens: 98304;
49901
+ readonly maxTokens: 16384;
49964
49902
  readonly contextWindow: 131072;
49965
49903
  readonly supportsImages: false;
49966
49904
  readonly supportsPromptCache: true;
@@ -49986,7 +49924,7 @@ declare const mainlandZAiModels: {
49986
49924
  readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
49987
49925
  };
49988
49926
  readonly "glm-4.6": {
49989
- readonly maxTokens: 98304;
49927
+ readonly maxTokens: 16384;
49990
49928
  readonly contextWindow: 204800;
49991
49929
  readonly supportsImages: false;
49992
49930
  readonly supportsPromptCache: true;
@@ -49998,6 +49936,22 @@ declare const mainlandZAiModels: {
49998
49936
  readonly cacheReadsPrice: 0.057;
49999
49937
  readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
50000
49938
  };
49939
+ readonly "glm-4.7": {
49940
+ readonly maxTokens: 16384;
49941
+ readonly contextWindow: 204800;
49942
+ readonly supportsImages: false;
49943
+ readonly supportsPromptCache: true;
49944
+ readonly supportsNativeTools: true;
49945
+ readonly defaultToolProtocol: "native";
49946
+ readonly supportsReasoningEffort: ["disable", "medium"];
49947
+ readonly reasoningEffort: "medium";
49948
+ readonly preserveReasoning: true;
49949
+ readonly inputPrice: 0.29;
49950
+ readonly outputPrice: 1.14;
49951
+ readonly cacheWritesPrice: 0;
49952
+ readonly cacheReadsPrice: 0.057;
49953
+ readonly description: "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.";
49954
+ };
50001
49955
  };
50002
49956
  declare const ZAI_DEFAULT_TEMPERATURE = 0.6;
50003
49957
  declare const zaiApiLineConfigs: {
@@ -50036,6 +49990,8 @@ declare const minimaxModels: {
50036
49990
  readonly supportsPromptCache: true;
50037
49991
  readonly supportsNativeTools: true;
50038
49992
  readonly defaultToolProtocol: "native";
49993
+ readonly includedTools: ["search_and_replace"];
49994
+ readonly excludedTools: ["apply_diff"];
50039
49995
  readonly preserveReasoning: true;
50040
49996
  readonly inputPrice: 0.3;
50041
49997
  readonly outputPrice: 1.2;
@@ -50050,6 +50006,8 @@ declare const minimaxModels: {
50050
50006
  readonly supportsPromptCache: true;
50051
50007
  readonly supportsNativeTools: true;
50052
50008
  readonly defaultToolProtocol: "native";
50009
+ readonly includedTools: ["search_and_replace"];
50010
+ readonly excludedTools: ["apply_diff"];
50053
50011
  readonly preserveReasoning: true;
50054
50012
  readonly inputPrice: 0.3;
50055
50013
  readonly outputPrice: 1.2;
@@ -50057,6 +50015,22 @@ declare const minimaxModels: {
50057
50015
  readonly cacheReadsPrice: 0.03;
50058
50016
  readonly description: "MiniMax M2 Stable (High Concurrency, Commercial Use), a model born for Agents and code, featuring Top-tier Coding Capabilities, Powerful Agentic Performance, and Ultimate Cost-Effectiveness & Speed.";
50059
50017
  };
50018
+ readonly "MiniMax-M2.1": {
50019
+ readonly maxTokens: 16384;
50020
+ readonly contextWindow: 192000;
50021
+ readonly supportsImages: false;
50022
+ readonly supportsPromptCache: true;
50023
+ readonly supportsNativeTools: true;
50024
+ readonly defaultToolProtocol: "native";
50025
+ readonly includedTools: ["search_and_replace"];
50026
+ readonly excludedTools: ["apply_diff"];
50027
+ readonly preserveReasoning: true;
50028
+ readonly inputPrice: 0.3;
50029
+ readonly outputPrice: 1.2;
50030
+ readonly cacheWritesPrice: 0.375;
50031
+ readonly cacheReadsPrice: 0.03;
50032
+ readonly description: "MiniMax M2.1 builds on M2 with improved overall performance for agentic coding tasks and significantly faster response times.";
50033
+ };
50060
50034
  };
50061
50035
  declare const minimaxDefaultModelInfo: ModelInfo;
50062
50036
  declare const MINIMAX_DEFAULT_MAX_TOKENS = 16384;
@@ -50071,4 +50045,4 @@ declare function getProviderDefaultModelId(provider: ProviderName, options?: {
50071
50045
  isChina?: boolean;
50072
50046
  }): string;
50073
50047
 
50074
- export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, ConsecutiveMistakeError, type ConsecutiveMistakeReason, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, type CustomToolContext, type CustomToolDefinition, type CustomToolParametersSchema, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, NATIVE_TOOL_DEFAULTS, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SerializedCustomToolDefinition, type SerializedCustomToolParameters, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypedCustomToolDefinition, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_1M_CONTEXT_MODEL_IDS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, defineCustomTool, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractConsecutiveMistakeErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isConsecutiveMistakeError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
50048
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, ConsecutiveMistakeError, type ConsecutiveMistakeReason, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, type CustomToolContext, type CustomToolDefinition, type CustomToolParametersSchema, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, NATIVE_TOOL_DEFAULTS, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SerializedCustomToolDefinition, type SerializedCustomToolParameters, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypedCustomToolDefinition, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_1M_CONTEXT_MODEL_IDS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, defineCustomTool, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractConsecutiveMistakeErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isConsecutiveMistakeError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };