@roo-code/types 1.95.0 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -91
- package/dist/index.d.ts +43 -91
- package/dist/index.js +8 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
62
62
|
contextTokens: number;
|
|
63
63
|
totalCacheWrites?: number | undefined;
|
|
64
64
|
totalCacheReads?: number | undefined;
|
|
65
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
65
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
66
66
|
attempts: z.ZodNumber;
|
|
67
67
|
failures: z.ZodNumber;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -290,7 +290,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
290
290
|
taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
291
291
|
taskAskResponded: z.ZodTuple<[z.ZodString], null>;
|
|
292
292
|
taskUserMessage: z.ZodTuple<[z.ZodString], null>;
|
|
293
|
-
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
293
|
+
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
294
294
|
taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
|
|
295
295
|
totalTokensIn: z.ZodNumber;
|
|
296
296
|
totalTokensOut: z.ZodNumber;
|
|
@@ -312,7 +312,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
312
312
|
contextTokens: number;
|
|
313
313
|
totalCacheWrites?: number | undefined;
|
|
314
314
|
totalCacheReads?: number | undefined;
|
|
315
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
315
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
316
316
|
attempts: z.ZodNumber;
|
|
317
317
|
failures: z.ZodNumber;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -343,7 +343,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
343
343
|
contextTokens: number;
|
|
344
344
|
totalCacheWrites?: number | undefined;
|
|
345
345
|
totalCacheReads?: number | undefined;
|
|
346
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
346
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
347
347
|
attempts: number;
|
|
348
348
|
failures: number;
|
|
349
349
|
}>>, {
|
|
@@ -408,11 +408,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
408
408
|
contextTokens: number;
|
|
409
409
|
totalCacheWrites?: number | undefined;
|
|
410
410
|
totalCacheReads?: number | undefined;
|
|
411
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
411
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
412
412
|
attempts: number;
|
|
413
413
|
failures: number;
|
|
414
414
|
}>>];
|
|
415
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
415
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
416
416
|
modeChanged: [string];
|
|
417
417
|
providerProfileChanged: [{
|
|
418
418
|
name: string;
|
|
@@ -428,7 +428,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
428
428
|
contextTokens: number;
|
|
429
429
|
totalCacheWrites?: number | undefined;
|
|
430
430
|
totalCacheReads?: number | undefined;
|
|
431
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
431
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
432
432
|
attempts: number;
|
|
433
433
|
failures: number;
|
|
434
434
|
}>>, {
|
|
@@ -493,11 +493,11 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
493
493
|
contextTokens: number;
|
|
494
494
|
totalCacheWrites?: number | undefined;
|
|
495
495
|
totalCacheReads?: number | undefined;
|
|
496
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
496
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
497
497
|
attempts: number;
|
|
498
498
|
failures: number;
|
|
499
499
|
}>>];
|
|
500
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
500
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
501
501
|
modeChanged: [string];
|
|
502
502
|
providerProfileChanged: [{
|
|
503
503
|
name: string;
|
|
@@ -555,7 +555,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
555
555
|
contextTokens: number;
|
|
556
556
|
totalCacheWrites?: number | undefined;
|
|
557
557
|
totalCacheReads?: number | undefined;
|
|
558
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
558
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
559
559
|
attempts: z.ZodNumber;
|
|
560
560
|
failures: z.ZodNumber;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -581,7 +581,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
581
581
|
contextTokens: number;
|
|
582
582
|
totalCacheWrites?: number | undefined;
|
|
583
583
|
totalCacheReads?: number | undefined;
|
|
584
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
584
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
585
585
|
attempts: number;
|
|
586
586
|
failures: number;
|
|
587
587
|
}>>, {
|
|
@@ -597,7 +597,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
597
597
|
contextTokens: number;
|
|
598
598
|
totalCacheWrites?: number | undefined;
|
|
599
599
|
totalCacheReads?: number | undefined;
|
|
600
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
600
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
601
601
|
attempts: number;
|
|
602
602
|
failures: number;
|
|
603
603
|
}>>, {
|
|
@@ -1063,15 +1063,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1063
1063
|
taskId?: number | undefined;
|
|
1064
1064
|
}>, z.ZodObject<{
|
|
1065
1065
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
1066
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
1066
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
1067
1067
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
1068
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1069
1069
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1070
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1070
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
1071
1071
|
taskId?: number | undefined;
|
|
1072
1072
|
}, {
|
|
1073
1073
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1074
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
1074
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
1075
1075
|
taskId?: number | undefined;
|
|
1076
1076
|
}>, z.ZodObject<{
|
|
1077
1077
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -1096,7 +1096,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1096
1096
|
contextTokens: number;
|
|
1097
1097
|
totalCacheWrites?: number | undefined;
|
|
1098
1098
|
totalCacheReads?: number | undefined;
|
|
1099
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
1099
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
1100
1100
|
attempts: z.ZodNumber;
|
|
1101
1101
|
failures: z.ZodNumber;
|
|
1102
1102
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1116,7 +1116,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1116
1116
|
contextTokens: number;
|
|
1117
1117
|
totalCacheWrites?: number | undefined;
|
|
1118
1118
|
totalCacheReads?: number | undefined;
|
|
1119
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1119
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
1120
1120
|
attempts: number;
|
|
1121
1121
|
failures: number;
|
|
1122
1122
|
}>>];
|
|
@@ -1130,7 +1130,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1130
1130
|
contextTokens: number;
|
|
1131
1131
|
totalCacheWrites?: number | undefined;
|
|
1132
1132
|
totalCacheReads?: number | undefined;
|
|
1133
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
1133
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
1134
1134
|
attempts: number;
|
|
1135
1135
|
failures: number;
|
|
1136
1136
|
}>>];
|
|
@@ -1377,7 +1377,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1377
1377
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
1378
1378
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
1379
1379
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
1380
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
1381
1380
|
} & {
|
|
1382
1381
|
apiProvider: z.ZodLiteral<"openrouter">;
|
|
1383
1382
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1399,7 +1398,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1399
1398
|
openRouterModelId?: string | undefined;
|
|
1400
1399
|
openRouterBaseUrl?: string | undefined;
|
|
1401
1400
|
openRouterSpecificProvider?: string | undefined;
|
|
1402
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
1403
1401
|
}, {
|
|
1404
1402
|
apiProvider: "openrouter";
|
|
1405
1403
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
|
|
@@ -1419,7 +1417,6 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
1419
1417
|
openRouterModelId?: string | undefined;
|
|
1420
1418
|
openRouterBaseUrl?: string | undefined;
|
|
1421
1419
|
openRouterSpecificProvider?: string | undefined;
|
|
1422
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
1423
1420
|
}>, z.ZodObject<{
|
|
1424
1421
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
1425
1422
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3913,7 +3910,6 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3913
3910
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
3914
3911
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3915
3912
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
3916
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
3917
3913
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3918
3914
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3919
3915
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3952,7 +3948,6 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3952
3948
|
openRouterModelId?: string | undefined;
|
|
3953
3949
|
openRouterBaseUrl?: string | undefined;
|
|
3954
3950
|
openRouterSpecificProvider?: string | undefined;
|
|
3955
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
3956
3951
|
awsAccessKey?: string | undefined;
|
|
3957
3952
|
awsSecretKey?: string | undefined;
|
|
3958
3953
|
awsSessionToken?: string | undefined;
|
|
@@ -4124,7 +4119,6 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
4124
4119
|
openRouterModelId?: string | undefined;
|
|
4125
4120
|
openRouterBaseUrl?: string | undefined;
|
|
4126
4121
|
openRouterSpecificProvider?: string | undefined;
|
|
4127
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
4128
4122
|
awsAccessKey?: string | undefined;
|
|
4129
4123
|
awsSecretKey?: string | undefined;
|
|
4130
4124
|
awsSessionToken?: string | undefined;
|
|
@@ -4537,7 +4531,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4537
4531
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
4538
4532
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4539
4533
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
4540
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
4541
4534
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
4542
4535
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4543
4536
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4579,7 +4572,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4579
4572
|
openRouterModelId?: string | undefined;
|
|
4580
4573
|
openRouterBaseUrl?: string | undefined;
|
|
4581
4574
|
openRouterSpecificProvider?: string | undefined;
|
|
4582
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
4583
4575
|
awsAccessKey?: string | undefined;
|
|
4584
4576
|
awsSecretKey?: string | undefined;
|
|
4585
4577
|
awsSessionToken?: string | undefined;
|
|
@@ -4752,7 +4744,6 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
|
|
|
4752
4744
|
openRouterModelId?: string | undefined;
|
|
4753
4745
|
openRouterBaseUrl?: string | undefined;
|
|
4754
4746
|
openRouterSpecificProvider?: string | undefined;
|
|
4755
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
4756
4747
|
awsAccessKey?: string | undefined;
|
|
4757
4748
|
awsSecretKey?: string | undefined;
|
|
4758
4749
|
awsSessionToken?: string | undefined;
|
|
@@ -5024,7 +5015,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5024
5015
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
5025
5016
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
5026
5017
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
5027
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
5028
5018
|
} & {
|
|
5029
5019
|
apiProvider: z.ZodLiteral<"openrouter">;
|
|
5030
5020
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5046,7 +5036,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5046
5036
|
openRouterModelId?: string | undefined;
|
|
5047
5037
|
openRouterBaseUrl?: string | undefined;
|
|
5048
5038
|
openRouterSpecificProvider?: string | undefined;
|
|
5049
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
5050
5039
|
}, {
|
|
5051
5040
|
apiProvider: "openrouter";
|
|
5052
5041
|
reasoningEffort?: "low" | "medium" | "high" | "minimal" | "none" | "xhigh" | "disable" | undefined;
|
|
@@ -5066,7 +5055,6 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
5066
5055
|
openRouterModelId?: string | undefined;
|
|
5067
5056
|
openRouterBaseUrl?: string | undefined;
|
|
5068
5057
|
openRouterSpecificProvider?: string | undefined;
|
|
5069
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
5070
5058
|
}>, z.ZodObject<{
|
|
5071
5059
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5072
5060
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7295,7 +7283,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
|
|
|
7295
7283
|
id?: string | undefined;
|
|
7296
7284
|
}>>;
|
|
7297
7285
|
type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
|
|
7298
|
-
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "
|
|
7286
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "codebaseIndexOpenRouterApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "toolProtocol", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUseGlobalInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "awsBedrockServiceTier", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "vertex1MContext", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "ollamaApiKey", "ollamaNumCtx", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "openAiNativeServiceTier", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "deepInfraBaseUrl", "deepInfraApiKey", "deepInfraModelId", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "minimaxBaseUrl", "minimaxApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId", "basetenApiKey"];
|
|
7299
7287
|
/**
|
|
7300
7288
|
* ModelIdKey
|
|
7301
7289
|
*/
|
|
@@ -8441,7 +8429,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8441
8429
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
8442
8430
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8443
8431
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
8444
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
8445
8432
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
8446
8433
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8447
8434
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8895,7 +8882,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8895
8882
|
openRouterModelId?: string | undefined;
|
|
8896
8883
|
openRouterBaseUrl?: string | undefined;
|
|
8897
8884
|
openRouterSpecificProvider?: string | undefined;
|
|
8898
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
8899
8885
|
awsAccessKey?: string | undefined;
|
|
8900
8886
|
awsSecretKey?: string | undefined;
|
|
8901
8887
|
awsSessionToken?: string | undefined;
|
|
@@ -9251,7 +9237,6 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
9251
9237
|
openRouterModelId?: string | undefined;
|
|
9252
9238
|
openRouterBaseUrl?: string | undefined;
|
|
9253
9239
|
openRouterSpecificProvider?: string | undefined;
|
|
9254
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
9255
9240
|
awsAccessKey?: string | undefined;
|
|
9256
9241
|
awsSecretKey?: string | undefined;
|
|
9257
9242
|
awsSessionToken?: string | undefined;
|
|
@@ -9917,7 +9902,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9917
9902
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
9918
9903
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
9919
9904
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
9920
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
9921
9905
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
9922
9906
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
9923
9907
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10371,7 +10355,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10371
10355
|
openRouterModelId?: string | undefined;
|
|
10372
10356
|
openRouterBaseUrl?: string | undefined;
|
|
10373
10357
|
openRouterSpecificProvider?: string | undefined;
|
|
10374
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
10375
10358
|
awsAccessKey?: string | undefined;
|
|
10376
10359
|
awsSecretKey?: string | undefined;
|
|
10377
10360
|
awsSessionToken?: string | undefined;
|
|
@@ -10727,7 +10710,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10727
10710
|
openRouterModelId?: string | undefined;
|
|
10728
10711
|
openRouterBaseUrl?: string | undefined;
|
|
10729
10712
|
openRouterSpecificProvider?: string | undefined;
|
|
10730
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
10731
10713
|
awsAccessKey?: string | undefined;
|
|
10732
10714
|
awsSecretKey?: string | undefined;
|
|
10733
10715
|
awsSessionToken?: string | undefined;
|
|
@@ -11089,7 +11071,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11089
11071
|
openRouterModelId?: string | undefined;
|
|
11090
11072
|
openRouterBaseUrl?: string | undefined;
|
|
11091
11073
|
openRouterSpecificProvider?: string | undefined;
|
|
11092
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
11093
11074
|
awsAccessKey?: string | undefined;
|
|
11094
11075
|
awsSecretKey?: string | undefined;
|
|
11095
11076
|
awsSessionToken?: string | undefined;
|
|
@@ -11450,7 +11431,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11450
11431
|
openRouterModelId?: string | undefined;
|
|
11451
11432
|
openRouterBaseUrl?: string | undefined;
|
|
11452
11433
|
openRouterSpecificProvider?: string | undefined;
|
|
11453
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
11454
11434
|
awsAccessKey?: string | undefined;
|
|
11455
11435
|
awsSecretKey?: string | undefined;
|
|
11456
11436
|
awsSessionToken?: string | undefined;
|
|
@@ -11813,7 +11793,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11813
11793
|
openRouterModelId?: string | undefined;
|
|
11814
11794
|
openRouterBaseUrl?: string | undefined;
|
|
11815
11795
|
openRouterSpecificProvider?: string | undefined;
|
|
11816
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
11817
11796
|
awsAccessKey?: string | undefined;
|
|
11818
11797
|
awsSecretKey?: string | undefined;
|
|
11819
11798
|
awsSessionToken?: string | undefined;
|
|
@@ -12177,7 +12156,6 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
12177
12156
|
openRouterModelId?: string | undefined;
|
|
12178
12157
|
openRouterBaseUrl?: string | undefined;
|
|
12179
12158
|
openRouterSpecificProvider?: string | undefined;
|
|
12180
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
12181
12159
|
awsAccessKey?: string | undefined;
|
|
12182
12160
|
awsSecretKey?: string | undefined;
|
|
12183
12161
|
awsSessionToken?: string | undefined;
|
|
@@ -12868,7 +12846,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12868
12846
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
12869
12847
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
12870
12848
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
12871
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
12872
12849
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
12873
12850
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
12874
12851
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13322,7 +13299,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13322
13299
|
openRouterModelId?: string | undefined;
|
|
13323
13300
|
openRouterBaseUrl?: string | undefined;
|
|
13324
13301
|
openRouterSpecificProvider?: string | undefined;
|
|
13325
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
13326
13302
|
awsAccessKey?: string | undefined;
|
|
13327
13303
|
awsSecretKey?: string | undefined;
|
|
13328
13304
|
awsSessionToken?: string | undefined;
|
|
@@ -13678,7 +13654,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13678
13654
|
openRouterModelId?: string | undefined;
|
|
13679
13655
|
openRouterBaseUrl?: string | undefined;
|
|
13680
13656
|
openRouterSpecificProvider?: string | undefined;
|
|
13681
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
13682
13657
|
awsAccessKey?: string | undefined;
|
|
13683
13658
|
awsSecretKey?: string | undefined;
|
|
13684
13659
|
awsSessionToken?: string | undefined;
|
|
@@ -14040,7 +14015,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14040
14015
|
openRouterModelId?: string | undefined;
|
|
14041
14016
|
openRouterBaseUrl?: string | undefined;
|
|
14042
14017
|
openRouterSpecificProvider?: string | undefined;
|
|
14043
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
14044
14018
|
awsAccessKey?: string | undefined;
|
|
14045
14019
|
awsSecretKey?: string | undefined;
|
|
14046
14020
|
awsSessionToken?: string | undefined;
|
|
@@ -14401,7 +14375,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14401
14375
|
openRouterModelId?: string | undefined;
|
|
14402
14376
|
openRouterBaseUrl?: string | undefined;
|
|
14403
14377
|
openRouterSpecificProvider?: string | undefined;
|
|
14404
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
14405
14378
|
awsAccessKey?: string | undefined;
|
|
14406
14379
|
awsSecretKey?: string | undefined;
|
|
14407
14380
|
awsSessionToken?: string | undefined;
|
|
@@ -14764,7 +14737,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14764
14737
|
openRouterModelId?: string | undefined;
|
|
14765
14738
|
openRouterBaseUrl?: string | undefined;
|
|
14766
14739
|
openRouterSpecificProvider?: string | undefined;
|
|
14767
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
14768
14740
|
awsAccessKey?: string | undefined;
|
|
14769
14741
|
awsSecretKey?: string | undefined;
|
|
14770
14742
|
awsSessionToken?: string | undefined;
|
|
@@ -15128,7 +15100,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15128
15100
|
openRouterModelId?: string | undefined;
|
|
15129
15101
|
openRouterBaseUrl?: string | undefined;
|
|
15130
15102
|
openRouterSpecificProvider?: string | undefined;
|
|
15131
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
15132
15103
|
awsAccessKey?: string | undefined;
|
|
15133
15104
|
awsSecretKey?: string | undefined;
|
|
15134
15105
|
awsSessionToken?: string | undefined;
|
|
@@ -15546,7 +15517,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15546
15517
|
openRouterModelId?: string | undefined;
|
|
15547
15518
|
openRouterBaseUrl?: string | undefined;
|
|
15548
15519
|
openRouterSpecificProvider?: string | undefined;
|
|
15549
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
15550
15520
|
awsAccessKey?: string | undefined;
|
|
15551
15521
|
awsSecretKey?: string | undefined;
|
|
15552
15522
|
awsSessionToken?: string | undefined;
|
|
@@ -15930,7 +15900,6 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15930
15900
|
openRouterModelId?: string | undefined;
|
|
15931
15901
|
openRouterBaseUrl?: string | undefined;
|
|
15932
15902
|
openRouterSpecificProvider?: string | undefined;
|
|
15933
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
15934
15903
|
awsAccessKey?: string | undefined;
|
|
15935
15904
|
awsSecretKey?: string | undefined;
|
|
15936
15905
|
awsSessionToken?: string | undefined;
|
|
@@ -16326,7 +16295,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16326
16295
|
contextTokens: number;
|
|
16327
16296
|
totalCacheWrites?: number | undefined;
|
|
16328
16297
|
totalCacheReads?: number | undefined;
|
|
16329
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
16298
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
16330
16299
|
attempts: z.ZodNumber;
|
|
16331
16300
|
failures: z.ZodNumber;
|
|
16332
16301
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16352,7 +16321,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16352
16321
|
contextTokens: number;
|
|
16353
16322
|
totalCacheWrites?: number | undefined;
|
|
16354
16323
|
totalCacheReads?: number | undefined;
|
|
16355
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
16324
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
16356
16325
|
attempts: number;
|
|
16357
16326
|
failures: number;
|
|
16358
16327
|
}>>, {
|
|
@@ -16368,7 +16337,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16368
16337
|
contextTokens: number;
|
|
16369
16338
|
totalCacheWrites?: number | undefined;
|
|
16370
16339
|
totalCacheReads?: number | undefined;
|
|
16371
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
16340
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
16372
16341
|
attempts: number;
|
|
16373
16342
|
failures: number;
|
|
16374
16343
|
}>>, {
|
|
@@ -16834,15 +16803,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16834
16803
|
taskId?: number | undefined;
|
|
16835
16804
|
}>, z.ZodObject<{
|
|
16836
16805
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
16837
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodString], null>;
|
|
16806
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
16838
16807
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
16839
16808
|
}, "strip", z.ZodTypeAny, {
|
|
16840
16809
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16841
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
16810
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
16842
16811
|
taskId?: number | undefined;
|
|
16843
16812
|
}, {
|
|
16844
16813
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16845
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
16814
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
16846
16815
|
taskId?: number | undefined;
|
|
16847
16816
|
}>, z.ZodObject<{
|
|
16848
16817
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -16867,7 +16836,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16867
16836
|
contextTokens: number;
|
|
16868
16837
|
totalCacheWrites?: number | undefined;
|
|
16869
16838
|
totalCacheReads?: number | undefined;
|
|
16870
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
16839
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
16871
16840
|
attempts: z.ZodNumber;
|
|
16872
16841
|
failures: z.ZodNumber;
|
|
16873
16842
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16887,7 +16856,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16887
16856
|
contextTokens: number;
|
|
16888
16857
|
totalCacheWrites?: number | undefined;
|
|
16889
16858
|
totalCacheReads?: number | undefined;
|
|
16890
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
16859
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
16891
16860
|
attempts: number;
|
|
16892
16861
|
failures: number;
|
|
16893
16862
|
}>>];
|
|
@@ -16901,7 +16870,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16901
16870
|
contextTokens: number;
|
|
16902
16871
|
totalCacheWrites?: number | undefined;
|
|
16903
16872
|
totalCacheReads?: number | undefined;
|
|
16904
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
16873
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
16905
16874
|
attempts: number;
|
|
16906
16875
|
failures: number;
|
|
16907
16876
|
}>>];
|
|
@@ -16950,7 +16919,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16950
16919
|
contextTokens: number;
|
|
16951
16920
|
totalCacheWrites?: number | undefined;
|
|
16952
16921
|
totalCacheReads?: number | undefined;
|
|
16953
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
16922
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
16954
16923
|
attempts: number;
|
|
16955
16924
|
failures: number;
|
|
16956
16925
|
}>>, {
|
|
@@ -17058,7 +17027,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17058
17027
|
taskId?: number | undefined;
|
|
17059
17028
|
} | {
|
|
17060
17029
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
17061
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
17030
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
17062
17031
|
taskId?: number | undefined;
|
|
17063
17032
|
} | {
|
|
17064
17033
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -17069,7 +17038,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17069
17038
|
contextTokens: number;
|
|
17070
17039
|
totalCacheWrites?: number | undefined;
|
|
17071
17040
|
totalCacheReads?: number | undefined;
|
|
17072
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
17041
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
17073
17042
|
attempts: number;
|
|
17074
17043
|
failures: number;
|
|
17075
17044
|
}>>];
|
|
@@ -17104,7 +17073,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17104
17073
|
contextTokens: number;
|
|
17105
17074
|
totalCacheWrites?: number | undefined;
|
|
17106
17075
|
totalCacheReads?: number | undefined;
|
|
17107
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
17076
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
17108
17077
|
attempts: number;
|
|
17109
17078
|
failures: number;
|
|
17110
17079
|
}>>, {
|
|
@@ -17212,7 +17181,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17212
17181
|
taskId?: number | undefined;
|
|
17213
17182
|
} | {
|
|
17214
17183
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
17215
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", string];
|
|
17184
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", string];
|
|
17216
17185
|
taskId?: number | undefined;
|
|
17217
17186
|
} | {
|
|
17218
17187
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -17223,7 +17192,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
17223
17192
|
contextTokens: number;
|
|
17224
17193
|
totalCacheWrites?: number | undefined;
|
|
17225
17194
|
totalCacheReads?: number | undefined;
|
|
17226
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
17195
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "search_and_replace" | "search_replace" | "edit_file" | "apply_patch" | "search_files" | "list_files" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image" | "custom_tool", {
|
|
17227
17196
|
attempts: number;
|
|
17228
17197
|
failures: number;
|
|
17229
17198
|
}>>];
|
|
@@ -17768,13 +17737,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
|
|
|
17768
17737
|
/**
|
|
17769
17738
|
* ToolName
|
|
17770
17739
|
*/
|
|
17771
|
-
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"];
|
|
17772
|
-
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>;
|
|
17740
|
+
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"];
|
|
17741
|
+
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>;
|
|
17773
17742
|
type ToolName = z.infer<typeof toolNamesSchema>;
|
|
17774
17743
|
/**
|
|
17775
17744
|
* ToolUsage
|
|
17776
17745
|
*/
|
|
17777
|
-
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image"]>, z.ZodObject<{
|
|
17746
|
+
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "search_and_replace", "search_replace", "edit_file", "apply_patch", "search_files", "list_files", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "run_slash_command", "generate_image", "custom_tool"]>, z.ZodObject<{
|
|
17778
17747
|
attempts: z.ZodNumber;
|
|
17779
17748
|
failures: z.ZodNumber;
|
|
17780
17749
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19912,7 +19881,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
19912
19881
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
19913
19882
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
19914
19883
|
openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
|
|
19915
|
-
openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
|
|
19916
19884
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
19917
19885
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
19918
19886
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19954,7 +19922,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
19954
19922
|
openRouterModelId?: string | undefined;
|
|
19955
19923
|
openRouterBaseUrl?: string | undefined;
|
|
19956
19924
|
openRouterSpecificProvider?: string | undefined;
|
|
19957
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
19958
19925
|
awsAccessKey?: string | undefined;
|
|
19959
19926
|
awsSecretKey?: string | undefined;
|
|
19960
19927
|
awsSessionToken?: string | undefined;
|
|
@@ -20127,7 +20094,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20127
20094
|
openRouterModelId?: string | undefined;
|
|
20128
20095
|
openRouterBaseUrl?: string | undefined;
|
|
20129
20096
|
openRouterSpecificProvider?: string | undefined;
|
|
20130
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
20131
20097
|
awsAccessKey?: string | undefined;
|
|
20132
20098
|
awsSecretKey?: string | undefined;
|
|
20133
20099
|
awsSessionToken?: string | undefined;
|
|
@@ -20364,7 +20330,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20364
20330
|
openRouterModelId?: string | undefined;
|
|
20365
20331
|
openRouterBaseUrl?: string | undefined;
|
|
20366
20332
|
openRouterSpecificProvider?: string | undefined;
|
|
20367
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
20368
20333
|
awsAccessKey?: string | undefined;
|
|
20369
20334
|
awsSecretKey?: string | undefined;
|
|
20370
20335
|
awsSessionToken?: string | undefined;
|
|
@@ -20601,7 +20566,6 @@ declare const organizationSettingsSchema: z.ZodObject<{
|
|
|
20601
20566
|
openRouterModelId?: string | undefined;
|
|
20602
20567
|
openRouterBaseUrl?: string | undefined;
|
|
20603
20568
|
openRouterSpecificProvider?: string | undefined;
|
|
20604
|
-
openRouterUseMiddleOutTransform?: boolean | undefined;
|
|
20605
20569
|
awsAccessKey?: string | undefined;
|
|
20606
20570
|
awsSecretKey?: string | undefined;
|
|
20607
20571
|
awsSessionToken?: string | undefined;
|
|
@@ -45497,18 +45461,6 @@ declare const modelInfoSchema: z.ZodObject<{
|
|
|
45497
45461
|
}>;
|
|
45498
45462
|
type ModelInfo = z.infer<typeof modelInfoSchema>;
|
|
45499
45463
|
|
|
45500
|
-
/**
|
|
45501
|
-
* Configuration for models that should use simplified single-file read_file tool
|
|
45502
|
-
* These models will use the simpler <read_file><path>...</path></read_file> format
|
|
45503
|
-
* instead of the more complex multi-file args format
|
|
45504
|
-
*/
|
|
45505
|
-
/**
|
|
45506
|
-
* Check if a model should use single file read format
|
|
45507
|
-
* @param modelId The model ID to check
|
|
45508
|
-
* @returns true if the model should use single file reads
|
|
45509
|
-
*/
|
|
45510
|
-
declare function shouldUseSingleFileRead(modelId: string): boolean;
|
|
45511
|
-
|
|
45512
45464
|
/**
|
|
45513
45465
|
* CommandExecutionStatus
|
|
45514
45466
|
*/
|
|
@@ -46455,7 +46407,7 @@ type CerebrasModelId = keyof typeof cerebrasModels;
|
|
|
46455
46407
|
declare const cerebrasDefaultModelId: CerebrasModelId;
|
|
46456
46408
|
declare const cerebrasModels: {
|
|
46457
46409
|
readonly "zai-glm-4.6": {
|
|
46458
|
-
readonly maxTokens:
|
|
46410
|
+
readonly maxTokens: 16384;
|
|
46459
46411
|
readonly contextWindow: 131072;
|
|
46460
46412
|
readonly supportsImages: false;
|
|
46461
46413
|
readonly supportsPromptCache: false;
|
|
@@ -46466,7 +46418,7 @@ declare const cerebrasModels: {
|
|
|
46466
46418
|
readonly description: "Highly intelligent general purpose model with up to 1,000 tokens/s";
|
|
46467
46419
|
};
|
|
46468
46420
|
readonly "qwen-3-235b-a22b-instruct-2507": {
|
|
46469
|
-
readonly maxTokens:
|
|
46421
|
+
readonly maxTokens: 16384;
|
|
46470
46422
|
readonly contextWindow: 64000;
|
|
46471
46423
|
readonly supportsImages: false;
|
|
46472
46424
|
readonly supportsPromptCache: false;
|
|
@@ -46477,7 +46429,7 @@ declare const cerebrasModels: {
|
|
|
46477
46429
|
readonly description: "Intelligent model with ~1400 tokens/s";
|
|
46478
46430
|
};
|
|
46479
46431
|
readonly "llama-3.3-70b": {
|
|
46480
|
-
readonly maxTokens:
|
|
46432
|
+
readonly maxTokens: 16384;
|
|
46481
46433
|
readonly contextWindow: 64000;
|
|
46482
46434
|
readonly supportsImages: false;
|
|
46483
46435
|
readonly supportsPromptCache: false;
|
|
@@ -46488,7 +46440,7 @@ declare const cerebrasModels: {
|
|
|
46488
46440
|
readonly description: "Powerful model with ~2600 tokens/s";
|
|
46489
46441
|
};
|
|
46490
46442
|
readonly "qwen-3-32b": {
|
|
46491
|
-
readonly maxTokens:
|
|
46443
|
+
readonly maxTokens: 16384;
|
|
46492
46444
|
readonly contextWindow: 64000;
|
|
46493
46445
|
readonly supportsImages: false;
|
|
46494
46446
|
readonly supportsPromptCache: false;
|
|
@@ -46499,7 +46451,7 @@ declare const cerebrasModels: {
|
|
|
46499
46451
|
readonly description: "SOTA coding performance with ~2500 tokens/s";
|
|
46500
46452
|
};
|
|
46501
46453
|
readonly "gpt-oss-120b": {
|
|
46502
|
-
readonly maxTokens:
|
|
46454
|
+
readonly maxTokens: 16384;
|
|
46503
46455
|
readonly contextWindow: 64000;
|
|
46504
46456
|
readonly supportsImages: false;
|
|
46505
46457
|
readonly supportsPromptCache: false;
|
|
@@ -50093,4 +50045,4 @@ declare function getProviderDefaultModelId(provider: ProviderName, options?: {
|
|
|
50093
50045
|
isChina?: boolean;
|
|
50094
50046
|
}): string;
|
|
50095
50047
|
|
|
50096
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, ConsecutiveMistakeError, type ConsecutiveMistakeReason, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, type CustomToolContext, type CustomToolDefinition, type CustomToolParametersSchema, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, NATIVE_TOOL_DEFAULTS, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SerializedCustomToolDefinition, type SerializedCustomToolParameters, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypedCustomToolDefinition, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_1M_CONTEXT_MODEL_IDS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, defineCustomTool, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractConsecutiveMistakeErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isConsecutiveMistakeError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, shouldUseSingleFileRead, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
|
|
50048
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, ApiProviderError, type AppProperties, type AssertEqual, type AuthService, type AuthServiceEvents, type AuthState, BEDROCK_1M_CONTEXT_MODEL_IDS, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_GLOBAL_INFERENCE_MODEL_IDS, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_SERVICE_TIER_MODEL_IDS, BEDROCK_SERVICE_TIER_PRICING, type BasetenModelId, type BedrockModelId, type BedrockServiceTier, type BrowserActionParams, CODEBASE_INDEX_DEFAULTS, CONSENT_COOKIE_NAME, CONTEXT_MANAGEMENT_EVENTS, COOKIE_CONSENT_EVENTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClaudeCodeRateLimitInfo, type ClaudeCodeReasoningLevel, type ClineAsk, type ClineMessage, type ClineSay, type CloudAppProperties, type CloudOrganization, type CloudOrganizationMembership, type CloudServiceEvents, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, ConnectionState, ConsecutiveMistakeError, type ConsecutiveMistakeReason, type ConsentCookieValue, type ContextCondense, type ContextManagementEvent, type ContextTruncation, type Coordinate, type CreateTaskOptions, type CustomModePrompts, type CustomModesSettings, type CustomProvider, type CustomSupportPrompts, type CustomToolContext, type CustomToolDefinition, type CustomToolParametersSchema, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CHECKPOINT_TIMEOUT_SECONDS, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, type DynamicAppProperties, type DynamicProvider, EVALS_SETTINGS, EVALS_TIMEOUT, EXPECTED_API_ERROR_CODES, type Equals, type ExperimentId, type Experiments, type ExtensionBridgeCommand, ExtensionBridgeCommandName, type ExtensionBridgeEvent, ExtensionBridgeEventName, type ExtensionInstance, ExtensionSocketEvents, type ExtensionTask, type FauxProvider, type FeatherlessModelId, type FileEntry, type FireworksModelId, type FollowUpData, type FollowUpDataType, GLOBAL_SECRET_KEYS, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GenerateImageParams, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HEARTBEAT_INTERVAL_MS, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, IMAGE_GENERATION_MODELS, IMAGE_GENERATION_MODEL_IDS, INSTANCE_TTL_SECONDS, type IOIntelligenceModelId, IO_INTELLIGENCE_CACHE_DURATION, type IdleAsk, type ImageGenerationApiMethod, type ImageGenerationModel, type ImageGenerationProvider, type InstallMarketplaceItemOptions, type InteractiveAsk, type InternalProvider, type InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type JWTPayload, type JoinResponse, type Keys, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, type LeaveResponse, type LineRange, type LocalProvider, MAX_CHECKPOINT_TIMEOUT_SECONDS, MINIMAX_DEFAULT_MAX_TOKENS, MINIMAX_DEFAULT_TEMPERATURE, MIN_CHECKPOINT_TIMEOUT_SECONDS, MISTRAL_DEFAULT_TEMPERATURE, MODELS_BY_PROVIDER, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type McpServerUse, type MinimaxModelId, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelIdKey, type ModelInfo, type ModelParameter, type MoonshotModelId, NATIVE_TOOL_DEFAULTS, type NonBlockingAsk, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationFeatures, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ProviderSettingsWithId, type QueuedMessage, type QwenCodeModelId, type ReasoningEffort, type ReasoningEffortExtended, type ReasoningEffortWithMinimal, type ResumableAsk, type RetryConfig, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, type RooModel, RooModelSchema, type RooModelsResponse, RooModelsResponseSchema, RooPricingSchema, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type SerializedCustomToolDefinition, type SerializedCustomToolParameters, type ServiceTier, type SettingsService, type SettingsServiceEvents, type ShareResponse, type ShareVisibility, type Size, type StaticAppProperties, type SuggestionItem, TOOL_PROTOCOL, type TaskBridgeCommand, TaskBridgeCommandName, type TaskBridgeEvent, TaskBridgeEventName, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskMetadata, type TaskProperties, type TaskProviderEvents, type TaskProviderLike, TaskSocketEvents, TaskStatus, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolProtocol, type ToolUsage, type TypedCustomToolDefinition, type TypicalProvider, type UsageStats, type UserFeatures, type UserSettingsConfig, type UserSettingsData, VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE, VERCEL_AI_GATEWAY_PROMPT_CACHING_MODELS, VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS, VERCEL_AI_GATEWAY_VISION_ONLY_MODELS, VERTEX_1M_CONTEXT_MODEL_IDS, VERTEX_REGIONS, type Values, type VerbosityLevel, type VertexModelId, type VscodeLlmModelId, type WorkspaceTaskVisibility, type XAIModelId, ZAI_DEFAULT_TEMPERATURE, type ZaiApiLine, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, basetenDefaultModelId, basetenModels, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesDefaultModelInfo, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, claudeCodeReasoningConfig, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, cloudAppPropertiesSchema, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, contextTruncationSchema, customModePromptsSchema, customModesSettingsSchema, customProviders, customSupportPromptsSchema, deepInfraDefaultModelId, deepInfraDefaultModelInfo, deepSeekDefaultModelId, deepSeekModels, defineCustomTool, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, dynamicAppPropertiesSchema, dynamicProviders, experimentIds, experimentIdsSchema, experimentsSchema, extensionBridgeCommandSchema, extensionBridgeEventSchema, extensionInstanceSchema, extractApiProviderErrorProperties, extractConsecutiveMistakeErrorProperties, extractMessageFromJsonPayload, fauxProviders, featherlessDefaultModelId, featherlessModels, fireworksDefaultModelId, fireworksModels, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getEffectiveProtocol, getErrorMessage, getErrorStatusCode, getImageGenerationProvider, getModelId, getProviderDefaultModelId, gitPropertiesSchema, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, idleAsks, installMarketplaceItemOptionsSchema, interactiveAsks, internalProviders, internationalZAiDefaultModelId, internationalZAiModels, ioIntelligenceDefaultBaseUrl, ioIntelligenceDefaultModelId, ioIntelligenceModels, ipcMessageSchema, isApiProviderError, isConsecutiveMistakeError, isContextManagementEvent, isCustomProvider, isDynamicProvider, isFauxProvider, isGlobalStateKey, isIdleAsk, isInteractiveAsk, isInternalProvider, isLanguage, isLocalProvider, isModelParameter, isNativeProtocol, isNonBlockingAsk, isProviderName, isResumableAsk, isSecretStateKey, isTypicalProvider, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, localProviders, mainlandZAiDefaultModelId, mainlandZAiModels, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, minimaxDefaultModelId, minimaxDefaultModelInfo, minimaxModels, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelIdKeys, modelIdKeysByProvider, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, nonBlockingAsks, normalizeClaudeCodeModelId, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationFeaturesSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, providerSettingsWithIdSchema, queuedMessageSchema, qwenCodeDefaultModelId, qwenCodeModels, reasoningEffortExtendedSchema, reasoningEffortSettingSchema, reasoningEffortSettingValues, reasoningEffortWithMinimalSchema, reasoningEfforts, reasoningEffortsExtended, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, resumableAsks, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, rooDefaultModelId, rooModels, sambaNovaDefaultModelId, sambaNovaModels, serviceTierSchema, serviceTiers, shareResponseSchema, shouldReportApiErrorToTelemetry, staticAppPropertiesSchema, suggestionItemSchema, taskBridgeCommandSchema, taskBridgeEventSchema, taskCommandSchema, taskEventSchema, taskMetadataSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, usageStatsSchema, userFeaturesSchema, userSettingsConfigSchema, userSettingsDataSchema, verbosityLevels, verbosityLevelsSchema, vercelAiGatewayDefaultModelId, vercelAiGatewayDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels, zaiApiLineConfigs, zaiApiLineSchema };
|