@roo-code/types 1.93.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.cjs +168 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +311 -38
- package/dist/index.d.ts +311 -38
- package/dist/index.js +251 -93
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import EventEmitter$1, { EventEmitter } from 'events';
|
|
2
2
|
import { Socket } from 'net';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
import { ZodType, z as z$1 } from 'zod/v4';
|
|
5
|
+
export { z as parametersSchema } from 'zod/v4';
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* RooCodeEventName
|
|
@@ -60,7 +62,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
60
62
|
contextTokens: number;
|
|
61
63
|
totalCacheWrites?: number | undefined;
|
|
62
64
|
totalCacheReads?: number | undefined;
|
|
63
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
65
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
64
66
|
attempts: z.ZodNumber;
|
|
65
67
|
failures: z.ZodNumber;
|
|
66
68
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -288,7 +290,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
288
290
|
taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
289
291
|
taskAskResponded: z.ZodTuple<[z.ZodString], null>;
|
|
290
292
|
taskUserMessage: z.ZodTuple<[z.ZodString], null>;
|
|
291
|
-
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
293
|
+
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
292
294
|
taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
|
|
293
295
|
totalTokensIn: z.ZodNumber;
|
|
294
296
|
totalTokensOut: z.ZodNumber;
|
|
@@ -310,7 +312,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
310
312
|
contextTokens: number;
|
|
311
313
|
totalCacheWrites?: number | undefined;
|
|
312
314
|
totalCacheReads?: number | undefined;
|
|
313
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
315
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
314
316
|
attempts: z.ZodNumber;
|
|
315
317
|
failures: z.ZodNumber;
|
|
316
318
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -341,7 +343,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
341
343
|
contextTokens: number;
|
|
342
344
|
totalCacheWrites?: number | undefined;
|
|
343
345
|
totalCacheReads?: number | undefined;
|
|
344
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
346
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
345
347
|
attempts: number;
|
|
346
348
|
failures: number;
|
|
347
349
|
}>>, {
|
|
@@ -406,11 +408,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
406
408
|
contextTokens: number;
|
|
407
409
|
totalCacheWrites?: number | undefined;
|
|
408
410
|
totalCacheReads?: number | undefined;
|
|
409
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
411
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
410
412
|
attempts: number;
|
|
411
413
|
failures: number;
|
|
412
414
|
}>>];
|
|
413
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
415
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
414
416
|
modeChanged: [string];
|
|
415
417
|
providerProfileChanged: [{
|
|
416
418
|
name: string;
|
|
@@ -426,7 +428,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
426
428
|
contextTokens: number;
|
|
427
429
|
totalCacheWrites?: number | undefined;
|
|
428
430
|
totalCacheReads?: number | undefined;
|
|
429
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
431
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
430
432
|
attempts: number;
|
|
431
433
|
failures: number;
|
|
432
434
|
}>>, {
|
|
@@ -491,11 +493,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
491
493
|
contextTokens: number;
|
|
492
494
|
totalCacheWrites?: number | undefined;
|
|
493
495
|
totalCacheReads?: number | undefined;
|
|
494
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
496
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
495
497
|
attempts: number;
|
|
496
498
|
failures: number;
|
|
497
499
|
}>>];
|
|
498
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
500
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
499
501
|
modeChanged: [string];
|
|
500
502
|
providerProfileChanged: [{
|
|
501
503
|
name: string;
|
|
@@ -553,7 +555,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
553
555
|
contextTokens: number;
|
|
554
556
|
totalCacheWrites?: number | undefined;
|
|
555
557
|
totalCacheReads?: number | undefined;
|
|
556
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
558
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
557
559
|
attempts: z.ZodNumber;
|
|
558
560
|
failures: z.ZodNumber;
|
|
559
561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -579,7 +581,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
579
581
|
contextTokens: number;
|
|
580
582
|
totalCacheWrites?: number | undefined;
|
|
581
583
|
totalCacheReads?: number | undefined;
|
|
582
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
584
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
583
585
|
attempts: number;
|
|
584
586
|
failures: number;
|
|
585
587
|
}>>, {
|
|
@@ -595,7 +597,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
595
597
|
contextTokens: number;
|
|
596
598
|
totalCacheWrites?: number | undefined;
|
|
597
599
|
totalCacheReads?: number | undefined;
|
|
598
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
600
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
599
601
|
attempts: number;
|
|
600
602
|
failures: number;
|
|
601
603
|
}>>, {
|
|
@@ -1061,15 +1063,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1061
1063
|
taskId?: number | undefined;
|
|
1062
1064
|
}>, z.ZodObject<{
|
|
1063
1065
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
1064
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
1066
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
1065
1067
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
1066
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1067
1069
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1068
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1070
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1069
1071
|
taskId?: number | undefined;
|
|
1070
1072
|
}, {
|
|
1071
1073
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1072
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1074
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1073
1075
|
taskId?: number | undefined;
|
|
1074
1076
|
}>, z.ZodObject<{
|
|
1075
1077
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -1094,7 +1096,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1094
1096
|
contextTokens: number;
|
|
1095
1097
|
totalCacheWrites?: number | undefined;
|
|
1096
1098
|
totalCacheReads?: number | undefined;
|
|
1097
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
1099
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
1098
1100
|
attempts: z.ZodNumber;
|
|
1099
1101
|
failures: z.ZodNumber;
|
|
1100
1102
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1114,7 +1116,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1114
1116
|
contextTokens: number;
|
|
1115
1117
|
totalCacheWrites?: number | undefined;
|
|
1116
1118
|
totalCacheReads?: number | undefined;
|
|
1117
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1119
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1118
1120
|
attempts: number;
|
|
1119
1121
|
failures: number;
|
|
1120
1122
|
}>>];
|
|
@@ -1128,7 +1130,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1128
1130
|
contextTokens: number;
|
|
1129
1131
|
totalCacheWrites?: number | undefined;
|
|
1130
1132
|
totalCacheReads?: number | undefined;
|
|
1131
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1133
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1132
1134
|
attempts: number;
|
|
1133
1135
|
failures: number;
|
|
1134
1136
|
}>>];
|
|
@@ -1543,6 +1545,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1543
1545
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
1544
1546
|
enableUrlContext: z.ZodOptional<z.ZodBoolean>;
|
|
1545
1547
|
enableGrounding: z.ZodOptional<z.ZodBoolean>;
|
|
1548
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
1546
1549
|
} & {
|
|
1547
1550
|
apiProvider: z.ZodLiteral<"vertex">;
|
|
1548
1551
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1567,6 +1570,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1567
1570
|
vertexRegion?: string | undefined;
|
|
1568
1571
|
enableUrlContext?: boolean | undefined;
|
|
1569
1572
|
enableGrounding?: boolean | undefined;
|
|
1573
|
+
vertex1MContext?: boolean | undefined;
|
|
1570
1574
|
}, {
|
|
1571
1575
|
apiProvider: "vertex";
|
|
1572
1576
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
|
|
@@ -1589,6 +1593,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1589
1593
|
vertexRegion?: string | undefined;
|
|
1590
1594
|
enableUrlContext?: boolean | undefined;
|
|
1591
1595
|
enableGrounding?: boolean | undefined;
|
|
1596
|
+
vertex1MContext?: boolean | undefined;
|
|
1592
1597
|
}>, z.ZodObject<{
|
|
1593
1598
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1594
1599
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3886,6 +3891,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3886
3891
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
3887
3892
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
3888
3893
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
3894
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
3889
3895
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
3890
3896
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
3891
3897
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -3970,6 +3976,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3970
3976
|
vertexRegion?: string | undefined;
|
|
3971
3977
|
enableUrlContext?: boolean | undefined;
|
|
3972
3978
|
enableGrounding?: boolean | undefined;
|
|
3979
|
+
vertex1MContext?: boolean | undefined;
|
|
3973
3980
|
openAiBaseUrl?: string | undefined;
|
|
3974
3981
|
openAiApiKey?: string | undefined;
|
|
3975
3982
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -4141,6 +4148,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
4141
4148
|
vertexRegion?: string | undefined;
|
|
4142
4149
|
enableUrlContext?: boolean | undefined;
|
|
4143
4150
|
enableGrounding?: boolean | undefined;
|
|
4151
|
+
vertex1MContext?: boolean | undefined;
|
|
4144
4152
|
openAiBaseUrl?: string | undefined;
|
|
4145
4153
|
openAiApiKey?: string | undefined;
|
|
4146
4154
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -4507,6 +4515,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4507
4515
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
4508
4516
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
4509
4517
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
4518
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
4510
4519
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
4511
4520
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
4512
4521
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -4594,6 +4603,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4594
4603
|
vertexRegion?: string | undefined;
|
|
4595
4604
|
enableUrlContext?: boolean | undefined;
|
|
4596
4605
|
enableGrounding?: boolean | undefined;
|
|
4606
|
+
vertex1MContext?: boolean | undefined;
|
|
4597
4607
|
openAiBaseUrl?: string | undefined;
|
|
4598
4608
|
openAiApiKey?: string | undefined;
|
|
4599
4609
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -4766,6 +4776,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4766
4776
|
vertexRegion?: string | undefined;
|
|
4767
4777
|
enableUrlContext?: boolean | undefined;
|
|
4768
4778
|
enableGrounding?: boolean | undefined;
|
|
4779
|
+
vertex1MContext?: boolean | undefined;
|
|
4769
4780
|
openAiBaseUrl?: string | undefined;
|
|
4770
4781
|
openAiApiKey?: string | undefined;
|
|
4771
4782
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -5181,6 +5192,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5181
5192
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
5182
5193
|
enableUrlContext: z.ZodOptional<z.ZodBoolean>;
|
|
5183
5194
|
enableGrounding: z.ZodOptional<z.ZodBoolean>;
|
|
5195
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
5184
5196
|
} & {
|
|
5185
5197
|
apiProvider: z.ZodLiteral<"vertex">;
|
|
5186
5198
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5205,6 +5217,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5205
5217
|
vertexRegion?: string | undefined;
|
|
5206
5218
|
enableUrlContext?: boolean | undefined;
|
|
5207
5219
|
enableGrounding?: boolean | undefined;
|
|
5220
|
+
vertex1MContext?: boolean | undefined;
|
|
5208
5221
|
}, {
|
|
5209
5222
|
apiProvider: "vertex";
|
|
5210
5223
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
|
|
@@ -5227,6 +5240,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5227
5240
|
vertexRegion?: string | undefined;
|
|
5228
5241
|
enableUrlContext?: boolean | undefined;
|
|
5229
5242
|
enableGrounding?: boolean | undefined;
|
|
5243
|
+
vertex1MContext?: boolean | undefined;
|
|
5230
5244
|
}>, z.ZodObject<{
|
|
5231
5245
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5232
5246
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7281,7 +7295,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
7281
7295
|
id?: string | undefined;
|
|
7282
7296
|
}>>;
|
|
7283
7297
|
type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
|
|
7284
|
-
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "awsBedrockServiceTier", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
|
|
7298
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "awsBedrockServiceTier", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "vertex1MContext", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
|
|
7285
7299
|
/**
|
|
7286
7300
|
* ModelIdKey
|
|
7287
7301
|
*/
|
|
@@ -7371,6 +7385,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7371
7385
|
size: z.ZodOptional<z.ZodNumber>;
|
|
7372
7386
|
workspace: z.ZodOptional<z.ZodString>;
|
|
7373
7387
|
mode: z.ZodOptional<z.ZodString>;
|
|
7388
|
+
toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
|
|
7374
7389
|
status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
|
|
7375
7390
|
delegatedToId: z.ZodOptional<z.ZodString>;
|
|
7376
7391
|
childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -7386,6 +7401,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7386
7401
|
tokensIn: number;
|
|
7387
7402
|
tokensOut: number;
|
|
7388
7403
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
7404
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
7389
7405
|
rootTaskId?: string | undefined;
|
|
7390
7406
|
parentTaskId?: string | undefined;
|
|
7391
7407
|
cacheWrites?: number | undefined;
|
|
@@ -7407,6 +7423,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7407
7423
|
tokensIn: number;
|
|
7408
7424
|
tokensOut: number;
|
|
7409
7425
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
7426
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
7410
7427
|
rootTaskId?: string | undefined;
|
|
7411
7428
|
parentTaskId?: string | undefined;
|
|
7412
7429
|
cacheWrites?: number | undefined;
|
|
@@ -7808,6 +7825,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7808
7825
|
tokensIn: number;
|
|
7809
7826
|
tokensOut: number;
|
|
7810
7827
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
7828
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
7811
7829
|
rootTaskId?: string | undefined;
|
|
7812
7830
|
parentTaskId?: string | undefined;
|
|
7813
7831
|
cacheWrites?: number | undefined;
|
|
@@ -7994,6 +8012,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7994
8012
|
tokensIn: number;
|
|
7995
8013
|
tokensOut: number;
|
|
7996
8014
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
8015
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
7997
8016
|
rootTaskId?: string | undefined;
|
|
7998
8017
|
parentTaskId?: string | undefined;
|
|
7999
8018
|
cacheWrites?: number | undefined;
|
|
@@ -8395,6 +8414,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8395
8414
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
8396
8415
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
8397
8416
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
8417
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
8398
8418
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
8399
8419
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
8400
8420
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -8458,6 +8478,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8458
8478
|
size: z.ZodOptional<z.ZodNumber>;
|
|
8459
8479
|
workspace: z.ZodOptional<z.ZodString>;
|
|
8460
8480
|
mode: z.ZodOptional<z.ZodString>;
|
|
8481
|
+
toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
|
|
8461
8482
|
status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
|
|
8462
8483
|
delegatedToId: z.ZodOptional<z.ZodString>;
|
|
8463
8484
|
childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -8473,6 +8494,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8473
8494
|
tokensIn: number;
|
|
8474
8495
|
tokensOut: number;
|
|
8475
8496
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
8497
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
8476
8498
|
rootTaskId?: string | undefined;
|
|
8477
8499
|
parentTaskId?: string | undefined;
|
|
8478
8500
|
cacheWrites?: number | undefined;
|
|
@@ -8494,6 +8516,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8494
8516
|
tokensIn: number;
|
|
8495
8517
|
tokensOut: number;
|
|
8496
8518
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
8519
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
8497
8520
|
rootTaskId?: string | undefined;
|
|
8498
8521
|
parentTaskId?: string | undefined;
|
|
8499
8522
|
cacheWrites?: number | undefined;
|
|
@@ -8888,6 +8911,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8888
8911
|
vertexRegion?: string | undefined;
|
|
8889
8912
|
enableUrlContext?: boolean | undefined;
|
|
8890
8913
|
enableGrounding?: boolean | undefined;
|
|
8914
|
+
vertex1MContext?: boolean | undefined;
|
|
8891
8915
|
openAiBaseUrl?: string | undefined;
|
|
8892
8916
|
openAiApiKey?: string | undefined;
|
|
8893
8917
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -9035,6 +9059,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
9035
9059
|
tokensIn: number;
|
|
9036
9060
|
tokensOut: number;
|
|
9037
9061
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
9062
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
9038
9063
|
rootTaskId?: string | undefined;
|
|
9039
9064
|
parentTaskId?: string | undefined;
|
|
9040
9065
|
cacheWrites?: number | undefined;
|
|
@@ -9241,6 +9266,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
9241
9266
|
vertexRegion?: string | undefined;
|
|
9242
9267
|
enableUrlContext?: boolean | undefined;
|
|
9243
9268
|
enableGrounding?: boolean | undefined;
|
|
9269
|
+
vertex1MContext?: boolean | undefined;
|
|
9244
9270
|
openAiBaseUrl?: string | undefined;
|
|
9245
9271
|
openAiApiKey?: string | undefined;
|
|
9246
9272
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -9388,6 +9414,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
9388
9414
|
tokensIn: number;
|
|
9389
9415
|
tokensOut: number;
|
|
9390
9416
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
9417
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
9391
9418
|
rootTaskId?: string | undefined;
|
|
9392
9419
|
parentTaskId?: string | undefined;
|
|
9393
9420
|
cacheWrites?: number | undefined;
|
|
@@ -9858,6 +9885,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9858
9885
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
9859
9886
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
9860
9887
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
9888
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
9861
9889
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
9862
9890
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
9863
9891
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -9921,6 +9949,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9921
9949
|
size: z.ZodOptional<z.ZodNumber>;
|
|
9922
9950
|
workspace: z.ZodOptional<z.ZodString>;
|
|
9923
9951
|
mode: z.ZodOptional<z.ZodString>;
|
|
9952
|
+
toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
|
|
9924
9953
|
status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
|
|
9925
9954
|
delegatedToId: z.ZodOptional<z.ZodString>;
|
|
9926
9955
|
childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -9936,6 +9965,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9936
9965
|
tokensIn: number;
|
|
9937
9966
|
tokensOut: number;
|
|
9938
9967
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
9968
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
9939
9969
|
rootTaskId?: string | undefined;
|
|
9940
9970
|
parentTaskId?: string | undefined;
|
|
9941
9971
|
cacheWrites?: number | undefined;
|
|
@@ -9957,6 +9987,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9957
9987
|
tokensIn: number;
|
|
9958
9988
|
tokensOut: number;
|
|
9959
9989
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
9990
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
9960
9991
|
rootTaskId?: string | undefined;
|
|
9961
9992
|
parentTaskId?: string | undefined;
|
|
9962
9993
|
cacheWrites?: number | undefined;
|
|
@@ -10351,6 +10382,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10351
10382
|
vertexRegion?: string | undefined;
|
|
10352
10383
|
enableUrlContext?: boolean | undefined;
|
|
10353
10384
|
enableGrounding?: boolean | undefined;
|
|
10385
|
+
vertex1MContext?: boolean | undefined;
|
|
10354
10386
|
openAiBaseUrl?: string | undefined;
|
|
10355
10387
|
openAiApiKey?: string | undefined;
|
|
10356
10388
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -10498,6 +10530,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10498
10530
|
tokensIn: number;
|
|
10499
10531
|
tokensOut: number;
|
|
10500
10532
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
10533
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
10501
10534
|
rootTaskId?: string | undefined;
|
|
10502
10535
|
parentTaskId?: string | undefined;
|
|
10503
10536
|
cacheWrites?: number | undefined;
|
|
@@ -10704,6 +10737,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10704
10737
|
vertexRegion?: string | undefined;
|
|
10705
10738
|
enableUrlContext?: boolean | undefined;
|
|
10706
10739
|
enableGrounding?: boolean | undefined;
|
|
10740
|
+
vertex1MContext?: boolean | undefined;
|
|
10707
10741
|
openAiBaseUrl?: string | undefined;
|
|
10708
10742
|
openAiApiKey?: string | undefined;
|
|
10709
10743
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -10851,6 +10885,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10851
10885
|
tokensIn: number;
|
|
10852
10886
|
tokensOut: number;
|
|
10853
10887
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
10888
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
10854
10889
|
rootTaskId?: string | undefined;
|
|
10855
10890
|
parentTaskId?: string | undefined;
|
|
10856
10891
|
cacheWrites?: number | undefined;
|
|
@@ -11063,6 +11098,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11063
11098
|
vertexRegion?: string | undefined;
|
|
11064
11099
|
enableUrlContext?: boolean | undefined;
|
|
11065
11100
|
enableGrounding?: boolean | undefined;
|
|
11101
|
+
vertex1MContext?: boolean | undefined;
|
|
11066
11102
|
openAiBaseUrl?: string | undefined;
|
|
11067
11103
|
openAiApiKey?: string | undefined;
|
|
11068
11104
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -11210,6 +11246,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11210
11246
|
tokensIn: number;
|
|
11211
11247
|
tokensOut: number;
|
|
11212
11248
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
11249
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
11213
11250
|
rootTaskId?: string | undefined;
|
|
11214
11251
|
parentTaskId?: string | undefined;
|
|
11215
11252
|
cacheWrites?: number | undefined;
|
|
@@ -11421,6 +11458,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11421
11458
|
vertexRegion?: string | undefined;
|
|
11422
11459
|
enableUrlContext?: boolean | undefined;
|
|
11423
11460
|
enableGrounding?: boolean | undefined;
|
|
11461
|
+
vertex1MContext?: boolean | undefined;
|
|
11424
11462
|
openAiBaseUrl?: string | undefined;
|
|
11425
11463
|
openAiApiKey?: string | undefined;
|
|
11426
11464
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -11568,6 +11606,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11568
11606
|
tokensIn: number;
|
|
11569
11607
|
tokensOut: number;
|
|
11570
11608
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
11609
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
11571
11610
|
rootTaskId?: string | undefined;
|
|
11572
11611
|
parentTaskId?: string | undefined;
|
|
11573
11612
|
cacheWrites?: number | undefined;
|
|
@@ -11781,6 +11820,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11781
11820
|
vertexRegion?: string | undefined;
|
|
11782
11821
|
enableUrlContext?: boolean | undefined;
|
|
11783
11822
|
enableGrounding?: boolean | undefined;
|
|
11823
|
+
vertex1MContext?: boolean | undefined;
|
|
11784
11824
|
openAiBaseUrl?: string | undefined;
|
|
11785
11825
|
openAiApiKey?: string | undefined;
|
|
11786
11826
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -11928,6 +11968,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11928
11968
|
tokensIn: number;
|
|
11929
11969
|
tokensOut: number;
|
|
11930
11970
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
11971
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
11931
11972
|
rootTaskId?: string | undefined;
|
|
11932
11973
|
parentTaskId?: string | undefined;
|
|
11933
11974
|
cacheWrites?: number | undefined;
|
|
@@ -12142,6 +12183,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
12142
12183
|
vertexRegion?: string | undefined;
|
|
12143
12184
|
enableUrlContext?: boolean | undefined;
|
|
12144
12185
|
enableGrounding?: boolean | undefined;
|
|
12186
|
+
vertex1MContext?: boolean | undefined;
|
|
12145
12187
|
openAiBaseUrl?: string | undefined;
|
|
12146
12188
|
openAiApiKey?: string | undefined;
|
|
12147
12189
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -12289,6 +12331,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
12289
12331
|
tokensIn: number;
|
|
12290
12332
|
tokensOut: number;
|
|
12291
12333
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
12334
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
12292
12335
|
rootTaskId?: string | undefined;
|
|
12293
12336
|
parentTaskId?: string | undefined;
|
|
12294
12337
|
cacheWrites?: number | undefined;
|
|
@@ -12784,6 +12827,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12784
12827
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
12785
12828
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
12786
12829
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
12830
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
12787
12831
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
12788
12832
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
12789
12833
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -12847,6 +12891,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12847
12891
|
size: z.ZodOptional<z.ZodNumber>;
|
|
12848
12892
|
workspace: z.ZodOptional<z.ZodString>;
|
|
12849
12893
|
mode: z.ZodOptional<z.ZodString>;
|
|
12894
|
+
toolProtocol: z.ZodOptional<z.ZodEnum<["xml", "native"]>>;
|
|
12850
12895
|
status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
|
|
12851
12896
|
delegatedToId: z.ZodOptional<z.ZodString>;
|
|
12852
12897
|
childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -12862,6 +12907,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12862
12907
|
tokensIn: number;
|
|
12863
12908
|
tokensOut: number;
|
|
12864
12909
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
12910
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
12865
12911
|
rootTaskId?: string | undefined;
|
|
12866
12912
|
parentTaskId?: string | undefined;
|
|
12867
12913
|
cacheWrites?: number | undefined;
|
|
@@ -12883,6 +12929,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12883
12929
|
tokensIn: number;
|
|
12884
12930
|
tokensOut: number;
|
|
12885
12931
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
12932
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
12886
12933
|
rootTaskId?: string | undefined;
|
|
12887
12934
|
parentTaskId?: string | undefined;
|
|
12888
12935
|
cacheWrites?: number | undefined;
|
|
@@ -13277,6 +13324,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13277
13324
|
vertexRegion?: string | undefined;
|
|
13278
13325
|
enableUrlContext?: boolean | undefined;
|
|
13279
13326
|
enableGrounding?: boolean | undefined;
|
|
13327
|
+
vertex1MContext?: boolean | undefined;
|
|
13280
13328
|
openAiBaseUrl?: string | undefined;
|
|
13281
13329
|
openAiApiKey?: string | undefined;
|
|
13282
13330
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -13424,6 +13472,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13424
13472
|
tokensIn: number;
|
|
13425
13473
|
tokensOut: number;
|
|
13426
13474
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
13475
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
13427
13476
|
rootTaskId?: string | undefined;
|
|
13428
13477
|
parentTaskId?: string | undefined;
|
|
13429
13478
|
cacheWrites?: number | undefined;
|
|
@@ -13630,6 +13679,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13630
13679
|
vertexRegion?: string | undefined;
|
|
13631
13680
|
enableUrlContext?: boolean | undefined;
|
|
13632
13681
|
enableGrounding?: boolean | undefined;
|
|
13682
|
+
vertex1MContext?: boolean | undefined;
|
|
13633
13683
|
openAiBaseUrl?: string | undefined;
|
|
13634
13684
|
openAiApiKey?: string | undefined;
|
|
13635
13685
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -13777,6 +13827,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13777
13827
|
tokensIn: number;
|
|
13778
13828
|
tokensOut: number;
|
|
13779
13829
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
13830
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
13780
13831
|
rootTaskId?: string | undefined;
|
|
13781
13832
|
parentTaskId?: string | undefined;
|
|
13782
13833
|
cacheWrites?: number | undefined;
|
|
@@ -13989,6 +14040,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13989
14040
|
vertexRegion?: string | undefined;
|
|
13990
14041
|
enableUrlContext?: boolean | undefined;
|
|
13991
14042
|
enableGrounding?: boolean | undefined;
|
|
14043
|
+
vertex1MContext?: boolean | undefined;
|
|
13992
14044
|
openAiBaseUrl?: string | undefined;
|
|
13993
14045
|
openAiApiKey?: string | undefined;
|
|
13994
14046
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -14136,6 +14188,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14136
14188
|
tokensIn: number;
|
|
14137
14189
|
tokensOut: number;
|
|
14138
14190
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
14191
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
14139
14192
|
rootTaskId?: string | undefined;
|
|
14140
14193
|
parentTaskId?: string | undefined;
|
|
14141
14194
|
cacheWrites?: number | undefined;
|
|
@@ -14347,6 +14400,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14347
14400
|
vertexRegion?: string | undefined;
|
|
14348
14401
|
enableUrlContext?: boolean | undefined;
|
|
14349
14402
|
enableGrounding?: boolean | undefined;
|
|
14403
|
+
vertex1MContext?: boolean | undefined;
|
|
14350
14404
|
openAiBaseUrl?: string | undefined;
|
|
14351
14405
|
openAiApiKey?: string | undefined;
|
|
14352
14406
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -14494,6 +14548,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14494
14548
|
tokensIn: number;
|
|
14495
14549
|
tokensOut: number;
|
|
14496
14550
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
14551
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
14497
14552
|
rootTaskId?: string | undefined;
|
|
14498
14553
|
parentTaskId?: string | undefined;
|
|
14499
14554
|
cacheWrites?: number | undefined;
|
|
@@ -14707,6 +14762,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14707
14762
|
vertexRegion?: string | undefined;
|
|
14708
14763
|
enableUrlContext?: boolean | undefined;
|
|
14709
14764
|
enableGrounding?: boolean | undefined;
|
|
14765
|
+
vertex1MContext?: boolean | undefined;
|
|
14710
14766
|
openAiBaseUrl?: string | undefined;
|
|
14711
14767
|
openAiApiKey?: string | undefined;
|
|
14712
14768
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -14854,6 +14910,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14854
14910
|
tokensIn: number;
|
|
14855
14911
|
tokensOut: number;
|
|
14856
14912
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
14913
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
14857
14914
|
rootTaskId?: string | undefined;
|
|
14858
14915
|
parentTaskId?: string | undefined;
|
|
14859
14916
|
cacheWrites?: number | undefined;
|
|
@@ -15068,6 +15125,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15068
15125
|
vertexRegion?: string | undefined;
|
|
15069
15126
|
enableUrlContext?: boolean | undefined;
|
|
15070
15127
|
enableGrounding?: boolean | undefined;
|
|
15128
|
+
vertex1MContext?: boolean | undefined;
|
|
15071
15129
|
openAiBaseUrl?: string | undefined;
|
|
15072
15130
|
openAiApiKey?: string | undefined;
|
|
15073
15131
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -15215,6 +15273,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15215
15273
|
tokensIn: number;
|
|
15216
15274
|
tokensOut: number;
|
|
15217
15275
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
15276
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
15218
15277
|
rootTaskId?: string | undefined;
|
|
15219
15278
|
parentTaskId?: string | undefined;
|
|
15220
15279
|
cacheWrites?: number | undefined;
|
|
@@ -15483,6 +15542,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15483
15542
|
vertexRegion?: string | undefined;
|
|
15484
15543
|
enableUrlContext?: boolean | undefined;
|
|
15485
15544
|
enableGrounding?: boolean | undefined;
|
|
15545
|
+
vertex1MContext?: boolean | undefined;
|
|
15486
15546
|
openAiBaseUrl?: string | undefined;
|
|
15487
15547
|
openAiApiKey?: string | undefined;
|
|
15488
15548
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -15630,6 +15690,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15630
15690
|
tokensIn: number;
|
|
15631
15691
|
tokensOut: number;
|
|
15632
15692
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
15693
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
15633
15694
|
rootTaskId?: string | undefined;
|
|
15634
15695
|
parentTaskId?: string | undefined;
|
|
15635
15696
|
cacheWrites?: number | undefined;
|
|
@@ -15864,6 +15925,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15864
15925
|
vertexRegion?: string | undefined;
|
|
15865
15926
|
enableUrlContext?: boolean | undefined;
|
|
15866
15927
|
enableGrounding?: boolean | undefined;
|
|
15928
|
+
vertex1MContext?: boolean | undefined;
|
|
15867
15929
|
openAiBaseUrl?: string | undefined;
|
|
15868
15930
|
openAiApiKey?: string | undefined;
|
|
15869
15931
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -16011,6 +16073,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16011
16073
|
tokensIn: number;
|
|
16012
16074
|
tokensOut: number;
|
|
16013
16075
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
16076
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
16014
16077
|
rootTaskId?: string | undefined;
|
|
16015
16078
|
parentTaskId?: string | undefined;
|
|
16016
16079
|
cacheWrites?: number | undefined;
|
|
@@ -16233,7 +16296,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16233
16296
|
contextTokens: number;
|
|
16234
16297
|
totalCacheWrites?: number | undefined;
|
|
16235
16298
|
totalCacheReads?: number | undefined;
|
|
16236
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
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<{
|
|
16237
16300
|
attempts: z.ZodNumber;
|
|
16238
16301
|
failures: z.ZodNumber;
|
|
16239
16302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16259,7 +16322,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16259
16322
|
contextTokens: number;
|
|
16260
16323
|
totalCacheWrites?: number | undefined;
|
|
16261
16324
|
totalCacheReads?: number | undefined;
|
|
16262
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16263
16326
|
attempts: number;
|
|
16264
16327
|
failures: number;
|
|
16265
16328
|
}>>, {
|
|
@@ -16275,7 +16338,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16275
16338
|
contextTokens: number;
|
|
16276
16339
|
totalCacheWrites?: number | undefined;
|
|
16277
16340
|
totalCacheReads?: number | undefined;
|
|
16278
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16279
16342
|
attempts: number;
|
|
16280
16343
|
failures: number;
|
|
16281
16344
|
}>>, {
|
|
@@ -16741,15 +16804,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16741
16804
|
taskId?: number | undefined;
|
|
16742
16805
|
}>, z.ZodObject<{
|
|
16743
16806
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
16744
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
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>;
|
|
16745
16808
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
16746
16809
|
}, "strip", z.ZodTypeAny, {
|
|
16747
16810
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16748
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
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];
|
|
16749
16812
|
taskId?: number | undefined;
|
|
16750
16813
|
}, {
|
|
16751
16814
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16752
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
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];
|
|
16753
16816
|
taskId?: number | undefined;
|
|
16754
16817
|
}>, z.ZodObject<{
|
|
16755
16818
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -16774,7 +16837,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16774
16837
|
contextTokens: number;
|
|
16775
16838
|
totalCacheWrites?: number | undefined;
|
|
16776
16839
|
totalCacheReads?: number | undefined;
|
|
16777
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
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<{
|
|
16778
16841
|
attempts: z.ZodNumber;
|
|
16779
16842
|
failures: z.ZodNumber;
|
|
16780
16843
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16794,7 +16857,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16794
16857
|
contextTokens: number;
|
|
16795
16858
|
totalCacheWrites?: number | undefined;
|
|
16796
16859
|
totalCacheReads?: number | undefined;
|
|
16797
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16798
16861
|
attempts: number;
|
|
16799
16862
|
failures: number;
|
|
16800
16863
|
}>>];
|
|
@@ -16808,7 +16871,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16808
16871
|
contextTokens: number;
|
|
16809
16872
|
totalCacheWrites?: number | undefined;
|
|
16810
16873
|
totalCacheReads?: number | undefined;
|
|
16811
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16812
16875
|
attempts: number;
|
|
16813
16876
|
failures: number;
|
|
16814
16877
|
}>>];
|
|
@@ -16857,7 +16920,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16857
16920
|
contextTokens: number;
|
|
16858
16921
|
totalCacheWrites?: number | undefined;
|
|
16859
16922
|
totalCacheReads?: number | undefined;
|
|
16860
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16861
16924
|
attempts: number;
|
|
16862
16925
|
failures: number;
|
|
16863
16926
|
}>>, {
|
|
@@ -16965,7 +17028,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16965
17028
|
taskId?: number | undefined;
|
|
16966
17029
|
} | {
|
|
16967
17030
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16968
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
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];
|
|
16969
17032
|
taskId?: number | undefined;
|
|
16970
17033
|
} | {
|
|
16971
17034
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -16976,7 +17039,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16976
17039
|
contextTokens: number;
|
|
16977
17040
|
totalCacheWrites?: number | undefined;
|
|
16978
17041
|
totalCacheReads?: number | undefined;
|
|
16979
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
16980
17043
|
attempts: number;
|
|
16981
17044
|
failures: number;
|
|
16982
17045
|
}>>];
|
|
@@ -17011,7 +17074,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17011
17074
|
contextTokens: number;
|
|
17012
17075
|
totalCacheWrites?: number | undefined;
|
|
17013
17076
|
totalCacheReads?: number | undefined;
|
|
17014
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
17015
17078
|
attempts: number;
|
|
17016
17079
|
failures: number;
|
|
17017
17080
|
}>>, {
|
|
@@ -17119,7 +17182,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17119
17182
|
taskId?: number | undefined;
|
|
17120
17183
|
} | {
|
|
17121
17184
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
17122
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
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];
|
|
17123
17186
|
taskId?: number | undefined;
|
|
17124
17187
|
} | {
|
|
17125
17188
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -17130,7 +17193,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17130
17193
|
contextTokens: number;
|
|
17131
17194
|
totalCacheWrites?: number | undefined;
|
|
17132
17195
|
totalCacheReads?: number | undefined;
|
|
17133
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
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", {
|
|
17134
17197
|
attempts: number;
|
|
17135
17198
|
failures: number;
|
|
17136
17199
|
}>>];
|
|
@@ -17675,13 +17738,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
|
|
|
17675
17738
|
/**
|
|
17676
17739
|
* ToolName
|
|
17677
17740
|
*/
|
|
17678
|
-
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"];
|
|
17679
|
-
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>;
|
|
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"]>;
|
|
17680
17743
|
type ToolName = z.infer<typeof toolNamesSchema>;
|
|
17681
17744
|
/**
|
|
17682
17745
|
* ToolUsage
|
|
17683
17746
|
*/
|
|
17684
|
-
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
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<{
|
|
17685
17748
|
attempts: z.ZodNumber;
|
|
17686
17749
|
failures: z.ZodNumber;
|
|
17687
17750
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17704,6 +17767,15 @@ declare const TOOL_PROTOCOL: {
|
|
|
17704
17767
|
* Derived from TOOL_PROTOCOL constants to ensure type safety
|
|
17705
17768
|
*/
|
|
17706
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
|
+
};
|
|
17707
17779
|
/**
|
|
17708
17780
|
* Checks if the protocol is native (non-XML).
|
|
17709
17781
|
*
|
|
@@ -18962,6 +19034,34 @@ declare function isApiProviderError(error: unknown): error is ApiProviderError;
|
|
|
18962
19034
|
* Returns the structured properties that can be merged with additionalProperties.
|
|
18963
19035
|
*/
|
|
18964
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>;
|
|
18965
19065
|
|
|
18966
19066
|
/**
|
|
18967
19067
|
* TodoStatus
|
|
@@ -19760,6 +19860,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
19760
19860
|
vertexJsonCredentials: z.ZodOptional<z.ZodString>;
|
|
19761
19861
|
vertexProjectId: z.ZodOptional<z.ZodString>;
|
|
19762
19862
|
vertexRegion: z.ZodOptional<z.ZodString>;
|
|
19863
|
+
vertex1MContext: z.ZodOptional<z.ZodBoolean>;
|
|
19763
19864
|
awsAccessKey: z.ZodOptional<z.ZodString>;
|
|
19764
19865
|
awsSecretKey: z.ZodOptional<z.ZodString>;
|
|
19765
19866
|
awsSessionToken: z.ZodOptional<z.ZodString>;
|
|
@@ -19847,6 +19948,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
19847
19948
|
vertexRegion?: string | undefined;
|
|
19848
19949
|
enableUrlContext?: boolean | undefined;
|
|
19849
19950
|
enableGrounding?: boolean | undefined;
|
|
19951
|
+
vertex1MContext?: boolean | undefined;
|
|
19850
19952
|
openAiBaseUrl?: string | undefined;
|
|
19851
19953
|
openAiApiKey?: string | undefined;
|
|
19852
19954
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -20019,6 +20121,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20019
20121
|
vertexRegion?: string | undefined;
|
|
20020
20122
|
enableUrlContext?: boolean | undefined;
|
|
20021
20123
|
enableGrounding?: boolean | undefined;
|
|
20124
|
+
vertex1MContext?: boolean | undefined;
|
|
20022
20125
|
openAiBaseUrl?: string | undefined;
|
|
20023
20126
|
openAiApiKey?: string | undefined;
|
|
20024
20127
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -20255,6 +20358,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20255
20358
|
vertexRegion?: string | undefined;
|
|
20256
20359
|
enableUrlContext?: boolean | undefined;
|
|
20257
20360
|
enableGrounding?: boolean | undefined;
|
|
20361
|
+
vertex1MContext?: boolean | undefined;
|
|
20258
20362
|
openAiBaseUrl?: string | undefined;
|
|
20259
20363
|
openAiApiKey?: string | undefined;
|
|
20260
20364
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -20491,6 +20595,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20491
20595
|
vertexRegion?: string | undefined;
|
|
20492
20596
|
enableUrlContext?: boolean | undefined;
|
|
20493
20597
|
enableGrounding?: boolean | undefined;
|
|
20598
|
+
vertex1MContext?: boolean | undefined;
|
|
20494
20599
|
openAiBaseUrl?: string | undefined;
|
|
20495
20600
|
openAiApiKey?: string | undefined;
|
|
20496
20601
|
openAiLegacyFormat?: boolean | undefined;
|
|
@@ -44180,6 +44285,87 @@ declare const COOKIE_CONSENT_EVENTS: {
|
|
|
44180
44285
|
readonly CHANGED: "cookieConsentChanged";
|
|
44181
44286
|
};
|
|
44182
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
|
+
|
|
44183
44369
|
/**
|
|
44184
44370
|
* ExperimentId
|
|
44185
44371
|
*/
|
|
@@ -44294,6 +44480,16 @@ declare const historyItemSchema: z.ZodObject<{
|
|
|
44294
44480
|
size: z.ZodOptional<z.ZodNumber>;
|
|
44295
44481
|
workspace: z.ZodOptional<z.ZodString>;
|
|
44296
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"]>>;
|
|
44297
44493
|
status: z.ZodOptional<z.ZodEnum<["active", "completed", "delegated"]>>;
|
|
44298
44494
|
delegatedToId: z.ZodOptional<z.ZodString>;
|
|
44299
44495
|
childIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -44309,6 +44505,7 @@ declare const historyItemSchema: z.ZodObject<{
|
|
|
44309
44505
|
tokensIn: number;
|
|
44310
44506
|
tokensOut: number;
|
|
44311
44507
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
44508
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
44312
44509
|
rootTaskId?: string | undefined;
|
|
44313
44510
|
parentTaskId?: string | undefined;
|
|
44314
44511
|
cacheWrites?: number | undefined;
|
|
@@ -44330,6 +44527,7 @@ declare const historyItemSchema: z.ZodObject<{
|
|
|
44330
44527
|
tokensIn: number;
|
|
44331
44528
|
tokensOut: number;
|
|
44332
44529
|
status?: "active" | "completed" | "delegated" | undefined;
|
|
44530
|
+
toolProtocol?: "xml" | "native" | undefined;
|
|
44333
44531
|
rootTaskId?: string | undefined;
|
|
44334
44532
|
parentTaskId?: string | undefined;
|
|
44335
44533
|
cacheWrites?: number | undefined;
|
|
@@ -47134,6 +47332,7 @@ declare const geminiModels: {
|
|
|
47134
47332
|
readonly supportsReasoningEffort: ["low", "high"];
|
|
47135
47333
|
readonly reasoningEffort: "low";
|
|
47136
47334
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47335
|
+
readonly excludedTools: ["apply_diff"];
|
|
47137
47336
|
readonly supportsTemperature: true;
|
|
47138
47337
|
readonly defaultTemperature: 1;
|
|
47139
47338
|
readonly inputPrice: 4;
|
|
@@ -47158,6 +47357,7 @@ declare const geminiModels: {
|
|
|
47158
47357
|
readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
|
|
47159
47358
|
readonly reasoningEffort: "medium";
|
|
47160
47359
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47360
|
+
readonly excludedTools: ["apply_diff"];
|
|
47161
47361
|
readonly supportsTemperature: true;
|
|
47162
47362
|
readonly defaultTemperature: 1;
|
|
47163
47363
|
readonly inputPrice: 0.3;
|
|
@@ -47173,6 +47373,7 @@ declare const geminiModels: {
|
|
|
47173
47373
|
readonly defaultToolProtocol: "native";
|
|
47174
47374
|
readonly supportsPromptCache: true;
|
|
47175
47375
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47376
|
+
readonly excludedTools: ["apply_diff"];
|
|
47176
47377
|
readonly inputPrice: 2.5;
|
|
47177
47378
|
readonly outputPrice: 15;
|
|
47178
47379
|
readonly cacheReadsPrice: 0.625;
|
|
@@ -47200,6 +47401,7 @@ declare const geminiModels: {
|
|
|
47200
47401
|
readonly defaultToolProtocol: "native";
|
|
47201
47402
|
readonly supportsPromptCache: true;
|
|
47202
47403
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47404
|
+
readonly excludedTools: ["apply_diff"];
|
|
47203
47405
|
readonly inputPrice: 2.5;
|
|
47204
47406
|
readonly outputPrice: 15;
|
|
47205
47407
|
readonly cacheReadsPrice: 0.625;
|
|
@@ -47226,6 +47428,7 @@ declare const geminiModels: {
|
|
|
47226
47428
|
readonly defaultToolProtocol: "native";
|
|
47227
47429
|
readonly supportsPromptCache: true;
|
|
47228
47430
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47431
|
+
readonly excludedTools: ["apply_diff"];
|
|
47229
47432
|
readonly inputPrice: 2.5;
|
|
47230
47433
|
readonly outputPrice: 15;
|
|
47231
47434
|
readonly cacheReadsPrice: 0.625;
|
|
@@ -47250,6 +47453,7 @@ declare const geminiModels: {
|
|
|
47250
47453
|
readonly defaultToolProtocol: "native";
|
|
47251
47454
|
readonly supportsPromptCache: true;
|
|
47252
47455
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47456
|
+
readonly excludedTools: ["apply_diff"];
|
|
47253
47457
|
readonly inputPrice: 2.5;
|
|
47254
47458
|
readonly outputPrice: 15;
|
|
47255
47459
|
readonly cacheReadsPrice: 0.625;
|
|
@@ -47276,6 +47480,7 @@ declare const geminiModels: {
|
|
|
47276
47480
|
readonly defaultToolProtocol: "native";
|
|
47277
47481
|
readonly supportsPromptCache: true;
|
|
47278
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;
|
|
@@ -47291,6 +47496,7 @@ declare const geminiModels: {
|
|
|
47291
47496
|
readonly defaultToolProtocol: "native";
|
|
47292
47497
|
readonly supportsPromptCache: true;
|
|
47293
47498
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47499
|
+
readonly excludedTools: ["apply_diff"];
|
|
47294
47500
|
readonly inputPrice: 0.3;
|
|
47295
47501
|
readonly outputPrice: 2.5;
|
|
47296
47502
|
readonly cacheReadsPrice: 0.075;
|
|
@@ -47306,6 +47512,7 @@ declare const geminiModels: {
|
|
|
47306
47512
|
readonly defaultToolProtocol: "native";
|
|
47307
47513
|
readonly supportsPromptCache: true;
|
|
47308
47514
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47515
|
+
readonly excludedTools: ["apply_diff"];
|
|
47309
47516
|
readonly inputPrice: 0.3;
|
|
47310
47517
|
readonly outputPrice: 2.5;
|
|
47311
47518
|
readonly cacheReadsPrice: 0.075;
|
|
@@ -47321,6 +47528,7 @@ declare const geminiModels: {
|
|
|
47321
47528
|
readonly defaultToolProtocol: "native";
|
|
47322
47529
|
readonly supportsPromptCache: true;
|
|
47323
47530
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47531
|
+
readonly excludedTools: ["apply_diff"];
|
|
47324
47532
|
readonly inputPrice: 0.1;
|
|
47325
47533
|
readonly outputPrice: 0.4;
|
|
47326
47534
|
readonly cacheReadsPrice: 0.025;
|
|
@@ -47336,6 +47544,7 @@ declare const geminiModels: {
|
|
|
47336
47544
|
readonly defaultToolProtocol: "native";
|
|
47337
47545
|
readonly supportsPromptCache: true;
|
|
47338
47546
|
readonly includedTools: ["write_file", "edit_file"];
|
|
47547
|
+
readonly excludedTools: ["apply_diff"];
|
|
47339
47548
|
readonly inputPrice: 0.1;
|
|
47340
47549
|
readonly outputPrice: 0.4;
|
|
47341
47550
|
readonly cacheReadsPrice: 0.025;
|
|
@@ -48369,6 +48578,8 @@ declare const qwenCodeModels: {
|
|
|
48369
48578
|
readonly contextWindow: 1000000;
|
|
48370
48579
|
readonly supportsImages: false;
|
|
48371
48580
|
readonly supportsPromptCache: false;
|
|
48581
|
+
readonly supportsNativeTools: true;
|
|
48582
|
+
readonly defaultToolProtocol: "native";
|
|
48372
48583
|
readonly inputPrice: 0;
|
|
48373
48584
|
readonly outputPrice: 0;
|
|
48374
48585
|
readonly cacheWritesPrice: 0;
|
|
@@ -48380,6 +48591,8 @@ declare const qwenCodeModels: {
|
|
|
48380
48591
|
readonly contextWindow: 1000000;
|
|
48381
48592
|
readonly supportsImages: false;
|
|
48382
48593
|
readonly supportsPromptCache: false;
|
|
48594
|
+
readonly supportsNativeTools: true;
|
|
48595
|
+
readonly defaultToolProtocol: "native";
|
|
48383
48596
|
readonly inputPrice: 0;
|
|
48384
48597
|
readonly outputPrice: 0;
|
|
48385
48598
|
readonly cacheWritesPrice: 0;
|
|
@@ -48750,6 +48963,7 @@ declare const vertexModels: {
|
|
|
48750
48963
|
readonly supportsReasoningEffort: ["low", "high"];
|
|
48751
48964
|
readonly reasoningEffort: "low";
|
|
48752
48965
|
readonly includedTools: ["write_file", "edit_file"];
|
|
48966
|
+
readonly excludedTools: ["apply_diff"];
|
|
48753
48967
|
readonly supportsTemperature: true;
|
|
48754
48968
|
readonly defaultTemperature: 1;
|
|
48755
48969
|
readonly inputPrice: 4;
|
|
@@ -48774,6 +48988,7 @@ declare const vertexModels: {
|
|
|
48774
48988
|
readonly supportsReasoningEffort: ["minimal", "low", "medium", "high"];
|
|
48775
48989
|
readonly reasoningEffort: "medium";
|
|
48776
48990
|
readonly includedTools: ["write_file", "edit_file"];
|
|
48991
|
+
readonly excludedTools: ["apply_diff"];
|
|
48777
48992
|
readonly supportsTemperature: true;
|
|
48778
48993
|
readonly defaultTemperature: 1;
|
|
48779
48994
|
readonly inputPrice: 0.3;
|
|
@@ -48789,6 +49004,7 @@ declare const vertexModels: {
|
|
|
48789
49004
|
readonly defaultToolProtocol: "native";
|
|
48790
49005
|
readonly supportsPromptCache: true;
|
|
48791
49006
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49007
|
+
readonly excludedTools: ["apply_diff"];
|
|
48792
49008
|
readonly inputPrice: 0.15;
|
|
48793
49009
|
readonly outputPrice: 3.5;
|
|
48794
49010
|
readonly maxThinkingTokens: 24576;
|
|
@@ -48803,6 +49019,7 @@ declare const vertexModels: {
|
|
|
48803
49019
|
readonly defaultToolProtocol: "native";
|
|
48804
49020
|
readonly supportsPromptCache: true;
|
|
48805
49021
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49022
|
+
readonly excludedTools: ["apply_diff"];
|
|
48806
49023
|
readonly inputPrice: 0.15;
|
|
48807
49024
|
readonly outputPrice: 0.6;
|
|
48808
49025
|
};
|
|
@@ -48814,6 +49031,7 @@ declare const vertexModels: {
|
|
|
48814
49031
|
readonly defaultToolProtocol: "native";
|
|
48815
49032
|
readonly supportsPromptCache: true;
|
|
48816
49033
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49034
|
+
readonly excludedTools: ["apply_diff"];
|
|
48817
49035
|
readonly inputPrice: 0.3;
|
|
48818
49036
|
readonly outputPrice: 2.5;
|
|
48819
49037
|
readonly cacheReadsPrice: 0.075;
|
|
@@ -48829,6 +49047,7 @@ declare const vertexModels: {
|
|
|
48829
49047
|
readonly defaultToolProtocol: "native";
|
|
48830
49048
|
readonly supportsPromptCache: false;
|
|
48831
49049
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49050
|
+
readonly excludedTools: ["apply_diff"];
|
|
48832
49051
|
readonly inputPrice: 0.15;
|
|
48833
49052
|
readonly outputPrice: 3.5;
|
|
48834
49053
|
readonly maxThinkingTokens: 24576;
|
|
@@ -48843,6 +49062,7 @@ declare const vertexModels: {
|
|
|
48843
49062
|
readonly defaultToolProtocol: "native";
|
|
48844
49063
|
readonly supportsPromptCache: false;
|
|
48845
49064
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49065
|
+
readonly excludedTools: ["apply_diff"];
|
|
48846
49066
|
readonly inputPrice: 0.15;
|
|
48847
49067
|
readonly outputPrice: 0.6;
|
|
48848
49068
|
};
|
|
@@ -48854,6 +49074,7 @@ declare const vertexModels: {
|
|
|
48854
49074
|
readonly defaultToolProtocol: "native";
|
|
48855
49075
|
readonly supportsPromptCache: true;
|
|
48856
49076
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49077
|
+
readonly excludedTools: ["apply_diff"];
|
|
48857
49078
|
readonly inputPrice: 2.5;
|
|
48858
49079
|
readonly outputPrice: 15;
|
|
48859
49080
|
};
|
|
@@ -48865,6 +49086,7 @@ declare const vertexModels: {
|
|
|
48865
49086
|
readonly defaultToolProtocol: "native";
|
|
48866
49087
|
readonly supportsPromptCache: true;
|
|
48867
49088
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49089
|
+
readonly excludedTools: ["apply_diff"];
|
|
48868
49090
|
readonly inputPrice: 2.5;
|
|
48869
49091
|
readonly outputPrice: 15;
|
|
48870
49092
|
};
|
|
@@ -48876,6 +49098,7 @@ declare const vertexModels: {
|
|
|
48876
49098
|
readonly defaultToolProtocol: "native";
|
|
48877
49099
|
readonly supportsPromptCache: true;
|
|
48878
49100
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49101
|
+
readonly excludedTools: ["apply_diff"];
|
|
48879
49102
|
readonly inputPrice: 2.5;
|
|
48880
49103
|
readonly outputPrice: 15;
|
|
48881
49104
|
readonly maxThinkingTokens: 32768;
|
|
@@ -48889,6 +49112,7 @@ declare const vertexModels: {
|
|
|
48889
49112
|
readonly defaultToolProtocol: "native";
|
|
48890
49113
|
readonly supportsPromptCache: true;
|
|
48891
49114
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49115
|
+
readonly excludedTools: ["apply_diff"];
|
|
48892
49116
|
readonly inputPrice: 2.5;
|
|
48893
49117
|
readonly outputPrice: 15;
|
|
48894
49118
|
readonly maxThinkingTokens: 32768;
|
|
@@ -48914,6 +49138,7 @@ declare const vertexModels: {
|
|
|
48914
49138
|
readonly defaultToolProtocol: "native";
|
|
48915
49139
|
readonly supportsPromptCache: false;
|
|
48916
49140
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49141
|
+
readonly excludedTools: ["apply_diff"];
|
|
48917
49142
|
readonly inputPrice: 0;
|
|
48918
49143
|
readonly outputPrice: 0;
|
|
48919
49144
|
};
|
|
@@ -48925,6 +49150,7 @@ declare const vertexModels: {
|
|
|
48925
49150
|
readonly defaultToolProtocol: "native";
|
|
48926
49151
|
readonly supportsPromptCache: false;
|
|
48927
49152
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49153
|
+
readonly excludedTools: ["apply_diff"];
|
|
48928
49154
|
readonly inputPrice: 0;
|
|
48929
49155
|
readonly outputPrice: 0;
|
|
48930
49156
|
};
|
|
@@ -48936,6 +49162,7 @@ declare const vertexModels: {
|
|
|
48936
49162
|
readonly defaultToolProtocol: "native";
|
|
48937
49163
|
readonly supportsPromptCache: true;
|
|
48938
49164
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49165
|
+
readonly excludedTools: ["apply_diff"];
|
|
48939
49166
|
readonly inputPrice: 0.15;
|
|
48940
49167
|
readonly outputPrice: 0.6;
|
|
48941
49168
|
};
|
|
@@ -48947,6 +49174,7 @@ declare const vertexModels: {
|
|
|
48947
49174
|
readonly defaultToolProtocol: "native";
|
|
48948
49175
|
readonly supportsPromptCache: false;
|
|
48949
49176
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49177
|
+
readonly excludedTools: ["apply_diff"];
|
|
48950
49178
|
readonly inputPrice: 0.075;
|
|
48951
49179
|
readonly outputPrice: 0.3;
|
|
48952
49180
|
};
|
|
@@ -48958,6 +49186,7 @@ declare const vertexModels: {
|
|
|
48958
49186
|
readonly defaultToolProtocol: "native";
|
|
48959
49187
|
readonly supportsPromptCache: false;
|
|
48960
49188
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49189
|
+
readonly excludedTools: ["apply_diff"];
|
|
48961
49190
|
readonly inputPrice: 0;
|
|
48962
49191
|
readonly outputPrice: 0;
|
|
48963
49192
|
};
|
|
@@ -48969,6 +49198,7 @@ declare const vertexModels: {
|
|
|
48969
49198
|
readonly defaultToolProtocol: "native";
|
|
48970
49199
|
readonly supportsPromptCache: true;
|
|
48971
49200
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49201
|
+
readonly excludedTools: ["apply_diff"];
|
|
48972
49202
|
readonly inputPrice: 0.075;
|
|
48973
49203
|
readonly outputPrice: 0.3;
|
|
48974
49204
|
};
|
|
@@ -48980,6 +49210,7 @@ declare const vertexModels: {
|
|
|
48980
49210
|
readonly defaultToolProtocol: "native";
|
|
48981
49211
|
readonly supportsPromptCache: false;
|
|
48982
49212
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49213
|
+
readonly excludedTools: ["apply_diff"];
|
|
48983
49214
|
readonly inputPrice: 1.25;
|
|
48984
49215
|
readonly outputPrice: 5;
|
|
48985
49216
|
};
|
|
@@ -48988,28 +49219,48 @@ declare const vertexModels: {
|
|
|
48988
49219
|
readonly contextWindow: 200000;
|
|
48989
49220
|
readonly supportsImages: true;
|
|
48990
49221
|
readonly supportsPromptCache: true;
|
|
49222
|
+
readonly supportsNativeTools: true;
|
|
49223
|
+
readonly defaultToolProtocol: "native";
|
|
48991
49224
|
readonly inputPrice: 3;
|
|
48992
49225
|
readonly outputPrice: 15;
|
|
48993
49226
|
readonly cacheWritesPrice: 3.75;
|
|
48994
49227
|
readonly cacheReadsPrice: 0.3;
|
|
48995
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
|
+
}];
|
|
48996
49236
|
};
|
|
48997
49237
|
readonly "claude-sonnet-4-5@20250929": {
|
|
48998
49238
|
readonly maxTokens: 8192;
|
|
48999
49239
|
readonly contextWindow: 200000;
|
|
49000
49240
|
readonly supportsImages: true;
|
|
49001
49241
|
readonly supportsPromptCache: true;
|
|
49242
|
+
readonly supportsNativeTools: true;
|
|
49243
|
+
readonly defaultToolProtocol: "native";
|
|
49002
49244
|
readonly inputPrice: 3;
|
|
49003
49245
|
readonly outputPrice: 15;
|
|
49004
49246
|
readonly cacheWritesPrice: 3.75;
|
|
49005
49247
|
readonly cacheReadsPrice: 0.3;
|
|
49006
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
|
+
}];
|
|
49007
49256
|
};
|
|
49008
49257
|
readonly "claude-haiku-4-5@20251001": {
|
|
49009
49258
|
readonly maxTokens: 8192;
|
|
49010
49259
|
readonly contextWindow: 200000;
|
|
49011
49260
|
readonly supportsImages: true;
|
|
49012
49261
|
readonly supportsPromptCache: true;
|
|
49262
|
+
readonly supportsNativeTools: true;
|
|
49263
|
+
readonly defaultToolProtocol: "native";
|
|
49013
49264
|
readonly inputPrice: 1;
|
|
49014
49265
|
readonly outputPrice: 5;
|
|
49015
49266
|
readonly cacheWritesPrice: 1.25;
|
|
@@ -49021,6 +49272,8 @@ declare const vertexModels: {
|
|
|
49021
49272
|
readonly contextWindow: 200000;
|
|
49022
49273
|
readonly supportsImages: true;
|
|
49023
49274
|
readonly supportsPromptCache: true;
|
|
49275
|
+
readonly supportsNativeTools: true;
|
|
49276
|
+
readonly defaultToolProtocol: "native";
|
|
49024
49277
|
readonly inputPrice: 5;
|
|
49025
49278
|
readonly outputPrice: 25;
|
|
49026
49279
|
readonly cacheWritesPrice: 6.25;
|
|
@@ -49032,6 +49285,8 @@ declare const vertexModels: {
|
|
|
49032
49285
|
readonly contextWindow: 200000;
|
|
49033
49286
|
readonly supportsImages: true;
|
|
49034
49287
|
readonly supportsPromptCache: true;
|
|
49288
|
+
readonly supportsNativeTools: true;
|
|
49289
|
+
readonly defaultToolProtocol: "native";
|
|
49035
49290
|
readonly inputPrice: 15;
|
|
49036
49291
|
readonly outputPrice: 75;
|
|
49037
49292
|
readonly cacheWritesPrice: 18.75;
|
|
@@ -49043,6 +49298,8 @@ declare const vertexModels: {
|
|
|
49043
49298
|
readonly contextWindow: 200000;
|
|
49044
49299
|
readonly supportsImages: true;
|
|
49045
49300
|
readonly supportsPromptCache: true;
|
|
49301
|
+
readonly supportsNativeTools: true;
|
|
49302
|
+
readonly defaultToolProtocol: "native";
|
|
49046
49303
|
readonly inputPrice: 15;
|
|
49047
49304
|
readonly outputPrice: 75;
|
|
49048
49305
|
readonly cacheWritesPrice: 18.75;
|
|
@@ -49053,6 +49310,8 @@ declare const vertexModels: {
|
|
|
49053
49310
|
readonly contextWindow: 200000;
|
|
49054
49311
|
readonly supportsImages: true;
|
|
49055
49312
|
readonly supportsPromptCache: true;
|
|
49313
|
+
readonly supportsNativeTools: true;
|
|
49314
|
+
readonly defaultToolProtocol: "native";
|
|
49056
49315
|
readonly inputPrice: 3;
|
|
49057
49316
|
readonly outputPrice: 15;
|
|
49058
49317
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -49065,6 +49324,8 @@ declare const vertexModels: {
|
|
|
49065
49324
|
readonly contextWindow: 200000;
|
|
49066
49325
|
readonly supportsImages: true;
|
|
49067
49326
|
readonly supportsPromptCache: true;
|
|
49327
|
+
readonly supportsNativeTools: true;
|
|
49328
|
+
readonly defaultToolProtocol: "native";
|
|
49068
49329
|
readonly inputPrice: 3;
|
|
49069
49330
|
readonly outputPrice: 15;
|
|
49070
49331
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -49075,6 +49336,8 @@ declare const vertexModels: {
|
|
|
49075
49336
|
readonly contextWindow: 200000;
|
|
49076
49337
|
readonly supportsImages: true;
|
|
49077
49338
|
readonly supportsPromptCache: true;
|
|
49339
|
+
readonly supportsNativeTools: true;
|
|
49340
|
+
readonly defaultToolProtocol: "native";
|
|
49078
49341
|
readonly inputPrice: 3;
|
|
49079
49342
|
readonly outputPrice: 15;
|
|
49080
49343
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -49085,6 +49348,8 @@ declare const vertexModels: {
|
|
|
49085
49348
|
readonly contextWindow: 200000;
|
|
49086
49349
|
readonly supportsImages: true;
|
|
49087
49350
|
readonly supportsPromptCache: true;
|
|
49351
|
+
readonly supportsNativeTools: true;
|
|
49352
|
+
readonly defaultToolProtocol: "native";
|
|
49088
49353
|
readonly inputPrice: 3;
|
|
49089
49354
|
readonly outputPrice: 15;
|
|
49090
49355
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -49095,6 +49360,8 @@ declare const vertexModels: {
|
|
|
49095
49360
|
readonly contextWindow: 200000;
|
|
49096
49361
|
readonly supportsImages: false;
|
|
49097
49362
|
readonly supportsPromptCache: true;
|
|
49363
|
+
readonly supportsNativeTools: true;
|
|
49364
|
+
readonly defaultToolProtocol: "native";
|
|
49098
49365
|
readonly inputPrice: 1;
|
|
49099
49366
|
readonly outputPrice: 5;
|
|
49100
49367
|
readonly cacheWritesPrice: 1.25;
|
|
@@ -49105,6 +49372,8 @@ declare const vertexModels: {
|
|
|
49105
49372
|
readonly contextWindow: 200000;
|
|
49106
49373
|
readonly supportsImages: true;
|
|
49107
49374
|
readonly supportsPromptCache: true;
|
|
49375
|
+
readonly supportsNativeTools: true;
|
|
49376
|
+
readonly defaultToolProtocol: "native";
|
|
49108
49377
|
readonly inputPrice: 15;
|
|
49109
49378
|
readonly outputPrice: 75;
|
|
49110
49379
|
readonly cacheWritesPrice: 18.75;
|
|
@@ -49115,6 +49384,8 @@ declare const vertexModels: {
|
|
|
49115
49384
|
readonly contextWindow: 200000;
|
|
49116
49385
|
readonly supportsImages: true;
|
|
49117
49386
|
readonly supportsPromptCache: true;
|
|
49387
|
+
readonly supportsNativeTools: true;
|
|
49388
|
+
readonly defaultToolProtocol: "native";
|
|
49118
49389
|
readonly inputPrice: 0.25;
|
|
49119
49390
|
readonly outputPrice: 1.25;
|
|
49120
49391
|
readonly cacheWritesPrice: 0.3;
|
|
@@ -49128,6 +49399,7 @@ declare const vertexModels: {
|
|
|
49128
49399
|
readonly defaultToolProtocol: "native";
|
|
49129
49400
|
readonly supportsPromptCache: true;
|
|
49130
49401
|
readonly includedTools: ["write_file", "edit_file"];
|
|
49402
|
+
readonly excludedTools: ["apply_diff"];
|
|
49131
49403
|
readonly inputPrice: 0.1;
|
|
49132
49404
|
readonly outputPrice: 0.4;
|
|
49133
49405
|
readonly cacheReadsPrice: 0.025;
|
|
@@ -49199,6 +49471,7 @@ declare const vertexModels: {
|
|
|
49199
49471
|
readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
|
|
49200
49472
|
};
|
|
49201
49473
|
};
|
|
49474
|
+
declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929"];
|
|
49202
49475
|
declare const VERTEX_REGIONS: {
|
|
49203
49476
|
value: string;
|
|
49204
49477
|
label: string;
|
|
@@ -49798,4 +50071,4 @@ declare function getProviderDefaultModelId(provider: ProviderName, options?: {
|
|
|
49798
50071
|
isChina?: boolean;
|
|
49799
50072
|
}): string;
|
|
49800
50073
|
|
|
49801
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
|
|
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 };
|