@roo-code/types 1.92.0 → 1.94.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
  }>>];
@@ -1322,9 +1324,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1322
1324
  toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
1323
1325
  } & {
1324
1326
  apiModelId: z.ZodOptional<z.ZodString>;
1325
- } & {
1326
- claudeCodePath: z.ZodOptional<z.ZodString>;
1327
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
1328
1327
  } & {
1329
1328
  apiProvider: z.ZodLiteral<"claude-code">;
1330
1329
  }, "strip", z.ZodTypeAny, {
@@ -1343,8 +1342,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1343
1342
  verbosity?: "low" | "medium" | "high" | undefined;
1344
1343
  toolProtocol?: "xml" | "native" | undefined;
1345
1344
  apiModelId?: string | undefined;
1346
- claudeCodePath?: string | undefined;
1347
- claudeCodeMaxOutputTokens?: number | undefined;
1348
1345
  }, {
1349
1346
  apiProvider: "claude-code";
1350
1347
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -1361,8 +1358,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1361
1358
  verbosity?: "low" | "medium" | "high" | undefined;
1362
1359
  toolProtocol?: "xml" | "native" | undefined;
1363
1360
  apiModelId?: string | undefined;
1364
- claudeCodePath?: string | undefined;
1365
- claudeCodeMaxOutputTokens?: number | undefined;
1366
1361
  }>, z.ZodObject<{
1367
1362
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
1368
1363
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1550,6 +1545,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1550
1545
  vertexRegion: z.ZodOptional<z.ZodString>;
1551
1546
  enableUrlContext: z.ZodOptional<z.ZodBoolean>;
1552
1547
  enableGrounding: z.ZodOptional<z.ZodBoolean>;
1548
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
1553
1549
  } & {
1554
1550
  apiProvider: z.ZodLiteral<"vertex">;
1555
1551
  }, "strip", z.ZodTypeAny, {
@@ -1574,6 +1570,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1574
1570
  vertexRegion?: string | undefined;
1575
1571
  enableUrlContext?: boolean | undefined;
1576
1572
  enableGrounding?: boolean | undefined;
1573
+ vertex1MContext?: boolean | undefined;
1577
1574
  }, {
1578
1575
  apiProvider: "vertex";
1579
1576
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -1596,6 +1593,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1596
1593
  vertexRegion?: string | undefined;
1597
1594
  enableUrlContext?: boolean | undefined;
1598
1595
  enableGrounding?: boolean | undefined;
1596
+ vertex1MContext?: boolean | undefined;
1599
1597
  }>, z.ZodObject<{
1600
1598
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
1601
1599
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -3893,6 +3891,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3893
3891
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
3894
3892
  vertexProjectId: z.ZodOptional<z.ZodString>;
3895
3893
  vertexRegion: z.ZodOptional<z.ZodString>;
3894
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
3896
3895
  awsAccessKey: z.ZodOptional<z.ZodString>;
3897
3896
  awsSecretKey: z.ZodOptional<z.ZodString>;
3898
3897
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -3915,8 +3914,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3915
3914
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
3916
3915
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
3917
3916
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
3918
- claudeCodePath: z.ZodOptional<z.ZodString>;
3919
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
3920
3917
  apiKey: z.ZodOptional<z.ZodString>;
3921
3918
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3922
3919
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -3951,8 +3948,6 @@ declare const providerSettingsSchema: z.ZodObject<{
3951
3948
  anthropicBaseUrl?: string | undefined;
3952
3949
  anthropicUseAuthToken?: boolean | undefined;
3953
3950
  anthropicBeta1MContext?: boolean | undefined;
3954
- claudeCodePath?: string | undefined;
3955
- claudeCodeMaxOutputTokens?: number | undefined;
3956
3951
  openRouterApiKey?: string | undefined;
3957
3952
  openRouterModelId?: string | undefined;
3958
3953
  openRouterBaseUrl?: string | undefined;
@@ -3981,6 +3976,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3981
3976
  vertexRegion?: string | undefined;
3982
3977
  enableUrlContext?: boolean | undefined;
3983
3978
  enableGrounding?: boolean | undefined;
3979
+ vertex1MContext?: boolean | undefined;
3984
3980
  openAiBaseUrl?: string | undefined;
3985
3981
  openAiApiKey?: string | undefined;
3986
3982
  openAiLegacyFormat?: boolean | undefined;
@@ -4124,8 +4120,6 @@ declare const providerSettingsSchema: z.ZodObject<{
4124
4120
  anthropicBaseUrl?: string | undefined;
4125
4121
  anthropicUseAuthToken?: boolean | undefined;
4126
4122
  anthropicBeta1MContext?: boolean | undefined;
4127
- claudeCodePath?: string | undefined;
4128
- claudeCodeMaxOutputTokens?: number | undefined;
4129
4123
  openRouterApiKey?: string | undefined;
4130
4124
  openRouterModelId?: string | undefined;
4131
4125
  openRouterBaseUrl?: string | undefined;
@@ -4154,6 +4148,7 @@ declare const providerSettingsSchema: z.ZodObject<{
4154
4148
  vertexRegion?: string | undefined;
4155
4149
  enableUrlContext?: boolean | undefined;
4156
4150
  enableGrounding?: boolean | undefined;
4151
+ vertex1MContext?: boolean | undefined;
4157
4152
  openAiBaseUrl?: string | undefined;
4158
4153
  openAiApiKey?: string | undefined;
4159
4154
  openAiLegacyFormat?: boolean | undefined;
@@ -4520,6 +4515,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4520
4515
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
4521
4516
  vertexProjectId: z.ZodOptional<z.ZodString>;
4522
4517
  vertexRegion: z.ZodOptional<z.ZodString>;
4518
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
4523
4519
  awsAccessKey: z.ZodOptional<z.ZodString>;
4524
4520
  awsSecretKey: z.ZodOptional<z.ZodString>;
4525
4521
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -4542,8 +4538,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4542
4538
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
4543
4539
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
4544
4540
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
4545
- claudeCodePath: z.ZodOptional<z.ZodString>;
4546
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
4547
4541
  apiKey: z.ZodOptional<z.ZodString>;
4548
4542
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
4549
4543
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -4581,8 +4575,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4581
4575
  anthropicBaseUrl?: string | undefined;
4582
4576
  anthropicUseAuthToken?: boolean | undefined;
4583
4577
  anthropicBeta1MContext?: boolean | undefined;
4584
- claudeCodePath?: string | undefined;
4585
- claudeCodeMaxOutputTokens?: number | undefined;
4586
4578
  openRouterApiKey?: string | undefined;
4587
4579
  openRouterModelId?: string | undefined;
4588
4580
  openRouterBaseUrl?: string | undefined;
@@ -4611,6 +4603,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4611
4603
  vertexRegion?: string | undefined;
4612
4604
  enableUrlContext?: boolean | undefined;
4613
4605
  enableGrounding?: boolean | undefined;
4606
+ vertex1MContext?: boolean | undefined;
4614
4607
  openAiBaseUrl?: string | undefined;
4615
4608
  openAiApiKey?: string | undefined;
4616
4609
  openAiLegacyFormat?: boolean | undefined;
@@ -4755,8 +4748,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4755
4748
  anthropicBaseUrl?: string | undefined;
4756
4749
  anthropicUseAuthToken?: boolean | undefined;
4757
4750
  anthropicBeta1MContext?: boolean | undefined;
4758
- claudeCodePath?: string | undefined;
4759
- claudeCodeMaxOutputTokens?: number | undefined;
4760
4751
  openRouterApiKey?: string | undefined;
4761
4752
  openRouterModelId?: string | undefined;
4762
4753
  openRouterBaseUrl?: string | undefined;
@@ -4785,6 +4776,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4785
4776
  vertexRegion?: string | undefined;
4786
4777
  enableUrlContext?: boolean | undefined;
4787
4778
  enableGrounding?: boolean | undefined;
4779
+ vertex1MContext?: boolean | undefined;
4788
4780
  openAiBaseUrl?: string | undefined;
4789
4781
  openAiApiKey?: string | undefined;
4790
4782
  openAiLegacyFormat?: boolean | undefined;
@@ -4979,9 +4971,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4979
4971
  toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
4980
4972
  } & {
4981
4973
  apiModelId: z.ZodOptional<z.ZodString>;
4982
- } & {
4983
- claudeCodePath: z.ZodOptional<z.ZodString>;
4984
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
4985
4974
  } & {
4986
4975
  apiProvider: z.ZodLiteral<"claude-code">;
4987
4976
  }, "strip", z.ZodTypeAny, {
@@ -5000,8 +4989,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5000
4989
  verbosity?: "low" | "medium" | "high" | undefined;
5001
4990
  toolProtocol?: "xml" | "native" | undefined;
5002
4991
  apiModelId?: string | undefined;
5003
- claudeCodePath?: string | undefined;
5004
- claudeCodeMaxOutputTokens?: number | undefined;
5005
4992
  }, {
5006
4993
  apiProvider: "claude-code";
5007
4994
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -5018,8 +5005,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5018
5005
  verbosity?: "low" | "medium" | "high" | undefined;
5019
5006
  toolProtocol?: "xml" | "native" | undefined;
5020
5007
  apiModelId?: string | undefined;
5021
- claudeCodePath?: string | undefined;
5022
- claudeCodeMaxOutputTokens?: number | undefined;
5023
5008
  }>, z.ZodObject<{
5024
5009
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5025
5010
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -5207,6 +5192,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5207
5192
  vertexRegion: z.ZodOptional<z.ZodString>;
5208
5193
  enableUrlContext: z.ZodOptional<z.ZodBoolean>;
5209
5194
  enableGrounding: z.ZodOptional<z.ZodBoolean>;
5195
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
5210
5196
  } & {
5211
5197
  apiProvider: z.ZodLiteral<"vertex">;
5212
5198
  }, "strip", z.ZodTypeAny, {
@@ -5231,6 +5217,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5231
5217
  vertexRegion?: string | undefined;
5232
5218
  enableUrlContext?: boolean | undefined;
5233
5219
  enableGrounding?: boolean | undefined;
5220
+ vertex1MContext?: boolean | undefined;
5234
5221
  }, {
5235
5222
  apiProvider: "vertex";
5236
5223
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
@@ -5253,6 +5240,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5253
5240
  vertexRegion?: string | undefined;
5254
5241
  enableUrlContext?: boolean | undefined;
5255
5242
  enableGrounding?: boolean | undefined;
5243
+ vertex1MContext?: boolean | undefined;
5256
5244
  }>, z.ZodObject<{
5257
5245
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5258
5246
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -7307,7 +7295,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
7307
7295
  id?: string | undefined;
7308
7296
  }>>;
7309
7297
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
7310
- 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", "claudeCodePath", "claudeCodeMaxOutputTokens", "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"];
7311
7299
  /**
7312
7300
  * ModelIdKey
7313
7301
  */
@@ -7397,6 +7385,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7397
7385
  size: z.ZodOptional<z.ZodNumber>;
7398
7386
  workspace: z.ZodOptional<z.ZodString>;
7399
7387
  mode: z.ZodOptional<z.ZodString>;
7388
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
7400
7389
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
7401
7390
  delegatedToId: z.ZodOptional<z.ZodString>;
7402
7391
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -7412,6 +7401,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7412
7401
  tokensIn: number;
7413
7402
  tokensOut: number;
7414
7403
  status?: "active" | "completed" | "delegated" | undefined;
7404
+ toolProtocol?: "xml" | "native" | undefined;
7415
7405
  rootTaskId?: string | undefined;
7416
7406
  parentTaskId?: string | undefined;
7417
7407
  cacheWrites?: number | undefined;
@@ -7433,6 +7423,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7433
7423
  tokensIn: number;
7434
7424
  tokensOut: number;
7435
7425
  status?: "active" | "completed" | "delegated" | undefined;
7426
+ toolProtocol?: "xml" | "native" | undefined;
7436
7427
  rootTaskId?: string | undefined;
7437
7428
  parentTaskId?: string | undefined;
7438
7429
  cacheWrites?: number | undefined;
@@ -7834,6 +7825,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7834
7825
  tokensIn: number;
7835
7826
  tokensOut: number;
7836
7827
  status?: "active" | "completed" | "delegated" | undefined;
7828
+ toolProtocol?: "xml" | "native" | undefined;
7837
7829
  rootTaskId?: string | undefined;
7838
7830
  parentTaskId?: string | undefined;
7839
7831
  cacheWrites?: number | undefined;
@@ -8020,6 +8012,7 @@ declare const globalSettingsSchema: z.ZodObject<{
8020
8012
  tokensIn: number;
8021
8013
  tokensOut: number;
8022
8014
  status?: "active" | "completed" | "delegated" | undefined;
8015
+ toolProtocol?: "xml" | "native" | undefined;
8023
8016
  rootTaskId?: string | undefined;
8024
8017
  parentTaskId?: string | undefined;
8025
8018
  cacheWrites?: number | undefined;
@@ -8421,6 +8414,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8421
8414
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
8422
8415
  vertexProjectId: z.ZodOptional<z.ZodString>;
8423
8416
  vertexRegion: z.ZodOptional<z.ZodString>;
8417
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
8424
8418
  awsAccessKey: z.ZodOptional<z.ZodString>;
8425
8419
  awsSecretKey: z.ZodOptional<z.ZodString>;
8426
8420
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -8443,8 +8437,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8443
8437
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
8444
8438
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
8445
8439
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
8446
- claudeCodePath: z.ZodOptional<z.ZodString>;
8447
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
8448
8440
  apiKey: z.ZodOptional<z.ZodString>;
8449
8441
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
8450
8442
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -8486,6 +8478,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8486
8478
  size: z.ZodOptional<z.ZodNumber>;
8487
8479
  workspace: z.ZodOptional<z.ZodString>;
8488
8480
  mode: z.ZodOptional<z.ZodString>;
8481
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
8489
8482
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
8490
8483
  delegatedToId: z.ZodOptional<z.ZodString>;
8491
8484
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8501,6 +8494,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8501
8494
  tokensIn: number;
8502
8495
  tokensOut: number;
8503
8496
  status?: "active" | "completed" | "delegated" | undefined;
8497
+ toolProtocol?: "xml" | "native" | undefined;
8504
8498
  rootTaskId?: string | undefined;
8505
8499
  parentTaskId?: string | undefined;
8506
8500
  cacheWrites?: number | undefined;
@@ -8522,6 +8516,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8522
8516
  tokensIn: number;
8523
8517
  tokensOut: number;
8524
8518
  status?: "active" | "completed" | "delegated" | undefined;
8519
+ toolProtocol?: "xml" | "native" | undefined;
8525
8520
  rootTaskId?: string | undefined;
8526
8521
  parentTaskId?: string | undefined;
8527
8522
  cacheWrites?: number | undefined;
@@ -8888,8 +8883,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8888
8883
  anthropicBaseUrl?: string | undefined;
8889
8884
  anthropicUseAuthToken?: boolean | undefined;
8890
8885
  anthropicBeta1MContext?: boolean | undefined;
8891
- claudeCodePath?: string | undefined;
8892
- claudeCodeMaxOutputTokens?: number | undefined;
8893
8886
  openRouterApiKey?: string | undefined;
8894
8887
  openRouterModelId?: string | undefined;
8895
8888
  openRouterBaseUrl?: string | undefined;
@@ -8918,6 +8911,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8918
8911
  vertexRegion?: string | undefined;
8919
8912
  enableUrlContext?: boolean | undefined;
8920
8913
  enableGrounding?: boolean | undefined;
8914
+ vertex1MContext?: boolean | undefined;
8921
8915
  openAiBaseUrl?: string | undefined;
8922
8916
  openAiApiKey?: string | undefined;
8923
8917
  openAiLegacyFormat?: boolean | undefined;
@@ -9065,6 +9059,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9065
9059
  tokensIn: number;
9066
9060
  tokensOut: number;
9067
9061
  status?: "active" | "completed" | "delegated" | undefined;
9062
+ toolProtocol?: "xml" | "native" | undefined;
9068
9063
  rootTaskId?: string | undefined;
9069
9064
  parentTaskId?: string | undefined;
9070
9065
  cacheWrites?: number | undefined;
@@ -9243,8 +9238,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9243
9238
  anthropicBaseUrl?: string | undefined;
9244
9239
  anthropicUseAuthToken?: boolean | undefined;
9245
9240
  anthropicBeta1MContext?: boolean | undefined;
9246
- claudeCodePath?: string | undefined;
9247
- claudeCodeMaxOutputTokens?: number | undefined;
9248
9241
  openRouterApiKey?: string | undefined;
9249
9242
  openRouterModelId?: string | undefined;
9250
9243
  openRouterBaseUrl?: string | undefined;
@@ -9273,6 +9266,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9273
9266
  vertexRegion?: string | undefined;
9274
9267
  enableUrlContext?: boolean | undefined;
9275
9268
  enableGrounding?: boolean | undefined;
9269
+ vertex1MContext?: boolean | undefined;
9276
9270
  openAiBaseUrl?: string | undefined;
9277
9271
  openAiApiKey?: string | undefined;
9278
9272
  openAiLegacyFormat?: boolean | undefined;
@@ -9420,6 +9414,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9420
9414
  tokensIn: number;
9421
9415
  tokensOut: number;
9422
9416
  status?: "active" | "completed" | "delegated" | undefined;
9417
+ toolProtocol?: "xml" | "native" | undefined;
9423
9418
  rootTaskId?: string | undefined;
9424
9419
  parentTaskId?: string | undefined;
9425
9420
  cacheWrites?: number | undefined;
@@ -9890,6 +9885,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9890
9885
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
9891
9886
  vertexProjectId: z.ZodOptional<z.ZodString>;
9892
9887
  vertexRegion: z.ZodOptional<z.ZodString>;
9888
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
9893
9889
  awsAccessKey: z.ZodOptional<z.ZodString>;
9894
9890
  awsSecretKey: z.ZodOptional<z.ZodString>;
9895
9891
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -9912,8 +9908,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9912
9908
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
9913
9909
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
9914
9910
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
9915
- claudeCodePath: z.ZodOptional<z.ZodString>;
9916
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
9917
9911
  apiKey: z.ZodOptional<z.ZodString>;
9918
9912
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
9919
9913
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -9955,6 +9949,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9955
9949
  size: z.ZodOptional<z.ZodNumber>;
9956
9950
  workspace: z.ZodOptional<z.ZodString>;
9957
9951
  mode: z.ZodOptional<z.ZodString>;
9952
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
9958
9953
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
9959
9954
  delegatedToId: z.ZodOptional<z.ZodString>;
9960
9955
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9970,6 +9965,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9970
9965
  tokensIn: number;
9971
9966
  tokensOut: number;
9972
9967
  status?: "active" | "completed" | "delegated" | undefined;
9968
+ toolProtocol?: "xml" | "native" | undefined;
9973
9969
  rootTaskId?: string | undefined;
9974
9970
  parentTaskId?: string | undefined;
9975
9971
  cacheWrites?: number | undefined;
@@ -9991,6 +9987,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9991
9987
  tokensIn: number;
9992
9988
  tokensOut: number;
9993
9989
  status?: "active" | "completed" | "delegated" | undefined;
9990
+ toolProtocol?: "xml" | "native" | undefined;
9994
9991
  rootTaskId?: string | undefined;
9995
9992
  parentTaskId?: string | undefined;
9996
9993
  cacheWrites?: number | undefined;
@@ -10357,8 +10354,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10357
10354
  anthropicBaseUrl?: string | undefined;
10358
10355
  anthropicUseAuthToken?: boolean | undefined;
10359
10356
  anthropicBeta1MContext?: boolean | undefined;
10360
- claudeCodePath?: string | undefined;
10361
- claudeCodeMaxOutputTokens?: number | undefined;
10362
10357
  openRouterApiKey?: string | undefined;
10363
10358
  openRouterModelId?: string | undefined;
10364
10359
  openRouterBaseUrl?: string | undefined;
@@ -10387,6 +10382,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10387
10382
  vertexRegion?: string | undefined;
10388
10383
  enableUrlContext?: boolean | undefined;
10389
10384
  enableGrounding?: boolean | undefined;
10385
+ vertex1MContext?: boolean | undefined;
10390
10386
  openAiBaseUrl?: string | undefined;
10391
10387
  openAiApiKey?: string | undefined;
10392
10388
  openAiLegacyFormat?: boolean | undefined;
@@ -10534,6 +10530,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10534
10530
  tokensIn: number;
10535
10531
  tokensOut: number;
10536
10532
  status?: "active" | "completed" | "delegated" | undefined;
10533
+ toolProtocol?: "xml" | "native" | undefined;
10537
10534
  rootTaskId?: string | undefined;
10538
10535
  parentTaskId?: string | undefined;
10539
10536
  cacheWrites?: number | undefined;
@@ -10712,8 +10709,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10712
10709
  anthropicBaseUrl?: string | undefined;
10713
10710
  anthropicUseAuthToken?: boolean | undefined;
10714
10711
  anthropicBeta1MContext?: boolean | undefined;
10715
- claudeCodePath?: string | undefined;
10716
- claudeCodeMaxOutputTokens?: number | undefined;
10717
10712
  openRouterApiKey?: string | undefined;
10718
10713
  openRouterModelId?: string | undefined;
10719
10714
  openRouterBaseUrl?: string | undefined;
@@ -10742,6 +10737,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10742
10737
  vertexRegion?: string | undefined;
10743
10738
  enableUrlContext?: boolean | undefined;
10744
10739
  enableGrounding?: boolean | undefined;
10740
+ vertex1MContext?: boolean | undefined;
10745
10741
  openAiBaseUrl?: string | undefined;
10746
10742
  openAiApiKey?: string | undefined;
10747
10743
  openAiLegacyFormat?: boolean | undefined;
@@ -10889,6 +10885,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10889
10885
  tokensIn: number;
10890
10886
  tokensOut: number;
10891
10887
  status?: "active" | "completed" | "delegated" | undefined;
10888
+ toolProtocol?: "xml" | "native" | undefined;
10892
10889
  rootTaskId?: string | undefined;
10893
10890
  parentTaskId?: string | undefined;
10894
10891
  cacheWrites?: number | undefined;
@@ -11073,8 +11070,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11073
11070
  anthropicBaseUrl?: string | undefined;
11074
11071
  anthropicUseAuthToken?: boolean | undefined;
11075
11072
  anthropicBeta1MContext?: boolean | undefined;
11076
- claudeCodePath?: string | undefined;
11077
- claudeCodeMaxOutputTokens?: number | undefined;
11078
11073
  openRouterApiKey?: string | undefined;
11079
11074
  openRouterModelId?: string | undefined;
11080
11075
  openRouterBaseUrl?: string | undefined;
@@ -11103,6 +11098,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11103
11098
  vertexRegion?: string | undefined;
11104
11099
  enableUrlContext?: boolean | undefined;
11105
11100
  enableGrounding?: boolean | undefined;
11101
+ vertex1MContext?: boolean | undefined;
11106
11102
  openAiBaseUrl?: string | undefined;
11107
11103
  openAiApiKey?: string | undefined;
11108
11104
  openAiLegacyFormat?: boolean | undefined;
@@ -11250,6 +11246,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11250
11246
  tokensIn: number;
11251
11247
  tokensOut: number;
11252
11248
  status?: "active" | "completed" | "delegated" | undefined;
11249
+ toolProtocol?: "xml" | "native" | undefined;
11253
11250
  rootTaskId?: string | undefined;
11254
11251
  parentTaskId?: string | undefined;
11255
11252
  cacheWrites?: number | undefined;
@@ -11433,8 +11430,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11433
11430
  anthropicBaseUrl?: string | undefined;
11434
11431
  anthropicUseAuthToken?: boolean | undefined;
11435
11432
  anthropicBeta1MContext?: boolean | undefined;
11436
- claudeCodePath?: string | undefined;
11437
- claudeCodeMaxOutputTokens?: number | undefined;
11438
11433
  openRouterApiKey?: string | undefined;
11439
11434
  openRouterModelId?: string | undefined;
11440
11435
  openRouterBaseUrl?: string | undefined;
@@ -11463,6 +11458,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11463
11458
  vertexRegion?: string | undefined;
11464
11459
  enableUrlContext?: boolean | undefined;
11465
11460
  enableGrounding?: boolean | undefined;
11461
+ vertex1MContext?: boolean | undefined;
11466
11462
  openAiBaseUrl?: string | undefined;
11467
11463
  openAiApiKey?: string | undefined;
11468
11464
  openAiLegacyFormat?: boolean | undefined;
@@ -11610,6 +11606,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11610
11606
  tokensIn: number;
11611
11607
  tokensOut: number;
11612
11608
  status?: "active" | "completed" | "delegated" | undefined;
11609
+ toolProtocol?: "xml" | "native" | undefined;
11613
11610
  rootTaskId?: string | undefined;
11614
11611
  parentTaskId?: string | undefined;
11615
11612
  cacheWrites?: number | undefined;
@@ -11795,8 +11792,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11795
11792
  anthropicBaseUrl?: string | undefined;
11796
11793
  anthropicUseAuthToken?: boolean | undefined;
11797
11794
  anthropicBeta1MContext?: boolean | undefined;
11798
- claudeCodePath?: string | undefined;
11799
- claudeCodeMaxOutputTokens?: number | undefined;
11800
11795
  openRouterApiKey?: string | undefined;
11801
11796
  openRouterModelId?: string | undefined;
11802
11797
  openRouterBaseUrl?: string | undefined;
@@ -11825,6 +11820,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11825
11820
  vertexRegion?: string | undefined;
11826
11821
  enableUrlContext?: boolean | undefined;
11827
11822
  enableGrounding?: boolean | undefined;
11823
+ vertex1MContext?: boolean | undefined;
11828
11824
  openAiBaseUrl?: string | undefined;
11829
11825
  openAiApiKey?: string | undefined;
11830
11826
  openAiLegacyFormat?: boolean | undefined;
@@ -11972,6 +11968,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11972
11968
  tokensIn: number;
11973
11969
  tokensOut: number;
11974
11970
  status?: "active" | "completed" | "delegated" | undefined;
11971
+ toolProtocol?: "xml" | "native" | undefined;
11975
11972
  rootTaskId?: string | undefined;
11976
11973
  parentTaskId?: string | undefined;
11977
11974
  cacheWrites?: number | undefined;
@@ -12158,8 +12155,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12158
12155
  anthropicBaseUrl?: string | undefined;
12159
12156
  anthropicUseAuthToken?: boolean | undefined;
12160
12157
  anthropicBeta1MContext?: boolean | undefined;
12161
- claudeCodePath?: string | undefined;
12162
- claudeCodeMaxOutputTokens?: number | undefined;
12163
12158
  openRouterApiKey?: string | undefined;
12164
12159
  openRouterModelId?: string | undefined;
12165
12160
  openRouterBaseUrl?: string | undefined;
@@ -12188,6 +12183,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12188
12183
  vertexRegion?: string | undefined;
12189
12184
  enableUrlContext?: boolean | undefined;
12190
12185
  enableGrounding?: boolean | undefined;
12186
+ vertex1MContext?: boolean | undefined;
12191
12187
  openAiBaseUrl?: string | undefined;
12192
12188
  openAiApiKey?: string | undefined;
12193
12189
  openAiLegacyFormat?: boolean | undefined;
@@ -12335,6 +12331,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12335
12331
  tokensIn: number;
12336
12332
  tokensOut: number;
12337
12333
  status?: "active" | "completed" | "delegated" | undefined;
12334
+ toolProtocol?: "xml" | "native" | undefined;
12338
12335
  rootTaskId?: string | undefined;
12339
12336
  parentTaskId?: string | undefined;
12340
12337
  cacheWrites?: number | undefined;
@@ -12830,6 +12827,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12830
12827
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
12831
12828
  vertexProjectId: z.ZodOptional<z.ZodString>;
12832
12829
  vertexRegion: z.ZodOptional<z.ZodString>;
12830
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
12833
12831
  awsAccessKey: z.ZodOptional<z.ZodString>;
12834
12832
  awsSecretKey: z.ZodOptional<z.ZodString>;
12835
12833
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -12852,8 +12850,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12852
12850
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
12853
12851
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
12854
12852
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
12855
- claudeCodePath: z.ZodOptional<z.ZodString>;
12856
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
12857
12853
  apiKey: z.ZodOptional<z.ZodString>;
12858
12854
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
12859
12855
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -12895,6 +12891,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12895
12891
  size: z.ZodOptional<z.ZodNumber>;
12896
12892
  workspace: z.ZodOptional<z.ZodString>;
12897
12893
  mode: z.ZodOptional<z.ZodString>;
12894
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
12898
12895
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
12899
12896
  delegatedToId: z.ZodOptional<z.ZodString>;
12900
12897
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -12910,6 +12907,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12910
12907
  tokensIn: number;
12911
12908
  tokensOut: number;
12912
12909
  status?: "active" | "completed" | "delegated" | undefined;
12910
+ toolProtocol?: "xml" | "native" | undefined;
12913
12911
  rootTaskId?: string | undefined;
12914
12912
  parentTaskId?: string | undefined;
12915
12913
  cacheWrites?: number | undefined;
@@ -12931,6 +12929,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12931
12929
  tokensIn: number;
12932
12930
  tokensOut: number;
12933
12931
  status?: "active" | "completed" | "delegated" | undefined;
12932
+ toolProtocol?: "xml" | "native" | undefined;
12934
12933
  rootTaskId?: string | undefined;
12935
12934
  parentTaskId?: string | undefined;
12936
12935
  cacheWrites?: number | undefined;
@@ -13297,8 +13296,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13297
13296
  anthropicBaseUrl?: string | undefined;
13298
13297
  anthropicUseAuthToken?: boolean | undefined;
13299
13298
  anthropicBeta1MContext?: boolean | undefined;
13300
- claudeCodePath?: string | undefined;
13301
- claudeCodeMaxOutputTokens?: number | undefined;
13302
13299
  openRouterApiKey?: string | undefined;
13303
13300
  openRouterModelId?: string | undefined;
13304
13301
  openRouterBaseUrl?: string | undefined;
@@ -13327,6 +13324,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13327
13324
  vertexRegion?: string | undefined;
13328
13325
  enableUrlContext?: boolean | undefined;
13329
13326
  enableGrounding?: boolean | undefined;
13327
+ vertex1MContext?: boolean | undefined;
13330
13328
  openAiBaseUrl?: string | undefined;
13331
13329
  openAiApiKey?: string | undefined;
13332
13330
  openAiLegacyFormat?: boolean | undefined;
@@ -13474,6 +13472,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13474
13472
  tokensIn: number;
13475
13473
  tokensOut: number;
13476
13474
  status?: "active" | "completed" | "delegated" | undefined;
13475
+ toolProtocol?: "xml" | "native" | undefined;
13477
13476
  rootTaskId?: string | undefined;
13478
13477
  parentTaskId?: string | undefined;
13479
13478
  cacheWrites?: number | undefined;
@@ -13652,8 +13651,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13652
13651
  anthropicBaseUrl?: string | undefined;
13653
13652
  anthropicUseAuthToken?: boolean | undefined;
13654
13653
  anthropicBeta1MContext?: boolean | undefined;
13655
- claudeCodePath?: string | undefined;
13656
- claudeCodeMaxOutputTokens?: number | undefined;
13657
13654
  openRouterApiKey?: string | undefined;
13658
13655
  openRouterModelId?: string | undefined;
13659
13656
  openRouterBaseUrl?: string | undefined;
@@ -13682,6 +13679,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13682
13679
  vertexRegion?: string | undefined;
13683
13680
  enableUrlContext?: boolean | undefined;
13684
13681
  enableGrounding?: boolean | undefined;
13682
+ vertex1MContext?: boolean | undefined;
13685
13683
  openAiBaseUrl?: string | undefined;
13686
13684
  openAiApiKey?: string | undefined;
13687
13685
  openAiLegacyFormat?: boolean | undefined;
@@ -13829,6 +13827,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13829
13827
  tokensIn: number;
13830
13828
  tokensOut: number;
13831
13829
  status?: "active" | "completed" | "delegated" | undefined;
13830
+ toolProtocol?: "xml" | "native" | undefined;
13832
13831
  rootTaskId?: string | undefined;
13833
13832
  parentTaskId?: string | undefined;
13834
13833
  cacheWrites?: number | undefined;
@@ -14013,8 +14012,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14013
14012
  anthropicBaseUrl?: string | undefined;
14014
14013
  anthropicUseAuthToken?: boolean | undefined;
14015
14014
  anthropicBeta1MContext?: boolean | undefined;
14016
- claudeCodePath?: string | undefined;
14017
- claudeCodeMaxOutputTokens?: number | undefined;
14018
14015
  openRouterApiKey?: string | undefined;
14019
14016
  openRouterModelId?: string | undefined;
14020
14017
  openRouterBaseUrl?: string | undefined;
@@ -14043,6 +14040,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14043
14040
  vertexRegion?: string | undefined;
14044
14041
  enableUrlContext?: boolean | undefined;
14045
14042
  enableGrounding?: boolean | undefined;
14043
+ vertex1MContext?: boolean | undefined;
14046
14044
  openAiBaseUrl?: string | undefined;
14047
14045
  openAiApiKey?: string | undefined;
14048
14046
  openAiLegacyFormat?: boolean | undefined;
@@ -14190,6 +14188,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14190
14188
  tokensIn: number;
14191
14189
  tokensOut: number;
14192
14190
  status?: "active" | "completed" | "delegated" | undefined;
14191
+ toolProtocol?: "xml" | "native" | undefined;
14193
14192
  rootTaskId?: string | undefined;
14194
14193
  parentTaskId?: string | undefined;
14195
14194
  cacheWrites?: number | undefined;
@@ -14373,8 +14372,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14373
14372
  anthropicBaseUrl?: string | undefined;
14374
14373
  anthropicUseAuthToken?: boolean | undefined;
14375
14374
  anthropicBeta1MContext?: boolean | undefined;
14376
- claudeCodePath?: string | undefined;
14377
- claudeCodeMaxOutputTokens?: number | undefined;
14378
14375
  openRouterApiKey?: string | undefined;
14379
14376
  openRouterModelId?: string | undefined;
14380
14377
  openRouterBaseUrl?: string | undefined;
@@ -14403,6 +14400,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14403
14400
  vertexRegion?: string | undefined;
14404
14401
  enableUrlContext?: boolean | undefined;
14405
14402
  enableGrounding?: boolean | undefined;
14403
+ vertex1MContext?: boolean | undefined;
14406
14404
  openAiBaseUrl?: string | undefined;
14407
14405
  openAiApiKey?: string | undefined;
14408
14406
  openAiLegacyFormat?: boolean | undefined;
@@ -14550,6 +14548,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14550
14548
  tokensIn: number;
14551
14549
  tokensOut: number;
14552
14550
  status?: "active" | "completed" | "delegated" | undefined;
14551
+ toolProtocol?: "xml" | "native" | undefined;
14553
14552
  rootTaskId?: string | undefined;
14554
14553
  parentTaskId?: string | undefined;
14555
14554
  cacheWrites?: number | undefined;
@@ -14735,8 +14734,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14735
14734
  anthropicBaseUrl?: string | undefined;
14736
14735
  anthropicUseAuthToken?: boolean | undefined;
14737
14736
  anthropicBeta1MContext?: boolean | undefined;
14738
- claudeCodePath?: string | undefined;
14739
- claudeCodeMaxOutputTokens?: number | undefined;
14740
14737
  openRouterApiKey?: string | undefined;
14741
14738
  openRouterModelId?: string | undefined;
14742
14739
  openRouterBaseUrl?: string | undefined;
@@ -14765,6 +14762,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14765
14762
  vertexRegion?: string | undefined;
14766
14763
  enableUrlContext?: boolean | undefined;
14767
14764
  enableGrounding?: boolean | undefined;
14765
+ vertex1MContext?: boolean | undefined;
14768
14766
  openAiBaseUrl?: string | undefined;
14769
14767
  openAiApiKey?: string | undefined;
14770
14768
  openAiLegacyFormat?: boolean | undefined;
@@ -14912,6 +14910,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14912
14910
  tokensIn: number;
14913
14911
  tokensOut: number;
14914
14912
  status?: "active" | "completed" | "delegated" | undefined;
14913
+ toolProtocol?: "xml" | "native" | undefined;
14915
14914
  rootTaskId?: string | undefined;
14916
14915
  parentTaskId?: string | undefined;
14917
14916
  cacheWrites?: number | undefined;
@@ -15098,8 +15097,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15098
15097
  anthropicBaseUrl?: string | undefined;
15099
15098
  anthropicUseAuthToken?: boolean | undefined;
15100
15099
  anthropicBeta1MContext?: boolean | undefined;
15101
- claudeCodePath?: string | undefined;
15102
- claudeCodeMaxOutputTokens?: number | undefined;
15103
15100
  openRouterApiKey?: string | undefined;
15104
15101
  openRouterModelId?: string | undefined;
15105
15102
  openRouterBaseUrl?: string | undefined;
@@ -15128,6 +15125,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15128
15125
  vertexRegion?: string | undefined;
15129
15126
  enableUrlContext?: boolean | undefined;
15130
15127
  enableGrounding?: boolean | undefined;
15128
+ vertex1MContext?: boolean | undefined;
15131
15129
  openAiBaseUrl?: string | undefined;
15132
15130
  openAiApiKey?: string | undefined;
15133
15131
  openAiLegacyFormat?: boolean | undefined;
@@ -15275,6 +15273,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15275
15273
  tokensIn: number;
15276
15274
  tokensOut: number;
15277
15275
  status?: "active" | "completed" | "delegated" | undefined;
15276
+ toolProtocol?: "xml" | "native" | undefined;
15278
15277
  rootTaskId?: string | undefined;
15279
15278
  parentTaskId?: string | undefined;
15280
15279
  cacheWrites?: number | undefined;
@@ -15515,8 +15514,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15515
15514
  anthropicBaseUrl?: string | undefined;
15516
15515
  anthropicUseAuthToken?: boolean | undefined;
15517
15516
  anthropicBeta1MContext?: boolean | undefined;
15518
- claudeCodePath?: string | undefined;
15519
- claudeCodeMaxOutputTokens?: number | undefined;
15520
15517
  openRouterApiKey?: string | undefined;
15521
15518
  openRouterModelId?: string | undefined;
15522
15519
  openRouterBaseUrl?: string | undefined;
@@ -15545,6 +15542,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15545
15542
  vertexRegion?: string | undefined;
15546
15543
  enableUrlContext?: boolean | undefined;
15547
15544
  enableGrounding?: boolean | undefined;
15545
+ vertex1MContext?: boolean | undefined;
15548
15546
  openAiBaseUrl?: string | undefined;
15549
15547
  openAiApiKey?: string | undefined;
15550
15548
  openAiLegacyFormat?: boolean | undefined;
@@ -15692,6 +15690,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15692
15690
  tokensIn: number;
15693
15691
  tokensOut: number;
15694
15692
  status?: "active" | "completed" | "delegated" | undefined;
15693
+ toolProtocol?: "xml" | "native" | undefined;
15695
15694
  rootTaskId?: string | undefined;
15696
15695
  parentTaskId?: string | undefined;
15697
15696
  cacheWrites?: number | undefined;
@@ -15898,8 +15897,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15898
15897
  anthropicBaseUrl?: string | undefined;
15899
15898
  anthropicUseAuthToken?: boolean | undefined;
15900
15899
  anthropicBeta1MContext?: boolean | undefined;
15901
- claudeCodePath?: string | undefined;
15902
- claudeCodeMaxOutputTokens?: number | undefined;
15903
15900
  openRouterApiKey?: string | undefined;
15904
15901
  openRouterModelId?: string | undefined;
15905
15902
  openRouterBaseUrl?: string | undefined;
@@ -15928,6 +15925,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15928
15925
  vertexRegion?: string | undefined;
15929
15926
  enableUrlContext?: boolean | undefined;
15930
15927
  enableGrounding?: boolean | undefined;
15928
+ vertex1MContext?: boolean | undefined;
15931
15929
  openAiBaseUrl?: string | undefined;
15932
15930
  openAiApiKey?: string | undefined;
15933
15931
  openAiLegacyFormat?: boolean | undefined;
@@ -16075,6 +16073,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16075
16073
  tokensIn: number;
16076
16074
  tokensOut: number;
16077
16075
  status?: "active" | "completed" | "delegated" | undefined;
16076
+ toolProtocol?: "xml" | "native" | undefined;
16078
16077
  rootTaskId?: string | undefined;
16079
16078
  parentTaskId?: string | undefined;
16080
16079
  cacheWrites?: number | undefined;
@@ -16297,7 +16296,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16297
16296
  contextTokens: number;
16298
16297
  totalCacheWrites?: number | undefined;
16299
16298
  totalCacheReads?: number | undefined;
16300
- }>, 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<{
16299
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
16301
16300
  attempts: z.ZodNumber;
16302
16301
  failures: z.ZodNumber;
16303
16302
  }, "strip", z.ZodTypeAny, {
@@ -16323,7 +16322,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16323
16322
  contextTokens: number;
16324
16323
  totalCacheWrites?: number | undefined;
16325
16324
  totalCacheReads?: number | undefined;
16326
- }, 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", {
16325
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16327
16326
  attempts: number;
16328
16327
  failures: number;
16329
16328
  }>>, {
@@ -16339,7 +16338,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16339
16338
  contextTokens: number;
16340
16339
  totalCacheWrites?: number | undefined;
16341
16340
  totalCacheReads?: number | undefined;
16342
- }, 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", {
16341
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16343
16342
  attempts: number;
16344
16343
  failures: number;
16345
16344
  }>>, {
@@ -16805,15 +16804,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16805
16804
  taskId?: number | undefined;
16806
16805
  }>, z.ZodObject<{
16807
16806
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
16808
- 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>;
16807
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
16809
16808
  taskId: z.ZodOptional<z.ZodNumber>;
16810
16809
  }, "strip", z.ZodTypeAny, {
16811
16810
  eventName: RooCodeEventName.TaskToolFailed;
16812
- 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];
16811
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
16813
16812
  taskId?: number | undefined;
16814
16813
  }, {
16815
16814
  eventName: RooCodeEventName.TaskToolFailed;
16816
- 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];
16815
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
16817
16816
  taskId?: number | undefined;
