@roo-code/types 1.93.0 → 1.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import EventEmitter$1, { EventEmitter } from 'events';
2
2
  import { Socket } from 'net';
3
3
  import { z } from 'zod';
4
+ import { ZodType, z as z$1 } from 'zod/v4';
5
+ export { z as parametersSchema } from 'zod/v4';
4
6
 
5
7
  /**
6
8
  * RooCodeEventName
@@ -60,7 +62,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
60
62
  contextTokens: number;
61
63
  totalCacheWrites?: number | undefined;
62
64
  totalCacheReads?: number | undefined;
63
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodObject<{
64
66
  attempts: z.ZodNumber;
65
67
  failures: z.ZodNumber;
66
68
  }, "strip", z.ZodTypeAny, {
@@ -288,7 +290,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
288
290
  taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
289
291
  taskAskResponded: z.ZodTuple<[z.ZodString], null>;
290
292
  taskUserMessage: z.ZodTuple<[z.ZodString], null>;
291
- taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodString], null>;
292
294
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
293
295
  totalTokensIn: z.ZodNumber;
294
296
  totalTokensOut: z.ZodNumber;
@@ -310,7 +312,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
310
312
  contextTokens: number;
311
313
  totalCacheWrites?: number | undefined;
312
314
  totalCacheReads?: number | undefined;
313
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodObject<{
314
316
  attempts: z.ZodNumber;
315
317
  failures: z.ZodNumber;
316
318
  }, "strip", z.ZodTypeAny, {
@@ -341,7 +343,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
341
343
  contextTokens: number;
342
344
  totalCacheWrites?: number | undefined;
343
345
  totalCacheReads?: number | undefined;
344
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
345
347
  attempts: number;
346
348
  failures: number;
347
349
  }>>, {
@@ -406,11 +408,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
406
408
  contextTokens: number;
407
409
  totalCacheWrites?: number | undefined;
408
410
  totalCacheReads?: number | undefined;
409
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
410
412
  attempts: number;
411
413
  failures: number;
412
414
  }>>];
413
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", string];
414
416
  modeChanged: [string];
415
417
  providerProfileChanged: [{
416
418
  name: string;
@@ -426,7 +428,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
426
428
  contextTokens: number;
427
429
  totalCacheWrites?: number | undefined;
428
430
  totalCacheReads?: number | undefined;
429
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
430
432
  attempts: number;
431
433
  failures: number;
432
434
  }>>, {
@@ -491,11 +493,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
491
493
  contextTokens: number;
492
494
  totalCacheWrites?: number | undefined;
493
495
  totalCacheReads?: number | undefined;
494
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
495
497
  attempts: number;
496
498
  failures: number;
497
499
  }>>];
498
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", string];
499
501
  modeChanged: [string];
500
502
  providerProfileChanged: [{
501
503
  name: string;
@@ -553,7 +555,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
553
555
  contextTokens: number;
554
556
  totalCacheWrites?: number | undefined;
555
557
  totalCacheReads?: number | undefined;
556
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodObject<{
557
559
  attempts: z.ZodNumber;
558
560
  failures: z.ZodNumber;
559
561
  }, "strip", z.ZodTypeAny, {
@@ -579,7 +581,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
579
581
  contextTokens: number;
580
582
  totalCacheWrites?: number | undefined;
581
583
  totalCacheReads?: number | undefined;
582
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
583
585
  attempts: number;
584
586
  failures: number;
585
587
  }>>, {
@@ -595,7 +597,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
595
597
  contextTokens: number;
596
598
  totalCacheWrites?: number | undefined;
597
599
  totalCacheReads?: number | undefined;
598
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
599
601
  attempts: number;
600
602
  failures: number;
601
603
  }>>, {
@@ -1061,15 +1063,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1061
1063
  taskId?: number | undefined;
1062
1064
  }>, z.ZodObject<{
1063
1065
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
1064
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodString], null>;
1065
1067
  taskId: z.ZodOptional<z.ZodNumber>;
1066
1068
  }, "strip", z.ZodTypeAny, {
1067
1069
  eventName: RooCodeEventName.TaskToolFailed;
1068
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", string];
1069
1071
  taskId?: number | undefined;
1070
1072
  }, {
1071
1073
  eventName: RooCodeEventName.TaskToolFailed;
1072
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", string];
1073
1075
  taskId?: number | undefined;
1074
1076
  }>, z.ZodObject<{
1075
1077
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -1094,7 +1096,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1094
1096
  contextTokens: number;
1095
1097
  totalCacheWrites?: number | undefined;
1096
1098
  totalCacheReads?: number | undefined;
1097
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>, z.ZodObject<{
1098
1100
  attempts: z.ZodNumber;
1099
1101
  failures: z.ZodNumber;
1100
1102
  }, "strip", z.ZodTypeAny, {
@@ -1114,7 +1116,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1114
1116
  contextTokens: number;
1115
1117
  totalCacheWrites?: number | undefined;
1116
1118
  totalCacheReads?: number | undefined;
1117
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
1118
1120
  attempts: number;
1119
1121
  failures: number;
1120
1122
  }>>];
@@ -1128,7 +1130,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
1128
1130
  contextTokens: number;
1129
1131
  totalCacheWrites?: number | undefined;
1130
1132
  totalCacheReads?: number | undefined;
1131
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
1132
1134
  attempts: number;
1133
1135
  failures: number;
1134
1136
  }>>];
@@ -1543,6 +1545,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1543
1545
  vertexRegion: z.ZodOptional<z.ZodString>;
1544
1546
  enableUrlContext: z.ZodOptional<z.ZodBoolean>;
1545
1547
  enableGrounding: z.ZodOptional<z.ZodBoolean>;
1548
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
1546
1549
  } & {
1547
1550
  apiProvider: z.ZodLiteral<"vertex">;
1548
1551
  }, "strip", z.ZodTypeAny, {
@@ -1567,6 +1570,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1567
1570
  vertexRegion?: string | undefined;
1568
1571
  enableUrlContext?: boolean | undefined;
1569
1572
  enableGrounding?: boolean | undefined;
1573
+ vertex1MContext?: boolean | undefined;
1570
1574
  }, {
1571
1575
  apiProvider: "vertex";
1572
1576
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -1589,6 +1593,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1589
1593
  vertexRegion?: string | undefined;
1590
1594
  enableUrlContext?: boolean | undefined;
1591
1595
  enableGrounding?: boolean | undefined;
1596
+ vertex1MContext?: boolean | undefined;
1592
1597
  }>, z.ZodObject<{
1593
1598
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
1594
1599
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3886,6 +3891,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3886
3891
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
3887
3892
  vertexProjectId: z.ZodOptional<z.ZodString>;
3888
3893
  vertexRegion: z.ZodOptional<z.ZodString>;
3894
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
3889
3895
  awsAccessKey: z.ZodOptional<z.ZodString>;
3890
3896
  awsSecretKey: z.ZodOptional<z.ZodString>;
3891
3897
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -3970,6 +3976,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3970
3976
  vertexRegion?: string | undefined;
3971
3977
  enableUrlContext?: boolean | undefined;
3972
3978
  enableGrounding?: boolean | undefined;
3979
+ vertex1MContext?: boolean | undefined;
3973
3980
  openAiBaseUrl?: string | undefined;
3974
3981
  openAiApiKey?: string | undefined;
3975
3982
  openAiLegacyFormat?: boolean | undefined;
@@ -4141,6 +4148,7 @@ declare const providerSettingsSchema: z.ZodObject<{
4141
4148
  vertexRegion?: string | undefined;
4142
4149
  enableUrlContext?: boolean | undefined;
4143
4150
  enableGrounding?: boolean | undefined;
4151
+ vertex1MContext?: boolean | undefined;
4144
4152
  openAiBaseUrl?: string | undefined;
4145
4153
  openAiApiKey?: string | undefined;
4146
4154
  openAiLegacyFormat?: boolean | undefined;
@@ -4507,6 +4515,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4507
4515
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
4508
4516
  vertexProjectId: z.ZodOptional<z.ZodString>;
4509
4517
  vertexRegion: z.ZodOptional<z.ZodString>;
4518
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
4510
4519
  awsAccessKey: z.ZodOptional<z.ZodString>;
4511
4520
  awsSecretKey: z.ZodOptional<z.ZodString>;
4512
4521
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -4594,6 +4603,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4594
4603
  vertexRegion?: string | undefined;
4595
4604
  enableUrlContext?: boolean | undefined;
4596
4605
  enableGrounding?: boolean | undefined;
4606
+ vertex1MContext?: boolean | undefined;
4597
4607
  openAiBaseUrl?: string | undefined;
4598
4608
  openAiApiKey?: string | undefined;
4599
4609
  openAiLegacyFormat?: boolean | undefined;
@@ -4766,6 +4776,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4766
4776
  vertexRegion?: string | undefined;
4767
4777
  enableUrlContext?: boolean | undefined;
4768
4778
  enableGrounding?: boolean | undefined;
4779
+ vertex1MContext?: boolean | undefined;
4769
4780
  openAiBaseUrl?: string | undefined;
4770
4781
  openAiApiKey?: string | undefined;
4771
4782
  openAiLegacyFormat?: boolean | undefined;
@@ -5181,6 +5192,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5181
5192
  vertexRegion: z.ZodOptional<z.ZodString>;
5182
5193
  enableUrlContext: z.ZodOptional<z.ZodBoolean>;
5183
5194
  enableGrounding: z.ZodOptional<z.ZodBoolean>;
5195
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
5184
5196
  } & {
5185
5197
  apiProvider: z.ZodLiteral<"vertex">;
5186
5198
  }, "strip", z.ZodTypeAny, {
@@ -5205,6 +5217,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5205
5217
  vertexRegion?: string | undefined;
5206
5218
  enableUrlContext?: boolean | undefined;
5207
5219
  enableGrounding?: boolean | undefined;
5220
+ vertex1MContext?: boolean | undefined;
5208
5221
  }, {
5209
5222
  apiProvider: "vertex";
5210
5223
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -5227,6 +5240,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5227
5240
  vertexRegion?: string | undefined;
5228
5241
  enableUrlContext?: boolean | undefined;
5229
5242
  enableGrounding?: boolean | undefined;
5243
+ vertex1MContext?: boolean | undefined;
5230
5244
  }>, z.ZodObject<{
5231
5245
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5232
5246
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -7281,7 +7295,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
7281
7295
  id?: string | undefined;
7282
7296
  }>>;
7283
7297
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
7284
- 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", "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"];
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"];
7285
7299
  /**
7286
7300
  * ModelIdKey
7287
7301
  */
@@ -7371,6 +7385,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7371
7385
  size: z.ZodOptional<z.ZodNumber>;
7372
7386
  workspace: z.ZodOptional<z.ZodString>;
7373
7387
  mode: z.ZodOptional<z.ZodString>;
7388
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
7374
7389
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
7375
7390
  delegatedToId: z.ZodOptional<z.ZodString>;
7376
7391
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -7386,6 +7401,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7386
7401
  tokensIn: number;
7387
7402
  tokensOut: number;
7388
7403
  status?: "active" | "completed" | "delegated" | undefined;
7404
+ toolProtocol?: "xml" | "native" | undefined;
7389
7405
  rootTaskId?: string | undefined;
7390
7406
  parentTaskId?: string | undefined;
7391
7407
  cacheWrites?: number | undefined;
@@ -7407,6 +7423,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7407
7423
  tokensIn: number;
7408
7424
  tokensOut: number;
7409
7425
  status?: "active" | "completed" | "delegated" | undefined;
7426
+ toolProtocol?: "xml" | "native" | undefined;
7410
7427
  rootTaskId?: string | undefined;
7411
7428
  parentTaskId?: string | undefined;
7412
7429
  cacheWrites?: number | undefined;
@@ -7517,6 +7534,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7517
7534
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
7518
7535
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
7519
7536
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
7537
+ customTools: z.ZodOptional<z.ZodBoolean>;
7520
7538
  }, "strip", z.ZodTypeAny, {
7521
7539
  powerSteering?: boolean | undefined;
7522
7540
  multiFileApplyDiff?: boolean | undefined;
@@ -7524,6 +7542,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7524
7542
  imageGeneration?: boolean | undefined;
7525
7543
  runSlashCommand?: boolean | undefined;
7526
7544
  multipleNativeToolCalls?: boolean | undefined;
7545
+ customTools?: boolean | undefined;
7527
7546
  }, {
7528
7547
  powerSteering?: boolean | undefined;
7529
7548
  multiFileApplyDiff?: boolean | undefined;
@@ -7531,6 +7550,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7531
7550
  imageGeneration?: boolean | undefined;
7532
7551
  runSlashCommand?: boolean | undefined;
7533
7552
  multipleNativeToolCalls?: boolean | undefined;
7553
+ customTools?: boolean | undefined;
7534
7554
  }>>;
7535
7555
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
7536
7556
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7808,6 +7828,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7808
7828
  tokensIn: number;
7809
7829
  tokensOut: number;
7810
7830
  status?: "active" | "completed" | "delegated" | undefined;
7831
+ toolProtocol?: "xml" | "native" | undefined;
7811
7832
  rootTaskId?: string | undefined;
7812
7833
  parentTaskId?: string | undefined;
7813
7834
  cacheWrites?: number | undefined;
@@ -7894,6 +7915,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7894
7915
  imageGeneration?: boolean | undefined;
7895
7916
  runSlashCommand?: boolean | undefined;
7896
7917
  multipleNativeToolCalls?: boolean | undefined;
7918
+ customTools?: boolean | undefined;
7897
7919
  } | undefined;
