@roo-code/types 1.71.0 → 1.73.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 +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -27
- package/dist/index.d.ts +60 -27
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
57
57
|
contextTokens: number;
|
|
58
58
|
totalCacheWrites?: number | undefined;
|
|
59
59
|
totalCacheReads?: number | undefined;
|
|
60
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
|
|
60
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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<{
|
|
61
61
|
attempts: z.ZodNumber;
|
|
62
62
|
failures: z.ZodNumber;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -285,7 +285,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
285
285
|
taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
286
286
|
taskAskResponded: z.ZodTuple<[z.ZodString], null>;
|
|
287
287
|
taskUserMessage: z.ZodTuple<[z.ZodString], null>;
|
|
288
|
-
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
|
|
288
|
+
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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>;
|
|
289
289
|
taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
|
|
290
290
|
totalTokensIn: z.ZodNumber;
|
|
291
291
|
totalTokensOut: z.ZodNumber;
|
|
@@ -329,7 +329,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
329
329
|
contextTokens: number;
|
|
330
330
|
totalCacheWrites?: number | undefined;
|
|
331
331
|
totalCacheReads?: number | undefined;
|
|
332
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
332
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
333
333
|
attempts: number;
|
|
334
334
|
failures: number;
|
|
335
335
|
}>>, {
|
|
@@ -391,7 +391,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
391
391
|
totalCacheWrites?: number | undefined;
|
|
392
392
|
totalCacheReads?: number | undefined;
|
|
393
393
|
}];
|
|
394
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
394
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
395
395
|
modeChanged: [string];
|
|
396
396
|
providerProfileChanged: [{
|
|
397
397
|
name: string;
|
|
@@ -407,7 +407,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
407
407
|
contextTokens: number;
|
|
408
408
|
totalCacheWrites?: number | undefined;
|
|
409
409
|
totalCacheReads?: number | undefined;
|
|
410
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
410
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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
411
|
attempts: number;
|
|
412
412
|
failures: number;
|
|
413
413
|
}>>, {
|
|
@@ -469,7 +469,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
469
469
|
totalCacheWrites?: number | undefined;
|
|
470
470
|
totalCacheReads?: number | undefined;
|
|
471
471
|
}];
|
|
472
|
-
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
472
|
+
taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
473
473
|
modeChanged: [string];
|
|
474
474
|
providerProfileChanged: [{
|
|
475
475
|
name: string;
|
|
@@ -527,7 +527,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
527
527
|
contextTokens: number;
|
|
528
528
|
totalCacheWrites?: number | undefined;
|
|
529
529
|
totalCacheReads?: number | undefined;
|
|
530
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
|
|
530
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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<{
|
|
531
531
|
attempts: z.ZodNumber;
|
|
532
532
|
failures: z.ZodNumber;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -553,7 +553,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
553
553
|
contextTokens: number;
|
|
554
554
|
totalCacheWrites?: number | undefined;
|
|
555
555
|
totalCacheReads?: number | undefined;
|
|
556
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
556
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
557
557
|
attempts: number;
|
|
558
558
|
failures: number;
|
|
559
559
|
}>>, {
|
|
@@ -569,7 +569,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
569
569
|
contextTokens: number;
|
|
570
570
|
totalCacheWrites?: number | undefined;
|
|
571
571
|
totalCacheReads?: number | undefined;
|
|
572
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
572
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
573
573
|
attempts: number;
|
|
574
574
|
failures: number;
|
|
575
575
|
}>>, {
|
|
@@ -1000,15 +1000,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1000
1000
|
taskId?: number | undefined;
|
|
1001
1001
|
}>, z.ZodObject<{
|
|
1002
1002
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
1003
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
|
|
1003
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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>;
|
|
1004
1004
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
1005
1005
|
}, "strip", z.ZodTypeAny, {
|
|
1006
1006
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1007
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
1007
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
1008
1008
|
taskId?: number | undefined;
|
|
1009
1009
|
}, {
|
|
1010
1010
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
1011
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
1011
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
1012
1012
|
taskId?: number | undefined;
|
|
1013
1013
|
}>, z.ZodObject<{
|
|
1014
1014
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -6585,16 +6585,19 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
6585
6585
|
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
6586
6586
|
preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
|
|
6587
6587
|
imageGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
6588
|
+
runSlashCommand: z.ZodOptional<z.ZodBoolean>;
|
|
6588
6589
|
}, "strip", z.ZodTypeAny, {
|
|
6589
6590
|
powerSteering?: boolean | undefined;
|
|
6590
6591
|
multiFileApplyDiff?: boolean | undefined;
|
|
6591
6592
|
preventFocusDisruption?: boolean | undefined;
|
|
6592
6593
|
imageGeneration?: boolean | undefined;
|
|
6594
|
+
runSlashCommand?: boolean | undefined;
|
|
6593
6595
|
}, {
|
|
6594
6596
|
powerSteering?: boolean | undefined;
|
|
6595
6597
|
multiFileApplyDiff?: boolean | undefined;
|
|
6596
6598
|
preventFocusDisruption?: boolean | undefined;
|
|
6597
6599
|
imageGeneration?: boolean | undefined;
|
|
6600
|
+
runSlashCommand?: boolean | undefined;
|
|
6598
6601
|
}>>;
|
|
6599
6602
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
6600
6603
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -6904,6 +6907,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
6904
6907
|
multiFileApplyDiff?: boolean | undefined;
|
|
6905
6908
|
preventFocusDisruption?: boolean | undefined;
|
|
6906
6909
|
imageGeneration?: boolean | undefined;
|
|
6910
|
+
runSlashCommand?: boolean | undefined;
|
|
6907
6911
|
} | undefined;
|
|
6908
6912
|
codebaseIndexModels?: {
|
|
6909
6913
|
openai?: Record<string, {
|
|
@@ -7068,6 +7072,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
7068
7072
|
multiFileApplyDiff?: boolean | undefined;
|
|
7069
7073
|
preventFocusDisruption?: boolean | undefined;
|
|
7070
7074
|
imageGeneration?: boolean | undefined;
|
|
7075
|
+
runSlashCommand?: boolean | undefined;
|
|
7071
7076
|
} | undefined;
|
|
7072
7077
|
codebaseIndexModels?: {
|
|
7073
7078
|
openai?: Record<string, {
|
|
@@ -7491,16 +7496,19 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7491
7496
|
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
7492
7497
|
preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
|
|
7493
7498
|
imageGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
7499
|
+
runSlashCommand: z.ZodOptional<z.ZodBoolean>;
|
|
7494
7500
|
}, "strip", z.ZodTypeAny, {
|
|
7495
7501
|
powerSteering?: boolean | undefined;
|
|
7496
7502
|
multiFileApplyDiff?: boolean | undefined;
|
|
7497
7503
|
preventFocusDisruption?: boolean | undefined;
|
|
7498
7504
|
imageGeneration?: boolean | undefined;
|
|
7505
|
+
runSlashCommand?: boolean | undefined;
|
|
7499
7506
|
}, {
|
|
7500
7507
|
powerSteering?: boolean | undefined;
|
|
7501
7508
|
multiFileApplyDiff?: boolean | undefined;
|
|
7502
7509
|
preventFocusDisruption?: boolean | undefined;
|
|
7503
7510
|
imageGeneration?: boolean | undefined;
|
|
7511
|
+
runSlashCommand?: boolean | undefined;
|
|
7504
7512
|
}>>;
|
|
7505
7513
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
7506
7514
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -7957,6 +7965,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
7957
7965
|
multiFileApplyDiff?: boolean | undefined;
|
|
7958
7966
|
preventFocusDisruption?: boolean | undefined;
|
|
7959
7967
|
imageGeneration?: boolean | undefined;
|
|
7968
|
+
runSlashCommand?: boolean | undefined;
|
|
7960
7969
|
} | undefined;
|
|
7961
7970
|
codebaseIndexModels?: {
|
|
7962
7971
|
openai?: Record<string, {
|
|
@@ -8268,6 +8277,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
8268
8277
|
multiFileApplyDiff?: boolean | undefined;
|
|
8269
8278
|
preventFocusDisruption?: boolean | undefined;
|
|
8270
8279
|
imageGeneration?: boolean | undefined;
|
|
8280
|
+
runSlashCommand?: boolean | undefined;
|
|
8271
8281
|
} | undefined;
|
|
8272
8282
|
codebaseIndexModels?: {
|
|
8273
8283
|
openai?: Record<string, {
|
|
@@ -8759,16 +8769,19 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
8759
8769
|
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
8760
8770
|
preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
|
|
8761
8771
|
imageGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
8772
|
+
runSlashCommand: z.ZodOptional<z.ZodBoolean>;
|
|
8762
8773
|
}, "strip", z.ZodTypeAny, {
|
|
8763
8774
|
powerSteering?: boolean | undefined;
|
|
8764
8775
|
multiFileApplyDiff?: boolean | undefined;
|
|
8765
8776
|
preventFocusDisruption?: boolean | undefined;
|
|
8766
8777
|
imageGeneration?: boolean | undefined;
|
|
8778
|
+
runSlashCommand?: boolean | undefined;
|
|
8767
8779
|
}, {
|
|
8768
8780
|
powerSteering?: boolean | undefined;
|
|
8769
8781
|
multiFileApplyDiff?: boolean | undefined;
|
|
8770
8782
|
preventFocusDisruption?: boolean | undefined;
|
|
8771
8783
|
imageGeneration?: boolean | undefined;
|
|
8784
|
+
runSlashCommand?: boolean | undefined;
|
|
8772
8785
|
}>>;
|
|
8773
8786
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
8774
8787
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -9225,6 +9238,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9225
9238
|
multiFileApplyDiff?: boolean | undefined;
|
|
9226
9239
|
preventFocusDisruption?: boolean | undefined;
|
|
9227
9240
|
imageGeneration?: boolean | undefined;
|
|
9241
|
+
runSlashCommand?: boolean | undefined;
|
|
9228
9242
|
} | undefined;
|
|
9229
9243
|
codebaseIndexModels?: {
|
|
9230
9244
|
openai?: Record<string, {
|
|
@@ -9536,6 +9550,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9536
9550
|
multiFileApplyDiff?: boolean | undefined;
|
|
9537
9551
|
preventFocusDisruption?: boolean | undefined;
|
|
9538
9552
|
imageGeneration?: boolean | undefined;
|
|
9553
|
+
runSlashCommand?: boolean | undefined;
|
|
9539
9554
|
} | undefined;
|
|
9540
9555
|
codebaseIndexModels?: {
|
|
9541
9556
|
openai?: Record<string, {
|
|
@@ -9853,6 +9868,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
9853
9868
|
multiFileApplyDiff?: boolean | undefined;
|
|
9854
9869
|
preventFocusDisruption?: boolean | undefined;
|
|
9855
9870
|
imageGeneration?: boolean | undefined;
|
|
9871
|
+
runSlashCommand?: boolean | undefined;
|
|
9856
9872
|
} | undefined;
|
|
9857
9873
|
codebaseIndexModels?: {
|
|
9858
9874
|
openai?: Record<string, {
|
|
@@ -10169,6 +10185,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10169
10185
|
multiFileApplyDiff?: boolean | undefined;
|
|
10170
10186
|
preventFocusDisruption?: boolean | undefined;
|
|
10171
10187
|
imageGeneration?: boolean | undefined;
|
|
10188
|
+
runSlashCommand?: boolean | undefined;
|
|
10172
10189
|
} | undefined;
|
|
10173
10190
|
codebaseIndexModels?: {
|
|
10174
10191
|
openai?: Record<string, {
|
|
@@ -10488,6 +10505,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10488
10505
|
multiFileApplyDiff?: boolean | undefined;
|
|
10489
10506
|
preventFocusDisruption?: boolean | undefined;
|
|
10490
10507
|
imageGeneration?: boolean | undefined;
|
|
10508
|
+
runSlashCommand?: boolean | undefined;
|
|
10491
10509
|
} | undefined;
|
|
10492
10510
|
codebaseIndexModels?: {
|
|
10493
10511
|
openai?: Record<string, {
|
|
@@ -10807,6 +10825,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
10807
10825
|
multiFileApplyDiff?: boolean | undefined;
|
|
10808
10826
|
preventFocusDisruption?: boolean | undefined;
|
|
10809
10827
|
imageGeneration?: boolean | undefined;
|
|
10828
|
+
runSlashCommand?: boolean | undefined;
|
|
10810
10829
|
} | undefined;
|
|
10811
10830
|
codebaseIndexModels?: {
|
|
10812
10831
|
openai?: Record<string, {
|
|
@@ -11299,16 +11318,19 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11299
11318
|
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
11300
11319
|
preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
|
|
11301
11320
|
imageGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
11321
|
+
runSlashCommand: z.ZodOptional<z.ZodBoolean>;
|
|
11302
11322
|
}, "strip", z.ZodTypeAny, {
|
|
11303
11323
|
powerSteering?: boolean | undefined;
|
|
11304
11324
|
multiFileApplyDiff?: boolean | undefined;
|
|
11305
11325
|
preventFocusDisruption?: boolean | undefined;
|
|
11306
11326
|
imageGeneration?: boolean | undefined;
|
|
11327
|
+
runSlashCommand?: boolean | undefined;
|
|
11307
11328
|
}, {
|
|
11308
11329
|
powerSteering?: boolean | undefined;
|
|
11309
11330
|
multiFileApplyDiff?: boolean | undefined;
|
|
11310
11331
|
preventFocusDisruption?: boolean | undefined;
|
|
11311
11332
|
imageGeneration?: boolean | undefined;
|
|
11333
|
+
runSlashCommand?: boolean | undefined;
|
|
11312
11334
|
}>>;
|
|
11313
11335
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
11314
11336
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -11765,6 +11787,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11765
11787
|
multiFileApplyDiff?: boolean | undefined;
|
|
11766
11788
|
preventFocusDisruption?: boolean | undefined;
|
|
11767
11789
|
imageGeneration?: boolean | undefined;
|
|
11790
|
+
runSlashCommand?: boolean | undefined;
|
|
11768
11791
|
} | undefined;
|
|
11769
11792
|
codebaseIndexModels?: {
|
|
11770
11793
|
openai?: Record<string, {
|
|
@@ -12076,6 +12099,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12076
12099
|
multiFileApplyDiff?: boolean | undefined;
|
|
12077
12100
|
preventFocusDisruption?: boolean | undefined;
|
|
12078
12101
|
imageGeneration?: boolean | undefined;
|
|
12102
|
+
runSlashCommand?: boolean | undefined;
|
|
12079
12103
|
} | undefined;
|
|
12080
12104
|
codebaseIndexModels?: {
|
|
12081
12105
|
openai?: Record<string, {
|
|
@@ -12393,6 +12417,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12393
12417
|
multiFileApplyDiff?: boolean | undefined;
|
|
12394
12418
|
preventFocusDisruption?: boolean | undefined;
|
|
12395
12419
|
imageGeneration?: boolean | undefined;
|
|
12420
|
+
runSlashCommand?: boolean | undefined;
|
|
12396
12421
|
} | undefined;
|
|
12397
12422
|
codebaseIndexModels?: {
|
|
12398
12423
|
openai?: Record<string, {
|
|
@@ -12709,6 +12734,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12709
12734
|
multiFileApplyDiff?: boolean | undefined;
|
|
12710
12735
|
preventFocusDisruption?: boolean | undefined;
|
|
12711
12736
|
imageGeneration?: boolean | undefined;
|
|
12737
|
+
runSlashCommand?: boolean | undefined;
|
|
12712
12738
|
} | undefined;
|
|
12713
12739
|
codebaseIndexModels?: {
|
|
12714
12740
|
openai?: Record<string, {
|
|
@@ -13028,6 +13054,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13028
13054
|
multiFileApplyDiff?: boolean | undefined;
|
|
13029
13055
|
preventFocusDisruption?: boolean | undefined;
|
|
13030
13056
|
imageGeneration?: boolean | undefined;
|
|
13057
|
+
runSlashCommand?: boolean | undefined;
|
|
13031
13058
|
} | undefined;
|
|
13032
13059
|
codebaseIndexModels?: {
|
|
13033
13060
|
openai?: Record<string, {
|
|
@@ -13347,6 +13374,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13347
13374
|
multiFileApplyDiff?: boolean | undefined;
|
|
13348
13375
|
preventFocusDisruption?: boolean | undefined;
|
|
13349
13376
|
imageGeneration?: boolean | undefined;
|
|
13377
|
+
runSlashCommand?: boolean | undefined;
|
|
13350
13378
|
} | undefined;
|
|
13351
13379
|
codebaseIndexModels?: {
|
|
13352
13380
|
openai?: Record<string, {
|
|
@@ -13697,6 +13725,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13697
13725
|
multiFileApplyDiff?: boolean | undefined;
|
|
13698
13726
|
preventFocusDisruption?: boolean | undefined;
|
|
13699
13727
|
imageGeneration?: boolean | undefined;
|
|
13728
|
+
runSlashCommand?: boolean | undefined;
|
|
13700
13729
|
} | undefined;
|
|
13701
13730
|
codebaseIndexModels?: {
|
|
13702
13731
|
openai?: Record<string, {
|
|
@@ -14030,6 +14059,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14030
14059
|
multiFileApplyDiff?: boolean | undefined;
|
|
14031
14060
|
preventFocusDisruption?: boolean | undefined;
|
|
14032
14061
|
imageGeneration?: boolean | undefined;
|
|
14062
|
+
runSlashCommand?: boolean | undefined;
|
|
14033
14063
|
} | undefined;
|
|
14034
14064
|
codebaseIndexModels?: {
|
|
14035
14065
|
openai?: Record<string, {
|
|
@@ -14148,7 +14178,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14148
14178
|
contextTokens: number;
|
|
14149
14179
|
totalCacheWrites?: number | undefined;
|
|
14150
14180
|
totalCacheReads?: number | undefined;
|
|
14151
|
-
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
|
|
14181
|
+
}>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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<{
|
|
14152
14182
|
attempts: z.ZodNumber;
|
|
14153
14183
|
failures: z.ZodNumber;
|
|
14154
14184
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14174,7 +14204,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14174
14204
|
contextTokens: number;
|
|
14175
14205
|
totalCacheWrites?: number | undefined;
|
|
14176
14206
|
totalCacheReads?: number | undefined;
|
|
14177
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
14207
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
14178
14208
|
attempts: number;
|
|
14179
14209
|
failures: number;
|
|
14180
14210
|
}>>, {
|
|
@@ -14190,7 +14220,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14190
14220
|
contextTokens: number;
|
|
14191
14221
|
totalCacheWrites?: number | undefined;
|
|
14192
14222
|
totalCacheReads?: number | undefined;
|
|
14193
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
14223
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
14194
14224
|
attempts: number;
|
|
14195
14225
|
failures: number;
|
|
14196
14226
|
}>>, {
|
|
@@ -14621,15 +14651,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14621
14651
|
taskId?: number | undefined;
|
|
14622
14652
|
}>, z.ZodObject<{
|
|
14623
14653
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
14624
|
-
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
|
|
14654
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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>;
|
|
14625
14655
|
taskId: z.ZodOptional<z.ZodNumber>;
|
|
14626
14656
|
}, "strip", z.ZodTypeAny, {
|
|
14627
14657
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
14628
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
14658
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
14629
14659
|
taskId?: number | undefined;
|
|
14630
14660
|
}, {
|
|
14631
14661
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
14632
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
14662
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
14633
14663
|
taskId?: number | undefined;
|
|
14634
14664
|
}>, z.ZodObject<{
|
|
14635
14665
|
eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
|
|
@@ -14722,7 +14752,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14722
14752
|
contextTokens: number;
|
|
14723
14753
|
totalCacheWrites?: number | undefined;
|
|
14724
14754
|
totalCacheReads?: number | undefined;
|
|
14725
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
14755
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
14726
14756
|
attempts: number;
|
|
14727
14757
|
failures: number;
|
|
14728
14758
|
}>>, {
|
|
@@ -14817,7 +14847,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14817
14847
|
taskId?: number | undefined;
|
|
14818
14848
|
} | {
|
|
14819
14849
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
14820
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
14850
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
14821
14851
|
taskId?: number | undefined;
|
|
14822
14852
|
} | {
|
|
14823
14853
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -14860,7 +14890,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14860
14890
|
contextTokens: number;
|
|
14861
14891
|
totalCacheWrites?: number | undefined;
|
|
14862
14892
|
totalCacheReads?: number | undefined;
|
|
14863
|
-
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
|
|
14893
|
+
}, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "run_slash_command" | "generate_image", {
|
|
14864
14894
|
attempts: number;
|
|
14865
14895
|
failures: number;
|
|
14866
14896
|
}>>, {
|
|
@@ -14955,7 +14985,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14955
14985
|
taskId?: number | undefined;
|
|
14956
14986
|
} | {
|
|
14957
14987
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
14958
|
-
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
|
|
14988
|
+
payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "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];
|
|
14959
14989
|
taskId?: number | undefined;
|
|
14960
14990
|
} | {
|
|
14961
14991
|
eventName: RooCodeEventName.TaskTokenUsageUpdated;
|
|
@@ -15442,13 +15472,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
|
|
|
15442
15472
|
/**
|
|
15443
15473
|
* ToolName
|
|
15444
15474
|
*/
|
|
15445
|
-
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"];
|
|
15446
|
-
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>;
|
|
15475
|
+
declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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"];
|
|
15476
|
+
declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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"]>;
|
|
15447
15477
|
type ToolName = z.infer<typeof toolNamesSchema>;
|
|
15448
15478
|
/**
|
|
15449
15479
|
* ToolUsage
|
|
15450
15480
|
*/
|
|
15451
|
-
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
|
|
15481
|
+
declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "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<{
|
|
15452
15482
|
attempts: z.ZodNumber;
|
|
15453
15483
|
failures: z.ZodNumber;
|
|
15454
15484
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -36073,8 +36103,8 @@ type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
|
|
|
36073
36103
|
/**
|
|
36074
36104
|
* ExperimentId
|
|
36075
36105
|
*/
|
|
36076
|
-
declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration"];
|
|
36077
|
-
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration"]>;
|
|
36106
|
+
declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand"];
|
|
36107
|
+
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand"]>;
|
|
36078
36108
|
type ExperimentId = z.infer<typeof experimentIdsSchema>;
|
|
36079
36109
|
/**
|
|
36080
36110
|
* Experiments
|
|
@@ -36084,16 +36114,19 @@ declare const experimentsSchema: z.ZodObject<{
|
|
|
36084
36114
|
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
36085
36115
|
preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
|
|
36086
36116
|
imageGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
36117
|
+
runSlashCommand: z.ZodOptional<z.ZodBoolean>;
|
|
36087
36118
|
}, "strip", z.ZodTypeAny, {
|
|
36088
36119
|
powerSteering?: boolean | undefined;
|
|
36089
36120
|
multiFileApplyDiff?: boolean | undefined;
|
|
36090
36121
|
preventFocusDisruption?: boolean | undefined;
|
|
36091
36122
|
imageGeneration?: boolean | undefined;
|
|
36123
|
+
runSlashCommand?: boolean | undefined;
|
|
36092
36124
|
}, {
|
|
36093
36125
|
powerSteering?: boolean | undefined;
|
|
36094
36126
|
multiFileApplyDiff?: boolean | undefined;
|
|
36095
36127
|
preventFocusDisruption?: boolean | undefined;
|
|
36096
36128
|
imageGeneration?: boolean | undefined;
|
|
36129
|
+
runSlashCommand?: boolean | undefined;
|
|
36097
36130
|
}>;
|
|
36098
36131
|
type Experiments = z.infer<typeof experimentsSchema>;
|
|
36099
36132
|
|
package/dist/index.js
CHANGED
|
@@ -145,6 +145,7 @@ var toolNames = [
|
|
|
145
145
|
"fetch_instructions",
|
|
146
146
|
"codebase_search",
|
|
147
147
|
"update_todo_list",
|
|
148
|
+
"run_slash_command",
|
|
148
149
|
"generate_image"
|
|
149
150
|
];
|
|
150
151
|
var toolNamesSchema = z2.enum(toolNames);
|
|
@@ -4072,14 +4073,16 @@ var experimentIds = [
|
|
|
4072
4073
|
"powerSteering",
|
|
4073
4074
|
"multiFileApplyDiff",
|
|
4074
4075
|
"preventFocusDisruption",
|
|
4075
|
-
"imageGeneration"
|
|
4076
|
+
"imageGeneration",
|
|
4077
|
+
"runSlashCommand"
|
|
4076
4078
|
];
|
|
4077
4079
|
var experimentIdsSchema = z9.enum(experimentIds);
|
|
4078
4080
|
var experimentsSchema = z9.object({
|
|
4079
4081
|
powerSteering: z9.boolean().optional(),
|
|
4080
4082
|
multiFileApplyDiff: z9.boolean().optional(),
|
|
4081
4083
|
preventFocusDisruption: z9.boolean().optional(),
|
|
4082
|
-
imageGeneration: z9.boolean().optional()
|
|
4084
|
+
imageGeneration: z9.boolean().optional(),
|
|
4085
|
+
runSlashCommand: z9.boolean().optional()
|
|
4083
4086
|
});
|
|
4084
4087
|
|
|
4085
4088
|
// src/telemetry.ts
|