16818
16817
  }>, z.ZodObject<{
16819
16818
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -16838,7 +16837,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16838
16837
  contextTokens: number;
16839
16838
  totalCacheWrites?: number | undefined;
16840
16839
  totalCacheReads?: number | undefined;
16841
- }>, 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<{
16840
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
16842
16841
  attempts: z.ZodNumber;
16843
16842
  failures: z.ZodNumber;
16844
16843
  }, "strip", z.ZodTypeAny, {
@@ -16858,7 +16857,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16858
16857
  contextTokens: number;
16859
16858
  totalCacheWrites?: number | undefined;
16860
16859
  totalCacheReads?: number | undefined;
16861
- }, 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", {
16860
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16862
16861
  attempts: number;
16863
16862
  failures: number;
16864
16863
  }>>];
@@ -16872,7 +16871,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16872
16871
  contextTokens: number;
16873
16872
  totalCacheWrites?: number | undefined;
16874
16873
  totalCacheReads?: number | undefined;
16875
- }, 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", {
16874
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16876
16875
  attempts: number;
16877
16876
  failures: number;
16878
16877
  }>>];
@@ -16921,7 +16920,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16921
16920
  contextTokens: number;
16922
16921
  totalCacheWrites?: number | undefined;
16923
16922
  totalCacheReads?: number | undefined;
16924
- }, 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", {
16923
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
16925
16924
  attempts: number;
16926
16925
  failures: number;
16927
16926
  }>>, {
@@ -17029,7 +17028,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17029
17028
  taskId?: number | undefined;
17030
17029
  } | {
17031
17030
  eventName: RooCodeEventName.TaskToolFailed;
17032
- 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];
17031
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
17033
17032
  taskId?: number | undefined;
17034
17033
  } | {
17035
17034
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -17040,7 +17039,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17040
17039
  contextTokens: number;
17041
17040
  totalCacheWrites?: number | undefined;
17042
17041
  totalCacheReads?: number | undefined;
17043
- }, 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", {
17042
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17044
17043
  attempts: number;
17045
17044
  failures: number;
17046
17045
  }>>];
@@ -17075,7 +17074,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17075
17074
  contextTokens: number;
17076
17075
  totalCacheWrites?: number | undefined;
17077
17076
  totalCacheReads?: number | undefined;
17078
- }, 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", {
17077
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17079
17078
  attempts: number;
17080
17079
  failures: number;
17081
17080
  }>>, {
@@ -17183,7 +17182,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17183
17182
  taskId?: number | undefined;
17184
17183
  } | {
17185
17184
  eventName: RooCodeEventName.TaskToolFailed;
17186
- 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];
17185
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
17187
17186
  taskId?: number | undefined;
17188
17187
  } | {
17189
17188
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -17194,7 +17193,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17194
17193
  contextTokens: number;
17195
17194
  totalCacheWrites?: number | undefined;
17196
17195
  totalCacheReads?: number | undefined;
17197
- }, 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", {
17196
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
17198
17197
  attempts: number;
17199
17198
  failures: number;
17200
17199
  }>>];
@@ -17739,13 +17738,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
17739
17738
  /**
17740
17739
  * ToolName
17741
17740
  */
17742
- 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"];
17743
- 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"]>;
17741
+ declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"];
17742
+ declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>;
17744
17743
  type ToolName = z.infer<typeof toolNamesSchema>;
17745
17744
  /**
17746
17745
  * ToolUsage
17747
17746
  */