7898
7920
  codebaseIndexModels?: {
7899
7921
  openai?: Record<string, {
@@ -7994,6 +8016,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7994
8016
  tokensIn: number;
7995
8017
  tokensOut: number;
7996
8018
  status?: "active" | "completed" | "delegated" | undefined;
8019
+ toolProtocol?: "xml" | "native" | undefined;
7997
8020
  rootTaskId?: string | undefined;
7998
8021
  parentTaskId?: string | undefined;
7999
8022
  cacheWrites?: number | undefined;
@@ -8080,6 +8103,7 @@ declare const globalSettingsSchema: z.ZodObject<{
8080
8103
  imageGeneration?: boolean | undefined;
8081
8104
  runSlashCommand?: boolean | undefined;
8082
8105
  multipleNativeToolCalls?: boolean | undefined;
8106
+ customTools?: boolean | undefined;
8083
8107
  } | undefined;
8084
8108
  codebaseIndexModels?: {
8085
8109
  openai?: Record<string, {
@@ -8395,6 +8419,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8395
8419
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
8396
8420
  vertexProjectId: z.ZodOptional<z.ZodString>;
8397
8421
  vertexRegion: z.ZodOptional<z.ZodString>;
8422
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
8398
8423
  awsAccessKey: z.ZodOptional<z.ZodString>;
8399
8424
  awsSecretKey: z.ZodOptional<z.ZodString>;
8400
8425
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -8458,6 +8483,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8458
8483
  size: z.ZodOptional<z.ZodNumber>;
8459
8484
  workspace: z.ZodOptional<z.ZodString>;
8460
8485
  mode: z.ZodOptional<z.ZodString>;
8486
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
8461
8487
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
8462
8488
  delegatedToId: z.ZodOptional<z.ZodString>;
8463
8489
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8473,6 +8499,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8473
8499
  tokensIn: number;
8474
8500
  tokensOut: number;
8475
8501
  status?: "active" | "completed" | "delegated" | undefined;
8502
+ toolProtocol?: "xml" | "native" | undefined;
8476
8503
  rootTaskId?: string | undefined;
8477
8504
  parentTaskId?: string | undefined;
8478
8505
  cacheWrites?: number | undefined;
@@ -8494,6 +8521,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8494
8521
  tokensIn: number;
8495
8522
  tokensOut: number;
8496
8523
  status?: "active" | "completed" | "delegated" | undefined;
8524
+ toolProtocol?: "xml" | "native" | undefined;
8497
8525
  rootTaskId?: string | undefined;
8498
8526
  parentTaskId?: string | undefined;
8499
8527
  cacheWrites?: number | undefined;
@@ -8583,6 +8611,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8583
8611
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
8584
8612
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
8585
8613
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
8614
+ customTools: z.ZodOptional<z.ZodBoolean>;
8586
8615
  }, "strip", z.ZodTypeAny, {
8587
8616
  powerSteering?: boolean | undefined;
8588
8617
  multiFileApplyDiff?: boolean | undefined;
@@ -8590,6 +8619,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8590
8619
  imageGeneration?: boolean | undefined;
8591
8620
  runSlashCommand?: boolean | undefined;
8592
8621
  multipleNativeToolCalls?: boolean | undefined;
8622
+ customTools?: boolean | undefined;
8593
8623
  }, {
8594
8624
  powerSteering?: boolean | undefined;
8595
8625
  multiFileApplyDiff?: boolean | undefined;
@@ -8597,6 +8627,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8597
8627
  imageGeneration?: boolean | undefined;
8598
8628
  runSlashCommand?: boolean | undefined;
8599
8629
  multipleNativeToolCalls?: boolean | undefined;
8630
+ customTools?: boolean | undefined;
8600
8631
  }>>;
8601
8632
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
8602
8633
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8888,6 +8919,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8888
8919
  vertexRegion?: string | undefined;
8889
8920
  enableUrlContext?: boolean | undefined;
8890
8921
  enableGrounding?: boolean | undefined;
8922
+ vertex1MContext?: boolean | undefined;
8891
8923
  openAiBaseUrl?: string | undefined;
8892
8924
  openAiApiKey?: string | undefined;
8893
8925
  openAiLegacyFormat?: boolean | undefined;
@@ -9035,6 +9067,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9035
9067
  tokensIn: number;
9036
9068
  tokensOut: number;
9037
9069
  status?: "active" | "completed" | "delegated" | undefined;
9070
+ toolProtocol?: "xml" | "native" | undefined;
9038
9071
  rootTaskId?: string | undefined;
9039
9072
  parentTaskId?: string | undefined;
9040
9073
  cacheWrites?: number | undefined;
@@ -9121,6 +9154,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9121
9154
  imageGeneration?: boolean | undefined;
9122
9155
  runSlashCommand?: boolean | undefined;
9123
9156
  multipleNativeToolCalls?: boolean | undefined;
9157
+ customTools?: boolean | undefined;
9124
9158
  } | undefined;
9125
9159
  codebaseIndexModels?: {
9126
9160
  openai?: Record<string, {
@@ -9241,6 +9275,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9241
9275
  vertexRegion?: string | undefined;
9242
9276
  enableUrlContext?: boolean | undefined;
9243
9277
  enableGrounding?: boolean | undefined;
9278
+ vertex1MContext?: boolean | undefined;
9244
9279
  openAiBaseUrl?: string | undefined;
9245
9280
  openAiApiKey?: string | undefined;
9246
9281
  openAiLegacyFormat?: boolean | undefined;
@@ -9388,6 +9423,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9388
9423
  tokensIn: number;
9389
9424
  tokensOut: number;
9390
9425
  status?: "active" | "completed" | "delegated" | undefined;
9426
+ toolProtocol?: "xml" | "native" | undefined;
9391
9427
  rootTaskId?: string | undefined;
9392
9428
  parentTaskId?: string | undefined;
9393
9429
  cacheWrites?: number | undefined;
@@ -9474,6 +9510,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9474
9510
  imageGeneration?: boolean | undefined;
9475
9511
  runSlashCommand?: boolean | undefined;
9476
9512
  multipleNativeToolCalls?: boolean | undefined;
9513
+ customTools?: boolean | undefined;
9477
9514
  } | undefined;
9478
9515
  codebaseIndexModels?: {
9479
9516
  openai?: Record<string, {
@@ -9858,6 +9895,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9858
9895
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
9859
9896
  vertexProjectId: z.ZodOptional<z.ZodString>;
9860
9897
  vertexRegion: z.ZodOptional<z.ZodString>;
9898
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
9861
9899
  awsAccessKey: z.ZodOptional<z.ZodString>;
9862
9900
  awsSecretKey: z.ZodOptional<z.ZodString>;
9863
9901
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -9921,6 +9959,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9921
9959
  size: z.ZodOptional<z.ZodNumber>;
9922
9960
  workspace: z.ZodOptional<z.ZodString>;
9923
9961
  mode: z.ZodOptional<z.ZodString>;
9962
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
9924
9963
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
9925
9964
  delegatedToId: z.ZodOptional<z.ZodString>;
9926
9965
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9936,6 +9975,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9936
9975
  tokensIn: number;
9937
9976
  tokensOut: number;
9938
9977
  status?: "active" | "completed" | "delegated" | undefined;
9978
+ toolProtocol?: "xml" | "native" | undefined;
9939
9979
  rootTaskId?: string | undefined;
9940
9980
  parentTaskId?: string | undefined;
9941
9981
  cacheWrites?: number | undefined;
@@ -9957,6 +9997,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9957
9997
  tokensIn: number;
9958
9998
  tokensOut: number;
9959
9999
  status?: "active" | "completed" | "delegated" | undefined;
10000
+ toolProtocol?: "xml" | "native" | undefined;
9960
10001
  rootTaskId?: string | undefined;
9961
10002
  parentTaskId?: string | undefined;
9962
10003
  cacheWrites?: number | undefined;
@@ -10046,6 +10087,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10046
10087
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
10047
10088
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
10048
10089
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
10090
+ customTools: z.ZodOptional<z.ZodBoolean>;
10049
10091
  }, "strip", z.ZodTypeAny, {
10050
10092
  powerSteering?: boolean | undefined;
10051
10093
  multiFileApplyDiff?: boolean | undefined;
@@ -10053,6 +10095,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10053
10095
  imageGeneration?: boolean | undefined;
10054
10096
  runSlashCommand?: boolean | undefined;
10055
10097
  multipleNativeToolCalls?: boolean | undefined;
10098
+ customTools?: boolean | undefined;
10056
10099
  }, {
10057
10100
  powerSteering?: boolean | undefined;
10058
10101
  multiFileApplyDiff?: boolean | undefined;
@@ -10060,6 +10103,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10060
10103
  imageGeneration?: boolean | undefined;
10061
10104
  runSlashCommand?: boolean | undefined;
10062
10105
  multipleNativeToolCalls?: boolean | undefined;
10106
+ customTools?: boolean | undefined;
10063
10107
  }>>;
10064
10108
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
10065
10109
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10351,6 +10395,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10351
10395
  vertexRegion?: string | undefined;
10352
10396
  enableUrlContext?: boolean | undefined;
10353
10397
  enableGrounding?: boolean | undefined;
10398
+ vertex1MContext?: boolean | undefined;
10354
10399
  openAiBaseUrl?: string | undefined;
10355
10400
  openAiApiKey?: string | undefined;
10356
10401
  openAiLegacyFormat?: boolean | undefined;
@@ -10498,6 +10543,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10498
10543
  tokensIn: number;
10499
10544
  tokensOut: number;
10500
10545
  status?: "active" | "completed" | "delegated" | undefined;
10546
+ toolProtocol?: "xml" | "native" | undefined;
10501
10547
  rootTaskId?: string | undefined;
10502
10548
  parentTaskId?: string | undefined;
10503
10549
  cacheWrites?: number | undefined;
@@ -10584,6 +10630,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10584
10630
  imageGeneration?: boolean | undefined;
10585
10631
  runSlashCommand?: boolean | undefined;
10586
10632
  multipleNativeToolCalls?: boolean | undefined;
10633
+ customTools?: boolean | undefined;
10587
10634
  } | undefined;
10588
10635
  codebaseIndexModels?: {
10589
10636
  openai?: Record<string, {
@@ -10704,6 +10751,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10704
10751
  vertexRegion?: string | undefined;
10705
10752
  enableUrlContext?: boolean | undefined;
10706
10753
  enableGrounding?: boolean | undefined;
10754
+ vertex1MContext?: boolean | undefined;
10707
10755
  openAiBaseUrl?: string | undefined;
10708
10756
  openAiApiKey?: string | undefined;
10709
10757
  openAiLegacyFormat?: boolean | undefined;
@@ -10851,6 +10899,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10851
10899
  tokensIn: number;
10852
10900
  tokensOut: number;
10853
10901
  status?: "active" | "completed" | "delegated" | undefined;
10902
+ toolProtocol?: "xml" | "native" | undefined;
10854
10903
  rootTaskId?: string | undefined;
10855
10904
  parentTaskId?: string | undefined;
10856
10905
  cacheWrites?: number | undefined;
@@ -10937,6 +10986,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10937
10986
  imageGeneration?: boolean | undefined;
10938
10987
  runSlashCommand?: boolean | undefined;
10939
10988
  multipleNativeToolCalls?: boolean | undefined;
10989
+ customTools?: boolean | undefined;
10940
10990
  } | undefined;
10941
10991
  codebaseIndexModels?: {
10942
10992
  openai?: Record<string, {
@@ -11063,6 +11113,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11063
11113
  vertexRegion?: string | undefined;
11064
11114
  enableUrlContext?: boolean | undefined;
11065
11115
  enableGrounding?: boolean | undefined;
11116
+ vertex1MContext?: boolean | undefined;
11066
11117
  openAiBaseUrl?: string | undefined;
11067
11118
  openAiApiKey?: string | undefined;
11068
11119
  openAiLegacyFormat?: boolean | undefined;
@@ -11210,6 +11261,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11210
11261
  tokensIn: number;
11211
11262
  tokensOut: number;
11212
11263
  status?: "active" | "completed" | "delegated" | undefined;
11264
+ toolProtocol?: "xml" | "native" | undefined;
11213
11265
  rootTaskId?: string | undefined;
11214
11266
  parentTaskId?: string | undefined;
11215
11267
  cacheWrites?: number | undefined;
@@ -11296,6 +11348,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11296
11348
  imageGeneration?: boolean | undefined;
11297
11349
  runSlashCommand?: boolean | undefined;
11298
11350
  multipleNativeToolCalls?: boolean | undefined;
11351
+ customTools?: boolean | undefined;
11299
11352
  } | undefined;
11300
11353
  codebaseIndexModels?: {
11301
11354
  openai?: Record<string, {
@@ -11421,6 +11474,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11421
11474
  vertexRegion?: string | undefined;
11422
11475
  enableUrlContext?: boolean | undefined;
11423
11476
  enableGrounding?: boolean | undefined;
11477
+ vertex1MContext?: boolean | undefined;
11424
11478
  openAiBaseUrl?: string | undefined;
11425
11479
  openAiApiKey?: string | undefined;
11426
11480
  openAiLegacyFormat?: boolean | undefined;
@@ -11568,6 +11622,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11568
11622
  tokensIn: number;
11569
11623
  tokensOut: number;
11570
11624
  status?: "active" | "completed" | "delegated" | undefined;
11625
+ toolProtocol?: "xml" | "native" | undefined;
11571
11626
  rootTaskId?: string | undefined;
11572
11627
  parentTaskId?: string | undefined;
11573
11628
  cacheWrites?: number | undefined;
@@ -11654,6 +11709,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11654
11709
  imageGeneration?: boolean | undefined;
11655
11710
  runSlashCommand?: boolean | undefined;
11656
11711
  multipleNativeToolCalls?: boolean | undefined;
11712
+ customTools?: boolean | undefined;
11657
11713
  } | undefined;
11658
11714
  codebaseIndexModels?: {
11659
11715
  openai?: Record<string, {
@@ -11781,6 +11837,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11781
11837
  vertexRegion?: string | undefined;
11782
11838
  enableUrlContext?: boolean | undefined;
11783
11839
  enableGrounding?: boolean | undefined;
11840
+ vertex1MContext?: boolean | undefined;
11784
11841
  openAiBaseUrl?: string | undefined;
11785
11842
  openAiApiKey?: string | undefined;
11786
11843
  openAiLegacyFormat?: boolean | undefined;
@@ -11928,6 +11985,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11928
11985
  tokensIn: number;
11929
11986
  tokensOut: number;
11930
11987
  status?: "active" | "completed" | "delegated" | undefined;
11988
+ toolProtocol?: "xml" | "native" | undefined;
11931
11989
  rootTaskId?: string | undefined;
11932
11990
  parentTaskId?: string | undefined;
11933
11991
  cacheWrites?: number | undefined;
@@ -12014,6 +12072,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12014
12072
  imageGeneration?: boolean | undefined;
12015
12073
  runSlashCommand?: boolean | undefined;
12016
12074
  multipleNativeToolCalls?: boolean | undefined;
12075
+ customTools?: boolean | undefined;
12017
12076
  } | undefined;
12018
12077
  codebaseIndexModels?: {
12019
12078
  openai?: Record<string, {
@@ -12142,6 +12201,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12142
12201
  vertexRegion?: string | undefined;
12143
12202
  enableUrlContext?: boolean | undefined;
12144
12203
  enableGrounding?: boolean | undefined;
12204
+ vertex1MContext?: boolean | undefined;
12145
12205
  openAiBaseUrl?: string | undefined;
12146
12206
  openAiApiKey?: string | undefined;
12147
12207
  openAiLegacyFormat?: boolean | undefined;
@@ -12289,6 +12349,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12289
12349
  tokensIn: number;
12290
12350
  tokensOut: number;
12291
12351
  status?: "active" | "completed" | "delegated" | undefined;
12352
+ toolProtocol?: "xml" | "native" | undefined;
12292
12353
  rootTaskId?: string | undefined;
12293
12354
  parentTaskId?: string | undefined;
12294
12355
  cacheWrites?: number | undefined;
@@ -12375,6 +12436,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12375
12436
  imageGeneration?: boolean | undefined;
12376
12437
  runSlashCommand?: boolean | undefined;
12377
12438
  multipleNativeToolCalls?: boolean | undefined;
12439
+ customTools?: boolean | undefined;
12378
12440
  } | undefined;
12379
12441
  codebaseIndexModels?: {
12380
12442
  openai?: Record<string, {
@@ -12784,6 +12846,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12784
12846
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
12785
12847
  vertexProjectId: z.ZodOptional<z.ZodString>;
12786
12848
  vertexRegion: z.ZodOptional<z.ZodString>;
12849
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
12787
12850
  awsAccessKey: z.ZodOptional<z.ZodString>;
12788
12851
  awsSecretKey: z.ZodOptional<z.ZodString>;
12789
12852
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -12847,6 +12910,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12847
12910
  size: z.ZodOptional<z.ZodNumber>;
12848
12911
  workspace: z.ZodOptional<z.ZodString>;
12849
12912
  mode: z.ZodOptional<z.ZodString>;
12913
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
12850
12914
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
12851
12915
  delegatedToId: z.ZodOptional<z.ZodString>;
12852
12916
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -12862,6 +12926,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12862
12926
  tokensIn: number;
12863
12927
  tokensOut: number;
12864
12928
  status?: "active" | "completed" | "delegated" | undefined;
12929
+ toolProtocol?: "xml" | "native" | undefined;
12865
12930
  rootTaskId?: string | undefined;
12866
12931
  parentTaskId?: string | undefined;
12867
12932
  cacheWrites?: number | undefined;
@@ -12883,6 +12948,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12883
12948
  tokensIn: number;
12884
12949
  tokensOut: number;
12885
12950
  status?: "active" | "completed" | "delegated" | undefined;
12951
+ toolProtocol?: "xml" | "native" | undefined;
12886
12952
  rootTaskId?: string | undefined;
12887
12953
  parentTaskId?: string | undefined;
12888
12954
  cacheWrites?: number | undefined;
@@ -12972,6 +13038,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12972
13038
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
12973
13039
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
12974
13040
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
13041
+ customTools: z.ZodOptional<z.ZodBoolean>;
12975
13042
  }, "strip", z.ZodTypeAny, {
12976
13043
  powerSteering?: boolean | undefined;
12977
13044
  multiFileApplyDiff?: boolean | undefined;
@@ -12979,6 +13046,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12979
13046
  imageGeneration?: boolean | undefined;
12980
13047
  runSlashCommand?: boolean | undefined;
12981
13048
  multipleNativeToolCalls?: boolean | undefined;
13049
+ customTools?: boolean | undefined;
12982
13050
  }, {
12983
13051
  powerSteering?: boolean | undefined;
12984
13052
  multiFileApplyDiff?: boolean | undefined;
@@ -12986,6 +13054,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12986
13054
  imageGeneration?: boolean | undefined;
12987
13055
  runSlashCommand?: boolean | undefined;
12988
13056
  multipleNativeToolCalls?: boolean | undefined;
13057
+ customTools?: boolean | undefined;
12989
13058
  }>>;
12990
13059
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
12991
13060
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13277,6 +13346,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13277
13346
  vertexRegion?: string | undefined;
13278
13347
  enableUrlContext?: boolean | undefined;
13279
13348
  enableGrounding?: boolean | undefined;
13349
+ vertex1MContext?: boolean | undefined;
13280
13350
  openAiBaseUrl?: string | undefined;
13281
13351
  openAiApiKey?: string | undefined;
13282
13352
  openAiLegacyFormat?: boolean | undefined;
@@ -13424,6 +13494,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13424
13494
  tokensIn: number;
13425
13495
  tokensOut: number;
13426
13496
  status?: "active" | "completed" | "delegated" | undefined;
13497
+ toolProtocol?: "xml" | "native" | undefined;
13427
13498
  rootTaskId?: string | undefined;
13428
13499
  parentTaskId?: string | undefined;
13429
13500
  cacheWrites?: number | undefined;
@@ -13510,6 +13581,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13510
13581
  imageGeneration?: boolean | undefined;
13511
13582
  runSlashCommand?: boolean | undefined;
13512
13583
  multipleNativeToolCalls?: boolean | undefined;
13584
+ customTools?: boolean | undefined;
13513
13585
  } | undefined;
13514
13586
  codebaseIndexModels?: {
13515
13587
  openai?: Record<string, {
@@ -13630,6 +13702,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13630
13702
  vertexRegion?: string | undefined;
13631
13703
  enableUrlContext?: boolean | undefined;
13632
13704
  enableGrounding?: boolean | undefined;
13705
+ vertex1MContext?: boolean | undefined;
13633
13706
  openAiBaseUrl?: string | undefined;
13634
13707
  openAiApiKey?: string | undefined;
13635
13708
  openAiLegacyFormat?: boolean | undefined;
@@ -13777,6 +13850,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13777
13850
  tokensIn: number;
13778
13851
  tokensOut: number;
13779
13852
  status?: "active" | "completed" | "delegated" | undefined;
13853
+ toolProtocol?: "xml" | "native" | undefined;
13780
13854
  rootTaskId?: string | undefined;
13781
13855
  parentTaskId?: string | undefined;
13782
13856
  cacheWrites?: number | undefined;
@@ -13863,6 +13937,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13863
13937
  imageGeneration?: boolean | undefined;
13864
13938
  runSlashCommand?: boolean | undefined;
13865
13939
  multipleNativeToolCalls?: boolean | undefined;
13940
+ customTools?: boolean | undefined;
13866
13941
  } | undefined;
13867
13942
  codebaseIndexModels?: {
13868
13943
  openai?: Record<string, {
@@ -13989,6 +14064,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13989
14064
  vertexRegion?: string | undefined;
13990
14065
  enableUrlContext?: boolean | undefined;
13991
14066
  enableGrounding?: boolean | undefined;
14067
+ vertex1MContext?: boolean | undefined;
13992
14068
  openAiBaseUrl?: string | undefined;
13993
14069
  openAiApiKey?: string | undefined;
13994
14070
  openAiLegacyFormat?: boolean | undefined;
@@ -14136,6 +14212,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14136
14212
  tokensIn: number;
14137
14213
  tokensOut: number;
14138
14214
  status?: "active" | "completed" | "delegated" | undefined;
14215
+ toolProtocol?: "xml" | "native" | undefined;
14139
14216
  rootTaskId?: string | undefined;
14140
14217
  parentTaskId?: string | undefined;
14141
14218
  cacheWrites?: number | undefined;
@@ -14222,6 +14299,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14222
14299
  imageGeneration?: boolean | undefined;
14223
14300
  runSlashCommand?: boolean | undefined;
14224
14301
  multipleNativeToolCalls?: boolean | undefined;
14302
+ customTools?: boolean | undefined;
14225
14303
  } | undefined;
14226
14304
  codebaseIndexModels?: {
14227
14305
  openai?: Record<string, {
@@ -14347,6 +14425,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14347
14425
  vertexRegion?: string | undefined;
14348
14426
  enableUrlContext?: boolean | undefined;
14349
14427
  enableGrounding?: boolean | undefined;
14428
+ vertex1MContext?: boolean | undefined;
14350
14429
  openAiBaseUrl?: string | undefined;
14351
14430
  openAiApiKey?: string | undefined;
14352
14431
  openAiLegacyFormat?: boolean | undefined;
@@ -14494,6 +14573,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14494
14573
  tokensIn: number;
14495
14574
  tokensOut: number;
14496
14575
  status?: "active" | "completed" | "delegated" | undefined;
14576
+ toolProtocol?: "xml" | "native" | undefined;
14497
14577
  rootTaskId?: string | undefined;
14498
14578
  parentTaskId?: string | undefined;
14499
14579
  cacheWrites?: number | undefined;
@@ -14580,6 +14660,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14580
14660
  imageGeneration?: boolean | undefined;
14581
14661
  runSlashCommand?: boolean | undefined;
14582
14662
  multipleNativeToolCalls?: boolean | undefined;
14663
+ customTools?: boolean | undefined;
14583
14664
  } | undefined;
14584
14665
  codebaseIndexModels?: {
14585
14666
  openai?: Record<string, {
@@ -14707,6 +14788,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14707
14788
  vertexRegion?: string | undefined;
14708
14789
  enableUrlContext?: boolean | undefined;
14709
14790
  enableGrounding?: boolean | undefined;
14791
+ vertex1MContext?: boolean | undefined;
14710
14792
  openAiBaseUrl?: string | undefined;
14711
14793
  openAiApiKey?: string | undefined;
14712
14794
  openAiLegacyFormat?: boolean | undefined;
@@ -14854,6 +14936,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14854
14936
  tokensIn: number;
14855
14937
  tokensOut: number;
14856
14938
  status?: "active" | "completed" | "delegated" | undefined;
14939
+ toolProtocol?: "xml" | "native" | undefined;
14857
14940
  rootTaskId?: string | undefined;
14858
14941
  parentTaskId?: string | undefined;
14859
14942
  cacheWrites?: number | undefined;
@@ -14940,6 +15023,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14940
15023
  imageGeneration?: boolean | undefined;
14941
15024
  runSlashCommand?: boolean | undefined;
14942
15025
  multipleNativeToolCalls?: boolean | undefined;
15026
+ customTools?: boolean | undefined;
14943
15027
  } | undefined;
14944
15028
  codebaseIndexModels?: {
14945
15029
  openai?: Record<string, {
@@ -15068,6 +15152,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15068
15152
  vertexRegion?: string | undefined;
15069
15153
  enableUrlContext?: boolean | undefined;
15070
15154
  enableGrounding?: boolean | undefined;
15155
+ vertex1MContext?: boolean | undefined;
15071
15156
  openAiBaseUrl?: string | undefined;
15072
15157
  openAiApiKey?: string | undefined;
15073
15158
  openAiLegacyFormat?: boolean | undefined;
@@ -15215,6 +15300,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15215
15300
  tokensIn: number;
15216
15301
  tokensOut: number;
15217
15302
  status?: "active" | "completed" | "delegated" | undefined;
15303
+ toolProtocol?: "xml" | "native" | undefined;
15218
15304
  rootTaskId?: string | undefined;
15219
15305
  parentTaskId?: string | undefined;
15220
15306
  cacheWrites?: number | undefined;
@@ -15301,6 +15387,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15301
15387
  imageGeneration?: boolean | undefined;
15302
15388
  runSlashCommand?: boolean | undefined;
15303
15389
  multipleNativeToolCalls?: boolean | undefined;
15390
+ customTools?: boolean | undefined;
15304
15391
  } | undefined;
15305
15392
  codebaseIndexModels?: {
15306
15393
  openai?: Record<string, {
@@ -15483,6 +15570,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15483
15570
  vertexRegion?: string | undefined;
15484
15571
  enableUrlContext?: boolean | undefined;
15485
15572
  enableGrounding?: boolean | undefined;
15573
+ vertex1MContext?: boolean | undefined;
15486
15574
  openAiBaseUrl?: string | undefined;
15487
15575
  openAiApiKey?: string | undefined;
15488
15576
  openAiLegacyFormat?: boolean | undefined;
@@ -15630,6 +15718,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15630
15718
  tokensIn: number;
15631
15719
  tokensOut: number;
15632
15720
  status?: "active" | "completed" | "delegated" | undefined;
15721
+ toolProtocol?: "xml" | "native" | undefined;
15633
15722
  rootTaskId?: string | undefined;
15634
15723
  parentTaskId?: string | undefined;
15635
15724
  cacheWrites?: number | undefined;
@@ -15716,6 +15805,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15716
15805
  imageGeneration?: boolean | undefined;
15717
15806
  runSlashCommand?: boolean | undefined;
15718
15807
  multipleNativeToolCalls?: boolean | undefined;
15808
+ customTools?: boolean | undefined;
15719
15809
  } | undefined;
15720
15810
  codebaseIndexModels?: {
15721
15811
  openai?: Record<string, {
@@ -15864,6 +15954,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15864
15954
  vertexRegion?: string | undefined;
15865
15955
  enableUrlContext?: boolean | undefined;
15866
15956
  enableGrounding?: boolean | undefined;
15957
+ vertex1MContext?: boolean | undefined;
15867
15958
  openAiBaseUrl?: string | undefined;
15868
15959
  openAiApiKey?: string | undefined;
15869
15960
  openAiLegacyFormat?: boolean | undefined;
@@ -16011,6 +16102,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16011
16102
  tokensIn: number;
16012
16103
  tokensOut: number;
16013
16104
  status?: "active" | "completed" | "delegated" | undefined;
16105
+ toolProtocol?: "xml" | "native" | undefined;
16014
16106
  rootTaskId?: string | undefined;
16015
16107
  parentTaskId?: string | undefined;
16016
16108
  cacheWrites?: number | undefined;
@@ -16097,6 +16189,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16097
16189
  imageGeneration?: boolean | undefined;
16098
16190
  runSlashCommand?: boolean | undefined;
16099
16191
  multipleNativeToolCalls?: boolean | undefined;
16192
+ customTools?: boolean | undefined;
16100
16193
  } | undefined;
16101
16194
  codebaseIndexModels?: {
16102
16195
  openai?: Record<string, {
@@ -16233,7 +16326,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16233
16326
  contextTokens: number;
16234
16327
  totalCacheWrites?: number | undefined;
16235
16328
  totalCacheReads?: number | undefined;
16236
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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<{
16329
+ }>, 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<{
16237
16330
  attempts: z.ZodNumber;
16238
16331
  failures: z.ZodNumber;
16239
16332
  }, "strip", z.ZodTypeAny, {
@@ -16259,7 +16352,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16259
16352
  contextTokens: number;
16260
16353
  totalCacheWrites?: number | undefined;
16261
16354
  totalCacheReads?: number | undefined;
16262
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
16355
+ }, 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", {
16263
16356
  attempts: number;
16264
16357
  failures: number;
16265
16358
  }>>, {
@@ -16275,7 +16368,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16275
16368
  contextTokens: number;
16276
16369
  totalCacheWrites?: number | undefined;
16277
16370
  totalCacheReads?: number | undefined;
16278
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
16371
+ }, 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", {
16279
16372
  attempts: number;
16280
16373
  failures: number;
16281
16374
  }>>, {
@@ -16741,15 +16834,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16741
16834
  taskId?: number | undefined;
16742
16835
  }>, z.ZodObject<{
16743
16836
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
16744
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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>;
16837
+ 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>;
16745
16838
  taskId: z.ZodOptional<z.ZodNumber>;
16746
16839
  }, "strip", z.ZodTypeAny, {
16747
16840
  eventName: RooCodeEventName.TaskToolFailed;
16748
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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];
16841
+ 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];
16749
16842
  taskId?: number | undefined;
16750
16843
  }, {
16751
16844
  eventName: RooCodeEventName.TaskToolFailed;
16752
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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];
16845
+ 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];
16753
16846
  taskId?: number | undefined;
16754
16847
  }>, z.ZodObject<{
16755
16848
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -16774,7 +16867,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16774
16867
  contextTokens: number;
16775
16868
  totalCacheWrites?: number | undefined;
16776
16869
  totalCacheReads?: number | undefined;
16777
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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<{
16870
+ }>, 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<{
16778
16871
  attempts: z.ZodNumber;
16779
16872
  failures: z.ZodNumber;
16780
16873
  }, "strip", z.ZodTypeAny, {
@@ -16794,7 +16887,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16794
16887
  contextTokens: number;
16795
16888
  totalCacheWrites?: number | undefined;
16796
16889
  totalCacheReads?: number | undefined;
16797
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
16890
+ }, 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", {
16798
16891
  attempts: number;
16799
16892
  failures: number;
16800
16893
  }>>];
@@ -16808,7 +16901,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16808
16901
  contextTokens: number;
16809
16902
  totalCacheWrites?: number | undefined;
16810
16903
  totalCacheReads?: number | undefined;
16811
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
16904
+ }, 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", {
16812
16905
  attempts: number;
16813
16906
  failures: number;
16814
16907
  }>>];
@@ -16857,7 +16950,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16857
16950
  contextTokens: number;
16858
16951
  totalCacheWrites?: number | undefined;
16859
16952
  totalCacheReads?: number | undefined;
16860
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
16953
+ }, 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", {
16861
16954
  attempts: number;
16862
16955
  failures: number;
16863
16956
  }>>, {
@@ -16965,7 +17058,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16965
17058
  taskId?: number | undefined;
16966
17059
  } | {
16967
17060
  eventName: RooCodeEventName.TaskToolFailed;
16968
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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];
17061
+ 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];
16969
17062
  taskId?: number | undefined;
16970
17063
  } | {
16971
17064
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -16976,7 +17069,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16976
17069
  contextTokens: number;
16977
17070
  totalCacheWrites?: number | undefined;
16978
17071
  totalCacheReads?: number | undefined;
16979
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
17072
+ }, 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", {
16980
17073
  attempts: number;
16981
17074
  failures: number;
16982
17075
  }>>];
@@ -17011,7 +17104,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17011
17104
  contextTokens: number;
17012
17105
  totalCacheWrites?: number | undefined;
17013
17106
  totalCacheReads?: number | undefined;
17014
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
17107
+ }, 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", {
17015
17108
  attempts: number;
17016
17109
  failures: number;
17017
17110
  }>>, {
@@ -17119,7 +17212,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17119
17212
  taskId?: number | undefined;
17120
17213
  } | {
17121
17214
  eventName: RooCodeEventName.TaskToolFailed;
17122
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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];
17215
+ 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];
17123
17216
  taskId?: number | undefined;
17124
17217
  } | {
17125
17218
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -17130,7 +17223,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17130
17223
  contextTokens: number;
17131
17224
  totalCacheWrites?: number | undefined;
17132
17225
  totalCacheReads?: number | undefined;
17133
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "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", {
17226
+ }, 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", {
17134
17227
  attempts: number;
17135
17228
  failures: number;
17136
17229
  }>>];
@@ -17675,13 +17768,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
17675
17768
  /**
17676
17769
  * ToolName
17677
17770
  */
17678
- declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"];
17679
- declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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"]>;
17771
+ 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"];
17772
+ 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"]>;
17680
17773
  type ToolName = z.infer<typeof toolNamesSchema>;
17681
17774
  /**
17682
17775
  * ToolUsage
17683
17776
  */
17684
- declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "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<{
17777
+ 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<{
17685
17778
  attempts: z.ZodNumber;
17686
17779
  failures: z.ZodNumber;
17687
17780
  }, "strip", z.ZodTypeAny, {
@@ -17704,6 +17797,15 @@ declare const TOOL_PROTOCOL: {
17704
17797
  * Derived from TOOL_PROTOCOL constants to ensure type safety
17705
17798
  */
17706
17799
  type ToolProtocol = (typeof TOOL_PROTOCOL)[keyof typeof TOOL_PROTOCOL];
17800
+ /**
17801
+ * Default model info properties for native tool support.
17802
+ * Used to merge with cached model info that may lack these fields.
17803
+ * Router providers (Requesty, Unbound, LiteLLM) assume all models support native tools.
17804
+ */
17805
+ declare const NATIVE_TOOL_DEFAULTS: {
17806
+ readonly supportsNativeTools: true;
17807
+ readonly defaultToolProtocol: "native";
17808
+ };
17707
17809
  /**
17708
17810
  * Checks if the protocol is native (non-XML).
17709
17811
  *
@@ -18962,6 +19064,34 @@ declare function isApiProviderError(error: unknown): error is ApiProviderError;
18962
19064
  * Returns the structured properties that can be merged with additionalProperties.
18963
19065
  */
18964
19066
  declare function extractApiProviderErrorProperties(error: ApiProviderError): Record<string, unknown>;
19067
+ /**
19068
+ * Reason why the consecutive mistake limit was reached.
19069
+ */
19070
+ type ConsecutiveMistakeReason = "no_tools_used" | "tool_repetition" | "unknown";
19071
+ /**
19072
+ * Error class for "Roo is having trouble" consecutive mistake scenarios.
19073
+ * Triggered when the task reaches the configured consecutive mistake limit.
19074
+ * Used for structured exception tracking via PostHog.
19075
+ */
19076
+ declare class ConsecutiveMistakeError extends Error {
19077
+ readonly taskId: string;
19078
+ readonly consecutiveMistakeCount: number;
19079
+ readonly consecutiveMistakeLimit: number;
19080
+ readonly reason: ConsecutiveMistakeReason;
19081
+ readonly provider?: string | undefined;
19082
+ readonly modelId?: string | undefined;
19083
+ constructor(message: string, taskId: string, consecutiveMistakeCount: number, consecutiveMistakeLimit: number, reason?: ConsecutiveMistakeReason, provider?: string | undefined, modelId?: string | undefined);
19084
+ }
19085
+ /**
19086
+ * Type guard to check if an error is a ConsecutiveMistakeError.
19087
+ * Used by telemetry to automatically extract structured properties.
19088
+ */
19089
+ declare function isConsecutiveMistakeError(error: unknown): error is ConsecutiveMistakeError;
19090
+ /**
19091
+ * Extracts properties from a ConsecutiveMistakeError for telemetry.
19092
+ * Returns the structured properties that can be merged with additionalProperties.
19093
+ */
19094
+ declare function extractConsecutiveMistakeErrorProperties(error: ConsecutiveMistakeError): Record<string, unknown>;
18965
19095
 
18966
19096
  /**
18967
19097
  * TodoStatus
@@ -19760,6 +19890,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19760
19890
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
19761
19891
  vertexProjectId: z.ZodOptional<z.ZodString>;
19762
19892
  vertexRegion: z.ZodOptional<z.ZodString>;
19893
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
19763
19894
  awsAccessKey: z.ZodOptional<z.ZodString>;
19764
19895
  awsSecretKey: z.ZodOptional<z.ZodString>;
19765
19896
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -19847,6 +19978,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19847
19978
  vertexRegion?: string | undefined;
19848
19979
  enableUrlContext?: boolean | undefined;
19849
19980
  enableGrounding?: boolean | undefined;
19981
+ vertex1MContext?: boolean | undefined;
19850
19982
  openAiBaseUrl?: string | undefined;
19851
19983
  openAiApiKey?: string | undefined;
19852
19984
  openAiLegacyFormat?: boolean | undefined;
@@ -20019,6 +20151,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20019
20151
  vertexRegion?: string | undefined;
20020
20152
  enableUrlContext?: boolean | undefined;
20021
20153
  enableGrounding?: boolean | undefined;
20154
+ vertex1MContext?: boolean | undefined;
20022
20155
  openAiBaseUrl?: string | undefined;
20023
20156
  openAiApiKey?: string | undefined;
20024
20157
  openAiLegacyFormat?: boolean | undefined;
@@ -20255,6 +20388,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20255
20388
  vertexRegion?: string | undefined;
20256
20389
  enableUrlContext?: boolean | undefined;
20257
20390
  enableGrounding?: boolean | undefined;
20391
+ vertex1MContext?: boolean | undefined;
20258
20392
  openAiBaseUrl?: string | undefined;
20259
20393
  openAiApiKey?: string | undefined;
20260
20394
  openAiLegacyFormat?: boolean | undefined;
@@ -20491,6 +20625,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20491
20625
  vertexRegion?: string | undefined;
20492
20626
  enableUrlContext?: boolean | undefined;
20493
20627
  enableGrounding?: boolean | undefined;
20628
+ vertex1MContext?: boolean | undefined;
20494
20629
  openAiBaseUrl?: string | undefined;
20495
20630
  openAiApiKey?: string | undefined;
20496
20631
  openAiLegacyFormat?: boolean | undefined;
@@ -44180,11 +44315,93 @@ declare const COOKIE_CONSENT_EVENTS: {
44180
44315
  readonly CHANGED: "cookieConsentChanged";
44181
44316
  };
44182
44317
 
44318
+ type CustomToolParametersSchema = ZodType;
44319
+ type SerializedCustomToolParameters = z$1.core.JSONSchema.JSONSchema;
44320
+ /**
44321
+ * Context provided to tool execute functions.
44322
+ */
44323
+ interface CustomToolContext {
44324
+ mode: string;
44325
+ task: TaskLike;
44326
+ }
44327
+ /**
44328
+ * Definition structure for a custom tool.
44329
+ *
44330
+ * Note: This interface uses simple types to avoid TypeScript performance issues
44331
+ * with Zod's complex type inference. For type-safe parameter inference, use
44332
+ * the `defineCustomTool` helper function instead of annotating with this interface.
44333
+ */
44334
+ interface CustomToolDefinition {
44335
+ /**
44336
+ * The name of the tool.
44337
+ * This is used to identify the tool in the prompt and in the tool registry.
44338
+ */
44339
+ name: string;
44340
+ /**
44341
+ * A description of what the tool does.
44342
+ * This is shown to the AI model to help it decide when to use the tool.
44343
+ */
44344
+ description: string;
44345
+ /**
44346
+ * Optional Zod schema defining the tool's parameters.
44347
+ * Use `z.object({})` to define the shape of arguments.
44348
+ */
44349
+ parameters?: CustomToolParametersSchema;
44350
+ /**
44351
+ * The function that executes the tool.
44352
+ *
44353
+ * @param args - The validated arguments
44354
+ * @param context - Execution context with session and message info
44355
+ * @returns A string result to return to the AI
44356
+ */
44357
+ execute: (args: any, context: CustomToolContext) => Promise<string>;
44358
+ }
44359
+ interface SerializedCustomToolDefinition {
44360
+ name: string;
44361
+ description: string;
44362
+ parameters?: SerializedCustomToolParameters;
44363
+ source?: string;
44364
+ }
44365
+ /**
44366
+ * Type-safe definition structure for a custom tool with inferred parameter types.
44367
+ * Use this with `defineCustomTool` for full type inference.
44368
+ *
44369
+ * @template T - The Zod schema type for parameters
44370
+ */
44371
+ interface TypedCustomToolDefinition<T extends CustomToolParametersSchema> extends Omit<CustomToolDefinition, "execute" | "parameters"> {
44372
+ parameters?: T;
44373
+ execute: (args: z$1.infer<T>, context: CustomToolContext) => Promise<string>;
44374
+ }
44375
+ /**
44376
+ * Helper function to define a custom tool with proper type inference.
44377
+ *
44378
+ * This is optional - you can also just export a plain object that matches
44379
+ * the CustomToolDefinition interface.
44380
+ *
44381
+ * @example
44382
+ * ```ts
44383
+ * import { parametersSchema as z, defineCustomTool } from "@roo-code/types"
44384
+ *
44385
+ * export default defineCustomTool({
44386
+ * name: "add_numbers",
44387
+ * description: "Add two numbers",
44388
+ * parameters: z.object({
44389
+ * a: z.number().describe("First number"),
44390
+ * b: z.number().describe("Second number"),
44391
+ * }),
44392
+ * async execute({ a, b }) {
44393
+ * return `The sum is ${a + b}`
44394
+ * }
44395
+ * })
44396
+ * ```
44397
+ */
44398
+ declare function defineCustomTool<T extends CustomToolParametersSchema>(definition: TypedCustomToolDefinition<T>): TypedCustomToolDefinition<T>;
44399
+
44183
44400
  /**
44184
44401
  * ExperimentId
44185
44402
  */
44186
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"];
44187
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"]>;
44403
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"];
44404
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"]>;
44188
44405
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
44189
44406
  /**
44190
44407
  * Experiments
@@ -44196,6 +44413,7 @@ declare const experimentsSchema: z.ZodObject<{
44196
44413
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
44197
44414
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
44198
44415
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
44416
+ customTools: z.ZodOptional<z.ZodBoolean>;
44199
44417
  }, "strip", z.ZodTypeAny, {
44200
44418
  powerSteering?: boolean | undefined;
44201
44419
  multiFileApplyDiff?: boolean | undefined;
@@ -44203,6 +44421,7 @@ declare const experimentsSchema: z.ZodObject<{
44203
44421
  imageGeneration?: boolean | undefined;
44204
44422
  runSlashCommand?: boolean | undefined;
44205
44423
  multipleNativeToolCalls?: boolean | undefined;
44424
+ customTools?: boolean | undefined;
44206
44425
  }, {
44207
44426
  powerSteering?: boolean | undefined;
44208
44427
  multiFileApplyDiff?: boolean | undefined;
@@ -44210,6 +44429,7 @@ declare const experimentsSchema: z.ZodObject<{
44210
44429
  imageGeneration?: boolean | undefined;
44211
44430
  runSlashCommand?: boolean | undefined;
44212
44431
  multipleNativeToolCalls?: boolean | undefined;
44432
+ customTools?: boolean | undefined;
44213
44433
  }>;
44214
44434
  type Experiments = z.infer<typeof experimentsSchema>;
44215
44435
 
@@ -44294,6 +44514,16 @@ declare const historyItemSchema: z.ZodObject<{
44294
44514
  size: z.ZodOptional<z.ZodNumber>;
44295
44515
  workspace: z.ZodOptional<z.ZodString>;
44296
44516
  mode: z.ZodOptional<z.ZodString>;
44517
+ /**
44518
+ * The tool protocol used by this task. Once a task uses tools with a specific
44519
+ * protocol (XML or Native), it is permanently locked to that protocol.
44520
+ *
44521
+ * - "xml": Tool calls are parsed from XML text (no tool IDs)
44522
+ * - "native": Tool calls come as tool_call chunks with IDs
44523
+ *
44524
+ * This ensures task resumption works correctly even when NTC settings change.
44525
+ */
44526
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
44297
44527
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
44298
44528
  delegatedToId: z.ZodOptional<z.ZodString>;
44299
44529
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -44309,6 +44539,7 @@ declare const historyItemSchema: z.ZodObject<{
44309
44539
  tokensIn: number;
44310
44540
  tokensOut: number;
44311
44541
  status?: "active" | "completed" | "delegated" | undefined;
44542
+ toolProtocol?: "xml" | "native" | undefined;
44312
44543
  rootTaskId?: string | undefined;
44313
44544
  parentTaskId?: string | undefined;
44314
44545
  cacheWrites?: number | undefined;
@@ -44330,6 +44561,7 @@ declare const historyItemSchema: z.ZodObject<{
44330
44561
  tokensIn: number;
44331
44562
  tokensOut: number;
44332
44563
  status?: "active" | "completed" | "delegated" | undefined;
44564
+ toolProtocol?: "xml" | "native" | undefined;
44333
44565
  rootTaskId?: string | undefined;
44334
44566
  parentTaskId?: string | undefined;
44335
44567
  cacheWrites?: number | undefined;
@@ -45602,6 +45834,7 @@ declare const basetenModels: {
45602
45834
  readonly contextWindow: 163840;
45603
45835
  readonly supportsImages: false;
45604
45836
  readonly supportsPromptCache: false;
45837
+ readonly supportsNativeTools: true;
45605
45838
  readonly inputPrice: 2.55;
45606
45839
  readonly outputPrice: 5.95;
45607
45840
  readonly cacheWritesPrice: 0;
@@ -45613,6 +45846,7 @@ declare const basetenModels: {
45613
45846
  readonly contextWindow: 163840;
45614
45847
  readonly supportsImages: false;
45615
45848
  readonly supportsPromptCache: false;
45849
+ readonly supportsNativeTools: true;
45616
45850
  readonly inputPrice: 2.55;
45617
45851
  readonly outputPrice: 5.95;
45618
45852
  readonly cacheWritesPrice: 0;
@@ -45624,6 +45858,7 @@ declare const basetenModels: {
45624
45858
  readonly contextWindow: 163840;
45625
45859
  readonly supportsImages: false;
45626
45860
  readonly supportsPromptCache: false;
45861
+ readonly supportsNativeTools: true;
45627
45862
  readonly inputPrice: 0.77;
45628
45863
  readonly outputPrice: 0.77;
45629
45864
  readonly cacheWritesPrice: 0;
@@ -45635,6 +45870,7 @@ declare const basetenModels: {
45635
45870
  readonly contextWindow: 163840;
45636
45871
  readonly supportsImages: false;
45637
45872
  readonly supportsPromptCache: false;
45873
+ readonly supportsNativeTools: true;
45638
45874
  readonly inputPrice: 0.5;
45639
45875
  readonly outputPrice: 1.5;
45640
45876
  readonly cacheWritesPrice: 0;
@@ -45653,11 +45889,24 @@ declare const basetenModels: {
45653
45889
  readonly cacheReadsPrice: 0;
45654
45890
  readonly description: "DeepSeek's hybrid reasoning model with efficient long context scaling with GPT-5 level performance";
45655
45891
  };
45892
+ readonly "openai/gpt-oss-120b": {
45893
+ readonly maxTokens: 16384;
45894
+ readonly contextWindow: 128072;
45895
+ readonly supportsImages: false;
45896
+ readonly supportsPromptCache: false;
45897
+ readonly supportsNativeTools: true;
45898
+ readonly inputPrice: 0.1;
45899
+ readonly outputPrice: 0.5;
45900
+ readonly cacheWritesPrice: 0;
45901
+ readonly cacheReadsPrice: 0;
45902
+ readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45903
+ };
45656
45904
  readonly "Qwen/Qwen3-235B-A22B-Instruct-2507": {
45657
45905
  readonly maxTokens: 16384;
45658
45906
  readonly contextWindow: 262144;
45659
45907
  readonly supportsImages: false;
45660
45908
  readonly supportsPromptCache: false;
45909
+ readonly supportsNativeTools: true;
45661
45910
  readonly inputPrice: 0.22;
45662
45911
  readonly outputPrice: 0.8;
45663
45912
  readonly cacheWritesPrice: 0;
@@ -45669,24 +45918,13 @@ declare const basetenModels: {
45669
45918
  readonly contextWindow: 262144;
45670
45919
  readonly supportsImages: false;
45671
45920
  readonly supportsPromptCache: false;
45921
+ readonly supportsNativeTools: true;
45672
45922
  readonly inputPrice: 0.38;
45673
45923
  readonly outputPrice: 1.53;
45674
45924
  readonly cacheWritesPrice: 0;
45675
45925
  readonly cacheReadsPrice: 0;
45676
45926
  readonly description: "Mixture-of-experts LLM with advanced coding and reasoning capabilities";
45677
45927
  };
45678
- readonly "openai/gpt-oss-120b": {
45679
- readonly maxTokens: 16384;
45680
- readonly contextWindow: 128072;
45681
- readonly supportsImages: false;
45682
- readonly supportsPromptCache: false;
45683
- readonly supportsNativeTools: true;
45684
- readonly inputPrice: 0.1;
45685
- readonly outputPrice: 0.5;
45686
- readonly cacheWritesPrice: 0;
45687
- readonly cacheReadsPrice: 0;
45688
- readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45689
- };
45690
45928
  readonly "moonshotai/Kimi-K2-Instruct-0905": {
45691
45929
  readonly maxTokens: 16384;
45692
45930
  readonly contextWindow: 262000;
@@ -46148,22 +46386,6 @@ declare const bedrockModels: {
46148
46386
  readonly outputPrice: 0.6;
46149
46387
  readonly description: "Amazon Titan Text Express";
46150
46388
  };
46151
- readonly "amazon.titan-text-embeddings-v1:0": {
46152
- readonly maxTokens: 8192;
46153
- readonly contextWindow: 8000;
46154
- readonly supportsImages: false;
46155
- readonly supportsPromptCache: false;
46156
- readonly inputPrice: 0.1;
46157
- readonly description: "Amazon Titan Text Embeddings";
46158
- };
46159
- readonly "amazon.titan-text-embeddings-v2:0": {
46160
- readonly maxTokens: 8192;
46161
- readonly contextWindow: 8000;
46162
- readonly supportsImages: false;
46163
- readonly supportsPromptCache: false;
46164
- readonly inputPrice: 0.02;
46165
- readonly description: "Amazon Titan Text Embeddings V2";
46166
- };
46167
46389
  readonly "moonshot.kimi-k2-thinking": {
46168
46390
  readonly maxTokens: 32000;
46169
46391
  readonly contextWindow: 262144;
@@ -46927,6 +47149,7 @@ declare const featherlessModels: {
46927
47149
  readonly contextWindow: 32678;
46928
47150
  readonly supportsImages: false;
46929
47151
  readonly supportsPromptCache: false;
47152
+ readonly supportsNativeTools: true;
46930
47153
  readonly inputPrice: 0;
46931
47154
  readonly outputPrice: 0;
46932
47155
  readonly description: "DeepSeek V3 0324 model.";
@@ -46936,6 +47159,7 @@ declare const featherlessModels: {
46936
47159
  readonly contextWindow: 32678;
46937
47160
  readonly supportsImages: false;
46938
47161
  readonly supportsPromptCache: false;
47162
+ readonly supportsNativeTools: true;
46939
47163
  readonly inputPrice: 0;
46940
47164
  readonly outputPrice: 0;
46941
47165
  readonly description: "DeepSeek R1 0528 model.";
@@ -46955,6 +47179,7 @@ declare const featherlessModels: {
46955
47179
  readonly contextWindow: 32678;
46956
47180
  readonly supportsImages: false;
46957
47181
  readonly supportsPromptCache: false;
47182
+ readonly supportsNativeTools: true;
46958
47183
  readonly inputPrice: 0;
46959
47184
  readonly outputPrice: 0;
46960
47185
  readonly description: "GPT-OSS 120B model.";
@@ -47134,6 +47359,7 @@ declare const geminiModels: {
47134
47359
  readonly supportsReasoningEffort: ["low", "high"];
47135
47360
  readonly reasoningEffort: "low";
47136
47361
  readonly includedTools: ["write_file", "edit_file"];
47362
+ readonly excludedTools: ["apply_diff"];
47137
47363
  readonly supportsTemperature: true;
47138
47364
  readonly defaultTemperature: 1;
47139
47365
  readonly inputPrice: 4;
@@ -47158,6 +47384,7 @@ declare const geminiModels: {
47158
47384
  readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
47159
47385
  readonly reasoningEffort: "medium";
47160
47386
  readonly includedTools: ["write_file", "edit_file"];
47387
+ readonly excludedTools: ["apply_diff"];
47161
47388
  readonly supportsTemperature: true;
47162
47389
  readonly defaultTemperature: 1;
47163
47390
  readonly inputPrice: 0.3;
@@ -47173,6 +47400,7 @@ declare const geminiModels: {
47173
47400
  readonly defaultToolProtocol: "native";
47174
47401
  readonly supportsPromptCache: true;
47175
47402
  readonly includedTools: ["write_file", "edit_file"];
47403
+ readonly excludedTools: ["apply_diff"];
47176
47404
  readonly inputPrice: 2.5;
47177
47405
  readonly outputPrice: 15;
47178
47406
  readonly cacheReadsPrice: 0.625;
@@ -47200,6 +47428,7 @@ declare const geminiModels: {
47200
47428
  readonly defaultToolProtocol: "native";
47201
47429
  readonly supportsPromptCache: true;
47202
47430
  readonly includedTools: ["write_file", "edit_file"];
47431
+ readonly excludedTools: ["apply_diff"];
47203
47432
  readonly inputPrice: 2.5;
47204
47433
  readonly outputPrice: 15;
47205
47434
  readonly cacheReadsPrice: 0.625;
@@ -47226,6 +47455,7 @@ declare const geminiModels: {
47226
47455
  readonly defaultToolProtocol: "native";
47227
47456
  readonly supportsPromptCache: true;
47228
47457
  readonly includedTools: ["write_file", "edit_file"];
47458
+ readonly excludedTools: ["apply_diff"];
47229
47459
  readonly inputPrice: 2.5;
47230
47460
  readonly outputPrice: 15;
47231
47461
  readonly cacheReadsPrice: 0.625;
@@ -47250,6 +47480,7 @@ declare const geminiModels: {
47250
47480
  readonly defaultToolProtocol: "native";
47251
47481
  readonly supportsPromptCache: true;
47252
47482
  readonly includedTools: ["write_file", "edit_file"];
47483
+ readonly excludedTools: ["apply_diff"];
47253
47484
  readonly inputPrice: 2.5;
47254
47485
  readonly outputPrice: 15;
47255
47486
  readonly cacheReadsPrice: 0.625;
@@ -47276,6 +47507,7 @@ declare const geminiModels: {
47276
47507
  readonly defaultToolProtocol: "native";
47277
47508
  readonly supportsPromptCache: true;
47278
47509
  readonly includedTools: ["write_file", "edit_file"];
47510
+ readonly excludedTools: ["apply_diff"];
47279
47511
  readonly inputPrice: 0.3;
47280
47512
  readonly outputPrice: 2.5;
47281
47513
  readonly cacheReadsPrice: 0.075;
@@ -47291,6 +47523,7 @@ declare const geminiModels: {
47291
47523
  readonly defaultToolProtocol: "native";
47292
47524
  readonly supportsPromptCache: true;
47293
47525
  readonly includedTools: ["write_file", "edit_file"];
47526
+ readonly excludedTools: ["apply_diff"];
47294
47527
  readonly inputPrice: 0.3;
47295
47528
  readonly outputPrice: 2.5;
47296
47529
  readonly cacheReadsPrice: 0.075;
@@ -47306,6 +47539,7 @@ declare const geminiModels: {
47306
47539
  readonly defaultToolProtocol: "native";
47307
47540
  readonly supportsPromptCache: true;
47308
47541
  readonly includedTools: ["write_file", "edit_file"];
47542
+ readonly excludedTools: ["apply_diff"];
47309
47543
  readonly inputPrice: 0.3;
47310
47544
  readonly outputPrice: 2.5;
47311
47545
  readonly cacheReadsPrice: 0.075;
@@ -47321,6 +47555,7 @@ declare const geminiModels: {
47321
47555
  readonly defaultToolProtocol: "native";
47322
47556
  readonly supportsPromptCache: true;
47323
47557
  readonly includedTools: ["write_file", "edit_file"];
47558
+ readonly excludedTools: ["apply_diff"];
47324
47559
  readonly inputPrice: 0.1;
47325
47560
  readonly outputPrice: 0.4;
47326
47561
  readonly cacheReadsPrice: 0.025;
@@ -47336,6 +47571,7 @@ declare const geminiModels: {
47336
47571
  readonly defaultToolProtocol: "native";
47337
47572
  readonly supportsPromptCache: true;
47338
47573
  readonly includedTools: ["write_file", "edit_file"];
47574
+ readonly excludedTools: ["apply_diff"];
47339
47575
  readonly inputPrice: 0.1;
47340
47576
  readonly outputPrice: 0.4;
47341
47577
  readonly cacheReadsPrice: 0.025;
@@ -47345,7 +47581,7 @@ declare const geminiModels: {
47345
47581
  };
47346
47582
  };
47347
47583
 
47348
- 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";
47584
+ 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";
47349
47585
  declare const groqDefaultModelId: GroqModelId;
47350
47586
  declare const groqModels: {
47351
47587
  readonly "llama-3.1-8b-instant": {
@@ -47381,33 +47617,6 @@ declare const groqModels: {
47381
47617
  readonly outputPrice: 0.34;
47382
47618
  readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
47383
47619
  };
47384
- readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
47385
- readonly maxTokens: 8192;
47386
- readonly contextWindow: 131072;
47387
- readonly supportsImages: false;
47388
- readonly supportsPromptCache: false;
47389
- readonly inputPrice: 0.2;
47390
- readonly outputPrice: 0.6;
47391
- readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
47392
- };
47393
- readonly "mistral-saba-24b": {
47394
- readonly maxTokens: 8192;
47395
- readonly contextWindow: 32768;
47396
- readonly supportsImages: false;
47397
- readonly supportsPromptCache: false;
47398
- readonly inputPrice: 0.79;
47399
- readonly outputPrice: 0.79;
47400
- readonly description: "Mistral Saba 24B model, 32K context.";
47401
- };
47402
- readonly "qwen-qwq-32b": {
47403
- readonly maxTokens: 8192;
47404
- readonly contextWindow: 131072;
47405
- readonly supportsImages: false;
47406
- readonly supportsPromptCache: false;
47407
- readonly inputPrice: 0.29;
47408
- readonly outputPrice: 0.39;
47409
- readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
47410
- };
47411
47620
  readonly "qwen/qwen3-32b": {
47412
47621
  readonly maxTokens: 8192;
47413
47622
  readonly contextWindow: 131072;
@@ -47419,25 +47628,6 @@ declare const groqModels: {
47419
47628
  readonly outputPrice: 0.59;
47420
47629
  readonly description: "Alibaba Qwen 3 32B model, 128K context.";
47421
47630
  };
47422
- readonly "deepseek-r1-distill-llama-70b": {
47423
- readonly maxTokens: 8192;
47424
- readonly contextWindow: 131072;
47425
- readonly supportsImages: false;
47426
- readonly supportsPromptCache: false;
47427
- readonly inputPrice: 0.75;
47428
- readonly outputPrice: 0.99;
47429
- readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
47430
- };
47431
- readonly "moonshotai/kimi-k2-instruct": {
47432
- readonly maxTokens: 16384;
47433
- readonly contextWindow: 131072;
47434
- readonly supportsImages: false;
47435
- readonly supportsPromptCache: true;
47436
- readonly inputPrice: 1;
47437
- readonly outputPrice: 3;
47438
- readonly cacheReadsPrice: 0.5;
47439
- readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.";
47440
- };
47441
47631
  readonly "moonshotai/kimi-k2-instruct-0905": {
47442
47632
  readonly maxTokens: 16384;
47443
47633
  readonly contextWindow: 262144;
@@ -48369,6 +48559,8 @@ declare const qwenCodeModels: {
48369
48559
  readonly contextWindow: 1000000;
48370
48560
  readonly supportsImages: false;
48371
48561
  readonly supportsPromptCache: false;
48562
+ readonly supportsNativeTools: true;
48563
+ readonly defaultToolProtocol: "native";
48372
48564
  readonly inputPrice: 0;
48373
48565
  readonly outputPrice: 0;
48374
48566
  readonly cacheWritesPrice: 0;
@@ -48380,6 +48572,8 @@ declare const qwenCodeModels: {
48380
48572
  readonly contextWindow: 1000000;
48381
48573
  readonly supportsImages: false;
48382
48574
  readonly supportsPromptCache: false;
48575
+ readonly supportsNativeTools: true;
48576
+ readonly defaultToolProtocol: "native";
48383
48577
  readonly inputPrice: 0;
48384
48578
  readonly outputPrice: 0;
48385
48579
  readonly cacheWritesPrice: 0;
@@ -48622,7 +48816,7 @@ declare const RooModelsResponseSchema: z.ZodObject<{
48622
48816
  type RooModel = z.infer<typeof RooModelSchema>;
48623
48817
  type RooModelsResponse = z.infer<typeof RooModelsResponseSchema>;
48624
48818
 
48625
- 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";
48819
+ 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";
48626
48820
  declare const sambaNovaDefaultModelId: SambaNovaModelId;
48627
48821
  declare const sambaNovaModels: {
48628
48822
  readonly "Meta-Llama-3.1-8B-Instruct": {
@@ -48681,15 +48875,6 @@ declare const sambaNovaModels: {
48681
48875
  readonly outputPrice: 4.5;
48682
48876
  readonly description: "DeepSeek V3.1 model with 32K context window.";
48683
48877
  };
48684
- readonly "DeepSeek-R1-Distill-Llama-70B": {
48685
- readonly maxTokens: 8192;
48686
- readonly contextWindow: 131072;
48687
- readonly supportsImages: false;
48688
- readonly supportsPromptCache: false;
48689
- readonly inputPrice: 0.7;
48690
- readonly outputPrice: 1.4;
48691
- readonly description: "DeepSeek R1 distilled Llama 70B model with 128K context window.";
48692
- };
48693
48878
  readonly "Llama-4-Maverick-17B-128E-Instruct": {
48694
48879
  readonly maxTokens: 8192;
48695
48880
  readonly contextWindow: 131072;
@@ -48701,15 +48886,6 @@ declare const sambaNovaModels: {
48701
48886
  readonly outputPrice: 1.8;
48702
48887
  readonly description: "Meta Llama 4 Maverick 17B 128E Instruct model with 128K context window.";
48703
48888
  };
48704
- readonly "Llama-3.3-Swallow-70B-Instruct-v0.4": {
48705
- readonly maxTokens: 8192;
48706
- readonly contextWindow: 16384;
48707
- readonly supportsImages: false;
48708
- readonly supportsPromptCache: false;
48709
- readonly inputPrice: 0.6;
48710
- readonly outputPrice: 1.2;
48711
- readonly description: "Tokyotech Llama 3.3 Swallow 70B Instruct v0.4 model with 16K context window.";
48712
- };
48713
48889
  readonly "Qwen3-32B": {
48714
48890
  readonly maxTokens: 8192;
48715
48891
  readonly contextWindow: 8192;
@@ -48750,6 +48926,7 @@ declare const vertexModels: {
48750
48926
  readonly supportsReasoningEffort: ["low", "high"];
48751
48927
  readonly reasoningEffort: "low";
48752
48928
  readonly includedTools: ["write_file", "edit_file"];
48929
+ readonly excludedTools: ["apply_diff"];
48753
48930
  readonly supportsTemperature: true;
48754
48931
  readonly defaultTemperature: 1;
48755
48932
  readonly inputPrice: 4;
@@ -48774,6 +48951,7 @@ declare const vertexModels: {
48774
48951
  readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
48775
48952
  readonly reasoningEffort: "medium";
48776
48953
  readonly includedTools: ["write_file", "edit_file"];
48954
+ readonly excludedTools: ["apply_diff"];
48777
48955
  readonly supportsTemperature: true;
48778
48956
  readonly defaultTemperature: 1;
48779
48957
  readonly inputPrice: 0.3;
@@ -48789,6 +48967,7 @@ declare const vertexModels: {
48789
48967
  readonly defaultToolProtocol: "native";
48790
48968
  readonly supportsPromptCache: true;
48791
48969
  readonly includedTools: ["write_file", "edit_file"];
48970
+ readonly excludedTools: ["apply_diff"];
48792
48971
  readonly inputPrice: 0.15;
48793
48972
  readonly outputPrice: 3.5;
48794
48973
  readonly maxThinkingTokens: 24576;
@@ -48803,6 +48982,7 @@ declare const vertexModels: {
48803
48982
  readonly defaultToolProtocol: "native";
48804
48983
  readonly supportsPromptCache: true;
48805
48984
  readonly includedTools: ["write_file", "edit_file"];
48985
+ readonly excludedTools: ["apply_diff"];
48806
48986
  readonly inputPrice: 0.15;
48807
48987
  readonly outputPrice: 0.6;
48808
48988
  };
@@ -48814,6 +48994,7 @@ declare const vertexModels: {
48814
48994
  readonly defaultToolProtocol: "native";
48815
48995
  readonly supportsPromptCache: true;
48816
48996
  readonly includedTools: ["write_file", "edit_file"];
48997
+ readonly excludedTools: ["apply_diff"];
48817
48998
  readonly inputPrice: 0.3;
48818
48999
  readonly outputPrice: 2.5;
48819
49000
  readonly cacheReadsPrice: 0.075;
@@ -48829,6 +49010,7 @@ declare const vertexModels: {
48829
49010
  readonly defaultToolProtocol: "native";
48830
49011
  readonly supportsPromptCache: false;
48831
49012
  readonly includedTools: ["write_file", "edit_file"];
49013
+ readonly excludedTools: ["apply_diff"];
48832
49014
  readonly inputPrice: 0.15;
48833
49015
  readonly outputPrice: 3.5;
48834
49016
  readonly maxThinkingTokens: 24576;
@@ -48843,6 +49025,7 @@ declare const vertexModels: {
48843
49025
  readonly defaultToolProtocol: "native";
48844
49026
  readonly supportsPromptCache: false;
48845
49027
  readonly includedTools: ["write_file", "edit_file"];
49028
+ readonly excludedTools: ["apply_diff"];
48846
49029
  readonly inputPrice: 0.15;
48847
49030
  readonly outputPrice: 0.6;
48848
49031
  };
@@ -48854,6 +49037,7 @@ declare const vertexModels: {
48854
49037
  readonly defaultToolProtocol: "native";
48855
49038
  readonly supportsPromptCache: true;
48856
49039
  readonly includedTools: ["write_file", "edit_file"];
49040
+ readonly excludedTools: ["apply_diff"];
48857
49041
  readonly inputPrice: 2.5;
48858
49042
  readonly outputPrice: 15;
48859
49043
  };
@@ -48865,6 +49049,7 @@ declare const vertexModels: {
48865
49049
  readonly defaultToolProtocol: "native";
48866
49050
  readonly supportsPromptCache: true;
48867
49051
  readonly includedTools: ["write_file", "edit_file"];
49052
+ readonly excludedTools: ["apply_diff"];
48868
49053
  readonly inputPrice: 2.5;
48869
49054
  readonly outputPrice: 15;
48870
49055
  };
@@ -48876,6 +49061,7 @@ declare const vertexModels: {
48876
49061
  readonly defaultToolProtocol: "native";
48877
49062
  readonly supportsPromptCache: true;
48878
49063
  readonly includedTools: ["write_file", "edit_file"];
49064
+ readonly excludedTools: ["apply_diff"];
48879
49065
  readonly inputPrice: 2.5;
48880
49066
  readonly outputPrice: 15;
48881
49067
  readonly maxThinkingTokens: 32768;
@@ -48889,6 +49075,7 @@ declare const vertexModels: {
48889
49075
  readonly defaultToolProtocol: "native";
48890
49076
  readonly supportsPromptCache: true;
48891
49077
  readonly includedTools: ["write_file", "edit_file"];
49078
+ readonly excludedTools: ["apply_diff"];
48892
49079
  readonly inputPrice: 2.5;
48893
49080
  readonly outputPrice: 15;
48894
49081
  readonly maxThinkingTokens: 32768;
@@ -48914,6 +49101,7 @@ declare const vertexModels: {
48914
49101
  readonly defaultToolProtocol: "native";
48915
49102
  readonly supportsPromptCache: false;
48916
49103
  readonly includedTools: ["write_file", "edit_file"];
49104
+ readonly excludedTools: ["apply_diff"];
48917
49105
  readonly inputPrice: 0;
48918
49106
  readonly outputPrice: 0;
48919
49107
  };
@@ -48925,6 +49113,7 @@ declare const vertexModels: {
48925
49113
  readonly defaultToolProtocol: "native";
48926
49114
  readonly supportsPromptCache: false;
48927
49115
  readonly includedTools: ["write_file", "edit_file"];
49116
+ readonly excludedTools: ["apply_diff"];
48928
49117
  readonly inputPrice: 0;
48929
49118
  readonly outputPrice: 0;
48930
49119
  };
@@ -48936,6 +49125,7 @@ declare const vertexModels: {
48936
49125
  readonly defaultToolProtocol: "native";
48937
49126
  readonly supportsPromptCache: true;
48938
49127
  readonly includedTools: ["write_file", "edit_file"];
49128
+ readonly excludedTools: ["apply_diff"];
48939
49129
  readonly inputPrice: 0.15;
48940
49130
  readonly outputPrice: 0.6;
48941
49131
  };
@@ -48947,6 +49137,7 @@ declare const vertexModels: {
48947
49137
  readonly defaultToolProtocol: "native";
48948
49138
  readonly supportsPromptCache: false;
48949
49139
  readonly includedTools: ["write_file", "edit_file"];
49140
+ readonly excludedTools: ["apply_diff"];
48950
49141
  readonly inputPrice: 0.075;
48951
49142
  readonly outputPrice: 0.3;
48952
49143
  };
@@ -48958,6 +49149,7 @@ declare const vertexModels: {
48958
49149
  readonly defaultToolProtocol: "native";
48959
49150
  readonly supportsPromptCache: false;
48960
49151
  readonly includedTools: ["write_file", "edit_file"];
49152
+ readonly excludedTools: ["apply_diff"];
48961
49153
  readonly inputPrice: 0;
48962
49154
  readonly outputPrice: 0;
48963
49155
  };
@@ -48969,6 +49161,7 @@ declare const vertexModels: {
48969
49161
  readonly defaultToolProtocol: "native";
48970
49162
  readonly supportsPromptCache: true;
48971
49163
  readonly includedTools: ["write_file", "edit_file"];
49164
+ readonly excludedTools: ["apply_diff"];
48972
49165
  readonly inputPrice: 0.075;
48973
49166
  readonly outputPrice: 0.3;
48974
49167
  };
@@ -48980,6 +49173,7 @@ declare const vertexModels: {
48980
49173
  readonly defaultToolProtocol: "native";
48981
49174
  readonly supportsPromptCache: false;
48982
49175
  readonly includedTools: ["write_file", "edit_file"];
49176
+ readonly excludedTools: ["apply_diff"];
48983
49177
  readonly inputPrice: 1.25;
48984
49178
  readonly outputPrice: 5;
48985
49179
  };
@@ -48988,28 +49182,48 @@ declare const vertexModels: {
48988
49182
  readonly contextWindow: 200000;
48989
49183
  readonly supportsImages: true;
48990
49184
  readonly supportsPromptCache: true;
49185
+ readonly supportsNativeTools: true;
49186
+ readonly defaultToolProtocol: "native";
48991
49187
  readonly inputPrice: 3;
48992
49188
  readonly outputPrice: 15;
48993
49189
  readonly cacheWritesPrice: 3.75;
48994
49190
  readonly cacheReadsPrice: 0.3;
48995
49191
  readonly supportsReasoningBudget: true;
49192
+ readonly tiers: [{
49193
+ readonly contextWindow: 1000000;
49194
+ readonly inputPrice: 6;
49195
+ readonly outputPrice: 22.5;
49196
+ readonly cacheWritesPrice: 7.5;
49197
+ readonly cacheReadsPrice: 0.6;
49198
+ }];
48996
49199
  };
48997
49200
  readonly "claude-sonnet-4-5@20250929": {
48998
49201
  readonly maxTokens: 8192;
48999
49202
  readonly contextWindow: 200000;
49000
49203
  readonly supportsImages: true;
49001
49204
  readonly supportsPromptCache: true;
49205
+ readonly supportsNativeTools: true;
49206
+ readonly defaultToolProtocol: "native";
49002
49207
  readonly inputPrice: 3;
49003
49208
  readonly outputPrice: 15;
49004
49209
  readonly cacheWritesPrice: 3.75;
49005
49210
  readonly cacheReadsPrice: 0.3;
49006
49211
  readonly supportsReasoningBudget: true;
49212
+ readonly tiers: [{
49213
+ readonly contextWindow: 1000000;
49214
+ readonly inputPrice: 6;
49215
+ readonly outputPrice: 22.5;
49216
+ readonly cacheWritesPrice: 7.5;
49217
+ readonly cacheReadsPrice: 0.6;
49218
+ }];
49007
49219
  };
49008
49220
  readonly "claude-haiku-4-5@20251001": {
49009
49221
  readonly maxTokens: 8192;
49010
49222
  readonly contextWindow: 200000;
49011
49223
  readonly supportsImages: true;
49012
49224
  readonly supportsPromptCache: true;
49225
+ readonly supportsNativeTools: true;
49226
+ readonly defaultToolProtocol: "native";
49013
49227
  readonly inputPrice: 1;
49014
49228
  readonly outputPrice: 5;
49015
49229
  readonly cacheWritesPrice: 1.25;
@@ -49021,6 +49235,8 @@ declare const vertexModels: {
49021
49235
  readonly contextWindow: 200000;
49022
49236
  readonly supportsImages: true;
49023
49237
  readonly supportsPromptCache: true;
49238
+ readonly supportsNativeTools: true;
49239
+ readonly defaultToolProtocol: "native";
49024
49240
  readonly inputPrice: 5;
49025
49241
  readonly outputPrice: 25;
49026
49242
  readonly cacheWritesPrice: 6.25;
@@ -49032,6 +49248,8 @@ declare const vertexModels: {
49032
49248
  readonly contextWindow: 200000;
49033
49249
  readonly supportsImages: true;
49034
49250
  readonly supportsPromptCache: true;
49251
+ readonly supportsNativeTools: true;
49252
+ readonly defaultToolProtocol: "native";
49035
49253
  readonly inputPrice: 15;
49036
49254
  readonly outputPrice: 75;
49037
49255
  readonly cacheWritesPrice: 18.75;
@@ -49043,6 +49261,8 @@ declare const vertexModels: {
49043
49261
  readonly contextWindow: 200000;
49044
49262
  readonly supportsImages: true;
49045
49263
  readonly supportsPromptCache: true;
49264
+ readonly supportsNativeTools: true;
49265
+ readonly defaultToolProtocol: "native";
49046
49266
  readonly inputPrice: 15;
49047
49267
  readonly outputPrice: 75;
49048
49268
  readonly cacheWritesPrice: 18.75;
@@ -49053,6 +49273,8 @@ declare const vertexModels: {
49053
49273
  readonly contextWindow: 200000;
49054
49274
  readonly supportsImages: true;
49055
49275
  readonly supportsPromptCache: true;
49276
+ readonly supportsNativeTools: true;
49277
+ readonly defaultToolProtocol: "native";
49056
49278
  readonly inputPrice: 3;
49057
49279
  readonly outputPrice: 15;
49058
49280
  readonly cacheWritesPrice: 3.75;
@@ -49065,6 +49287,8 @@ declare const vertexModels: {
49065
49287
  readonly contextWindow: 200000;
49066
49288
  readonly supportsImages: true;
49067
49289
  readonly supportsPromptCache: true;
49290
+ readonly supportsNativeTools: true;
49291
+ readonly defaultToolProtocol: "native";
49068
49292
  readonly inputPrice: 3;
49069
49293
  readonly outputPrice: 15;
49070
49294
  readonly cacheWritesPrice: 3.75;
@@ -49075,6 +49299,8 @@ declare const vertexModels: {
49075
49299
  readonly contextWindow: 200000;
49076
49300
  readonly supportsImages: true;
49077
49301
  readonly supportsPromptCache: true;
49302
+ readonly supportsNativeTools: true;
49303
+ readonly defaultToolProtocol: "native";
49078
49304
  readonly inputPrice: 3;
49079
49305
  readonly outputPrice: 15;
49080
49306
  readonly cacheWritesPrice: 3.75;
@@ -49085,6 +49311,8 @@ declare const vertexModels: {
49085
49311
  readonly contextWindow: 200000;
49086
49312
  readonly supportsImages: true;
49087
49313
  readonly supportsPromptCache: true;
49314
+ readonly supportsNativeTools: true;
49315
+ readonly defaultToolProtocol: "native";
49088
49316
  readonly inputPrice: 3;
49089
49317
  readonly outputPrice: 15;
49090
49318
  readonly cacheWritesPrice: 3.75;
@@ -49095,6 +49323,8 @@ declare const vertexModels: {
49095
49323
  readonly contextWindow: 200000;
49096
49324
  readonly supportsImages: false;
49097
49325
  readonly supportsPromptCache: true;
49326
+ readonly supportsNativeTools: true;
49327
+ readonly defaultToolProtocol: "native";
49098
49328
  readonly inputPrice: 1;
49099
49329
  readonly outputPrice: 5;
49100
49330
  readonly cacheWritesPrice: 1.25;
@@ -49105,6 +49335,8 @@ declare const vertexModels: {
49105
49335
  readonly contextWindow: 200000;
49106
49336
  readonly supportsImages: true;
49107
49337
  readonly supportsPromptCache: true;
49338
+ readonly supportsNativeTools: true;
49339
+ readonly defaultToolProtocol: "native";
49108
49340
  readonly inputPrice: 15;
49109
49341
  readonly outputPrice: 75;
49110
49342
  readonly cacheWritesPrice: 18.75;
@@ -49115,6 +49347,8 @@ declare const vertexModels: {
49115
49347
  readonly contextWindow: 200000;
49116
49348
  readonly supportsImages: true;
49117
49349
  readonly supportsPromptCache: true;
49350
+ readonly supportsNativeTools: true;
49351
+ readonly defaultToolProtocol: "native";
49118
49352
  readonly inputPrice: 0.25;
49119
49353
  readonly outputPrice: 1.25;
49120
49354
  readonly cacheWritesPrice: 0.3;
@@ -49128,6 +49362,7 @@ declare const vertexModels: {
49128
49362
  readonly defaultToolProtocol: "native";
49129
49363
  readonly supportsPromptCache: true;
49130
49364
  readonly includedTools: ["write_file", "edit_file"];
49365
+ readonly excludedTools: ["apply_diff"];
49131
49366
  readonly inputPrice: 0.1;
49132
49367
  readonly outputPrice: 0.4;
49133
49368
  readonly cacheReadsPrice: 0.025;
@@ -49140,6 +49375,7 @@ declare const vertexModels: {
49140
49375
  readonly contextWindow: 131072;
49141
49376
  readonly supportsImages: false;
49142
49377
  readonly supportsPromptCache: false;
49378
+ readonly supportsNativeTools: true;
49143
49379
  readonly inputPrice: 0.35;
49144
49380
  readonly outputPrice: 1.15;
49145
49381
  readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
@@ -49149,6 +49385,7 @@ declare const vertexModels: {
49149
49385
  readonly contextWindow: 163840;
49150
49386
  readonly supportsImages: false;
49151
49387
  readonly supportsPromptCache: false;
49388
+ readonly supportsNativeTools: true;
49152
49389
  readonly inputPrice: 1.35;
49153
49390
  readonly outputPrice: 5.4;
49154
49391
  readonly description: "DeepSeek R1 (0528). Available in us-central1";
@@ -49158,6 +49395,7 @@ declare const vertexModels: {
49158
49395
  readonly contextWindow: 163840;
49159
49396
  readonly supportsImages: false;
49160
49397
  readonly supportsPromptCache: false;
49398
+ readonly supportsNativeTools: true;
49161
49399
  readonly inputPrice: 0.6;
49162
49400
  readonly outputPrice: 1.7;
49163
49401
  readonly description: "DeepSeek V3.1. Available in us-west2";
@@ -49167,6 +49405,7 @@ declare const vertexModels: {
49167
49405
  readonly contextWindow: 131072;
49168
49406
  readonly supportsImages: false;
49169
49407
  readonly supportsPromptCache: false;
49408
+ readonly supportsNativeTools: true;
49170
49409
  readonly inputPrice: 0.15;
49171
49410
  readonly outputPrice: 0.6;
49172
49411
  readonly description: "OpenAI gpt-oss 120B. Available in us-central1";
@@ -49176,6 +49415,7 @@ declare const vertexModels: {
49176
49415
  readonly contextWindow: 131072;
49177
49416
  readonly supportsImages: false;
49178
49417
  readonly supportsPromptCache: false;
49418
+ readonly supportsNativeTools: true;
49179
49419
  readonly inputPrice: 0.075;
49180
49420
  readonly outputPrice: 0.3;
49181
49421
  readonly description: "OpenAI gpt-oss 20B. Available in us-central1";
@@ -49185,6 +49425,7 @@ declare const vertexModels: {
49185
49425
  readonly contextWindow: 262144;
49186
49426
  readonly supportsImages: false;
49187
49427
  readonly supportsPromptCache: false;
49428
+ readonly supportsNativeTools: true;
49188
49429
  readonly inputPrice: 1;
49189
49430
  readonly outputPrice: 4;
49190
49431
  readonly description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1";
@@ -49194,11 +49435,13 @@ declare const vertexModels: {
49194
49435
  readonly contextWindow: 262144;
49195
49436
  readonly supportsImages: false;
49196
49437
  readonly supportsPromptCache: false;
49438
+ readonly supportsNativeTools: true;
49197
49439
  readonly inputPrice: 0.25;
49198
49440
  readonly outputPrice: 1;
49199
49441
  readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
49200
49442
  };
49201
49443
  };
49444
+ declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929"];
49202
49445
  declare const VERTEX_REGIONS: {
49203
49446
  value: string;
49204
49447
  label: string;
@@ -49527,7 +49770,7 @@ type InternationalZAiModelId = keyof typeof internationalZAiModels;
49527
49770
  declare const internationalZAiDefaultModelId: InternationalZAiModelId;
49528
49771
  declare const internationalZAiModels: {
49529
49772
  readonly "glm-4.5": {
49530
- readonly maxTokens: 98304;
49773
+ readonly maxTokens: 16384;
49531
49774
  readonly contextWindow: 131072;
49532
49775
  readonly supportsImages: false;
49533
49776
  readonly supportsPromptCache: true;
@@ -49540,7 +49783,7 @@ declare const internationalZAiModels: {
49540
49783
  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.";
49541
49784
  };
49542
49785
  readonly "glm-4.5-air": {
49543
- readonly maxTokens: 98304;
49786
+ readonly maxTokens: 16384;
49544
49787
  readonly contextWindow: 131072;
49545
49788
  readonly supportsImages: false;
49546
49789
  readonly supportsPromptCache: true;
@@ -49553,7 +49796,7 @@ declare const internationalZAiModels: {
49553
49796
  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.";
49554
49797
  };
49555
49798
  readonly "glm-4.5-x": {
49556
- readonly maxTokens: 98304;
49799
+ readonly maxTokens: 16384;
49557
49800
  readonly contextWindow: 131072;
49558
49801
  readonly supportsImages: false;
49559
49802
  readonly supportsPromptCache: true;
@@ -49566,7 +49809,7 @@ declare const internationalZAiModels: {
49566
49809
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49567
49810
  };
49568
49811
  readonly "glm-4.5-airx": {
49569
- readonly maxTokens: 98304;
49812
+ readonly maxTokens: 16384;
49570
49813
  readonly contextWindow: 131072;
49571
49814
  readonly supportsImages: false;
49572
49815
  readonly supportsPromptCache: true;
@@ -49579,7 +49822,7 @@ declare const internationalZAiModels: {
49579
49822
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49580
49823
  };
49581
49824
  readonly "glm-4.5-flash": {
49582
- readonly maxTokens: 98304;
49825
+ readonly maxTokens: 16384;
49583
49826
  readonly contextWindow: 131072;
49584
49827
  readonly supportsImages: false;
49585
49828
  readonly supportsPromptCache: true;
@@ -49605,7 +49848,7 @@ declare const internationalZAiModels: {
49605
49848
  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.";
49606
49849
  };
49607
49850
  readonly "glm-4.6": {
49608
- readonly maxTokens: 98304;
49851
+ readonly maxTokens: 16384;
49609
49852
  readonly contextWindow: 200000;
49610
49853
  readonly supportsImages: false;
49611
49854
  readonly supportsPromptCache: true;
@@ -49617,8 +49860,24 @@ declare const internationalZAiModels: {
49617
49860
  readonly cacheReadsPrice: 0.11;
49618
49861
  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.";
49619
49862
  };
49863
+ readonly "glm-4.7": {
49864
+ readonly maxTokens: 16384;
49865
+ readonly contextWindow: 200000;
49866
+ readonly supportsImages: false;
49867
+ readonly supportsPromptCache: true;
49868
+ readonly supportsNativeTools: true;
49869
+ readonly defaultToolProtocol: "native";
49870
+ readonly supportsReasoningEffort: ["disable", "medium"];
49871
+ readonly reasoningEffort: "medium";
49872
+ readonly preserveReasoning: true;
49873
+ readonly inputPrice: 0.6;
49874
+ readonly outputPrice: 2.2;
49875
+ readonly cacheWritesPrice: 0;
49876
+ readonly cacheReadsPrice: 0.11;
49877
+ 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.";
49878
+ };
49620
49879
  readonly "glm-4-32b-0414-128k": {
49621
- readonly maxTokens: 98304;
49880
+ readonly maxTokens: 16384;
49622
49881
  readonly contextWindow: 131072;
49623
49882
  readonly supportsImages: false;
49624
49883
  readonly supportsPromptCache: false;
@@ -49635,7 +49894,7 @@ type MainlandZAiModelId = keyof typeof mainlandZAiModels;
49635
49894
  declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
49636
49895
  declare const mainlandZAiModels: {
49637
49896
  readonly "glm-4.5": {
49638
- readonly maxTokens: 98304;
49897
+ readonly maxTokens: 16384;
49639
49898
  readonly contextWindow: 131072;
49640
49899
  readonly supportsImages: false;
49641
49900
  readonly supportsPromptCache: true;
@@ -49648,7 +49907,7 @@ declare const mainlandZAiModels: {
49648
49907
  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.";
49649
49908
  };
49650
49909
  readonly "glm-4.5-air": {
49651
- readonly maxTokens: 98304;
49910
+ readonly maxTokens: 16384;
49652
49911
  readonly contextWindow: 131072;
49653
49912
  readonly supportsImages: false;
49654
49913
  readonly supportsPromptCache: true;
@@ -49661,7 +49920,7 @@ declare const mainlandZAiModels: {
49661
49920
  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.";
49662
49921
  };
49663
49922
  readonly "glm-4.5-x": {
49664
- readonly maxTokens: 98304;
49923
+ readonly maxTokens: 16384;
49665
49924
  readonly contextWindow: 131072;
49666
49925
  readonly supportsImages: false;
49667
49926
  readonly supportsPromptCache: true;
@@ -49674,7 +49933,7 @@ declare const mainlandZAiModels: {
49674
49933
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49675
49934
  };
49676
49935
  readonly "glm-4.5-airx": {
49677
- readonly maxTokens: 98304;
49936
+ readonly maxTokens: 16384;
49678
49937
  readonly contextWindow: 131072;
49679
49938
  readonly supportsImages: false;
49680
49939
  readonly supportsPromptCache: true;
@@ -49687,7 +49946,7 @@ declare const mainlandZAiModels: {
49687
49946
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49688
49947
  };
49689
49948
  readonly "glm-4.5-flash": {
49690
- readonly maxTokens: 98304;
49949
+ readonly maxTokens: 16384;
49691
49950
  readonly contextWindow: 131072;
49692
49951
  readonly supportsImages: false;
49693
49952
  readonly supportsPromptCache: true;
@@ -49713,7 +49972,7 @@ declare const mainlandZAiModels: {
49713
49972
  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.";
49714
49973
  };
49715
49974
  readonly "glm-4.6": {
49716
- readonly maxTokens: 98304;
49975
+ readonly maxTokens: 16384;
49717
49976
  readonly contextWindow: 204800;
49718
49977
  readonly supportsImages: false;
49719
49978
  readonly supportsPromptCache: true;
@@ -49725,6 +49984,22 @@ declare const mainlandZAiModels: {
49725
49984
  readonly cacheReadsPrice: 0.057;
49726
49985
  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.";
49727
49986
  };
49987
+ readonly "glm-4.7": {
49988
+ readonly maxTokens: 16384;
49989
+ readonly contextWindow: 204800;
49990
+ readonly supportsImages: false;
49991
+ readonly supportsPromptCache: true;
49992
+ readonly supportsNativeTools: true;
49993
+ readonly defaultToolProtocol: "native";
49994
+ readonly supportsReasoningEffort: ["disable", "medium"];
49995
+ readonly reasoningEffort: "medium";
49996
+ readonly preserveReasoning: true;
49997
+ readonly inputPrice: 0.29;
49998
+ readonly outputPrice: 1.14;
49999
+ readonly cacheWritesPrice: 0;
50000
+ readonly cacheReadsPrice: 0.057;
50001
+ 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.";
50002
+ };
49728
50003
  };
49729
50004
  declare const ZAI_DEFAULT_TEMPERATURE = 0.6;
49730
50005
  declare const zaiApiLineConfigs: {
@@ -49763,6 +50038,8 @@ declare const minimaxModels: {
49763
50038
  readonly supportsPromptCache: true;
49764
50039
  readonly supportsNativeTools: true;
49765
50040
  readonly defaultToolProtocol: "native";
50041
+ readonly includedTools: ["search_and_replace"];
50042
+ readonly excludedTools: ["apply_diff"];
49766
50043
  readonly preserveReasoning: true;
49767
50044
  readonly inputPrice: 0.3;
49768
50045
  readonly outputPrice: 1.2;
@@ -49777,6 +50054,8 @@ declare const minimaxModels: {
49777
50054
  readonly supportsPromptCache: true;
49778
50055
  readonly supportsNativeTools: true;
49779
50056
  readonly defaultToolProtocol: "native";
50057
+ readonly includedTools: ["search_and_replace"];
50058
+ readonly excludedTools: ["apply_diff"];
49780
50059
  readonly preserveReasoning: true;
49781
50060
  readonly inputPrice: 0.3;
49782
50061
  readonly outputPrice: 1.2;
@@ -49784,6 +50063,22 @@ declare const minimaxModels: {
49784
50063
  readonly cacheReadsPrice: 0.03;
49785
50064
  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.";
49786
50065
  };
50066
+ readonly "MiniMax-M2.1": {
50067
+ readonly maxTokens: 16384;
50068
+ readonly contextWindow: 192000;
50069
+ readonly supportsImages: false;
50070
+ readonly supportsPromptCache: true;
50071
+ readonly supportsNativeTools: true;
50072
+ readonly defaultToolProtocol: "native";
50073
+ readonly includedTools: ["search_and_replace"];
50074
+ readonly excludedTools: ["apply_diff"];
50075
+ readonly preserveReasoning: true;
50076
+ readonly inputPrice: 0.3;
50077
+ readonly outputPrice: 1.2;
50078
+ readonly cacheWritesPrice: 0.375;
50079
+ readonly cacheReadsPrice: 0.03;
50080
+ readonly description: "MiniMax M2.1 builds on M2 with improved overall performance for agentic coding tasks and significantly faster response times.";
50081
+ };
49787
50082
  };
49788
50083
  declare const minimaxDefaultModelInfo: ModelInfo;
49789
50084
  declare const MINIMAX_DEFAULT_MAX_TOKENS = 16384;
@@ -49798,4 +50093,4 @@ declare function getProviderDefaultModelId(provider: ProviderName, options?: {
49798
50093
  isChina?: boolean;
49799
50094
  }): string;
49800
50095
 
49801
- 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, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, 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, 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 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 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_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, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, 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, 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 };
50096
+ 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 };