17748
- 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<{
17747
+ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
17749
17748
  attempts: z.ZodNumber;
17750
17749
  failures: z.ZodNumber;
17751
17750
  }, "strip", z.ZodTypeAny, {
@@ -17768,6 +17767,15 @@ declare const TOOL_PROTOCOL: {
17768
17767
  * Derived from TOOL_PROTOCOL constants to ensure type safety
17769
17768
  */
17770
17769
  type ToolProtocol = (typeof TOOL_PROTOCOL)[keyof typeof TOOL_PROTOCOL];
17770
+ /**
17771
+ * Default model info properties for native tool support.
17772
+ * Used to merge with cached model info that may lack these fields.
17773
+ * Router providers (Requesty, Unbound, LiteLLM) assume all models support native tools.
17774
+ */
17775
+ declare const NATIVE_TOOL_DEFAULTS: {
17776
+ readonly supportsNativeTools: true;
17777
+ readonly defaultToolProtocol: "native";
17778
+ };
17771
17779
  /**
17772
17780
  * Checks if the protocol is native (non-XML).
17773
17781
  *
@@ -18981,10 +18989,20 @@ declare const EXPECTED_API_ERROR_CODES: Set<number>;
18981
18989
  */
18982
18990
  declare function getErrorStatusCode(error: unknown): number | undefined;
18983
18991
  /**
18984
- * Extracts the most descriptive error message from an OpenAI SDK error.
18992
+ * Extracts a message from a JSON payload embedded in an error string.
18993
+ * Handles cases like "503 {"error":{"message":"actual error message"}}"
18994
+ * or just '{"error":{"message":"actual error message"}}'
18995
+ *
18996
+ * @param message - The message string that may contain JSON
18997
+ * @returns The extracted message from the JSON payload, or undefined if not found
18998
+ */
18999
+ declare function extractMessageFromJsonPayload(message: string): string | undefined;
19000
+ /**
19001
+ * Extracts the most descriptive error message from an error object.
18985
19002
  * Prioritizes nested metadata (upstream provider errors) over the standard message.
19003
+ * Also handles JSON payloads embedded in error messages.
18986
19004
  * @param error - The error to extract message from
18987
- * @returns The best available error message, or undefined if not an OpenAI SDK error
19005
+ * @returns The best available error message, or undefined if not extractable
18988
19006
  */
18989
19007
  declare function getErrorMessage(error: unknown): string | undefined;
18990
19008
  /**
@@ -19016,6 +19034,34 @@ declare function isApiProviderError(error: unknown): error is ApiProviderError;
19016
19034
  * Returns the structured properties that can be merged with additionalProperties.
19017
19035
  */
19018
19036
  declare function extractApiProviderErrorProperties(error: ApiProviderError): Record<string, unknown>;
19037
+ /**
19038
+ * Reason why the consecutive mistake limit was reached.
19039
+ */
19040
+ type ConsecutiveMistakeReason = "no_tools_used" | "tool_repetition" | "unknown";
19041
+ /**
19042
+ * Error class for "Roo is having trouble" consecutive mistake scenarios.
19043
+ * Triggered when the task reaches the configured consecutive mistake limit.
19044
+ * Used for structured exception tracking via PostHog.
19045
+ */
19046
+ declare class ConsecutiveMistakeError extends Error {
19047
+ readonly taskId: string;
19048
+ readonly consecutiveMistakeCount: number;
19049
+ readonly consecutiveMistakeLimit: number;
19050
+ readonly reason: ConsecutiveMistakeReason;
19051
+ readonly provider?: string | undefined;
19052
+ readonly modelId?: string | undefined;
19053
+ constructor(message: string, taskId: string, consecutiveMistakeCount: number, consecutiveMistakeLimit: number, reason?: ConsecutiveMistakeReason, provider?: string | undefined, modelId?: string | undefined);
19054
+ }
19055
+ /**
19056
+ * Type guard to check if an error is a ConsecutiveMistakeError.
19057
+ * Used by telemetry to automatically extract structured properties.
19058
+ */
19059
+ declare function isConsecutiveMistakeError(error: unknown): error is ConsecutiveMistakeError;
19060
+ /**
19061
+ * Extracts properties from a ConsecutiveMistakeError for telemetry.
19062
+ * Returns the structured properties that can be merged with additionalProperties.
19063
+ */
19064
+ declare function extractConsecutiveMistakeErrorProperties(error: ConsecutiveMistakeError): Record<string, unknown>;
19019
19065
 
19020
19066
  /**
19021
19067
  * TodoStatus
@@ -19303,7 +19349,7 @@ type OrganizationDefaultSettings = z.infer<typeof organizationDefaultSettingsSch
19303
19349
  /**
19304
19350
  * WorkspaceTaskVisibility
19305
19351
  */
19306
- declare const workspaceTaskVisibilitySchema: z.ZodEnum<["all", "list-only", "full-lockdown"]>;
19352
+ declare const workspaceTaskVisibilitySchema: z.ZodEnum<["all", "list-only", "admins-and-creator", "creator", "full-lockdown"]>;
19307
19353
  type WorkspaceTaskVisibility = z.infer<typeof workspaceTaskVisibilitySchema>;
19308
19354
  /**
19309
19355
  * OrganizationCloudSettings
@@ -19314,21 +19360,21 @@ declare const organizationCloudSettingsSchema: z.ZodObject<{
19314
19360
  allowPublicTaskSharing: z.ZodOptional<z.ZodBoolean>;
19315
19361
  taskShareExpirationDays: z.ZodOptional<z.ZodNumber>;
19316
19362
  allowMembersViewAllTasks: z.ZodOptional<z.ZodBoolean>;
19317
- workspaceTaskVisibility: z.ZodOptional<z.ZodEnum<["all", "list-only", "full-lockdown"]>>;
19363
+ workspaceTaskVisibility: z.ZodOptional<z.ZodEnum<["all", "list-only", "admins-and-creator", "creator", "full-lockdown"]>>;
19318
19364
  }, "strip", z.ZodTypeAny, {
19319
19365
  recordTaskMessages?: boolean | undefined;
19320
19366
  enableTaskSharing?: boolean | undefined;
19321
19367
  allowPublicTaskSharing?: boolean | undefined;
19322
19368
  taskShareExpirationDays?: number | undefined;
19323
19369
  allowMembersViewAllTasks?: boolean | undefined;
19324
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
19370
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
19325
19371
  }, {
19326
19372
  recordTaskMessages?: boolean | undefined;
19327
19373
  enableTaskSharing?: boolean | undefined;
19328
19374
  allowPublicTaskSharing?: boolean | undefined;
19329
19375
  taskShareExpirationDays?: number | undefined;
19330
19376
  allowMembersViewAllTasks?: boolean | undefined;
19331
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
19377
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
19332
19378
  }>;
19333
19379
  type OrganizationCloudSettings = z.infer<typeof organizationCloudSettingsSchema>;
19334
19380
  /**
@@ -19353,21 +19399,21 @@ declare const organizationSettingsSchema: z.ZodObject<{
19353
19399
  allowPublicTaskSharing: z.ZodOptional<z.ZodBoolean>;
19354
19400
  taskShareExpirationDays: z.ZodOptional<z.ZodNumber>;
19355
19401
  allowMembersViewAllTasks: z.ZodOptional<z.ZodBoolean>;
19356
- workspaceTaskVisibility: z.ZodOptional<z.ZodEnum<["all", "list-only", "full-lockdown"]>>;
19402
+ workspaceTaskVisibility: z.ZodOptional<z.ZodEnum<["all", "list-only", "admins-and-creator", "creator", "full-lockdown"]>>;
19357
19403
  }, "strip", z.ZodTypeAny, {
19358
19404
  recordTaskMessages?: boolean | undefined;
19359
19405
  enableTaskSharing?: boolean | undefined;
19360
19406
  allowPublicTaskSharing?: boolean | undefined;
19361
19407
  taskShareExpirationDays?: number | undefined;
19362
19408
  allowMembersViewAllTasks?: boolean | undefined;
19363
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
19409
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
19364
19410
  }, {
19365
19411
  recordTaskMessages?: boolean | undefined;
19366
19412
  enableTaskSharing?: boolean | undefined;
19367
19413
  allowPublicTaskSharing?: boolean | undefined;
19368
19414
  taskShareExpirationDays?: number | undefined;
19369
19415
  allowMembersViewAllTasks?: boolean | undefined;
19370
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
19416
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
19371
19417
  }>>;
19372
19418
  defaultSettings: z.ZodObject<{
19373
19419
  fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
@@ -19814,6 +19860,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19814
19860
  vertexJsonCredentials: z.ZodOptional<z.ZodString>;
19815
19861
  vertexProjectId: z.ZodOptional<z.ZodString>;
19816
19862
  vertexRegion: z.ZodOptional<z.ZodString>;
19863
+ vertex1MContext: z.ZodOptional<z.ZodBoolean>;
19817
19864
  awsAccessKey: z.ZodOptional<z.ZodString>;
19818
19865
  awsSecretKey: z.ZodOptional<z.ZodString>;
19819
19866
  awsSessionToken: z.ZodOptional<z.ZodString>;
@@ -19836,8 +19883,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19836
19883
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
19837
19884
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
19838
19885
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
19839
- claudeCodePath: z.ZodOptional<z.ZodString>;
19840
- claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
19841
19886
  apiKey: z.ZodOptional<z.ZodString>;
19842
19887
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
19843
19888
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
@@ -19875,8 +19920,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
19875
19920
  anthropicBaseUrl?: string | undefined;
19876
19921
  anthropicUseAuthToken?: boolean | undefined;
19877
19922
  anthropicBeta1MContext?: boolean | undefined;
19878
- claudeCodePath?: string | undefined;
19879
- claudeCodeMaxOutputTokens?: number | undefined;
19880
19923
  openRouterApiKey?: string | undefined;
19881
19924
  openRouterModelId?: string | undefined;
19882
19925
  openRouterBaseUrl?: string | undefined;
@@ -19905,6 +19948,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
19905
19948
  vertexRegion?: string | undefined;
19906
19949
  enableUrlContext?: boolean | undefined;
19907
19950
  enableGrounding?: boolean | undefined;
19951
+ vertex1MContext?: boolean | undefined;
19908
19952
  openAiBaseUrl?: string | undefined;
19909
19953
  openAiApiKey?: string | undefined;
19910
19954
  openAiLegacyFormat?: boolean | undefined;
@@ -20049,8 +20093,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20049
20093
  anthropicBaseUrl?: string | undefined;
20050
20094
  anthropicUseAuthToken?: boolean | undefined;
20051
20095
  anthropicBeta1MContext?: boolean | undefined;
20052
- claudeCodePath?: string | undefined;
20053
- claudeCodeMaxOutputTokens?: number | undefined;
20054
20096
  openRouterApiKey?: string | undefined;
20055
20097
  openRouterModelId?: string | undefined;
20056
20098
  openRouterBaseUrl?: string | undefined;
@@ -20079,6 +20121,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20079
20121
  vertexRegion?: string | undefined;
20080
20122
  enableUrlContext?: boolean | undefined;
20081
20123
  enableGrounding?: boolean | undefined;
20124
+ vertex1MContext?: boolean | undefined;
20082
20125
  openAiBaseUrl?: string | undefined;
20083
20126
  openAiApiKey?: string | undefined;
20084
20127
  openAiLegacyFormat?: boolean | undefined;
@@ -20223,7 +20266,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20223
20266
  allowPublicTaskSharing?: boolean | undefined;
20224
20267
  taskShareExpirationDays?: number | undefined;
20225
20268
  allowMembersViewAllTasks?: boolean | undefined;
20226
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
20269
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
20227
20270
  } | undefined;
20228
20271
  features?: {
20229
20272
  roomoteControlEnabled?: boolean | undefined;
@@ -20287,8 +20330,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20287
20330
  anthropicBaseUrl?: string | undefined;
20288
20331
  anthropicUseAuthToken?: boolean | undefined;
20289
20332
  anthropicBeta1MContext?: boolean | undefined;
20290
- claudeCodePath?: string | undefined;
20291
- claudeCodeMaxOutputTokens?: number | undefined;
20292
20333
  openRouterApiKey?: string | undefined;
20293
20334
  openRouterModelId?: string | undefined;
20294
20335
  openRouterBaseUrl?: string | undefined;
@@ -20317,6 +20358,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20317
20358
  vertexRegion?: string | undefined;
20318
20359
  enableUrlContext?: boolean | undefined;
20319
20360
  enableGrounding?: boolean | undefined;
20361
+ vertex1MContext?: boolean | undefined;
20320
20362
  openAiBaseUrl?: string | undefined;
20321
20363
  openAiApiKey?: string | undefined;
20322
20364
  openAiLegacyFormat?: boolean | undefined;
@@ -20461,7 +20503,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20461
20503
  allowPublicTaskSharing?: boolean | undefined;
20462
20504
  taskShareExpirationDays?: number | undefined;
20463
20505
  allowMembersViewAllTasks?: boolean | undefined;
20464
- workspaceTaskVisibility?: "all" | "list-only" | "full-lockdown" | undefined;
20506
+ workspaceTaskVisibility?: "all" | "list-only" | "admins-and-creator" | "creator" | "full-lockdown" | undefined;
20465
20507
  } | undefined;
20466
20508
  features?: {
20467
20509
  roomoteControlEnabled?: boolean | undefined;
@@ -20525,8 +20567,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
20525
20567
  anthropicBaseUrl?: string | undefined;
20526
20568
  anthropicUseAuthToken?: boolean | undefined;
20527
20569
  anthropicBeta1MContext?: boolean | undefined;
20528
- claudeCodePath?: string | undefined;
20529
- claudeCodeMaxOutputTokens?: number | undefined;
20530
20570
  openRouterApiKey?: string | undefined;
20531
20571
  openRouterModelId?: string | undefined;
20532
20572
  openRouterBaseUrl?: string | undefined;
@@ -20555,6 +20595,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
20555
20595
  vertexRegion?: string | undefined;
20556
20596
  enableUrlContext?: boolean | undefined;
20557
20597
  enableGrounding?: boolean | undefined;
20598
+ vertex1MContext?: boolean | undefined;
20558
20599
  openAiBaseUrl?: string | undefined;
20559
20600
  openAiApiKey?: string | undefined;
20560
20601
  openAiLegacyFormat?: boolean | undefined;
@@ -44244,6 +44285,87 @@ declare const COOKIE_CONSENT_EVENTS: {
44244
44285
  readonly CHANGED: "cookieConsentChanged";
44245
44286
  };
44246
44287
 
44288
+ type CustomToolParametersSchema = ZodType;
44289
+ type SerializedCustomToolParameters = z$1.core.JSONSchema.JSONSchema;
44290
+ /**
44291
+ * Context provided to tool execute functions.
44292
+ */
44293
+ interface CustomToolContext {
44294
+ mode: string;
44295
+ task: TaskLike;
44296
+ }
44297
+ /**
44298
+ * Definition structure for a custom tool.
44299
+ *
44300
+ * Note: This interface uses simple types to avoid TypeScript performance issues
44301
+ * with Zod's complex type inference. For type-safe parameter inference, use
44302
+ * the `defineCustomTool` helper function instead of annotating with this interface.
44303
+ */
44304
+ interface CustomToolDefinition {
44305
+ /**
44306
+ * The name of the tool.
44307
+ * This is used to identify the tool in the prompt and in the tool registry.
44308
+ */
44309
+ name: string;
44310
+ /**
44311
+ * A description of what the tool does.
44312
+ * This is shown to the AI model to help it decide when to use the tool.
44313
+ */
44314
+ description: string;
44315
+ /**
44316
+ * Optional Zod schema defining the tool's parameters.
44317
+ * Use `z.object({})` to define the shape of arguments.
44318
+ */
44319
+ parameters?: CustomToolParametersSchema;
44320
+ /**
44321
+ * The function that executes the tool.
44322
+ *
44323
+ * @param args - The validated arguments
44324
+ * @param context - Execution context with session and message info
44325
+ * @returns A string result to return to the AI
44326
+ */
44327
+ execute: (args: any, context: CustomToolContext) => Promise<string>;
44328
+ }
44329
+ interface SerializedCustomToolDefinition {
44330
+ name: string;
44331
+ description: string;
44332
+ parameters?: SerializedCustomToolParameters;
44333
+ }
44334
+ /**
44335
+ * Type-safe definition structure for a custom tool with inferred parameter types.
44336
+ * Use this with `defineCustomTool` for full type inference.
44337
+ *
44338
+ * @template T - The Zod schema type for parameters
44339
+ */
44340
+ interface TypedCustomToolDefinition<T extends CustomToolParametersSchema> extends Omit<CustomToolDefinition, "execute" | "parameters"> {
44341
+ parameters?: T;
44342
+ execute: (args: z$1.infer<T>, context: CustomToolContext) => Promise<string>;
44343
+ }
44344
+ /**
44345
+ * Helper function to define a custom tool with proper type inference.
44346
+ *
44347
+ * This is optional - you can also just export a plain object that matches
44348
+ * the CustomToolDefinition interface.
44349
+ *
44350
+ * @example
44351
+ * ```ts
44352
+ * import { z, defineCustomTool } from "@roo-code/types"
44353
+ *
44354
+ * export default defineCustomTool({
44355
+ * name: "add_numbers",
44356
+ * description: "Add two numbers",
44357
+ * parameters: z.object({
44358
+ * a: z.number().describe("First number"),
44359
+ * b: z.number().describe("Second number"),
44360
+ * }),
44361
+ * async execute({ a, b }) {
44362
+ * return `The sum is ${a + b}`
44363
+ * }
44364
+ * })
44365
+ * ```
44366
+ */
44367
+ declare function defineCustomTool<T extends CustomToolParametersSchema>(definition: TypedCustomToolDefinition<T>): TypedCustomToolDefinition<T>;
44368
+
44247
44369
  /**
44248
44370
  * ExperimentId
44249
44371
  */
@@ -44358,6 +44480,16 @@ declare const historyItemSchema: z.ZodObject<{
44358
44480
  size: z.ZodOptional<z.ZodNumber>;
44359
44481
  workspace: z.ZodOptional<z.ZodString>;
44360
44482
  mode: z.ZodOptional<z.ZodString>;
44483
+ /**
44484
+ * The tool protocol used by this task. Once a task uses tools with a specific
44485
+ * protocol (XML or Native), it is permanently locked to that protocol.
44486
+ *
44487
+ * - "xml": Tool calls are parsed from XML text (no tool IDs)
44488
+ * - "native": Tool calls come as tool_call chunks with IDs
44489
+ *
44490
+ * This ensures task resumption works correctly even when NTC settings change.
44491
+ */
44492
+ toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
44361
44493
  status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
44362
44494
  delegatedToId: z.ZodOptional<z.ZodString>;
44363
44495
  childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -44373,6 +44505,7 @@ declare const historyItemSchema: z.ZodObject<{
44373
44505
  tokensIn: number;
44374
44506
  tokensOut: number;
44375
44507
  status?: "active" | "completed" | "delegated" | undefined;
44508
+ toolProtocol?: "xml" | "native" | undefined;
44376
44509
  rootTaskId?: string | undefined;
44377
44510
  parentTaskId?: string | undefined;
44378
44511
  cacheWrites?: number | undefined;
@@ -44394,6 +44527,7 @@ declare const historyItemSchema: z.ZodObject<{
44394
44527
  tokensIn: number;
44395
44528
  tokensOut: number;
44396
44529
  status?: "active" | "completed" | "delegated" | undefined;
44530
+ toolProtocol?: "xml" | "native" | undefined;
44397
44531
  rootTaskId?: string | undefined;
44398
44532
  parentTaskId?: string | undefined;
44399
44533
  cacheWrites?: number | undefined;
@@ -44833,8 +44967,8 @@ declare const installMarketplaceItemOptionsSchema: z.ZodObject<{
44833
44967
  target: "global" | "project";
44834
44968
  parameters?: Record<string, any> | undefined;
44835
44969
  }, {
44836
- parameters?: Record<string, any> | undefined;
44837
44970
  target?: "global" | "project" | undefined;
44971
+ parameters?: Record<string, any> | undefined;
44838
44972
  }>;
44839
44973
  type InstallMarketplaceItemOptions = z.infer<typeof installMarketplaceItemOptionsSchema>;
44840
44974
 
@@ -45472,6 +45606,7 @@ declare const anthropicModels: {
45472
45606
  readonly supportsImages: true;
45473
45607
  readonly supportsPromptCache: true;
45474
45608
  readonly supportsNativeTools: true;
45609
+ readonly defaultToolProtocol: "native";
45475
45610
  readonly inputPrice: 3;
45476
45611
  readonly outputPrice: 15;
45477
45612
  readonly cacheWritesPrice: 3.75;
@@ -45491,6 +45626,7 @@ declare const anthropicModels: {
45491
45626
  readonly supportsImages: true;
45492
45627
  readonly supportsPromptCache: true;
45493
45628
  readonly supportsNativeTools: true;
45629
+ readonly defaultToolProtocol: "native";
45494
45630
  readonly inputPrice: 3;
45495
45631
  readonly outputPrice: 15;
45496
45632
  readonly cacheWritesPrice: 3.75;
@@ -45510,6 +45646,7 @@ declare const anthropicModels: {
45510
45646
  readonly supportsImages: true;
45511
45647
  readonly supportsPromptCache: true;
45512
45648
  readonly supportsNativeTools: true;
45649
+ readonly defaultToolProtocol: "native";
45513
45650
  readonly inputPrice: 5;
45514
45651
  readonly outputPrice: 25;
45515
45652
  readonly cacheWritesPrice: 6.25;
@@ -45522,6 +45659,7 @@ declare const anthropicModels: {
45522
45659
  readonly supportsImages: true;
45523
45660
  readonly supportsPromptCache: true;
45524
45661
  readonly supportsNativeTools: true;
45662
+ readonly defaultToolProtocol: "native";
45525
45663
  readonly inputPrice: 15;
45526
45664
  readonly outputPrice: 75;
45527
45665
  readonly cacheWritesPrice: 18.75;
@@ -45534,6 +45672,7 @@ declare const anthropicModels: {
45534
45672
  readonly supportsImages: true;
45535
45673
  readonly supportsPromptCache: true;
45536
45674
  readonly supportsNativeTools: true;
45675
+ readonly defaultToolProtocol: "native";
45537
45676
  readonly inputPrice: 15;
45538
45677
  readonly outputPrice: 75;
45539
45678
  readonly cacheWritesPrice: 18.75;
@@ -45546,6 +45685,7 @@ declare const anthropicModels: {
45546
45685
  readonly supportsImages: true;
45547
45686
  readonly supportsPromptCache: true;
45548
45687
  readonly supportsNativeTools: true;
45688
+ readonly defaultToolProtocol: "native";
45549
45689
  readonly inputPrice: 3;
45550
45690
  readonly outputPrice: 15;
45551
45691
  readonly cacheWritesPrice: 3.75;
@@ -45559,6 +45699,7 @@ declare const anthropicModels: {
45559
45699
  readonly supportsImages: true;
45560
45700
  readonly supportsPromptCache: true;
45561
45701
  readonly supportsNativeTools: true;
45702
+ readonly defaultToolProtocol: "native";
45562
45703
  readonly inputPrice: 3;
45563
45704
  readonly outputPrice: 15;
45564
45705
  readonly cacheWritesPrice: 3.75;
@@ -45570,6 +45711,7 @@ declare const anthropicModels: {
45570
45711
  readonly supportsImages: true;
45571
45712
  readonly supportsPromptCache: true;
45572
45713
  readonly supportsNativeTools: true;
45714
+ readonly defaultToolProtocol: "native";
45573
45715
  readonly inputPrice: 3;
45574
45716
  readonly outputPrice: 15;
45575
45717
  readonly cacheWritesPrice: 3.75;
@@ -45581,6 +45723,7 @@ declare const anthropicModels: {
45581
45723
  readonly supportsImages: false;
45582
45724
  readonly supportsPromptCache: true;
45583
45725
  readonly supportsNativeTools: true;
45726
+ readonly defaultToolProtocol: "native";
45584
45727
  readonly inputPrice: 1;
45585
45728
  readonly outputPrice: 5;
45586
45729
  readonly cacheWritesPrice: 1.25;
@@ -45592,6 +45735,7 @@ declare const anthropicModels: {
45592
45735
  readonly supportsImages: true;
45593
45736
  readonly supportsPromptCache: true;
45594
45737
  readonly supportsNativeTools: true;
45738
+ readonly defaultToolProtocol: "native";
45595
45739
  readonly inputPrice: 15;
45596
45740
  readonly outputPrice: 75;
45597
45741
  readonly cacheWritesPrice: 18.75;
@@ -45603,6 +45747,7 @@ declare const anthropicModels: {
45603
45747
  readonly supportsImages: true;
45604
45748
  readonly supportsPromptCache: true;
45605
45749
  readonly supportsNativeTools: true;
45750
+ readonly defaultToolProtocol: "native";
45606
45751
  readonly inputPrice: 0.25;
45607
45752
  readonly outputPrice: 1.25;
45608
45753
  readonly cacheWritesPrice: 0.3;
@@ -45614,6 +45759,7 @@ declare const anthropicModels: {
45614
45759
  readonly supportsImages: true;
45615
45760
  readonly supportsPromptCache: true;
45616
45761
  readonly supportsNativeTools: true;
45762
+ readonly defaultToolProtocol: "native";
45617
45763
  readonly inputPrice: 1;
45618
45764
  readonly outputPrice: 5;
45619
45765
  readonly cacheWritesPrice: 1.25;
@@ -45766,6 +45912,7 @@ declare const bedrockModels: {
45766
45912
  readonly supportsPromptCache: true;
45767
45913
  readonly supportsReasoningBudget: true;
45768
45914
  readonly supportsNativeTools: true;
45915
+ readonly defaultToolProtocol: "native";
45769
45916
  readonly inputPrice: 3;
45770
45917
  readonly outputPrice: 15;
45771
45918
  readonly cacheWritesPrice: 3.75;
@@ -45850,6 +45997,7 @@ declare const bedrockModels: {
45850
45997
  readonly supportsPromptCache: true;
45851
45998
  readonly supportsReasoningBudget: true;
45852
45999
  readonly supportsNativeTools: true;
46000
+ readonly defaultToolProtocol: "native";
45853
46001
  readonly inputPrice: 3;
45854
46002
  readonly outputPrice: 15;
45855
46003
  readonly cacheWritesPrice: 3.75;
@@ -45865,6 +46013,7 @@ declare const bedrockModels: {
45865
46013
  readonly supportsPromptCache: true;
45866
46014
  readonly supportsReasoningBudget: true;
45867
46015
  readonly supportsNativeTools: true;
46016
+ readonly defaultToolProtocol: "native";
45868
46017
  readonly inputPrice: 15;
45869
46018
  readonly outputPrice: 75;
45870
46019
  readonly cacheWritesPrice: 18.75;
@@ -45880,6 +46029,7 @@ declare const bedrockModels: {
45880
46029
  readonly supportsPromptCache: true;
45881
46030
  readonly supportsReasoningBudget: true;
45882
46031
  readonly supportsNativeTools: true;
46032
+ readonly defaultToolProtocol: "native";
45883
46033
  readonly inputPrice: 5;
45884
46034
  readonly outputPrice: 25;
45885
46035
  readonly cacheWritesPrice: 6.25;
@@ -45895,6 +46045,7 @@ declare const bedrockModels: {
45895
46045
  readonly supportsPromptCache: true;
45896
46046
  readonly supportsReasoningBudget: true;
45897
46047
  readonly supportsNativeTools: true;
46048
+ readonly defaultToolProtocol: "native";
45898
46049
  readonly inputPrice: 15;
45899
46050
  readonly outputPrice: 75;
45900
46051
  readonly cacheWritesPrice: 18.75;
@@ -45910,6 +46061,7 @@ declare const bedrockModels: {
45910
46061
  readonly supportsPromptCache: true;
45911
46062
  readonly supportsReasoningBudget: true;
45912
46063
  readonly supportsNativeTools: true;
46064
+ readonly defaultToolProtocol: "native";
45913
46065
  readonly inputPrice: 3;
45914
46066
  readonly outputPrice: 15;
45915
46067
  readonly cacheWritesPrice: 3.75;
@@ -45924,6 +46076,7 @@ declare const bedrockModels: {
45924
46076
  readonly supportsImages: true;
45925
46077
  readonly supportsPromptCache: true;
45926
46078
  readonly supportsNativeTools: true;
46079
+ readonly defaultToolProtocol: "native";
45927
46080
  readonly inputPrice: 3;
45928
46081
  readonly outputPrice: 15;
45929
46082
  readonly cacheWritesPrice: 3.75;
@@ -45938,6 +46091,7 @@ declare const bedrockModels: {
45938
46091
  readonly supportsImages: false;
45939
46092
  readonly supportsPromptCache: true;
45940
46093
  readonly supportsNativeTools: true;
46094
+ readonly defaultToolProtocol: "native";
45941
46095
  readonly inputPrice: 0.8;
45942
46096
  readonly outputPrice: 4;
45943
46097
  readonly cacheWritesPrice: 1;
@@ -45953,6 +46107,7 @@ declare const bedrockModels: {
45953
46107
  readonly supportsPromptCache: true;
45954
46108
  readonly supportsReasoningBudget: true;
45955
46109
  readonly supportsNativeTools: true;
46110
+ readonly defaultToolProtocol: "native";
45956
46111
  readonly inputPrice: 1;
45957
46112
  readonly outputPrice: 5;
45958
46113
  readonly cacheWritesPrice: 1.25;
@@ -45967,6 +46122,7 @@ declare const bedrockModels: {
45967
46122
  readonly supportsImages: true;
45968
46123
  readonly supportsPromptCache: false;
45969
46124
  readonly supportsNativeTools: true;
46125
+ readonly defaultToolProtocol: "native";
45970
46126
  readonly inputPrice: 3;
45971
46127
  readonly outputPrice: 15;
45972
46128
  };
@@ -45976,6 +46132,7 @@ declare const bedrockModels: {
45976
46132
  readonly supportsImages: true;
45977
46133
  readonly supportsPromptCache: false;
45978
46134
  readonly supportsNativeTools: true;
46135
+ readonly defaultToolProtocol: "native";
45979
46136
  readonly inputPrice: 15;
45980
46137
  readonly outputPrice: 75;
45981
46138
  };
@@ -45985,6 +46142,7 @@ declare const bedrockModels: {
45985
46142
  readonly supportsImages: true;
45986
46143
  readonly supportsPromptCache: false;
45987
46144
  readonly supportsNativeTools: true;
46145
+ readonly defaultToolProtocol: "native";
45988
46146
  readonly inputPrice: 3;
45989
46147
  readonly outputPrice: 15;
45990
46148
  };
@@ -45994,6 +46152,7 @@ declare const bedrockModels: {
45994
46152
  readonly supportsImages: true;
45995
46153
  readonly supportsPromptCache: false;
45996
46154
  readonly supportsNativeTools: true;
46155
+ readonly defaultToolProtocol: "native";
45997
46156
  readonly inputPrice: 0.25;
45998
46157
  readonly outputPrice: 1.25;
45999
46158
  };
@@ -46003,6 +46162,7 @@ declare const bedrockModels: {
46003
46162
  readonly supportsImages: false;
46004
46163
  readonly supportsPromptCache: false;
46005
46164
  readonly supportsNativeTools: true;
46165
+ readonly defaultToolProtocol: "native";
46006
46166
  readonly inputPrice: 8;
46007
46167
  readonly outputPrice: 24;
46008
46168
  readonly description: "Claude 2.1";
@@ -46013,6 +46173,7 @@ declare const bedrockModels: {
46013
46173
  readonly supportsImages: false;
46014
46174
  readonly supportsPromptCache: false;
46015
46175
  readonly supportsNativeTools: true;
46176
+ readonly defaultToolProtocol: "native";
46016
46177
  readonly inputPrice: 8;
46017
46178
  readonly outputPrice: 24;
46018
46179
  readonly description: "Claude 2.0";
@@ -46023,6 +46184,7 @@ declare const bedrockModels: {
46023
46184
  readonly supportsImages: false;
46024
46185
  readonly supportsPromptCache: false;
46025
46186
  readonly supportsNativeTools: true;
46187
+ readonly defaultToolProtocol: "native";
46026
46188
  readonly inputPrice: 0.8;
46027
46189
  readonly outputPrice: 2.4;
46028
46190
  readonly description: "Claude Instant";
@@ -46274,6 +46436,7 @@ declare const cerebrasModels: {
46274
46436
  readonly supportsImages: false;
46275
46437
  readonly supportsPromptCache: false;
46276
46438
  readonly supportsNativeTools: true;
46439
+ readonly defaultToolProtocol: "native";
46277
46440
  readonly inputPrice: 0;
46278
46441
  readonly outputPrice: 0;
46279
46442
  readonly description: "Highly intelligent general purpose model with up to 1,000 tokens/s";
@@ -46284,6 +46447,7 @@ declare const cerebrasModels: {
46284
46447
  readonly supportsImages: false;
46285
46448
  readonly supportsPromptCache: false;
46286
46449
  readonly supportsNativeTools: true;
46450
+ readonly defaultToolProtocol: "native";
46287
46451
  readonly inputPrice: 0;
46288
46452
  readonly outputPrice: 0;
46289
46453
  readonly description: "Intelligent model with ~1400 tokens/s";
@@ -46294,6 +46458,7 @@ declare const cerebrasModels: {
46294
46458
  readonly supportsImages: false;
46295
46459
  readonly supportsPromptCache: false;
46296
46460
  readonly supportsNativeTools: true;
46461
+ readonly defaultToolProtocol: "native";
46297
46462
  readonly inputPrice: 0;
46298
46463
  readonly outputPrice: 0;
46299
46464
  readonly description: "Powerful model with ~2600 tokens/s";
@@ -46304,6 +46469,7 @@ declare const cerebrasModels: {
46304
46469
  readonly supportsImages: false;
46305
46470
  readonly supportsPromptCache: false;
46306
46471
  readonly supportsNativeTools: true;
46472
+ readonly defaultToolProtocol: "native";
46307
46473
  readonly inputPrice: 0;
46308
46474
  readonly outputPrice: 0;
46309
46475
  readonly description: "SOTA coding performance with ~2500 tokens/s";
@@ -46314,6 +46480,7 @@ declare const cerebrasModels: {
46314
46480
  readonly supportsImages: false;
46315
46481
  readonly supportsPromptCache: false;
46316
46482
  readonly supportsNativeTools: true;
46483
+ readonly defaultToolProtocol: "native";
46317
46484
  readonly inputPrice: 0;
46318
46485
  readonly outputPrice: 0;
46319
46486
  readonly description: "OpenAI GPT OSS model with ~2800 tokens/s\n\n• 64K context window\n• Excels at efficient reasoning across science, math, and coding";
@@ -46328,6 +46495,8 @@ declare const chutesModels: {
46328
46495
  readonly contextWindow: 163840;
46329
46496
  readonly supportsImages: false;
46330
46497
  readonly supportsPromptCache: false;
46498
+ readonly supportsNativeTools: true;
46499
+ readonly defaultToolProtocol: "native";
46331
46500
  readonly inputPrice: 0;
46332
46501
  readonly outputPrice: 0;
46333
46502
  readonly description: "DeepSeek R1 0528 model.";
@@ -46337,6 +46506,8 @@ declare const chutesModels: {
46337
46506
  readonly contextWindow: 163840;
46338
46507
  readonly supportsImages: false;
46339
46508
  readonly supportsPromptCache: false;
46509
+ readonly supportsNativeTools: true;
46510
+ readonly defaultToolProtocol: "native";
46340
46511
  readonly inputPrice: 0;
46341
46512
  readonly outputPrice: 0;
46342
46513
  readonly description: "DeepSeek R1 model.";
@@ -46346,6 +46517,8 @@ declare const chutesModels: {
46346
46517
  readonly contextWindow: 163840;
46347
46518
  readonly supportsImages: false;
46348
46519
  readonly supportsPromptCache: false;
46520
+ readonly supportsNativeTools: true;
46521
+ readonly defaultToolProtocol: "native";
46349
46522
  readonly inputPrice: 0;
46350
46523
  readonly outputPrice: 0;
46351
46524
  readonly description: "DeepSeek V3 model.";
@@ -46355,6 +46528,8 @@ declare const chutesModels: {
46355
46528
  readonly contextWindow: 163840;
46356
46529
  readonly supportsImages: false;
46357
46530
  readonly supportsPromptCache: false;
46531
+ readonly supportsNativeTools: true;
46532
+ readonly defaultToolProtocol: "native";
46358
46533
  readonly inputPrice: 0;
46359
46534
  readonly outputPrice: 0;
46360
46535
  readonly description: "DeepSeek V3.1 model.";
@@ -46364,6 +46539,8 @@ declare const chutesModels: {
46364
46539
  readonly contextWindow: 163840;
46365
46540
  readonly supportsImages: false;
46366
46541
  readonly supportsPromptCache: false;
46542
+ readonly supportsNativeTools: true;
46543
+ readonly defaultToolProtocol: "native";
46367
46544
  readonly inputPrice: 0.23;
46368
46545
  readonly outputPrice: 0.9;
46369
46546
  readonly description: "DeepSeek‑V3.1‑Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix‑ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance.";
@@ -46373,6 +46550,8 @@ declare const chutesModels: {
46373
46550
  readonly contextWindow: 163840;
46374
46551
  readonly supportsImages: false;
46375
46552
  readonly supportsPromptCache: false;
46553
+ readonly supportsNativeTools: true;
46554
+ readonly defaultToolProtocol: "native";
46376
46555
  readonly inputPrice: 1;
46377
46556
  readonly outputPrice: 3;
46378
46557
  readonly description: "DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2× quota per request and not intended for bulk workloads.";
@@ -46382,6 +46561,8 @@ declare const chutesModels: {
46382
46561
  readonly contextWindow: 163840;
46383
46562
  readonly supportsImages: false;
46384
46563
  readonly supportsPromptCache: false;
46564
+ readonly supportsNativeTools: true;
46565
+ readonly defaultToolProtocol: "native";
46385
46566
  readonly inputPrice: 0.25;
46386
46567
  readonly outputPrice: 0.35;
46387
46568
  readonly description: "DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long‑context training and inference efficiency while maintaining performance comparable to V3.1‑Terminus.";
@@ -46391,6 +46572,8 @@ declare const chutesModels: {
46391
46572
  readonly contextWindow: 131072;
46392
46573
  readonly supportsImages: false;
46393
46574
  readonly supportsPromptCache: false;
46575
+ readonly supportsNativeTools: true;
46576
+ readonly defaultToolProtocol: "native";
46394
46577
  readonly inputPrice: 0;
46395
46578
  readonly outputPrice: 0;
46396
46579
  readonly description: "Unsloth Llama 3.3 70B Instruct model.";
@@ -46400,6 +46583,8 @@ declare const chutesModels: {
46400
46583
  readonly contextWindow: 512000;
46401
46584
  readonly supportsImages: false;
46402
46585
  readonly supportsPromptCache: false;
46586
+ readonly supportsNativeTools: true;
46587
+ readonly defaultToolProtocol: "native";
46403
46588
  readonly inputPrice: 0;
46404
46589
  readonly outputPrice: 0;
46405
46590
  readonly description: "ChutesAI Llama 4 Scout 17B Instruct model, 512K context.";
@@ -46409,6 +46594,8 @@ declare const chutesModels: {
46409
46594
  readonly contextWindow: 128000;
46410
46595
  readonly supportsImages: false;
46411
46596
  readonly supportsPromptCache: false;
46597
+ readonly supportsNativeTools: true;
46598
+ readonly defaultToolProtocol: "native";
46412
46599
  readonly inputPrice: 0;
46413
46600
  readonly outputPrice: 0;
46414
46601
  readonly description: "Unsloth Mistral Nemo Instruct model.";
@@ -46418,6 +46605,8 @@ declare const chutesModels: {
46418
46605
  readonly contextWindow: 131072;
46419
46606
  readonly supportsImages: false;
46420
46607
  readonly supportsPromptCache: false;
46608
+ readonly supportsNativeTools: true;
46609
+ readonly defaultToolProtocol: "native";
46421
46610
  readonly inputPrice: 0;
46422
46611
  readonly outputPrice: 0;
46423
46612
  readonly description: "Unsloth Gemma 3 12B IT model.";
@@ -46427,6 +46616,8 @@ declare const chutesModels: {
46427
46616
  readonly contextWindow: 131072;
46428
46617
  readonly supportsImages: false;
46429
46618
  readonly supportsPromptCache: false;
46619
+ readonly supportsNativeTools: true;
46620
+ readonly defaultToolProtocol: "native";
46430
46621
  readonly inputPrice: 0;
46431
46622
  readonly outputPrice: 0;
46432
46623
  readonly description: "Nous DeepHermes 3 Llama 3 8B Preview model.";
@@ -46436,6 +46627,8 @@ declare const chutesModels: {
46436
46627
  readonly contextWindow: 131072;
46437
46628
  readonly supportsImages: false;
46438
46629
  readonly supportsPromptCache: false;
46630
+ readonly supportsNativeTools: true;
46631
+ readonly defaultToolProtocol: "native";
46439
46632
  readonly inputPrice: 0;
46440
46633
  readonly outputPrice: 0;
46441
46634
  readonly description: "Unsloth Gemma 3 4B IT model.";
@@ -46445,6 +46638,8 @@ declare const chutesModels: {
46445
46638
  readonly contextWindow: 131072;
46446
46639
  readonly supportsImages: false;
46447
46640
  readonly supportsPromptCache: false;
46641
+ readonly supportsNativeTools: true;
46642
+ readonly defaultToolProtocol: "native";
46448
46643
  readonly inputPrice: 0;
46449
46644
  readonly outputPrice: 0;
46450
46645
  readonly description: "Nvidia Llama 3.3 Nemotron Super 49B model.";
@@ -46454,6 +46649,8 @@ declare const chutesModels: {
46454
46649
  readonly contextWindow: 131072;
46455
46650
  readonly supportsImages: false;
46456
46651
  readonly supportsPromptCache: false;
46652
+ readonly supportsNativeTools: true;
46653
+ readonly defaultToolProtocol: "native";
46457
46654
  readonly inputPrice: 0;
46458
46655
  readonly outputPrice: 0;
46459
46656
  readonly description: "Nvidia Llama 3.1 Nemotron Ultra 253B model.";
@@ -46463,6 +46660,8 @@ declare const chutesModels: {
46463
46660
  readonly contextWindow: 256000;
46464
46661
  readonly supportsImages: false;
46465
46662
  readonly supportsPromptCache: false;
46663
+ readonly supportsNativeTools: true;
46664
+ readonly defaultToolProtocol: "native";
46466
46665
  readonly inputPrice: 0;
46467
46666
  readonly outputPrice: 0;
46468
46667
  readonly description: "ChutesAI Llama 4 Maverick 17B Instruct FP8 model.";
@@ -46472,6 +46671,8 @@ declare const chutesModels: {
46472
46671
  readonly contextWindow: 163840;
46473
46672
  readonly supportsImages: false;
46474
46673
  readonly supportsPromptCache: false;
46674
+ readonly supportsNativeTools: true;
46675
+ readonly defaultToolProtocol: "native";
46475
46676
  readonly inputPrice: 0;
46476
46677
  readonly outputPrice: 0;
46477
46678
  readonly description: "DeepSeek V3 Base model.";
@@ -46481,6 +46682,8 @@ declare const chutesModels: {
46481
46682
  readonly contextWindow: 163840;
46482
46683
  readonly supportsImages: false;
46483
46684
  readonly supportsPromptCache: false;
46685
+ readonly supportsNativeTools: true;
46686
+ readonly defaultToolProtocol: "native";
46484
46687
  readonly inputPrice: 0;
46485
46688
  readonly outputPrice: 0;
46486
46689
  readonly description: "DeepSeek R1 Zero model.";
@@ -46490,6 +46693,8 @@ declare const chutesModels: {
46490
46693
  readonly contextWindow: 163840;
46491
46694
  readonly supportsImages: false;
46492
46695
  readonly supportsPromptCache: false;
46696
+ readonly supportsNativeTools: true;
46697
+ readonly defaultToolProtocol: "native";
46493
46698
  readonly inputPrice: 0;
46494
46699
  readonly outputPrice: 0;
46495
46700
  readonly description: "DeepSeek V3 (0324) model.";
@@ -46499,6 +46704,8 @@ declare const chutesModels: {
46499
46704
  readonly contextWindow: 262144;
46500
46705
  readonly supportsImages: false;
46501
46706
  readonly supportsPromptCache: false;
46707
+ readonly supportsNativeTools: true;
46708
+ readonly defaultToolProtocol: "native";
46502
46709
  readonly inputPrice: 0;
46503
46710
  readonly outputPrice: 0;
46504
46711
  readonly description: "Qwen3 235B A22B Instruct 2507 model with 262K context window.";
@@ -46508,6 +46715,8 @@ declare const chutesModels: {
46508
46715
  readonly contextWindow: 40960;
46509
46716
  readonly supportsImages: false;
46510
46717
  readonly supportsPromptCache: false;
46718
+ readonly supportsNativeTools: true;
46719
+ readonly defaultToolProtocol: "native";
46511
46720
  readonly inputPrice: 0;
46512
46721
  readonly outputPrice: 0;
46513
46722
  readonly description: "Qwen3 235B A22B model.";
@@ -46517,6 +46726,8 @@ declare const chutesModels: {
46517
46726
  readonly contextWindow: 40960;
46518
46727
  readonly supportsImages: false;
46519
46728
  readonly supportsPromptCache: false;
46729
+ readonly supportsNativeTools: true;
46730
+ readonly defaultToolProtocol: "native";
46520
46731
  readonly inputPrice: 0;
46521
46732
  readonly outputPrice: 0;
46522
46733
  readonly description: "Qwen3 32B model.";
@@ -46526,6 +46737,8 @@ declare const chutesModels: {
46526
46737
  readonly contextWindow: 40960;
46527
46738
  readonly supportsImages: false;
46528
46739
  readonly supportsPromptCache: false;
46740
+ readonly supportsNativeTools: true;
46741
+ readonly defaultToolProtocol: "native";
46529
46742
  readonly inputPrice: 0;
46530
46743
  readonly outputPrice: 0;
46531
46744
  readonly description: "Qwen3 30B A3B model.";
@@ -46535,6 +46748,8 @@ declare const chutesModels: {
46535
46748
  readonly contextWindow: 40960;
46536
46749
  readonly supportsImages: false;
46537
46750
  readonly supportsPromptCache: false;
46751
+ readonly supportsNativeTools: true;
46752
+ readonly defaultToolProtocol: "native";
46538
46753
  readonly inputPrice: 0;
46539
46754
  readonly outputPrice: 0;
46540
46755
  readonly description: "Qwen3 14B model.";
@@ -46544,6 +46759,8 @@ declare const chutesModels: {
46544
46759
  readonly contextWindow: 40960;
46545
46760
  readonly supportsImages: false;
46546
46761
  readonly supportsPromptCache: false;
46762
+ readonly supportsNativeTools: true;
46763
+ readonly defaultToolProtocol: "native";
46547
46764
  readonly inputPrice: 0;
46548
46765
  readonly outputPrice: 0;
46549
46766
  readonly description: "Qwen3 8B model.";
@@ -46553,6 +46770,8 @@ declare const chutesModels: {
46553
46770
  readonly contextWindow: 163840;
46554
46771
  readonly supportsImages: false;
46555
46772
  readonly supportsPromptCache: false;
46773
+ readonly supportsNativeTools: true;
46774
+ readonly defaultToolProtocol: "native";
46556
46775
  readonly inputPrice: 0;
46557
46776
  readonly outputPrice: 0;
46558
46777
  readonly description: "Microsoft MAI-DS-R1 FP8 model.";
@@ -46562,6 +46781,8 @@ declare const chutesModels: {
46562
46781
  readonly contextWindow: 163840;
46563
46782
  readonly supportsImages: false;
46564
46783
  readonly supportsPromptCache: false;
46784
+ readonly supportsNativeTools: true;
46785
+ readonly defaultToolProtocol: "native";
46565
46786
  readonly inputPrice: 0;
46566
46787
  readonly outputPrice: 0;
46567
46788
  readonly description: "TNGTech DeepSeek R1T Chimera model.";
@@ -46571,6 +46792,8 @@ declare const chutesModels: {
46571
46792
  readonly contextWindow: 151329;
46572
46793
  readonly supportsImages: false;
46573
46794
  readonly supportsPromptCache: false;
46795
+ readonly supportsNativeTools: true;
46796
+ readonly defaultToolProtocol: "native";
46574
46797
  readonly inputPrice: 0;
46575
46798
  readonly outputPrice: 0;
46576
46799
  readonly description: "GLM-4.5-Air model with 151,329 token context window and 106B total parameters with 12B activated.";
@@ -46580,6 +46803,8 @@ declare const chutesModels: {
46580
46803
  readonly contextWindow: 131072;
46581
46804
  readonly supportsImages: false;
46582
46805
  readonly supportsPromptCache: false;
46806
+ readonly supportsNativeTools: true;
46807
+ readonly defaultToolProtocol: "native";
46583
46808
  readonly inputPrice: 0;
46584
46809
  readonly outputPrice: 0;
46585
46810
  readonly description: "GLM-4.5-FP8 model with 128k token context window, optimized for agent-based applications with MoE architecture.";
@@ -46589,6 +46814,8 @@ declare const chutesModels: {
46589
46814
  readonly contextWindow: 131072;
46590
46815
  readonly supportsImages: false;
46591
46816
  readonly supportsPromptCache: false;
46817
+ readonly supportsNativeTools: true;
46818
+ readonly defaultToolProtocol: "native";
46592
46819
  readonly inputPrice: 1;
46593
46820
  readonly outputPrice: 3;
46594
46821
  readonly description: "GLM-4.5-turbo model with 128K token context window, optimized for fast inference.";
@@ -46598,6 +46825,8 @@ declare const chutesModels: {
46598
46825
  readonly contextWindow: 202752;
46599
46826
  readonly supportsImages: false;
46600
46827
  readonly supportsPromptCache: false;
46828
+ readonly supportsNativeTools: true;
46829
+ readonly defaultToolProtocol: "native";
46601
46830
  readonly inputPrice: 0;
46602
46831
  readonly outputPrice: 0;
46603
46832
  readonly description: "GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios.";
@@ -46607,6 +46836,8 @@ declare const chutesModels: {
46607
46836
  readonly contextWindow: 202752;
46608
46837
  readonly supportsImages: false;
46609
46838
  readonly supportsPromptCache: false;
46839
+ readonly supportsNativeTools: true;
46840
+ readonly defaultToolProtocol: "native";
46610
46841
  readonly inputPrice: 1.15;
46611
46842
  readonly outputPrice: 3.25;
46612
46843
  readonly description: "GLM-4.6-turbo model with 200K-token context window, optimized for fast inference.";
@@ -46616,6 +46847,8 @@ declare const chutesModels: {
46616
46847
  readonly contextWindow: 128000;
46617
46848
  readonly supportsImages: false;
46618
46849
  readonly supportsPromptCache: false;
46850
+ readonly supportsNativeTools: true;
46851
+ readonly defaultToolProtocol: "native";
46619
46852
  readonly inputPrice: 0;
46620
46853
  readonly outputPrice: 0;
46621
46854
  readonly description: "LongCat Flash Thinking FP8 model with 128K context window, optimized for complex reasoning and coding tasks.";
@@ -46625,6 +46858,8 @@ declare const chutesModels: {
46625
46858
  readonly contextWindow: 262144;
46626
46859
  readonly supportsImages: false;
46627
46860
  readonly supportsPromptCache: false;
46861
+ readonly supportsNativeTools: true;
46862
+ readonly defaultToolProtocol: "native";
46628
46863
  readonly inputPrice: 0;
46629
46864
  readonly outputPrice: 0;
46630
46865
  readonly description: "Qwen3 Coder 480B A35B Instruct FP8 model, optimized for coding tasks.";
@@ -46634,6 +46869,8 @@ declare const chutesModels: {
46634
46869
  readonly contextWindow: 75000;
46635
46870
  readonly supportsImages: false;
46636
46871
  readonly supportsPromptCache: false;
46872
+ readonly supportsNativeTools: true;
46873
+ readonly defaultToolProtocol: "native";
46637
46874
  readonly inputPrice: 0.1481;
46638
46875
  readonly outputPrice: 0.5926;
46639
46876
  readonly description: "Moonshot AI Kimi K2 Instruct model with 75k context window.";
@@ -46643,6 +46880,8 @@ declare const chutesModels: {
46643
46880
  readonly contextWindow: 262144;
46644
46881
  readonly supportsImages: false;
46645
46882
  readonly supportsPromptCache: false;
46883
+ readonly supportsNativeTools: true;
46884
+ readonly defaultToolProtocol: "native";
46646
46885
  readonly inputPrice: 0.1999;
46647
46886
  readonly outputPrice: 0.8001;
46648
46887
  readonly description: "Moonshot AI Kimi K2 Instruct 0905 model with 256k context window.";
@@ -46652,6 +46891,8 @@ declare const chutesModels: {
46652
46891
  readonly contextWindow: 262144;
46653
46892
  readonly supportsImages: false;
46654
46893
  readonly supportsPromptCache: false;
46894
+ readonly supportsNativeTools: true;
46895
+ readonly defaultToolProtocol: "native";
46655
46896
  readonly inputPrice: 0.077968332;
46656
46897
  readonly outputPrice: 0.31202496;
46657
46898
  readonly description: "Qwen3 235B A22B Thinking 2507 model with 262K context window.";
@@ -46661,6 +46902,8 @@ declare const chutesModels: {
46661
46902
  readonly contextWindow: 131072;
46662
46903
  readonly supportsImages: false;
46663
46904
  readonly supportsPromptCache: false;
46905
+ readonly supportsNativeTools: true;
46906
+ readonly defaultToolProtocol: "native";
46664
46907
  readonly inputPrice: 0;
46665
46908
  readonly outputPrice: 0;
46666
46909
  readonly description: "Fast, stable instruction-tuned model optimized for complex tasks, RAG, and tool use without thinking traces.";
@@ -46670,6 +46913,8 @@ declare const chutesModels: {
46670
46913
  readonly contextWindow: 131072;
46671
46914
  readonly supportsImages: false;
46672
46915
  readonly supportsPromptCache: false;
46916
+ readonly supportsNativeTools: true;
46917
+ readonly defaultToolProtocol: "native";
46673
46918
  readonly inputPrice: 0;
46674
46919
  readonly outputPrice: 0;
46675
46920
  readonly description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis.";
@@ -46679,6 +46924,8 @@ declare const chutesModels: {
46679
46924
  readonly contextWindow: 262144;
46680
46925
  readonly supportsImages: true;
46681
46926
  readonly supportsPromptCache: false;
46927
+ readonly supportsNativeTools: true;
46928
+ readonly defaultToolProtocol: "native";
46682
46929
  readonly inputPrice: 0.16;
46683
46930
  readonly outputPrice: 0.65;
46684
46931
  readonly description: "Qwen3‑VL‑235B‑A22B‑Thinking is an open‑weight MoE vision‑language model (235B total, ~22B activated) optimized for deliberate multi‑step reasoning with strong text‑image‑video understanding and long‑context capabilities.";
@@ -46687,205 +46934,110 @@ declare const chutesModels: {
46687
46934
  declare const chutesDefaultModelInfo: ModelInfo;
46688
46935
 
46689
46936
  /**
46690
- * Converts Claude model names from hyphen-date format to Vertex AI's @-date format.
46691
- *
46692
- * @param modelName - The original model name (e.g., "claude-sonnet-4-20250514")
46693
- * @returns The converted model name for Vertex AI (e.g., "claude-sonnet-4@20250514")
46694
- *
46695
- * @example
46696
- * convertModelNameForVertex("claude-sonnet-4-20250514") // returns "claude-sonnet-4@20250514"
46697
- * convertModelNameForVertex("claude-model") // returns "claude-model" (no change)
46698
- */
46699
- declare function convertModelNameForVertex(modelName: string): string;
46700
- type ClaudeCodeModelId = keyof typeof claudeCodeModels;
46701
- declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
46702
- declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000;
46703
- /**
46704
- * Gets the appropriate model ID based on whether Vertex AI is being used.
46705
- *
46706
- * @param baseModelId - The base Claude Code model ID
46707
- * @param useVertex - Whether to format the model ID for Vertex AI (default: false)
46708
- * @returns The model ID, potentially formatted for Vertex AI
46709
- *
46710
- * @example
46711
- * getClaudeCodeModelId("claude-sonnet-4-20250514", true) // returns "claude-sonnet-4@20250514"
46712
- * getClaudeCodeModelId("claude-sonnet-4-20250514", false) // returns "claude-sonnet-4-20250514"
46937
+ * Rate limit information from Claude Code API
46713
46938
  */
46714
- declare function getClaudeCodeModelId(baseModelId: ClaudeCodeModelId, useVertex?: boolean): string;
46939
+ interface ClaudeCodeRateLimitInfo {
46940
+ fiveHour: {
46941
+ status: string;
46942
+ utilization: number;
46943
+ resetTime: number;
46944
+ };
46945
+ weekly?: {
46946
+ status: string;
46947
+ utilization: number;
46948
+ resetTime: number;
46949
+ };
46950
+ weeklyUnified?: {
46951
+ status: string;
46952
+ utilization: number;
46953
+ resetTime: number;
46954
+ };
46955
+ representativeClaim?: string;
46956
+ overage?: {
46957
+ status: string;
46958
+ disabledReason?: string;
46959
+ };
46960
+ fallbackPercentage?: number;
46961
+ organizationId?: string;
46962
+ fetchedAt: number;
46963
+ }
46715
46964
  declare const claudeCodeModels: {
46716
- readonly "claude-sonnet-4-5": {
46717
- readonly supportsImages: false;
46718
- readonly supportsPromptCache: true;
46719
- readonly supportsReasoningEffort: false;
46720
- readonly supportsReasoningBudget: false;
46721
- readonly requiredReasoningBudget: false;
46722
- readonly supportsNativeTools: false;
46723
- readonly supportsTemperature: false;
46724
- readonly maxTokens: 64000;
46965
+ readonly "claude-haiku-4-5": {
46966
+ readonly maxTokens: 32768;
46725
46967
  readonly contextWindow: 200000;
46726
- readonly inputPrice: 3;
46727
- readonly outputPrice: 15;
46728
- readonly cacheWritesPrice: 3.75;
46729
- readonly cacheReadsPrice: 0.3;
46730
- readonly tiers: [{
46731
- readonly contextWindow: 1000000;
46732
- readonly inputPrice: 6;
46733
- readonly outputPrice: 22.5;
46734
- readonly cacheWritesPrice: 7.5;
46735
- readonly cacheReadsPrice: 0.6;
46736
- }];
46737
- };
46738
- readonly "claude-sonnet-4-5-20250929[1m]": {
46739
- readonly contextWindow: 1000000;
46740
- readonly supportsImages: false;
46741
- readonly supportsPromptCache: true;
46742
- readonly supportsReasoningEffort: false;
46743
- readonly supportsReasoningBudget: false;
46744
- readonly requiredReasoningBudget: false;
46745
- readonly supportsNativeTools: false;
46746
- readonly supportsTemperature: false;
46747
- readonly maxTokens: 64000;
46748
- readonly inputPrice: 3;
46749
- readonly outputPrice: 15;
46750
- readonly cacheWritesPrice: 3.75;
46751
- readonly cacheReadsPrice: 0.3;
46752
- readonly tiers: [{
46753
- readonly contextWindow: 1000000;
46754
- readonly inputPrice: 6;
46755
- readonly outputPrice: 22.5;
46756
- readonly cacheWritesPrice: 7.5;
46757
- readonly cacheReadsPrice: 0.6;
46758
- }];
46759
- };
46760
- readonly "claude-sonnet-4-20250514": {
46761
- readonly supportsImages: false;
46968
+ readonly supportsImages: true;
46762
46969
  readonly supportsPromptCache: true;
46763
- readonly supportsReasoningEffort: false;
46764
- readonly supportsReasoningBudget: false;
46765
- readonly requiredReasoningBudget: false;
46766
- readonly supportsNativeTools: false;
46767
- readonly supportsTemperature: false;
46768
- readonly maxTokens: 64000;
46769
- readonly contextWindow: 200000;
46770
- readonly inputPrice: 3;
46771
- readonly outputPrice: 15;
46772
- readonly cacheWritesPrice: 3.75;
46773
- readonly cacheReadsPrice: 0.3;
46774
- readonly tiers: [{
46775
- readonly contextWindow: 1000000;
46776
- readonly inputPrice: 6;
46777
- readonly outputPrice: 22.5;
46778
- readonly cacheWritesPrice: 7.5;
46779
- readonly cacheReadsPrice: 0.6;
46780
- }];
46970
+ readonly supportsNativeTools: true;
46971
+ readonly defaultToolProtocol: "native";
46972
+ readonly supportsReasoningEffort: ["disable", "low", "medium", "high"];
46973
+ readonly reasoningEffort: "medium";
46974
+ readonly description: "Claude Haiku 4.5 - Fast and efficient with thinking";
46781
46975
  };
46782
- readonly "claude-opus-4-5-20251101": {
46783
- readonly supportsImages: false;
46784
- readonly supportsPromptCache: true;
46785
- readonly supportsReasoningEffort: false;
46786
- readonly supportsReasoningBudget: false;
46787
- readonly requiredReasoningBudget: false;
46788
- readonly supportsNativeTools: false;
46789
- readonly supportsTemperature: false;
46790
- readonly maxTokens: 32000;
46976
+ readonly "claude-sonnet-4-5": {
46977
+ readonly maxTokens: 32768;
46791
46978
  readonly contextWindow: 200000;
46792
- readonly inputPrice: 5;
46793
- readonly outputPrice: 25;
46794
- readonly cacheWritesPrice: 6.25;
46795
- readonly cacheReadsPrice: 0.5;
46796
- };
46797
- readonly "claude-opus-4-1-20250805": {
46798
- readonly supportsImages: false;
46979
+ readonly supportsImages: true;
46799
46980
  readonly supportsPromptCache: true;
46800
- readonly supportsReasoningEffort: false;
46801
- readonly supportsReasoningBudget: false;
46802
- readonly requiredReasoningBudget: false;
46803
- readonly supportsNativeTools: false;
46804
- readonly supportsTemperature: false;
46805
- readonly maxTokens: 32000;
46806
- readonly contextWindow: 200000;
46807
- readonly inputPrice: 15;
46808
- readonly outputPrice: 75;
46809
- readonly cacheWritesPrice: 18.75;
46810
- readonly cacheReadsPrice: 1.5;
46981
+ readonly supportsNativeTools: true;
46982
+ readonly defaultToolProtocol: "native";
46983
+ readonly supportsReasoningEffort: ["disable", "low", "medium", "high"];
46984
+ readonly reasoningEffort: "medium";
46985
+ readonly description: "Claude Sonnet 4.5 - Balanced performance with thinking";
46811
46986
  };
46812
- readonly "claude-opus-4-20250514": {
46813
- readonly supportsImages: false;
46814
- readonly supportsPromptCache: true;
46815
- readonly supportsReasoningEffort: false;
46816
- readonly supportsReasoningBudget: false;
46817
- readonly requiredReasoningBudget: false;
46818
- readonly supportsNativeTools: false;
46819
- readonly supportsTemperature: false;
46820
- readonly maxTokens: 32000;
46987
+ readonly "claude-opus-4-5": {
46988
+ readonly maxTokens: 32768;
46821
46989
  readonly contextWindow: 200000;
46822
- readonly inputPrice: 15;
46823
- readonly outputPrice: 75;
46824
- readonly cacheWritesPrice: 18.75;
46825
- readonly cacheReadsPrice: 1.5;
46826
- };
46827
- readonly "claude-3-7-sonnet-20250219": {
46828
- readonly supportsImages: false;
46990
+ readonly supportsImages: true;
46829
46991
  readonly supportsPromptCache: true;
46830
- readonly supportsReasoningEffort: false;
46831
- readonly supportsReasoningBudget: false;
46832
- readonly requiredReasoningBudget: false;
46833
- readonly supportsNativeTools: false;
46834
- readonly supportsTemperature: false;
46835
- readonly maxTokens: 8192;
46836
- readonly contextWindow: 200000;
46837
- readonly inputPrice: 3;
46838
- readonly outputPrice: 15;
46839
- readonly cacheWritesPrice: 3.75;
46840
- readonly cacheReadsPrice: 0.3;
46992
+ readonly supportsNativeTools: true;
46993
+ readonly defaultToolProtocol: "native";
46994
+ readonly supportsReasoningEffort: ["disable", "low", "medium", "high"];
46995
+ readonly reasoningEffort: "medium";
46996
+ readonly description: "Claude Opus 4.5 - Most capable with thinking";
46841
46997
  };
46842
- readonly "claude-3-5-sonnet-20241022": {
46843
- readonly supportsImages: false;
46844
- readonly supportsPromptCache: true;
46845
- readonly supportsReasoningEffort: false;
46846
- readonly supportsReasoningBudget: false;
46847
- readonly requiredReasoningBudget: false;
46848
- readonly supportsNativeTools: false;
46849
- readonly supportsTemperature: false;
46850
- readonly maxTokens: 8192;
46851
- readonly contextWindow: 200000;
46852
- readonly inputPrice: 3;
46853
- readonly outputPrice: 15;
46854
- readonly cacheWritesPrice: 3.75;
46855
- readonly cacheReadsPrice: 0.3;
46998
+ };
46999
+ type ClaudeCodeModelId = keyof typeof claudeCodeModels;
47000
+ declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
47001
+ /**
47002
+ * Normalizes a Claude model ID to a valid Claude Code model ID.
47003
+ *
47004
+ * This function handles backward compatibility for legacy model names
47005
+ * that may include version numbers or date suffixes. It maps:
47006
+ * - claude-sonnet-4-5-20250929, claude-sonnet-4-20250514, claude-3-7-sonnet-20250219, claude-3-5-sonnet-20241022 → claude-sonnet-4-5
47007
+ * - claude-opus-4-5-20251101, claude-opus-4-1-20250805, claude-opus-4-20250514 → claude-opus-4-5
47008
+ * - claude-haiku-4-5-20251001, claude-3-5-haiku-20241022 → claude-haiku-4-5
47009
+ *
47010
+ * @param modelId - The model ID to normalize (may be a legacy format)
47011
+ * @returns A valid ClaudeCodeModelId, or the original ID if already valid
47012
+ *
47013
+ * @example
47014
+ * normalizeClaudeCodeModelId("claude-sonnet-4-5") // returns "claude-sonnet-4-5"
47015
+ * normalizeClaudeCodeModelId("claude-3-5-sonnet-20241022") // returns "claude-sonnet-4-5"
47016
+ * normalizeClaudeCodeModelId("claude-opus-4-1-20250805") // returns "claude-opus-4-5"
47017
+ */
47018
+ declare function normalizeClaudeCodeModelId(modelId: string): ClaudeCodeModelId;
47019
+ /**
47020
+ * Reasoning effort configuration for Claude Code thinking mode.
47021
+ * Maps reasoning effort level to budget_tokens for the thinking process.
47022
+ *
47023
+ * Note: With interleaved thinking (enabled via beta header), budget_tokens
47024
+ * can exceed max_tokens as the token limit becomes the entire context window.
47025
+ * The max_tokens is drawn from the model's maxTokens definition.
47026
+ *
47027
+ * @see https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking#interleaved-thinking
47028
+ */
47029
+ declare const claudeCodeReasoningConfig: {
47030
+ readonly low: {
47031
+ readonly budgetTokens: 16000;
46856
47032
  };
46857
- readonly "claude-3-5-haiku-20241022": {
46858
- readonly supportsImages: false;
46859
- readonly supportsPromptCache: true;
46860
- readonly supportsReasoningEffort: false;
46861
- readonly supportsReasoningBudget: false;
46862
- readonly requiredReasoningBudget: false;
46863
- readonly supportsNativeTools: false;
46864
- readonly supportsTemperature: false;
46865
- readonly maxTokens: 8192;
46866
- readonly contextWindow: 200000;
46867
- readonly inputPrice: 1;
46868
- readonly outputPrice: 5;
46869
- readonly cacheWritesPrice: 1.25;
46870
- readonly cacheReadsPrice: 0.1;
47033
+ readonly medium: {
47034
+ readonly budgetTokens: 32000;
46871
47035
  };
46872
- readonly "claude-haiku-4-5-20251001": {
46873
- readonly supportsImages: false;
46874
- readonly supportsPromptCache: true;
46875
- readonly supportsReasoningEffort: false;
46876
- readonly supportsReasoningBudget: false;
46877
- readonly requiredReasoningBudget: false;
46878
- readonly supportsNativeTools: false;
46879
- readonly supportsTemperature: false;
46880
- readonly maxTokens: 64000;
46881
- readonly contextWindow: 200000;
46882
- readonly inputPrice: 1;
46883
- readonly outputPrice: 5;
46884
- readonly cacheWritesPrice: 1.25;
46885
- readonly cacheReadsPrice: 0.1;
46886
- readonly description: "Claude Haiku 4.5 delivers near-frontier intelligence at lightning speeds with extended thinking, vision, and multilingual support.";
47036
+ readonly high: {
47037
+ readonly budgetTokens: 64000;
46887
47038
  };
46888
47039
  };
47040
+ type ClaudeCodeReasoningLevel = keyof typeof claudeCodeReasoningConfig;
46889
47041
 
46890
47042
  type DeepSeekModelId = keyof typeof deepSeekModels;
46891
47043
  declare const deepSeekDefaultModelId: DeepSeekModelId;
@@ -46910,6 +47062,7 @@ declare const deepSeekModels: {
46910
47062
  readonly supportsPromptCache: true;
46911
47063
  readonly supportsNativeTools: true;
46912
47064
  readonly defaultToolProtocol: "native";
47065
+ readonly preserveReasoning: true;
46913
47066
  readonly inputPrice: 0.28;
46914
47067
  readonly outputPrice: 0.42;
46915
47068
  readonly cacheWritesPrice: 0.28;
@@ -46917,7 +47070,7 @@ declare const deepSeekModels: {
46917
47070
  readonly description: "DeepSeek-V3.2 (Thinking Mode) achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks. Supports Chain of Thought reasoning with up to 8K output tokens. Supports JSON output, tool calls, and chat prefix completion (beta).";
46918
47071
  };
46919
47072
  };
46920
- declare const DEEP_SEEK_DEFAULT_TEMPERATURE = 0;
47073
+ declare const DEEP_SEEK_DEFAULT_TEMPERATURE = 0.3;
46921
47074
 
46922
47075
  declare const doubaoDefaultModelId = "doubao-seed-1-6-250615";
46923
47076
  declare const doubaoModels: {
@@ -46927,6 +47080,7 @@ declare const doubaoModels: {
46927
47080
  readonly supportsImages: true;
46928
47081
  readonly supportsPromptCache: true;
46929
47082
  readonly supportsNativeTools: true;
47083
+ readonly defaultToolProtocol: "native";
46930
47084
  readonly inputPrice: 0.0001;
46931
47085
  readonly outputPrice: 0.0004;
46932
47086
  readonly cacheWritesPrice: 0.0001;
@@ -46939,6 +47093,7 @@ declare const doubaoModels: {
46939
47093
  readonly supportsImages: true;
46940
47094
  readonly supportsPromptCache: true;
46941
47095
  readonly supportsNativeTools: true;
47096
+ readonly defaultToolProtocol: "native";
46942
47097
  readonly inputPrice: 0.0002;
46943
47098
  readonly outputPrice: 0.0008;
46944
47099
  readonly cacheWritesPrice: 0.0002;
@@ -46951,6 +47106,7 @@ declare const doubaoModels: {
46951
47106
  readonly supportsImages: true;
46952
47107
  readonly supportsPromptCache: true;
46953
47108
  readonly supportsNativeTools: true;
47109
+ readonly defaultToolProtocol: "native";
46954
47110
  readonly inputPrice: 0.00015;
46955
47111
  readonly outputPrice: 0.0006;
46956
47112
  readonly cacheWritesPrice: 0.00015;
@@ -47023,6 +47179,7 @@ declare const fireworksModels: {
47023
47179
  readonly supportsImages: false;
47024
47180
  readonly supportsPromptCache: true;
47025
47181
  readonly supportsNativeTools: true;
47182
+ readonly defaultToolProtocol: "native";
47026
47183
  readonly inputPrice: 0.6;
47027
47184
  readonly outputPrice: 2.5;
47028
47185
  readonly cacheReadsPrice: 0.15;
@@ -47034,6 +47191,7 @@ declare const fireworksModels: {
47034
47191
  readonly supportsImages: false;
47035
47192
  readonly supportsPromptCache: false;
47036
47193
  readonly supportsNativeTools: true;
47194
+ readonly defaultToolProtocol: "native";
47037
47195
  readonly inputPrice: 0.6;
47038
47196
  readonly outputPrice: 2.5;
47039
47197
  readonly description: "Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.";
@@ -47044,6 +47202,7 @@ declare const fireworksModels: {
47044
47202
  readonly supportsImages: false;
47045
47203
  readonly supportsPromptCache: false;
47046
47204
  readonly supportsNativeTools: true;
47205
+ readonly defaultToolProtocol: "native";
47047
47206
  readonly inputPrice: 0.3;
47048
47207
  readonly outputPrice: 1.2;
47049
47208
  readonly description: "MiniMax M2 is a high-performance language model with 204.8K context window, optimized for long-context understanding and generation tasks.";
@@ -47054,6 +47213,7 @@ declare const fireworksModels: {
47054
47213
  readonly supportsImages: false;
47055
47214
  readonly supportsPromptCache: false;
47056
47215
  readonly supportsNativeTools: true;
47216
+ readonly defaultToolProtocol: "native";
47057
47217
  readonly inputPrice: 0.22;
47058
47218
  readonly outputPrice: 0.88;
47059
47219
  readonly description: "Latest Qwen3 thinking model, competitive against the best closed source models in Jul 2025.";
@@ -47064,6 +47224,7 @@ declare const fireworksModels: {
47064
47224
  readonly supportsImages: false;
47065
47225
  readonly supportsPromptCache: false;
47066
47226
  readonly supportsNativeTools: true;
47227
+ readonly defaultToolProtocol: "native";
47067
47228
  readonly inputPrice: 0.45;
47068
47229
  readonly outputPrice: 1.8;
47069
47230
  readonly description: "Qwen3's most agentic code model to date.";
@@ -47074,6 +47235,7 @@ declare const fireworksModels: {
47074
47235
  readonly supportsImages: false;
47075
47236
  readonly supportsPromptCache: false;
47076
47237
  readonly supportsNativeTools: true;
47238
+ readonly defaultToolProtocol: "native";
47077
47239
  readonly inputPrice: 3;
47078
47240
  readonly outputPrice: 8;
47079
47241
  readonly description: "05/28 updated checkpoint of Deepseek R1. Its overall performance is now approaching that of leading models, such as O3 and Gemini 2.5 Pro. Compared to the previous version, the upgraded model shows significant improvements in handling complex reasoning tasks, and this version also offers a reduced hallucination rate, enhanced support for function calling, and better experience for vibe coding. Note that fine-tuning for this model is only available through contacting fireworks at https://fireworks.ai/company/contact-us.";
@@ -47084,6 +47246,7 @@ declare const fireworksModels: {
47084
47246
  readonly supportsImages: false;
47085
47247
  readonly supportsPromptCache: false;
47086
47248
  readonly supportsNativeTools: true;
47249
+ readonly defaultToolProtocol: "native";
47087
47250
  readonly inputPrice: 0.9;
47088
47251
  readonly outputPrice: 0.9;
47089
47252
  readonly description: "A strong Mixture-of-Experts (MoE) language model with 671B total parameters with 37B activated for each token from Deepseek. Note that fine-tuning for this model is only available through contacting fireworks at https://fireworks.ai/company/contact-us.";
@@ -47094,6 +47257,7 @@ declare const fireworksModels: {
47094
47257
  readonly supportsImages: false;
47095
47258
  readonly supportsPromptCache: false;
47096
47259
  readonly supportsNativeTools: true;
47260
+ readonly defaultToolProtocol: "native";
47097
47261
  readonly inputPrice: 0.56;
47098
47262
  readonly outputPrice: 1.68;
47099
47263
  readonly description: "DeepSeek v3.1 is an improved version of the v3 model with enhanced performance, better reasoning capabilities, and improved code generation. This Mixture-of-Experts (MoE) model maintains the same 671B total parameters with 37B activated per token.";
@@ -47104,6 +47268,7 @@ declare const fireworksModels: {
47104
47268
  readonly supportsImages: false;
47105
47269
  readonly supportsPromptCache: false;
47106
47270
  readonly supportsNativeTools: true;
47271
+ readonly defaultToolProtocol: "native";
47107
47272
  readonly inputPrice: 0.55;
47108
47273
  readonly outputPrice: 2.19;
47109
47274
  readonly description: "Z.ai GLM-4.5 with 355B total parameters and 32B active parameters. Features unified reasoning, coding, and intelligent agent capabilities.";
@@ -47114,6 +47279,7 @@ declare const fireworksModels: {
47114
47279
  readonly supportsImages: false;
47115
47280
  readonly supportsPromptCache: false;
47116
47281
  readonly supportsNativeTools: true;
47282
+ readonly defaultToolProtocol: "native";
47117
47283
  readonly inputPrice: 0.55;
47118
47284
  readonly outputPrice: 2.19;
47119
47285
  readonly description: "Z.ai GLM-4.5-Air with 106B total parameters and 12B active parameters. Features unified reasoning, coding, and intelligent agent capabilities.";
@@ -47124,6 +47290,7 @@ declare const fireworksModels: {
47124
47290
  readonly supportsImages: false;
47125
47291
  readonly supportsPromptCache: false;
47126
47292
  readonly supportsNativeTools: true;
47293
+ readonly defaultToolProtocol: "native";
47127
47294
  readonly inputPrice: 0.55;
47128
47295
  readonly outputPrice: 2.19;
47129
47296
  readonly description: "Z.ai GLM-4.6 is an advanced coding model with exceptional performance on complex programming tasks. Features improved reasoning capabilities and enhanced code generation quality, making it ideal for software development workflows.";
@@ -47134,6 +47301,7 @@ declare const fireworksModels: {
47134
47301
  readonly supportsImages: false;
47135
47302
  readonly supportsPromptCache: false;
47136
47303
  readonly supportsNativeTools: true;
47304
+ readonly defaultToolProtocol: "native";
47137
47305
  readonly inputPrice: 0.07;
47138
47306
  readonly outputPrice: 0.3;
47139
47307
  readonly description: "OpenAI gpt-oss-20b: Compact model for local/edge deployments. Optimized for low-latency and resource-constrained environments with chain-of-thought output, adjustable reasoning, and agentic workflows.";
@@ -47144,6 +47312,7 @@ declare const fireworksModels: {
47144
47312
  readonly supportsImages: false;
47145
47313
  readonly supportsPromptCache: false;
47146
47314
  readonly supportsNativeTools: true;
47315
+ readonly defaultToolProtocol: "native";
47147
47316
  readonly inputPrice: 0.15;
47148
47317
  readonly outputPrice: 0.6;
47149
47318
  readonly description: "OpenAI gpt-oss-120b: Production-grade, general-purpose model that fits on a single H100 GPU. Features complex reasoning, configurable effort, full chain-of-thought transparency, and supports function calling, tool use, and structured outputs.";
@@ -47158,9 +47327,12 @@ declare const geminiModels: {
47158
47327
  readonly contextWindow: 1048576;
47159
47328
  readonly supportsImages: true;
47160
47329
  readonly supportsNativeTools: true;
47330
+ readonly defaultToolProtocol: "native";
47161
47331
  readonly supportsPromptCache: true;
47162
47332
  readonly supportsReasoningEffort: ["low", "high"];
47163
47333
  readonly reasoningEffort: "low";
47334
+ readonly includedTools: ["write_file", "edit_file"];
47335
+ readonly excludedTools: ["apply_diff"];
47164
47336
  readonly supportsTemperature: true;
47165
47337
  readonly defaultTemperature: 1;
47166
47338
  readonly inputPrice: 4;
@@ -47175,12 +47347,33 @@ declare const geminiModels: {
47175
47347
  readonly outputPrice: 18;
47176
47348
  }];
47177
47349
  };
47350
+ readonly "gemini-3-flash-preview": {
47351
+ readonly maxTokens: 65536;
47352
+ readonly contextWindow: 1048576;
47353
+ readonly supportsImages: true;
47354
+ readonly supportsNativeTools: true;
47355
+ readonly defaultToolProtocol: "native";
47356
+ readonly supportsPromptCache: true;
47357
+ readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
47358
+ readonly reasoningEffort: "medium";
47359
+ readonly includedTools: ["write_file", "edit_file"];
47360
+ readonly excludedTools: ["apply_diff"];
47361
+ readonly supportsTemperature: true;
47362
+ readonly defaultTemperature: 1;
47363
+ readonly inputPrice: 0.3;
47364
+ readonly outputPrice: 2.5;
47365
+ readonly cacheReadsPrice: 0.075;
47366
+ readonly cacheWritesPrice: 1;
47367
+ };
47178
47368
  readonly "gemini-2.5-pro": {
47179
47369
  readonly maxTokens: 64000;
47180
47370
  readonly contextWindow: 1048576;
47181
47371
  readonly supportsImages: true;
47182
47372
  readonly supportsNativeTools: true;
47373
+ readonly defaultToolProtocol: "native";
47183
47374
  readonly supportsPromptCache: true;
47375
+ readonly includedTools: ["write_file", "edit_file"];
47376
+ readonly excludedTools: ["apply_diff"];
47184
47377
  readonly inputPrice: 2.5;
47185
47378
  readonly outputPrice: 15;
47186
47379
  readonly cacheReadsPrice: 0.625;
@@ -47205,7 +47398,10 @@ declare const geminiModels: {
47205
47398
  readonly contextWindow: 1048576;
47206
47399
  readonly supportsImages: true;
47207
47400
  readonly supportsNativeTools: true;
47401
+ readonly defaultToolProtocol: "native";
47208
47402
  readonly supportsPromptCache: true;
47403
+ readonly includedTools: ["write_file", "edit_file"];
47404
+ readonly excludedTools: ["apply_diff"];
47209
47405
  readonly inputPrice: 2.5;
47210
47406
  readonly outputPrice: 15;
47211
47407
  readonly cacheReadsPrice: 0.625;
@@ -47229,7 +47425,10 @@ declare const geminiModels: {
47229
47425
  readonly contextWindow: 1048576;
47230
47426
  readonly supportsImages: true;
47231
47427
  readonly supportsNativeTools: true;
47428
+ readonly defaultToolProtocol: "native";
47232
47429
  readonly supportsPromptCache: true;
47430
+ readonly includedTools: ["write_file", "edit_file"];
47431
+ readonly excludedTools: ["apply_diff"];
47233
47432
  readonly inputPrice: 2.5;
47234
47433
  readonly outputPrice: 15;
47235
47434
  readonly cacheReadsPrice: 0.625;
@@ -47251,7 +47450,10 @@ declare const geminiModels: {
47251
47450
  readonly contextWindow: 1048576;
47252
47451
  readonly supportsImages: true;
47253
47452
  readonly supportsNativeTools: true;
47453
+ readonly defaultToolProtocol: "native";
47254
47454
  readonly supportsPromptCache: true;
47455
+ readonly includedTools: ["write_file", "edit_file"];
47456
+ readonly excludedTools: ["apply_diff"];
47255
47457
  readonly inputPrice: 2.5;
47256
47458
  readonly outputPrice: 15;
47257
47459
  readonly cacheReadsPrice: 0.625;
@@ -47275,7 +47477,10 @@ declare const geminiModels: {
47275
47477
  readonly contextWindow: 1048576;
47276
47478
  readonly supportsImages: true;
47277
47479
  readonly supportsNativeTools: true;
47480
+ readonly defaultToolProtocol: "native";
47278
47481
  readonly supportsPromptCache: true;
47482
+ readonly includedTools: ["write_file", "edit_file"];
47483
+ readonly excludedTools: ["apply_diff"];
47279
47484
  readonly inputPrice: 0.3;
47280
47485
  readonly outputPrice: 2.5;
47281
47486
  readonly cacheReadsPrice: 0.075;
@@ -47288,7 +47493,10 @@ declare const geminiModels: {
47288
47493
  readonly contextWindow: 1048576;
47289
47494
  readonly supportsImages: true;
47290
47495
  readonly supportsNativeTools: true;
47496
+ readonly defaultToolProtocol: "native";
47291
47497
  readonly supportsPromptCache: true;
47498
+ readonly includedTools: ["write_file", "edit_file"];
47499
+ readonly excludedTools: ["apply_diff"];
47292
47500
  readonly inputPrice: 0.3;
47293
47501
  readonly outputPrice: 2.5;
47294
47502
  readonly cacheReadsPrice: 0.075;
@@ -47301,7 +47509,10 @@ declare const geminiModels: {
47301
47509
  readonly contextWindow: 1048576;
47302
47510
  readonly supportsImages: true;
47303
47511
  readonly supportsNativeTools: true;
47512
+ readonly defaultToolProtocol: "native";
47304
47513
  readonly supportsPromptCache: true;
47514
+ readonly includedTools: ["write_file", "edit_file"];
47515
+ readonly excludedTools: ["apply_diff"];
47305
47516
  readonly inputPrice: 0.3;
47306
47517
  readonly outputPrice: 2.5;
47307
47518
  readonly cacheReadsPrice: 0.075;
@@ -47314,7 +47525,10 @@ declare const geminiModels: {
47314
47525
  readonly contextWindow: 1048576;
47315
47526
  readonly supportsImages: true;
47316
47527
  readonly supportsNativeTools: true;
47528
+ readonly defaultToolProtocol: "native";
47317
47529
  readonly supportsPromptCache: true;
47530
+ readonly includedTools: ["write_file", "edit_file"];
47531
+ readonly excludedTools: ["apply_diff"];
47318
47532
  readonly inputPrice: 0.1;
47319
47533
  readonly outputPrice: 0.4;
47320
47534
  readonly cacheReadsPrice: 0.025;
@@ -47327,7 +47541,10 @@ declare const geminiModels: {
47327
47541
  readonly contextWindow: 1048576;
47328
47542
  readonly supportsImages: true;
47329
47543
  readonly supportsNativeTools: true;
47544
+ readonly defaultToolProtocol: "native";
47330
47545
  readonly supportsPromptCache: true;
47546
+ readonly includedTools: ["write_file", "edit_file"];
47547
+ readonly excludedTools: ["apply_diff"];
47331
47548
  readonly inputPrice: 0.1;
47332
47549
  readonly outputPrice: 0.4;
47333
47550
  readonly cacheReadsPrice: 0.025;
@@ -47346,6 +47563,7 @@ declare const groqModels: {
47346
47563
  readonly supportsImages: false;
47347
47564
  readonly supportsPromptCache: false;
47348
47565
  readonly supportsNativeTools: true;
47566
+ readonly defaultToolProtocol: "native";
47349
47567
  readonly inputPrice: 0.05;
47350
47568
  readonly outputPrice: 0.08;
47351
47569
  readonly description: "Meta Llama 3.1 8B Instant model, 128K context.";
@@ -47356,6 +47574,7 @@ declare const groqModels: {
47356
47574
  readonly supportsImages: false;
47357
47575
  readonly supportsPromptCache: false;
47358
47576
  readonly supportsNativeTools: true;
47577
+ readonly defaultToolProtocol: "native";
47359
47578
  readonly inputPrice: 0.59;
47360
47579
  readonly outputPrice: 0.79;
47361
47580
  readonly description: "Meta Llama 3.3 70B Versatile model, 128K context.";
@@ -47366,6 +47585,7 @@ declare const groqModels: {
47366
47585
  readonly supportsImages: false;
47367
47586
  readonly supportsPromptCache: false;
47368
47587
  readonly supportsNativeTools: true;
47588
+ readonly defaultToolProtocol: "native";
47369
47589
  readonly inputPrice: 0.11;
47370
47590
  readonly outputPrice: 0.34;
47371
47591
  readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
@@ -47403,6 +47623,7 @@ declare const groqModels: {
47403
47623
  readonly supportsImages: false;
47404
47624
  readonly supportsPromptCache: false;
47405
47625
  readonly supportsNativeTools: true;
47626
+ readonly defaultToolProtocol: "native";
47406
47627
  readonly inputPrice: 0.29;
47407
47628
  readonly outputPrice: 0.59;
47408
47629
  readonly description: "Alibaba Qwen 3 32B model, 128K context.";
@@ -47432,6 +47653,7 @@ declare const groqModels: {
47432
47653
  readonly supportsImages: false;
47433
47654
  readonly supportsPromptCache: true;
47434
47655
  readonly supportsNativeTools: true;
47656
+ readonly defaultToolProtocol: "native";
47435
47657
  readonly inputPrice: 0.6;
47436
47658
  readonly outputPrice: 2.5;
47437
47659
  readonly cacheReadsPrice: 0.15;
@@ -47443,6 +47665,7 @@ declare const groqModels: {
47443
47665
  readonly supportsImages: false;
47444
47666
  readonly supportsPromptCache: false;
47445
47667
  readonly supportsNativeTools: true;
47668
+ readonly defaultToolProtocol: "native";
47446
47669
  readonly inputPrice: 0.15;
47447
47670
  readonly outputPrice: 0.75;
47448
47671
  readonly description: "GPT-OSS 120B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with 20 billion parameters and 128 experts.";
@@ -47453,6 +47676,7 @@ declare const groqModels: {
47453
47676
  readonly supportsImages: false;
47454
47677
  readonly supportsPromptCache: false;
47455
47678
  readonly supportsNativeTools: true;
47679
+ readonly defaultToolProtocol: "native";
47456
47680
  readonly inputPrice: 0.1;
47457
47681
  readonly outputPrice: 0.5;
47458
47682
  readonly description: "GPT-OSS 20B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with 20 billion parameters and 32 experts.";
@@ -47526,6 +47750,7 @@ declare const mistralModels: {
47526
47750
  readonly supportsImages: true;
47527
47751
  readonly supportsPromptCache: false;
47528
47752
  readonly supportsNativeTools: true;
47753
+ readonly defaultToolProtocol: "native";
47529
47754
  readonly inputPrice: 2;
47530
47755
  readonly outputPrice: 5;
47531
47756
  };
@@ -47535,6 +47760,7 @@ declare const mistralModels: {
47535
47760
  readonly supportsImages: true;
47536
47761
  readonly supportsPromptCache: false;
47537
47762
  readonly supportsNativeTools: true;
47763
+ readonly defaultToolProtocol: "native";
47538
47764
  readonly inputPrice: 0.4;
47539
47765
  readonly outputPrice: 2;
47540
47766
  };
@@ -47544,6 +47770,7 @@ declare const mistralModels: {
47544
47770
  readonly supportsImages: true;
47545
47771
  readonly supportsPromptCache: false;
47546
47772
  readonly supportsNativeTools: true;
47773
+ readonly defaultToolProtocol: "native";
47547
47774
  readonly inputPrice: 0.4;
47548
47775
  readonly outputPrice: 2;
47549
47776
  };
@@ -47553,6 +47780,7 @@ declare const mistralModels: {
47553
47780
  readonly supportsImages: false;
47554
47781
  readonly supportsPromptCache: false;
47555
47782
  readonly supportsNativeTools: true;
47783
+ readonly defaultToolProtocol: "native";
47556
47784
  readonly inputPrice: 0.3;
47557
47785
  readonly outputPrice: 0.9;
47558
47786
  };
@@ -47562,6 +47790,7 @@ declare const mistralModels: {
47562
47790
  readonly supportsImages: false;
47563
47791
  readonly supportsPromptCache: false;
47564
47792
  readonly supportsNativeTools: true;
47793
+ readonly defaultToolProtocol: "native";
47565
47794
  readonly inputPrice: 2;
47566
47795
  readonly outputPrice: 6;
47567
47796
  };
@@ -47571,6 +47800,7 @@ declare const mistralModels: {
47571
47800
  readonly supportsImages: false;
47572
47801
  readonly supportsPromptCache: false;
47573
47802
  readonly supportsNativeTools: true;
47803
+ readonly defaultToolProtocol: "native";
47574
47804
  readonly inputPrice: 0.1;
47575
47805
  readonly outputPrice: 0.1;
47576
47806
  };
@@ -47580,6 +47810,7 @@ declare const mistralModels: {
47580
47810
  readonly supportsImages: false;
47581
47811
  readonly supportsPromptCache: false;
47582
47812
  readonly supportsNativeTools: true;
47813
+ readonly defaultToolProtocol: "native";
47583
47814
  readonly inputPrice: 0.04;
47584
47815
  readonly outputPrice: 0.04;
47585
47816
  };
@@ -47589,6 +47820,7 @@ declare const mistralModels: {
47589
47820
  readonly supportsImages: false;
47590
47821
  readonly supportsPromptCache: false;
47591
47822
  readonly supportsNativeTools: true;
47823
+ readonly defaultToolProtocol: "native";
47592
47824
  readonly inputPrice: 0.2;
47593
47825
  readonly outputPrice: 0.6;
47594
47826
  };
@@ -47598,6 +47830,7 @@ declare const mistralModels: {
47598
47830
  readonly supportsImages: true;
47599
47831
  readonly supportsPromptCache: false;
47600
47832
  readonly supportsNativeTools: true;
47833
+ readonly defaultToolProtocol: "native";
47601
47834
  readonly inputPrice: 2;
47602
47835
  readonly outputPrice: 6;
47603
47836
  };
@@ -47613,6 +47846,7 @@ declare const moonshotModels: {
47613
47846
  readonly supportsImages: false;
47614
47847
  readonly supportsPromptCache: true;
47615
47848
  readonly supportsNativeTools: true;
47849
+ readonly defaultToolProtocol: "native";
47616
47850
  readonly inputPrice: 0.6;
47617
47851
  readonly outputPrice: 2.5;
47618
47852
  readonly cacheWritesPrice: 0;
@@ -47625,6 +47859,7 @@ declare const moonshotModels: {
47625
47859
  readonly supportsImages: false;
47626
47860
  readonly supportsPromptCache: true;
47627
47861
  readonly supportsNativeTools: true;
47862
+ readonly defaultToolProtocol: "native";
47628
47863
  readonly inputPrice: 0.6;
47629
47864
  readonly outputPrice: 2.5;
47630
47865
  readonly cacheReadsPrice: 0.15;
@@ -47636,6 +47871,7 @@ declare const moonshotModels: {
47636
47871
  readonly supportsImages: false;
47637
47872
  readonly supportsPromptCache: true;
47638
47873
  readonly supportsNativeTools: true;
47874
+ readonly defaultToolProtocol: "native";
47639
47875
  readonly inputPrice: 2.4;
47640
47876
  readonly outputPrice: 10;
47641
47877
  readonly cacheWritesPrice: 0;
@@ -47648,6 +47884,7 @@ declare const moonshotModels: {
47648
47884
  readonly supportsImages: false;
47649
47885
  readonly supportsPromptCache: true;
47650
47886
  readonly supportsNativeTools: true;
47887
+ readonly defaultToolProtocol: "native";
47651
47888
  readonly inputPrice: 0.6;
47652
47889
  readonly outputPrice: 2.5;
47653
47890
  readonly cacheWritesPrice: 0;
@@ -47670,6 +47907,7 @@ declare const openAiNativeModels: {
47670
47907
  readonly maxTokens: 128000;
47671
47908
  readonly contextWindow: 400000;
47672
47909
  readonly supportsNativeTools: true;
47910
+ readonly defaultToolProtocol: "native";
47673
47911
  readonly includedTools: ["apply_patch"];
47674
47912
  readonly excludedTools: ["apply_diff", "write_to_file"];
47675
47913
  readonly supportsImages: true;
@@ -47694,6 +47932,7 @@ declare const openAiNativeModels: {
47694
47932
  readonly maxTokens: 128000;
47695
47933
  readonly contextWindow: 400000;
47696
47934
  readonly supportsNativeTools: true;
47935
+ readonly defaultToolProtocol: "native";
47697
47936
  readonly includedTools: ["apply_patch"];
47698
47937
  readonly excludedTools: ["apply_diff", "write_to_file"];
47699
47938
  readonly supportsImages: true;
@@ -47725,6 +47964,7 @@ declare const openAiNativeModels: {
47725
47964
  readonly maxTokens: 16384;
47726
47965
  readonly contextWindow: 128000;
47727
47966
  readonly supportsNativeTools: true;
47967
+ readonly defaultToolProtocol: "native";
47728
47968
  readonly includedTools: ["apply_patch"];
47729
47969
  readonly excludedTools: ["apply_diff", "write_to_file"];
47730
47970
  readonly supportsImages: true;
@@ -47738,6 +47978,7 @@ declare const openAiNativeModels: {
47738
47978
  readonly maxTokens: 128000;
47739
47979
  readonly contextWindow: 400000;
47740
47980
  readonly supportsNativeTools: true;
47981
+ readonly defaultToolProtocol: "native";
47741
47982
  readonly includedTools: ["apply_patch"];
47742
47983
  readonly excludedTools: ["apply_diff", "write_to_file"];
47743
47984
  readonly supportsImages: true;
@@ -47769,6 +48010,7 @@ declare const openAiNativeModels: {
47769
48010
  readonly maxTokens: 128000;
47770
48011
  readonly contextWindow: 400000;
47771
48012
  readonly supportsNativeTools: true;
48013
+ readonly defaultToolProtocol: "native";
47772
48014
  readonly includedTools: ["apply_patch"];
47773
48015
  readonly excludedTools: ["apply_diff", "write_to_file"];
47774
48016
  readonly supportsImages: true;
@@ -47793,6 +48035,7 @@ declare const openAiNativeModels: {
47793
48035
  readonly maxTokens: 128000;
47794
48036
  readonly contextWindow: 400000;
47795
48037
  readonly supportsNativeTools: true;
48038
+ readonly defaultToolProtocol: "native";
47796
48039
  readonly includedTools: ["apply_patch"];
47797
48040
  readonly excludedTools: ["apply_diff", "write_to_file"];
47798
48041
  readonly supportsImages: true;
@@ -47810,6 +48053,7 @@ declare const openAiNativeModels: {
47810
48053
  readonly maxTokens: 128000;
47811
48054
  readonly contextWindow: 400000;
47812
48055
  readonly supportsNativeTools: true;
48056
+ readonly defaultToolProtocol: "native";
47813
48057
  readonly includedTools: ["apply_patch"];
47814
48058
  readonly excludedTools: ["apply_diff", "write_to_file"];
47815
48059
  readonly supportsImages: true;
@@ -47840,6 +48084,7 @@ declare const openAiNativeModels: {
47840
48084
  readonly maxTokens: 128000;
47841
48085
  readonly contextWindow: 400000;
47842
48086
  readonly supportsNativeTools: true;
48087
+ readonly defaultToolProtocol: "native";
47843
48088
  readonly includedTools: ["apply_patch"];
47844
48089
  readonly excludedTools: ["apply_diff", "write_to_file"];
47845
48090
  readonly supportsImages: true;
@@ -47870,6 +48115,7 @@ declare const openAiNativeModels: {
47870
48115
  readonly maxTokens: 128000;
47871
48116
  readonly contextWindow: 400000;
47872
48117
  readonly supportsNativeTools: true;
48118
+ readonly defaultToolProtocol: "native";
47873
48119
  readonly includedTools: ["apply_patch"];
47874
48120
  readonly excludedTools: ["apply_diff", "write_to_file"];
47875
48121
  readonly supportsImages: true;
@@ -47893,6 +48139,7 @@ declare const openAiNativeModels: {
47893
48139
  readonly maxTokens: 128000;
47894
48140
  readonly contextWindow: 400000;
47895
48141
  readonly supportsNativeTools: true;
48142
+ readonly defaultToolProtocol: "native";
47896
48143
  readonly includedTools: ["apply_patch"];
47897
48144
  readonly excludedTools: ["apply_diff", "write_to_file"];
47898
48145
  readonly supportsImages: true;
@@ -47917,6 +48164,7 @@ declare const openAiNativeModels: {
47917
48164
  readonly maxTokens: 128000;
47918
48165
  readonly contextWindow: 400000;
47919
48166
  readonly supportsNativeTools: true;
48167
+ readonly defaultToolProtocol: "native";
47920
48168
  readonly includedTools: ["apply_patch"];
47921
48169
  readonly excludedTools: ["apply_diff", "write_to_file"];
47922
48170
  readonly supportsImages: true;
@@ -47930,6 +48178,7 @@ declare const openAiNativeModels: {
47930
48178
  readonly maxTokens: 32768;
47931
48179
  readonly contextWindow: 1047576;
47932
48180
  readonly supportsNativeTools: true;
48181
+ readonly defaultToolProtocol: "native";
47933
48182
  readonly includedTools: ["apply_patch"];
47934
48183
  readonly excludedTools: ["apply_diff", "write_to_file"];
47935
48184
  readonly supportsImages: true;
@@ -47950,6 +48199,7 @@ declare const openAiNativeModels: {
47950
48199
  readonly maxTokens: 32768;
47951
48200
  readonly contextWindow: 1047576;
47952
48201
  readonly supportsNativeTools: true;
48202
+ readonly defaultToolProtocol: "native";
47953
48203
  readonly includedTools: ["apply_patch"];
47954
48204
  readonly excludedTools: ["apply_diff", "write_to_file"];
47955
48205
  readonly supportsImages: true;
@@ -47970,6 +48220,7 @@ declare const openAiNativeModels: {
47970
48220
  readonly maxTokens: 32768;
47971
48221
  readonly contextWindow: 1047576;
47972
48222
  readonly supportsNativeTools: true;
48223
+ readonly defaultToolProtocol: "native";
47973
48224
  readonly includedTools: ["apply_patch"];
47974
48225
  readonly excludedTools: ["apply_diff", "write_to_file"];
47975
48226
  readonly supportsImages: true;
@@ -47990,6 +48241,7 @@ declare const openAiNativeModels: {
47990
48241
  readonly maxTokens: 100000;
47991
48242
  readonly contextWindow: 200000;
47992
48243
  readonly supportsNativeTools: true;
48244
+ readonly defaultToolProtocol: "native";
47993
48245
  readonly supportsImages: true;
47994
48246
  readonly supportsPromptCache: true;
47995
48247
  readonly inputPrice: 2;
@@ -48016,6 +48268,7 @@ declare const openAiNativeModels: {
48016
48268
  readonly maxTokens: 100000;
48017
48269
  readonly contextWindow: 200000;
48018
48270
  readonly supportsNativeTools: true;
48271
+ readonly defaultToolProtocol: "native";
48019
48272
  readonly supportsImages: true;
48020
48273
  readonly supportsPromptCache: true;
48021
48274
  readonly inputPrice: 2;
@@ -48028,6 +48281,7 @@ declare const openAiNativeModels: {
48028
48281
  readonly maxTokens: 100000;
48029
48282
  readonly contextWindow: 200000;
48030
48283
  readonly supportsNativeTools: true;
48284
+ readonly defaultToolProtocol: "native";
48031
48285
  readonly supportsImages: true;
48032
48286
  readonly supportsPromptCache: true;
48033
48287
  readonly inputPrice: 2;
@@ -48040,6 +48294,7 @@ declare const openAiNativeModels: {
48040
48294
  readonly maxTokens: 100000;
48041
48295
  readonly contextWindow: 200000;
48042
48296
  readonly supportsNativeTools: true;
48297
+ readonly defaultToolProtocol: "native";
48043
48298
  readonly supportsImages: true;
48044
48299
  readonly supportsPromptCache: true;
48045
48300
  readonly inputPrice: 1.1;
@@ -48066,6 +48321,7 @@ declare const openAiNativeModels: {
48066
48321
  readonly maxTokens: 100000;
48067
48322
  readonly contextWindow: 200000;
48068
48323
  readonly supportsNativeTools: true;
48324
+ readonly defaultToolProtocol: "native";
48069
48325
  readonly supportsImages: true;
48070
48326
  readonly supportsPromptCache: true;
48071
48327
  readonly inputPrice: 1.1;
@@ -48078,6 +48334,7 @@ declare const openAiNativeModels: {
48078
48334
  readonly maxTokens: 100000;
48079
48335
  readonly contextWindow: 200000;
48080
48336
  readonly supportsNativeTools: true;
48337
+ readonly defaultToolProtocol: "native";
48081
48338
  readonly supportsImages: true;
48082
48339
  readonly supportsPromptCache: true;
48083
48340
  readonly inputPrice: 1.1;
@@ -48090,6 +48347,7 @@ declare const openAiNativeModels: {
48090
48347
  readonly maxTokens: 100000;
48091
48348
  readonly contextWindow: 200000;
48092
48349
  readonly supportsNativeTools: true;
48350
+ readonly defaultToolProtocol: "native";
48093
48351
  readonly supportsImages: false;
48094
48352
  readonly supportsPromptCache: true;
48095
48353
  readonly inputPrice: 1.1;
@@ -48103,6 +48361,7 @@ declare const openAiNativeModels: {
48103
48361
  readonly maxTokens: 100000;
48104
48362
  readonly contextWindow: 200000;
48105
48363
  readonly supportsNativeTools: true;
48364
+ readonly defaultToolProtocol: "native";
48106
48365
  readonly supportsImages: false;
48107
48366
  readonly supportsPromptCache: true;
48108
48367
  readonly inputPrice: 1.1;
@@ -48115,6 +48374,7 @@ declare const openAiNativeModels: {
48115
48374
  readonly maxTokens: 100000;
48116
48375
  readonly contextWindow: 200000;
48117
48376
  readonly supportsNativeTools: true;
48377
+ readonly defaultToolProtocol: "native";
48118
48378
  readonly supportsImages: false;
48119
48379
  readonly supportsPromptCache: true;
48120
48380
  readonly inputPrice: 1.1;
@@ -48127,6 +48387,7 @@ declare const openAiNativeModels: {
48127
48387
  readonly maxTokens: 100000;
48128
48388
  readonly contextWindow: 200000;
48129
48389
  readonly supportsNativeTools: true;
48390
+ readonly defaultToolProtocol: "native";
48130
48391
  readonly supportsImages: true;
48131
48392
  readonly supportsPromptCache: true;
48132
48393
  readonly inputPrice: 15;
@@ -48138,6 +48399,7 @@ declare const openAiNativeModels: {
48138
48399
  readonly maxTokens: 32768;
48139
48400
  readonly contextWindow: 128000;
48140
48401
  readonly supportsNativeTools: true;
48402
+ readonly defaultToolProtocol: "native";
48141
48403
  readonly supportsImages: true;
48142
48404
  readonly supportsPromptCache: true;
48143
48405
  readonly inputPrice: 15;
@@ -48149,6 +48411,7 @@ declare const openAiNativeModels: {
48149
48411
  readonly maxTokens: 65536;
48150
48412
  readonly contextWindow: 128000;
48151
48413
  readonly supportsNativeTools: true;
48414
+ readonly defaultToolProtocol: "native";
48152
48415
  readonly supportsImages: true;
48153
48416
  readonly supportsPromptCache: true;
48154
48417
  readonly inputPrice: 1.1;
@@ -48160,6 +48423,7 @@ declare const openAiNativeModels: {
48160
48423
  readonly maxTokens: 16384;
48161
48424
  readonly contextWindow: 128000;
48162
48425
  readonly supportsNativeTools: true;
48426
+ readonly defaultToolProtocol: "native";
48163
48427
  readonly supportsImages: true;
48164
48428
  readonly supportsPromptCache: true;
48165
48429
  readonly inputPrice: 2.5;
@@ -48178,6 +48442,7 @@ declare const openAiNativeModels: {
48178
48442
  readonly maxTokens: 16384;
48179
48443
  readonly contextWindow: 128000;
48180
48444
  readonly supportsNativeTools: true;
48445
+ readonly defaultToolProtocol: "native";
48181
48446
  readonly supportsImages: true;
48182
48447
  readonly supportsPromptCache: true;
48183
48448
  readonly inputPrice: 0.15;
@@ -48196,6 +48461,7 @@ declare const openAiNativeModels: {
48196
48461
  readonly maxTokens: 16384;
48197
48462
  readonly contextWindow: 200000;
48198
48463
  readonly supportsNativeTools: true;
48464
+ readonly defaultToolProtocol: "native";
48199
48465
  readonly supportsImages: false;
48200
48466
  readonly supportsPromptCache: false;
48201
48467
  readonly inputPrice: 1.5;
@@ -48208,6 +48474,7 @@ declare const openAiNativeModels: {
48208
48474
  readonly maxTokens: 128000;
48209
48475
  readonly contextWindow: 400000;
48210
48476
  readonly supportsNativeTools: true;
48477
+ readonly defaultToolProtocol: "native";
48211
48478
  readonly includedTools: ["apply_patch"];
48212
48479
  readonly excludedTools: ["apply_diff", "write_to_file"];
48213
48480
  readonly supportsImages: true;
@@ -48238,6 +48505,7 @@ declare const openAiNativeModels: {
48238
48505
  readonly maxTokens: 128000;
48239
48506
  readonly contextWindow: 400000;
48240
48507
  readonly supportsNativeTools: true;
48508
+ readonly defaultToolProtocol: "native";
48241
48509
  readonly includedTools: ["apply_patch"];
48242
48510
  readonly excludedTools: ["apply_diff", "write_to_file"];
48243
48511
  readonly supportsImages: true;
@@ -48268,6 +48536,7 @@ declare const openAiNativeModels: {
48268
48536
  readonly maxTokens: 128000;
48269
48537
  readonly contextWindow: 400000;
48270
48538
  readonly supportsNativeTools: true;
48539
+ readonly defaultToolProtocol: "native";
48271
48540
  readonly includedTools: ["apply_patch"];
48272
48541
  readonly excludedTools: ["apply_diff", "write_to_file"];
48273
48542
  readonly supportsImages: true;
@@ -48309,6 +48578,8 @@ declare const qwenCodeModels: {
48309
48578
  readonly contextWindow: 1000000;
48310
48579
  readonly supportsImages: false;
48311
48580
  readonly supportsPromptCache: false;
48581
+ readonly supportsNativeTools: true;
48582
+ readonly defaultToolProtocol: "native";
48312
48583
  readonly inputPrice: 0;
48313
48584
  readonly outputPrice: 0;
48314
48585
  readonly cacheWritesPrice: 0;
@@ -48320,6 +48591,8 @@ declare const qwenCodeModels: {
48320
48591
  readonly contextWindow: 1000000;
48321
48592
  readonly supportsImages: false;
48322
48593
  readonly supportsPromptCache: false;
48594
+ readonly supportsNativeTools: true;
48595
+ readonly defaultToolProtocol: "native";
48323
48596
  readonly inputPrice: 0;
48324
48597
  readonly outputPrice: 0;
48325
48598
  readonly cacheWritesPrice: 0;
@@ -48571,6 +48844,7 @@ declare const sambaNovaModels: {
48571
48844
  readonly supportsImages: false;
48572
48845
  readonly supportsPromptCache: false;
48573
48846
  readonly supportsNativeTools: true;
48847
+ readonly defaultToolProtocol: "native";
48574
48848
  readonly inputPrice: 0.1;
48575
48849
  readonly outputPrice: 0.2;
48576
48850
  readonly description: "Meta Llama 3.1 8B Instruct model with 16K context window.";
@@ -48581,6 +48855,7 @@ declare const sambaNovaModels: {
48581
48855
  readonly supportsImages: false;
48582
48856
  readonly supportsPromptCache: false;
48583
48857
  readonly supportsNativeTools: true;
48858
+ readonly defaultToolProtocol: "native";
48584
48859
  readonly inputPrice: 0.6;
48585
48860
  readonly outputPrice: 1.2;
48586
48861
  readonly description: "Meta Llama 3.3 70B Instruct model with 128K context window.";
@@ -48592,6 +48867,7 @@ declare const sambaNovaModels: {
48592
48867
  readonly supportsPromptCache: false;
48593
48868
  readonly supportsReasoningBudget: true;
48594
48869
  readonly supportsNativeTools: true;
48870
+ readonly defaultToolProtocol: "native";
48595
48871
  readonly inputPrice: 5;
48596
48872
  readonly outputPrice: 7;
48597
48873
  readonly description: "DeepSeek R1 reasoning model with 32K context window.";
@@ -48602,6 +48878,7 @@ declare const sambaNovaModels: {
48602
48878
  readonly supportsImages: false;
48603
48879
  readonly supportsPromptCache: false;
48604
48880
  readonly supportsNativeTools: true;
48881
+ readonly defaultToolProtocol: "native";
48605
48882
  readonly inputPrice: 3;
48606
48883
  readonly outputPrice: 4.5;
48607
48884
  readonly description: "DeepSeek V3 model with 32K context window.";
@@ -48612,6 +48889,7 @@ declare const sambaNovaModels: {
48612
48889
  readonly supportsImages: false;
48613
48890
  readonly supportsPromptCache: false;
48614
48891
  readonly supportsNativeTools: true;
48892
+ readonly defaultToolProtocol: "native";
48615
48893
  readonly inputPrice: 3;
48616
48894
  readonly outputPrice: 4.5;
48617
48895
  readonly description: "DeepSeek V3.1 model with 32K context window.";
@@ -48631,6 +48909,7 @@ declare const sambaNovaModels: {
48631
48909
  readonly supportsImages: true;
48632
48910
  readonly supportsPromptCache: false;
48633
48911
  readonly supportsNativeTools: true;
48912
+ readonly defaultToolProtocol: "native";
48634
48913
  readonly inputPrice: 0.63;
48635
48914
  readonly outputPrice: 1.8;
48636
48915
  readonly description: "Meta Llama 4 Maverick 17B 128E Instruct model with 128K context window.";
@@ -48650,6 +48929,7 @@ declare const sambaNovaModels: {
48650
48929
  readonly supportsImages: false;
48651
48930
  readonly supportsPromptCache: false;
48652
48931
  readonly supportsNativeTools: true;
48932
+ readonly defaultToolProtocol: "native";
48653
48933
  readonly inputPrice: 0.4;
48654
48934
  readonly outputPrice: 0.8;
48655
48935
  readonly description: "Alibaba Qwen 3 32B model with 8K context window.";
@@ -48660,6 +48940,7 @@ declare const sambaNovaModels: {
48660
48940
  readonly supportsImages: false;
48661
48941
  readonly supportsPromptCache: false;
48662
48942
  readonly supportsNativeTools: true;
48943
+ readonly defaultToolProtocol: "native";
48663
48944
  readonly inputPrice: 0.22;
48664
48945
  readonly outputPrice: 0.59;
48665
48946
  readonly description: "OpenAI gpt oss 120b model with 128k context window.";
@@ -48677,9 +48958,12 @@ declare const vertexModels: {
48677
48958
  readonly contextWindow: 1048576;
48678
48959
  readonly supportsImages: true;
48679
48960
  readonly supportsNativeTools: true;
48961
+ readonly defaultToolProtocol: "native";
48680
48962
  readonly supportsPromptCache: true;
48681
48963
  readonly supportsReasoningEffort: ["low", "high"];
48682
48964
  readonly reasoningEffort: "low";
48965
+ readonly includedTools: ["write_file", "edit_file"];
48966
+ readonly excludedTools: ["apply_diff"];
48683
48967
  readonly supportsTemperature: true;
48684
48968
  readonly defaultTemperature: 1;
48685
48969
  readonly inputPrice: 4;
@@ -48694,12 +48978,33 @@ declare const vertexModels: {
48694
48978
  readonly outputPrice: 18;
48695
48979
  }];
48696
48980
  };
48981
+ readonly "gemini-3-flash-preview": {
48982
+ readonly maxTokens: 65536;
48983
+ readonly contextWindow: 1048576;
48984
+ readonly supportsImages: true;
48985
+ readonly supportsNativeTools: true;
48986
+ readonly defaultToolProtocol: "native";
48987
+ readonly supportsPromptCache: true;
48988
+ readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
48989
+ readonly reasoningEffort: "medium";
48990
+ readonly includedTools: ["write_file", "edit_file"];
48991
+ readonly excludedTools: ["apply_diff"];
48992
+ readonly supportsTemperature: true;
48993
+ readonly defaultTemperature: 1;
48994
+ readonly inputPrice: 0.3;
48995
+ readonly outputPrice: 2.5;
48996
+ readonly cacheReadsPrice: 0.075;
48997
+ readonly cacheWritesPrice: 1;
48998
+ };
48697
48999
  readonly "gemini-2.5-flash-preview-05-20:thinking": {
48698
49000
  readonly maxTokens: 65535;
48699
49001
  readonly contextWindow: 1048576;
48700
49002
  readonly supportsImages: true;
48701
49003
  readonly supportsNativeTools: true;
49004
+ readonly defaultToolProtocol: "native";
48702
49005
  readonly supportsPromptCache: true;
49006
+ readonly includedTools: ["write_file", "edit_file"];
49007
+ readonly excludedTools: ["apply_diff"];
48703
49008
  readonly inputPrice: 0.15;
48704
49009
  readonly outputPrice: 3.5;
48705
49010
  readonly maxThinkingTokens: 24576;
@@ -48711,7 +49016,10 @@ declare const vertexModels: {
48711
49016
  readonly contextWindow: 1048576;
48712
49017
  readonly supportsImages: true;
48713
49018
  readonly supportsNativeTools: true;
49019
+ readonly defaultToolProtocol: "native";
48714
49020
  readonly supportsPromptCache: true;
49021
+ readonly includedTools: ["write_file", "edit_file"];
49022
+ readonly excludedTools: ["apply_diff"];
48715
49023
  readonly inputPrice: 0.15;
48716
49024
  readonly outputPrice: 0.6;
48717
49025
  };
@@ -48720,7 +49028,10 @@ declare const vertexModels: {
48720
49028
  readonly contextWindow: 1048576;
48721
49029
  readonly supportsImages: true;
48722
49030
  readonly supportsNativeTools: true;
49031
+ readonly defaultToolProtocol: "native";
48723
49032
  readonly supportsPromptCache: true;
49033
+ readonly includedTools: ["write_file", "edit_file"];
49034
+ readonly excludedTools: ["apply_diff"];
48724
49035
  readonly inputPrice: 0.3;
48725
49036
  readonly outputPrice: 2.5;
48726
49037
  readonly cacheReadsPrice: 0.075;
@@ -48733,7 +49044,10 @@ declare const vertexModels: {
48733
49044
  readonly contextWindow: 1048576;
48734
49045
  readonly supportsImages: true;
48735
49046
  readonly supportsNativeTools: true;
49047
+ readonly defaultToolProtocol: "native";
48736
49048
  readonly supportsPromptCache: false;
49049
+ readonly includedTools: ["write_file", "edit_file"];
49050
+ readonly excludedTools: ["apply_diff"];
48737
49051
  readonly inputPrice: 0.15;
48738
49052
  readonly outputPrice: 3.5;
48739
49053
  readonly maxThinkingTokens: 24576;
@@ -48745,7 +49059,10 @@ declare const vertexModels: {
48745
49059
  readonly contextWindow: 1048576;
48746
49060
  readonly supportsImages: true;
48747
49061
  readonly supportsNativeTools: true;
49062
+ readonly defaultToolProtocol: "native";
48748
49063
  readonly supportsPromptCache: false;
49064
+ readonly includedTools: ["write_file", "edit_file"];
49065
+ readonly excludedTools: ["apply_diff"];
48749
49066
  readonly inputPrice: 0.15;
48750
49067
  readonly outputPrice: 0.6;
48751
49068
  };
@@ -48754,7 +49071,10 @@ declare const vertexModels: {
48754
49071
  readonly contextWindow: 1048576;
48755
49072
  readonly supportsImages: true;
48756
49073
  readonly supportsNativeTools: true;
49074
+ readonly defaultToolProtocol: "native";
48757
49075
  readonly supportsPromptCache: true;
49076
+ readonly includedTools: ["write_file", "edit_file"];
49077
+ readonly excludedTools: ["apply_diff"];
48758
49078
  readonly inputPrice: 2.5;
48759
49079
  readonly outputPrice: 15;
48760
49080
  };
@@ -48763,7 +49083,10 @@ declare const vertexModels: {
48763
49083
  readonly contextWindow: 1048576;
48764
49084
  readonly supportsImages: true;
48765
49085
  readonly supportsNativeTools: true;
49086
+ readonly defaultToolProtocol: "native";
48766
49087
  readonly supportsPromptCache: true;
49088
+ readonly includedTools: ["write_file", "edit_file"];
49089
+ readonly excludedTools: ["apply_diff"];
48767
49090
  readonly inputPrice: 2.5;
48768
49091
  readonly outputPrice: 15;
48769
49092
  };
@@ -48772,7 +49095,10 @@ declare const vertexModels: {
48772
49095
  readonly contextWindow: 1048576;
48773
49096
  readonly supportsImages: true;
48774
49097
  readonly supportsNativeTools: true;
49098
+ readonly defaultToolProtocol: "native";
48775
49099
  readonly supportsPromptCache: true;
49100
+ readonly includedTools: ["write_file", "edit_file"];
49101
+ readonly excludedTools: ["apply_diff"];
48776
49102
  readonly inputPrice: 2.5;
48777
49103
  readonly outputPrice: 15;
48778
49104
  readonly maxThinkingTokens: 32768;
@@ -48783,7 +49109,10 @@ declare const vertexModels: {
48783
49109
  readonly contextWindow: 1048576;
48784
49110
  readonly supportsImages: true;
48785
49111
  readonly supportsNativeTools: true;
49112
+ readonly defaultToolProtocol: "native";
48786
49113
  readonly supportsPromptCache: true;
49114
+ readonly includedTools: ["write_file", "edit_file"];
49115
+ readonly excludedTools: ["apply_diff"];
48787
49116
  readonly inputPrice: 2.5;
48788
49117
  readonly outputPrice: 15;
48789
49118
  readonly maxThinkingTokens: 32768;
@@ -48806,7 +49135,10 @@ declare const vertexModels: {
48806
49135
  readonly contextWindow: 1048576;
48807
49136
  readonly supportsImages: true;
48808
49137
  readonly supportsNativeTools: true;
49138
+ readonly defaultToolProtocol: "native";
48809
49139
  readonly supportsPromptCache: false;
49140
+ readonly includedTools: ["write_file", "edit_file"];
49141
+ readonly excludedTools: ["apply_diff"];
48810
49142
  readonly inputPrice: 0;
48811
49143
  readonly outputPrice: 0;
48812
49144
  };
@@ -48815,7 +49147,10 @@ declare const vertexModels: {
48815
49147
  readonly contextWindow: 2097152;
48816
49148
  readonly supportsImages: true;
48817
49149
  readonly supportsNativeTools: true;
49150
+ readonly defaultToolProtocol: "native";
48818
49151
  readonly supportsPromptCache: false;
49152
+ readonly includedTools: ["write_file", "edit_file"];
49153
+ readonly excludedTools: ["apply_diff"];
48819
49154
  readonly inputPrice: 0;
48820
49155
  readonly outputPrice: 0;
48821
49156
  };
@@ -48824,7 +49159,10 @@ declare const vertexModels: {
48824
49159
  readonly contextWindow: 1048576;
48825
49160
  readonly supportsImages: true;
48826
49161
  readonly supportsNativeTools: true;
49162
+ readonly defaultToolProtocol: "native";
48827
49163
  readonly supportsPromptCache: true;
49164
+ readonly includedTools: ["write_file", "edit_file"];
49165
+ readonly excludedTools: ["apply_diff"];
48828
49166
  readonly inputPrice: 0.15;
48829
49167
  readonly outputPrice: 0.6;
48830
49168
  };
@@ -48833,7 +49171,10 @@ declare const vertexModels: {
48833
49171
  readonly contextWindow: 1048576;
48834
49172
  readonly supportsImages: true;
48835
49173
  readonly supportsNativeTools: true;
49174
+ readonly defaultToolProtocol: "native";
48836
49175
  readonly supportsPromptCache: false;
49176
+ readonly includedTools: ["write_file", "edit_file"];
49177
+ readonly excludedTools: ["apply_diff"];
48837
49178
  readonly inputPrice: 0.075;
48838
49179
  readonly outputPrice: 0.3;
48839
49180
  };
@@ -48842,7 +49183,10 @@ declare const vertexModels: {
48842
49183
  readonly contextWindow: 32768;
48843
49184
  readonly supportsImages: true;
48844
49185
  readonly supportsNativeTools: true;
49186
+ readonly defaultToolProtocol: "native";
48845
49187
  readonly supportsPromptCache: false;
49188
+ readonly includedTools: ["write_file", "edit_file"];
49189
+ readonly excludedTools: ["apply_diff"];
48846
49190
  readonly inputPrice: 0;
48847
49191
  readonly outputPrice: 0;
48848
49192
  };
@@ -48851,7 +49195,10 @@ declare const vertexModels: {
48851
49195
  readonly contextWindow: 1048576;
48852
49196
  readonly supportsImages: true;
48853
49197
  readonly supportsNativeTools: true;
49198
+ readonly defaultToolProtocol: "native";
48854
49199
  readonly supportsPromptCache: true;
49200
+ readonly includedTools: ["write_file", "edit_file"];
49201
+ readonly excludedTools: ["apply_diff"];
48855
49202
  readonly inputPrice: 0.075;
48856
49203
  readonly outputPrice: 0.3;
48857
49204
  };
@@ -48860,7 +49207,10 @@ declare const vertexModels: {
48860
49207
  readonly contextWindow: 2097152;
48861
49208
  readonly supportsImages: true;
48862
49209
  readonly supportsNativeTools: true;
49210
+ readonly defaultToolProtocol: "native";
48863
49211
  readonly supportsPromptCache: false;
49212
+ readonly includedTools: ["write_file", "edit_file"];
49213
+ readonly excludedTools: ["apply_diff"];
48864
49214
  readonly inputPrice: 1.25;
48865
49215
  readonly outputPrice: 5;
48866
49216
  };
@@ -48869,28 +49219,48 @@ declare const vertexModels: {
48869
49219
  readonly contextWindow: 200000;
48870
49220
  readonly supportsImages: true;
48871
49221
  readonly supportsPromptCache: true;
49222
+ readonly supportsNativeTools: true;
49223
+ readonly defaultToolProtocol: "native";
48872
49224
  readonly inputPrice: 3;
48873
49225
  readonly outputPrice: 15;
48874
49226
  readonly cacheWritesPrice: 3.75;
48875
49227
  readonly cacheReadsPrice: 0.3;
48876
49228
  readonly supportsReasoningBudget: true;
49229
+ readonly tiers: [{
49230
+ readonly contextWindow: 1000000;
49231
+ readonly inputPrice: 6;
49232
+ readonly outputPrice: 22.5;
49233
+ readonly cacheWritesPrice: 7.5;
49234
+ readonly cacheReadsPrice: 0.6;
49235
+ }];
48877
49236
  };
48878
49237
  readonly "claude-sonnet-4-5@20250929": {
48879
49238
  readonly maxTokens: 8192;
48880
49239
  readonly contextWindow: 200000;
48881
49240
  readonly supportsImages: true;
48882
49241
  readonly supportsPromptCache: true;
49242
+ readonly supportsNativeTools: true;
49243
+ readonly defaultToolProtocol: "native";
48883
49244
  readonly inputPrice: 3;
48884
49245
  readonly outputPrice: 15;
48885
49246
  readonly cacheWritesPrice: 3.75;
48886
49247
  readonly cacheReadsPrice: 0.3;
48887
49248
  readonly supportsReasoningBudget: true;
49249
+ readonly tiers: [{
49250
+ readonly contextWindow: 1000000;
49251
+ readonly inputPrice: 6;
49252
+ readonly outputPrice: 22.5;
49253
+ readonly cacheWritesPrice: 7.5;
49254
+ readonly cacheReadsPrice: 0.6;
49255
+ }];
48888
49256
  };
48889
49257
  readonly "claude-haiku-4-5@20251001": {
48890
49258
  readonly maxTokens: 8192;
48891
49259
  readonly contextWindow: 200000;
48892
49260
  readonly supportsImages: true;
48893
49261
  readonly supportsPromptCache: true;
49262
+ readonly supportsNativeTools: true;
49263
+ readonly defaultToolProtocol: "native";
48894
49264
  readonly inputPrice: 1;
48895
49265
  readonly outputPrice: 5;
48896
49266
  readonly cacheWritesPrice: 1.25;
@@ -48902,6 +49272,8 @@ declare const vertexModels: {
48902
49272
  readonly contextWindow: 200000;
48903
49273
  readonly supportsImages: true;
48904
49274
  readonly supportsPromptCache: true;
49275
+ readonly supportsNativeTools: true;
49276
+ readonly defaultToolProtocol: "native";
48905
49277
  readonly inputPrice: 5;
48906
49278
  readonly outputPrice: 25;
48907
49279
  readonly cacheWritesPrice: 6.25;
@@ -48913,6 +49285,8 @@ declare const vertexModels: {
48913
49285
  readonly contextWindow: 200000;
48914
49286
  readonly supportsImages: true;
48915
49287
  readonly supportsPromptCache: true;
49288
+ readonly supportsNativeTools: true;
49289
+ readonly defaultToolProtocol: "native";
48916
49290
  readonly inputPrice: 15;
48917
49291
  readonly outputPrice: 75;
48918
49292
  readonly cacheWritesPrice: 18.75;
@@ -48924,6 +49298,8 @@ declare const vertexModels: {
48924
49298
  readonly contextWindow: 200000;
48925
49299
  readonly supportsImages: true;
48926
49300
  readonly supportsPromptCache: true;
49301
+ readonly supportsNativeTools: true;
49302
+ readonly defaultToolProtocol: "native";
48927
49303
  readonly inputPrice: 15;
48928
49304
  readonly outputPrice: 75;
48929
49305
  readonly cacheWritesPrice: 18.75;
@@ -48934,6 +49310,8 @@ declare const vertexModels: {
48934
49310
  readonly contextWindow: 200000;
48935
49311
  readonly supportsImages: true;
48936
49312
  readonly supportsPromptCache: true;
49313
+ readonly supportsNativeTools: true;
49314
+ readonly defaultToolProtocol: "native";
48937
49315
  readonly inputPrice: 3;
48938
49316
  readonly outputPrice: 15;
48939
49317
  readonly cacheWritesPrice: 3.75;
@@ -48946,6 +49324,8 @@ declare const vertexModels: {
48946
49324
  readonly contextWindow: 200000;
48947
49325
  readonly supportsImages: true;
48948
49326
  readonly supportsPromptCache: true;
49327
+ readonly supportsNativeTools: true;
49328
+ readonly defaultToolProtocol: "native";
48949
49329
  readonly inputPrice: 3;
48950
49330
  readonly outputPrice: 15;
48951
49331
  readonly cacheWritesPrice: 3.75;
@@ -48956,6 +49336,8 @@ declare const vertexModels: {
48956
49336
  readonly contextWindow: 200000;
48957
49337
  readonly supportsImages: true;
48958
49338
  readonly supportsPromptCache: true;
49339
+ readonly supportsNativeTools: true;
49340
+ readonly defaultToolProtocol: "native";
48959
49341
  readonly inputPrice: 3;
48960
49342
  readonly outputPrice: 15;
48961
49343
  readonly cacheWritesPrice: 3.75;
@@ -48966,6 +49348,8 @@ declare const vertexModels: {
48966
49348
  readonly contextWindow: 200000;
48967
49349
  readonly supportsImages: true;
48968
49350
  readonly supportsPromptCache: true;
49351
+ readonly supportsNativeTools: true;
49352
+ readonly defaultToolProtocol: "native";
48969
49353
  readonly inputPrice: 3;
48970
49354
  readonly outputPrice: 15;
48971
49355
  readonly cacheWritesPrice: 3.75;
@@ -48976,6 +49360,8 @@ declare const vertexModels: {
48976
49360
  readonly contextWindow: 200000;
48977
49361
  readonly supportsImages: false;
48978
49362
  readonly supportsPromptCache: true;
49363
+ readonly supportsNativeTools: true;
49364
+ readonly defaultToolProtocol: "native";
48979
49365
  readonly inputPrice: 1;
48980
49366
  readonly outputPrice: 5;
48981
49367
  readonly cacheWritesPrice: 1.25;
@@ -48986,6 +49372,8 @@ declare const vertexModels: {
48986
49372
  readonly contextWindow: 200000;
48987
49373
  readonly supportsImages: true;
48988
49374
  readonly supportsPromptCache: true;
49375
+ readonly supportsNativeTools: true;
49376
+ readonly defaultToolProtocol: "native";
48989
49377
  readonly inputPrice: 15;
48990
49378
  readonly outputPrice: 75;
48991
49379
  readonly cacheWritesPrice: 18.75;
@@ -48996,6 +49384,8 @@ declare const vertexModels: {
48996
49384
  readonly contextWindow: 200000;
48997
49385
  readonly supportsImages: true;
48998
49386
  readonly supportsPromptCache: true;
49387
+ readonly supportsNativeTools: true;
49388
+ readonly defaultToolProtocol: "native";
48999
49389
  readonly inputPrice: 0.25;
49000
49390
  readonly outputPrice: 1.25;
49001
49391
  readonly cacheWritesPrice: 0.3;
@@ -49006,7 +49396,10 @@ declare const vertexModels: {
49006
49396
  readonly contextWindow: 1048576;
49007
49397
  readonly supportsImages: true;
49008
49398
  readonly supportsNativeTools: true;
49399
+ readonly defaultToolProtocol: "native";
49009
49400
  readonly supportsPromptCache: true;
49401
+ readonly includedTools: ["write_file", "edit_file"];
49402
+ readonly excludedTools: ["apply_diff"];
49010
49403
  readonly inputPrice: 0.1;
49011
49404
  readonly outputPrice: 0.4;
49012
49405
  readonly cacheReadsPrice: 0.025;
@@ -49078,6 +49471,7 @@ declare const vertexModels: {
49078
49471
  readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
49079
49472
  };
49080
49473
  };
49474
+ declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929"];
49081
49475
  declare const VERTEX_REGIONS: {
49082
49476
  value: string;
49083
49477
  label: string;
@@ -49277,6 +49671,7 @@ declare const xaiModels: {
49277
49671
  readonly supportsImages: true;
49278
49672
  readonly supportsPromptCache: true;
49279
49673
  readonly supportsNativeTools: true;
49674
+ readonly defaultToolProtocol: "native";
49280
49675
  readonly inputPrice: 0.2;
49281
49676
  readonly outputPrice: 1.5;
49282
49677
  readonly cacheWritesPrice: 0.02;
@@ -49291,6 +49686,7 @@ declare const xaiModels: {
49291
49686
  readonly supportsImages: true;
49292
49687
  readonly supportsPromptCache: true;
49293
49688
  readonly supportsNativeTools: true;
49689
+ readonly defaultToolProtocol: "native";
49294
49690
  readonly inputPrice: 0.2;
49295
49691
  readonly outputPrice: 0.5;
49296
49692
  readonly cacheWritesPrice: 0.05;
@@ -49305,6 +49701,7 @@ declare const xaiModels: {
49305
49701
  readonly supportsImages: true;
49306
49702
  readonly supportsPromptCache: true;
49307
49703
  readonly supportsNativeTools: true;
49704
+ readonly defaultToolProtocol: "native";
49308
49705
  readonly inputPrice: 0.2;
49309
49706
  readonly outputPrice: 0.5;
49310
49707
  readonly cacheWritesPrice: 0.05;
@@ -49319,6 +49716,7 @@ declare const xaiModels: {
49319
49716
  readonly supportsImages: true;
49320
49717
  readonly supportsPromptCache: true;
49321
49718
  readonly supportsNativeTools: true;
49719
+ readonly defaultToolProtocol: "native";
49322
49720
  readonly inputPrice: 0.2;
49323
49721
  readonly outputPrice: 0.5;
49324
49722
  readonly cacheWritesPrice: 0.05;
@@ -49333,6 +49731,7 @@ declare const xaiModels: {
49333
49731
  readonly supportsImages: true;
49334
49732
  readonly supportsPromptCache: true;
49335
49733
  readonly supportsNativeTools: true;
49734
+ readonly defaultToolProtocol: "native";
49336
49735
  readonly inputPrice: 0.2;
49337
49736
  readonly outputPrice: 0.5;
49338
49737
  readonly cacheWritesPrice: 0.05;
@@ -49347,6 +49746,7 @@ declare const xaiModels: {
49347
49746
  readonly supportsImages: true;
49348
49747
  readonly supportsPromptCache: true;
49349
49748
  readonly supportsNativeTools: true;
49749
+ readonly defaultToolProtocol: "native";
49350
49750
  readonly inputPrice: 3;
49351
49751
  readonly outputPrice: 15;
49352
49752
  readonly cacheWritesPrice: 0.75;
@@ -49361,6 +49761,7 @@ declare const xaiModels: {
49361
49761
  readonly supportsImages: true;
49362
49762
  readonly supportsPromptCache: true;
49363
49763
  readonly supportsNativeTools: true;
49764
+ readonly defaultToolProtocol: "native";
49364
49765
  readonly inputPrice: 0.3;
49365
49766
  readonly outputPrice: 0.5;
49366
49767
  readonly cacheWritesPrice: 0.07;
@@ -49377,6 +49778,7 @@ declare const xaiModels: {
49377
49778
  readonly supportsImages: true;
49378
49779
  readonly supportsPromptCache: true;
49379
49780
  readonly supportsNativeTools: true;
49781
+ readonly defaultToolProtocol: "native";
49380
49782
  readonly inputPrice: 3;
49381
49783
  readonly outputPrice: 15;
49382
49784
  readonly cacheWritesPrice: 0.75;
@@ -49403,6 +49805,7 @@ declare const internationalZAiModels: {
49403
49805
  readonly supportsImages: false;
49404
49806
  readonly supportsPromptCache: true;
49405
49807
  readonly supportsNativeTools: true;
49808
+ readonly defaultToolProtocol: "native";
49406
49809
  readonly inputPrice: 0.6;
49407
49810
  readonly outputPrice: 2.2;
49408
49811
  readonly cacheWritesPrice: 0;
@@ -49415,6 +49818,7 @@ declare const internationalZAiModels: {
49415
49818
  readonly supportsImages: false;
49416
49819
  readonly supportsPromptCache: true;
49417
49820
  readonly supportsNativeTools: true;
49821
+ readonly defaultToolProtocol: "native";
49418
49822
  readonly inputPrice: 0.2;
49419
49823
  readonly outputPrice: 1.1;
49420
49824
  readonly cacheWritesPrice: 0;
@@ -49427,6 +49831,7 @@ declare const internationalZAiModels: {
49427
49831
  readonly supportsImages: false;
49428
49832
  readonly supportsPromptCache: true;
49429
49833
  readonly supportsNativeTools: true;
49834
+ readonly defaultToolProtocol: "native";
49430
49835
  readonly inputPrice: 2.2;
49431
49836
  readonly outputPrice: 8.9;
49432
49837
  readonly cacheWritesPrice: 0;
@@ -49439,6 +49844,7 @@ declare const internationalZAiModels: {
49439
49844
  readonly supportsImages: false;
49440
49845
  readonly supportsPromptCache: true;
49441
49846
  readonly supportsNativeTools: true;
49847
+ readonly defaultToolProtocol: "native";
49442
49848
  readonly inputPrice: 1.1;
49443
49849
  readonly outputPrice: 4.5;
49444
49850
  readonly cacheWritesPrice: 0;
@@ -49451,6 +49857,7 @@ declare const internationalZAiModels: {
49451
49857
  readonly supportsImages: false;
49452
49858
  readonly supportsPromptCache: true;
49453
49859
  readonly supportsNativeTools: true;
49860
+ readonly defaultToolProtocol: "native";
49454
49861
  readonly inputPrice: 0;
49455
49862
  readonly outputPrice: 0;
49456
49863
  readonly cacheWritesPrice: 0;
@@ -49463,6 +49870,7 @@ declare const internationalZAiModels: {
49463
49870
  readonly supportsImages: true;
49464
49871
  readonly supportsPromptCache: true;
49465
49872
  readonly supportsNativeTools: true;
49873
+ readonly defaultToolProtocol: "native";
49466
49874
  readonly inputPrice: 0.6;
49467
49875
  readonly outputPrice: 1.8;
49468
49876
  readonly cacheWritesPrice: 0;
@@ -49475,6 +49883,7 @@ declare const internationalZAiModels: {
49475
49883
  readonly supportsImages: false;
49476
49884
  readonly supportsPromptCache: true;
49477
49885
  readonly supportsNativeTools: true;
49886
+ readonly defaultToolProtocol: "native";
49478
49887
  readonly inputPrice: 0.6;
49479
49888
  readonly outputPrice: 2.2;
49480
49889
  readonly cacheWritesPrice: 0;
@@ -49487,6 +49896,7 @@ declare const internationalZAiModels: {
49487
49896
  readonly supportsImages: false;
49488
49897
  readonly supportsPromptCache: false;
49489
49898
  readonly supportsNativeTools: true;
49899
+ readonly defaultToolProtocol: "native";
49490
49900
  readonly inputPrice: 0.1;
49491
49901
  readonly outputPrice: 0.1;
49492
49902
  readonly cacheWritesPrice: 0;
@@ -49503,6 +49913,7 @@ declare const mainlandZAiModels: {
49503
49913
  readonly supportsImages: false;
49504
49914
  readonly supportsPromptCache: true;
49505
49915
  readonly supportsNativeTools: true;
49916
+ readonly defaultToolProtocol: "native";
49506
49917
  readonly inputPrice: 0.29;
49507
49918
  readonly outputPrice: 1.14;
49508
49919
  readonly cacheWritesPrice: 0;
@@ -49515,6 +49926,7 @@ declare const mainlandZAiModels: {
49515
49926
  readonly supportsImages: false;
49516
49927
  readonly supportsPromptCache: true;
49517
49928
  readonly supportsNativeTools: true;
49929
+ readonly defaultToolProtocol: "native";
49518
49930
  readonly inputPrice: 0.1;
49519
49931
  readonly outputPrice: 0.6;
49520
49932
  readonly cacheWritesPrice: 0;
@@ -49527,6 +49939,7 @@ declare const mainlandZAiModels: {
49527
49939
  readonly supportsImages: false;
49528
49940
  readonly supportsPromptCache: true;
49529
49941
  readonly supportsNativeTools: true;
49942
+ readonly defaultToolProtocol: "native";
49530
49943
  readonly inputPrice: 0.29;
49531
49944
  readonly outputPrice: 1.14;
49532
49945
  readonly cacheWritesPrice: 0;
@@ -49539,6 +49952,7 @@ declare const mainlandZAiModels: {
49539
49952
  readonly supportsImages: false;
49540
49953
  readonly supportsPromptCache: true;
49541
49954
  readonly supportsNativeTools: true;
49955
+ readonly defaultToolProtocol: "native";
49542
49956
  readonly inputPrice: 0.1;
49543
49957
  readonly outputPrice: 0.6;
49544
49958
  readonly cacheWritesPrice: 0;
@@ -49551,6 +49965,7 @@ declare const mainlandZAiModels: {
49551
49965
  readonly supportsImages: false;
49552
49966
  readonly supportsPromptCache: true;
49553
49967
  readonly supportsNativeTools: true;
49968
+ readonly defaultToolProtocol: "native";
49554
49969
  readonly inputPrice: 0;
49555
49970
  readonly outputPrice: 0;
49556
49971
  readonly cacheWritesPrice: 0;
@@ -49563,6 +49978,7 @@ declare const mainlandZAiModels: {
49563
49978
  readonly supportsImages: true;
49564
49979
  readonly supportsPromptCache: true;
49565
49980
  readonly supportsNativeTools: true;
49981
+ readonly defaultToolProtocol: "native";
49566
49982
  readonly inputPrice: 0.29;
49567
49983
  readonly outputPrice: 0.93;
49568
49984
  readonly cacheWritesPrice: 0;
@@ -49575,6 +49991,7 @@ declare const mainlandZAiModels: {
49575
49991
  readonly supportsImages: false;
49576
49992
  readonly supportsPromptCache: true;
49577
49993
  readonly supportsNativeTools: true;
49994
+ readonly defaultToolProtocol: "native";
49578
49995
  readonly inputPrice: 0.29;
49579
49996
  readonly outputPrice: 1.14;
49580
49997
  readonly cacheWritesPrice: 0;
@@ -49618,6 +50035,7 @@ declare const minimaxModels: {
49618
50035
  readonly supportsImages: false;
49619
50036
  readonly supportsPromptCache: true;
49620
50037
  readonly supportsNativeTools: true;
50038
+ readonly defaultToolProtocol: "native";
49621
50039
  readonly preserveReasoning: true;
49622
50040
  readonly inputPrice: 0.3;
49623
50041
  readonly outputPrice: 1.2;
@@ -49631,6 +50049,7 @@ declare const minimaxModels: {
49631
50049
  readonly supportsImages: false;
49632
50050
  readonly supportsPromptCache: true;
49633
50051
  readonly supportsNativeTools: true;
50052
+ readonly defaultToolProtocol: "native";
49634
50053
  readonly preserveReasoning: true;
49635
50054
  readonly inputPrice: 0.3;
49636
50055
  readonly outputPrice: 1.2;
@@ -49652,4 +50071,4 @@ declare function getProviderDefaultModelId(provider: ProviderName, options?: {
49652
50071
  isChina?: boolean;
49653
50072
  }): string;
49654
50073
 
49655
- 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, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, 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, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, 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, 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 };
50074
+ export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, ConsecutiveMistakeError, type ConsecutiveMistakeReason, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, type CustomToolContext, type CustomToolDefinition, type CustomToolParametersSchema, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, NATIVE_TOOL_DEFAULTS, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SerializedCustomToolDefinition, type SerializedCustomToolParameters, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypedCustomToolDefinition, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_1M_CONTEXT_MODEL_IDS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, defineCustomTool, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractConsecutiveMistakeErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isConsecutiveMistakeError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };