@roo-code/types 1.108.0 → 1.109.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 +152 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +229 -21
- package/dist/index.d.ts +229 -21
- package/dist/index.js +152 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -28,6 +28,7 @@ declare enum RooCodeEventName {
|
|
|
28
28
|
TaskModeSwitched = "taskModeSwitched",
|
|
29
29
|
TaskAskResponded = "taskAskResponded",
|
|
30
30
|
TaskUserMessage = "taskUserMessage",
|
|
31
|
+
QueuedMessagesUpdated = "queuedMessagesUpdated",
|
|
31
32
|
TaskTokenUsageUpdated = "taskTokenUsageUpdated",
|
|
32
33
|
TaskToolFailed = "taskToolFailed",
|
|
33
34
|
ModeChanged = "modeChanged",
|
|
@@ -290,6 +291,22 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
290
291
|
taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
291
292
|
taskAskResponded: z.ZodTuple<[z.ZodString], null>;
|
|
292
293
|
taskUserMessage: z.ZodTuple<[z.ZodString], null>;
|
|
294
|
+
queuedMessagesUpdated: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
295
|
+
timestamp: z.ZodNumber;
|
|
296
|
+
id: z.ZodString;
|
|
297
|
+
text: z.ZodString;
|
|
298
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
300
|
+
text: string;
|
|
301
|
+
timestamp: number;
|
|
302
|
+
id: string;
|
|
303
|
+
images?: string[] | undefined;
|
|
304
|
+
}, {
|
|
305
|
+
text: string;
|
|
306
|
+
timestamp: number;
|
|
307
|
+
id: string;
|
|
308
|
+
images?: string[] | undefined;
|
|
309
|
+
}>, "many">], null>;
|
|
293
310
|
taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "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", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
294
311
|
taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
|
|
295
312
|
totalTokensIn: z.ZodNumber;
|
|
@@ -401,6 +418,12 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
401
418
|
taskModeSwitched: [string, string];
|
|
402
419
|
taskAskResponded: [string];
|
|
403
420
|
taskUserMessage: [string];
|
|
421
|
+
queuedMessagesUpdated: [string, {
|
|
422
|
+
text: string;
|
|
423
|
+
timestamp: number;
|
|
424
|
+
id: string;
|
|
425
|
+
images?: string[] | undefined;
|
|
426
|
+
}[]];
|
|
404
427
|
taskTokenUsageUpdated: [string, {
|
|
405
428
|
totalTokensIn: number;
|
|
406
429
|
totalTokensOut: number;
|
|
@@ -486,6 +509,12 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
486
509
|
taskModeSwitched: [string, string];
|
|
487
510
|
taskAskResponded: [string];
|
|
488
511
|
taskUserMessage: [string];
|
|
512
|
+
queuedMessagesUpdated: [string, {
|
|
513
|
+
text: string;
|
|
514
|
+
timestamp: number;
|
|
515
|
+
id: string;
|
|
516
|
+
images?: string[] | undefined;
|
|
517
|
+
}[]];
|
|
489
518
|
taskTokenUsageUpdated: [string, {
|
|
490
519
|
totalTokensIn: number;
|
|
491
520
|
totalTokensOut: number;
|
|
@@ -1061,6 +1090,43 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
1061
1090
|
eventName: RooCodeEventName.TaskAskResponded;
|
|
1062
1091
|
payload: [string];
|
|
1063
1092
|
taskId?: number | undefined;
|
|
1093
|
+
}>, z.ZodObject<{
|
|
1094
|
+
eventName: z.ZodLiteral<RooCodeEventName.QueuedMessagesUpdated>;
|
|
1095
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1096
|
+
timestamp: z.ZodNumber;
|
|
1097
|
+
id: z.ZodString;
|
|
1098
|
+
text: z.ZodString;
|
|
1099
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
text: string;
|
|
1102
|
+
timestamp: number;
|
|
1103
|
+
id: string;
|
|
1104
|
+
images?: string[] | undefined;
|
|
1105
|
+
}, {
|
|
1106
|
+
text: string;
|
|
1107
|
+
timestamp: number;
|
|
1108
|
+
id: string;
|
|
1109
|
+
images?: string[] | undefined;
|
|
1110
|
+
}>, "many">], null>;
|
|
1111
|
+
taskId: z.ZodOptional<z.ZodNumber>;
|
|
1112
|
+
}, "strip", z.ZodTypeAny, {
|
|
1113
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
1114
|
+
payload: [string, {
|
|
1115
|
+
text: string;
|
|
1116
|
+
timestamp: number;
|
|
1117
|
+
id: string;
|
|
1118
|
+
images?: string[] | undefined;
|
|
1119
|
+
}[]];
|
|
1120
|
+
taskId?: number | undefined;
|
|
1121
|
+
}, {
|
|
1122
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
1123
|
+
payload: [string, {
|
|
1124
|
+
text: string;
|
|
1125
|
+
timestamp: number;
|
|
1126
|
+
id: string;
|
|
1127
|
+
images?: string[] | undefined;
|
|
1128
|
+
}[]];
|
|
1129
|
+
taskId?: number | undefined;
|
|
1064
1130
|
}>, z.ZodObject<{
|
|
1065
1131
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
1066
1132
|
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "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", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
@@ -11598,21 +11664,15 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
11598
11664
|
commandName: TaskCommandName.StartNewTask;
|
|
11599
11665
|
}>, z.ZodObject<{
|
|
11600
11666
|
commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
|
|
11601
|
-
data: z.ZodString;
|
|
11602
11667
|
}, "strip", z.ZodTypeAny, {
|
|
11603
|
-
data: string;
|
|
11604
11668
|
commandName: TaskCommandName.CancelTask;
|
|
11605
11669
|
}, {
|
|
11606
|
-
data: string;
|
|
11607
11670
|
commandName: TaskCommandName.CancelTask;
|
|
11608
11671
|
}>, z.ZodObject<{
|
|
11609
11672
|
commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
|
|
11610
|
-
data: z.ZodString;
|
|
11611
11673
|
}, "strip", z.ZodTypeAny, {
|
|
11612
|
-
data: string;
|
|
11613
11674
|
commandName: TaskCommandName.CloseTask;
|
|
11614
11675
|
}, {
|
|
11615
|
-
data: string;
|
|
11616
11676
|
commandName: TaskCommandName.CloseTask;
|
|
11617
11677
|
}>, z.ZodObject<{
|
|
11618
11678
|
commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
|
|
@@ -14476,21 +14536,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14476
14536
|
commandName: TaskCommandName.StartNewTask;
|
|
14477
14537
|
}>, z.ZodObject<{
|
|
14478
14538
|
commandName: z.ZodLiteral<TaskCommandName.CancelTask>;
|
|
14479
|
-
data: z.ZodString;
|
|
14480
14539
|
}, "strip", z.ZodTypeAny, {
|
|
14481
|
-
data: string;
|
|
14482
14540
|
commandName: TaskCommandName.CancelTask;
|
|
14483
14541
|
}, {
|
|
14484
|
-
data: string;
|
|
14485
14542
|
commandName: TaskCommandName.CancelTask;
|
|
14486
14543
|
}>, z.ZodObject<{
|
|
14487
14544
|
commandName: z.ZodLiteral<TaskCommandName.CloseTask>;
|
|
14488
|
-
data: z.ZodString;
|
|
14489
14545
|
}, "strip", z.ZodTypeAny, {
|
|
14490
|
-
data: string;
|
|
14491
14546
|
commandName: TaskCommandName.CloseTask;
|
|
14492
14547
|
}, {
|
|
14493
|
-
data: string;
|
|
14494
14548
|
commandName: TaskCommandName.CloseTask;
|
|
14495
14549
|
}>, z.ZodObject<{
|
|
14496
14550
|
commandName: z.ZodLiteral<TaskCommandName.ResumeTask>;
|
|
@@ -14884,10 +14938,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14884
14938
|
};
|
|
14885
14939
|
commandName: TaskCommandName.StartNewTask;
|
|
14886
14940
|
} | {
|
|
14887
|
-
data: string;
|
|
14888
14941
|
commandName: TaskCommandName.CancelTask;
|
|
14889
14942
|
} | {
|
|
14890
|
-
data: string;
|
|
14891
14943
|
commandName: TaskCommandName.CloseTask;
|
|
14892
14944
|
} | {
|
|
14893
14945
|
data: string;
|
|
@@ -15259,10 +15311,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15259
15311
|
};
|
|
15260
15312
|
commandName: TaskCommandName.StartNewTask;
|
|
15261
15313
|
} | {
|
|
15262
|
-
data: string;
|
|
15263
15314
|
commandName: TaskCommandName.CancelTask;
|
|
15264
15315
|
} | {
|
|
15265
|
-
data: string;
|
|
15266
15316
|
commandName: TaskCommandName.CloseTask;
|
|
15267
15317
|
} | {
|
|
15268
15318
|
data: string;
|
|
@@ -15833,6 +15883,43 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
15833
15883
|
eventName: RooCodeEventName.TaskAskResponded;
|
|
15834
15884
|
payload: [string];
|
|
15835
15885
|
taskId?: number | undefined;
|
|
15886
|
+
}>, z.ZodObject<{
|
|
15887
|
+
eventName: z.ZodLiteral<RooCodeEventName.QueuedMessagesUpdated>;
|
|
15888
|
+
payload: z.ZodTuple<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
15889
|
+
timestamp: z.ZodNumber;
|
|
15890
|
+
id: z.ZodString;
|
|
15891
|
+
text: z.ZodString;
|
|
15892
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15893
|
+
}, "strip", z.ZodTypeAny, {
|
|
15894
|
+
text: string;
|
|
15895
|
+
timestamp: number;
|
|
15896
|
+
id: string;
|
|
15897
|
+
images?: string[] | undefined;
|
|
15898
|
+
}, {
|
|
15899
|
+
text: string;
|
|
15900
|
+
timestamp: number;
|
|
15901
|
+
id: string;
|
|
15902
|
+
images?: string[] | undefined;
|
|
15903
|
+
}>, "many">], null>;
|
|
15904
|
+
taskId: z.ZodOptional<z.ZodNumber>;
|
|
15905
|
+
}, "strip", z.ZodTypeAny, {
|
|
15906
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
15907
|
+
payload: [string, {
|
|
15908
|
+
text: string;
|
|
15909
|
+
timestamp: number;
|
|
15910
|
+
id: string;
|
|
15911
|
+
images?: string[] | undefined;
|
|
15912
|
+
}[]];
|
|
15913
|
+
taskId?: number | undefined;
|
|
15914
|
+
}, {
|
|
15915
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
15916
|
+
payload: [string, {
|
|
15917
|
+
text: string;
|
|
15918
|
+
timestamp: number;
|
|
15919
|
+
id: string;
|
|
15920
|
+
images?: string[] | undefined;
|
|
15921
|
+
}[]];
|
|
15922
|
+
taskId?: number | undefined;
|
|
15836
15923
|
}>, z.ZodObject<{
|
|
15837
15924
|
eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
|
|
15838
15925
|
payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "read_command_output", "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", "codebase_search", "update_todo_list", "run_slash_command", "skill", "generate_image", "custom_tool"]>, z.ZodString], null>;
|
|
@@ -16057,6 +16144,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16057
16144
|
eventName: RooCodeEventName.TaskAskResponded;
|
|
16058
16145
|
payload: [string];
|
|
16059
16146
|
taskId?: number | undefined;
|
|
16147
|
+
} | {
|
|
16148
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
16149
|
+
payload: [string, {
|
|
16150
|
+
text: string;
|
|
16151
|
+
timestamp: number;
|
|
16152
|
+
id: string;
|
|
16153
|
+
images?: string[] | undefined;
|
|
16154
|
+
}[]];
|
|
16155
|
+
taskId?: number | undefined;
|
|
16060
16156
|
} | {
|
|
16061
16157
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16062
16158
|
payload: [string, "browser_action" | "execute_command" | "read_file" | "read_command_output" | "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" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool", string];
|
|
@@ -16211,6 +16307,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
16211
16307
|
eventName: RooCodeEventName.TaskAskResponded;
|
|
16212
16308
|
payload: [string];
|
|
16213
16309
|
taskId?: number | undefined;
|
|
16310
|
+
} | {
|
|
16311
|
+
eventName: RooCodeEventName.QueuedMessagesUpdated;
|
|
16312
|
+
payload: [string, {
|
|
16313
|
+
text: string;
|
|
16314
|
+
timestamp: number;
|
|
16315
|
+
id: string;
|
|
16316
|
+
images?: string[] | undefined;
|
|
16317
|
+
}[]];
|
|
16318
|
+
taskId?: number | undefined;
|
|
16214
16319
|
} | {
|
|
16215
16320
|
eventName: RooCodeEventName.TaskToolFailed;
|
|
16216
16321
|
payload: [string, "browser_action" | "execute_command" | "read_file" | "read_command_output" | "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" | "codebase_search" | "update_todo_list" | "run_slash_command" | "skill" | "generate_image" | "custom_tool", string];
|
|
@@ -18211,6 +18316,7 @@ type TaskEvents = {
|
|
|
18211
18316
|
[RooCodeEventName.TaskModeSwitched]: [taskId: string, mode: string];
|
|
18212
18317
|
[RooCodeEventName.TaskAskResponded]: [];
|
|
18213
18318
|
[RooCodeEventName.TaskUserMessage]: [taskId: string];
|
|
18319
|
+
[RooCodeEventName.QueuedMessagesUpdated]: [taskId: string, messages: QueuedMessage[]];
|
|
18214
18320
|
[RooCodeEventName.TaskToolFailed]: [taskId: string, tool: ToolName, error: string];
|
|
18215
18321
|
[RooCodeEventName.TaskTokenUsageUpdated]: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage];
|
|
18216
18322
|
};
|
|
@@ -44536,7 +44642,17 @@ interface SkillMetadata {
|
|
|
44536
44642
|
description: string;
|
|
44537
44643
|
path: string;
|
|
44538
44644
|
source: "global" | "project" | "built-in";
|
|
44645
|
+
/**
|
|
44646
|
+
* @deprecated Use modeSlugs instead. Kept for backward compatibility.
|
|
44647
|
+
* If set, skill is only available in this mode.
|
|
44648
|
+
*/
|
|
44539
44649
|
mode?: string;
|
|
44650
|
+
/**
|
|
44651
|
+
* Mode slugs where this skill is available.
|
|
44652
|
+
* - undefined or empty array means the skill is available in all modes ("Any mode").
|
|
44653
|
+
* - An array with one or more mode slugs restricts the skill to those modes.
|
|
44654
|
+
*/
|
|
44655
|
+
modeSlugs?: string[];
|
|
44540
44656
|
}
|
|
44541
44657
|
/**
|
|
44542
44658
|
* Skill name validation constants per agentskills.io specification:
|
|
@@ -45175,7 +45291,7 @@ interface UpdateTodoListPayload {
|
|
|
45175
45291
|
}
|
|
45176
45292
|
type EditQueuedMessagePayload = Pick<QueuedMessage, "id" | "text" | "images">;
|
|
45177
45293
|
interface WebviewMessage {
|
|
45178
|
-
type: "updateTodoList" | "deleteMultipleTasksWithIds" | "currentApiConfigName" | "saveApiConfiguration" | "upsertApiConfiguration" | "deleteApiConfiguration" | "loadApiConfiguration" | "loadApiConfigurationById" | "renameApiConfiguration" | "getListApiConfiguration" | "customInstructions" | "webviewDidLaunch" | "newTask" | "askResponse" | "terminalOperation" | "clearTask" | "didShowAnnouncement" | "selectImages" | "exportCurrentTask" | "shareCurrentTask" | "showTaskWithId" | "deleteTaskWithId" | "exportTaskWithId" | "importSettings" | "exportSettings" | "resetState" | "flushRouterModels" | "requestRouterModels" | "requestOpenAiModels" | "requestOllamaModels" | "requestLmStudioModels" | "requestRooModels" | "requestRooCreditBalance" | "requestVsCodeLmModels" | "requestHuggingFaceModels" | "openImage" | "saveImage" | "openFile" | "openMention" | "cancelTask" | "cancelAutoApproval" | "updateVSCodeSetting" | "getVSCodeSetting" | "vsCodeSetting" | "updateCondensingPrompt" | "playSound" | "playTts" | "stopTts" | "ttsEnabled" | "ttsSpeed" | "openKeyboardShortcuts" | "openMcpSettings" | "openProjectMcpSettings" | "restartMcpServer" | "refreshAllMcpServers" | "toggleToolAlwaysAllow" | "toggleToolEnabledForPrompt" | "toggleMcpServer" | "updateMcpTimeout" | "enhancePrompt" | "enhancedPrompt" | "draggedImages" | "deleteMessage" | "deleteMessageConfirm" | "submitEditedMessage" | "editMessageConfirm" | "remoteControlEnabled" | "taskSyncEnabled" | "searchCommits" | "setApiConfigPassword" | "mode" | "updatePrompt" | "getSystemPrompt" | "copySystemPrompt" | "systemPrompt" | "enhancementApiConfigId" | "autoApprovalEnabled" | "updateCustomMode" | "deleteCustomMode" | "setopenAiCustomModelInfo" | "openCustomModesSettings" | "checkpointDiff" | "checkpointRestore" | "deleteMcpServer" | "codebaseIndexEnabled" | "telemetrySetting" | "testBrowserConnection" | "browserConnectionResult" | "searchFiles" | "toggleApiConfigPin" | "hasOpenedModeSelector" | "clearCloudAuthSkipModel" | "cloudButtonClicked" | "rooCloudSignIn" | "cloudLandingPageSignIn" | "rooCloudSignOut" | "rooCloudManualUrl" | "openAiCodexSignIn" | "openAiCodexSignOut" | "switchOrganization" | "condenseTaskContextRequest" | "requestIndexingStatus" | "startIndexing" | "clearIndexData" | "indexingStatusUpdate" | "indexCleared" | "focusPanelRequest" | "openExternal" | "filterMarketplaceItems" | "marketplaceButtonClicked" | "installMarketplaceItem" | "installMarketplaceItemWithParameters" | "cancelMarketplaceInstall" | "removeInstalledMarketplaceItem" | "marketplaceInstallResult" | "fetchMarketplaceData" | "switchTab" | "shareTaskSuccess" | "exportMode" | "exportModeResult" | "importMode" | "importModeResult" | "checkRulesDirectory" | "checkRulesDirectoryResult" | "saveCodeIndexSettingsAtomic" | "requestCodeIndexSecretStatus" | "requestCommands" | "openCommandFile" | "deleteCommand" | "createCommand" | "insertTextIntoTextarea" | "showMdmAuthRequiredNotification" | "imageGenerationSettings" | "queueMessage" | "removeQueuedMessage" | "editQueuedMessage" | "dismissUpsell" | "getDismissedUpsells" | "openMarkdownPreview" | "updateSettings" | "allowedCommands" | "getTaskWithAggregatedCosts" | "deniedCommands" | "killBrowserSession" | "openBrowserSessionPanel" | "showBrowserSessionPanelAtStep" | "refreshBrowserSessionPanel" | "browserPanelDidLaunch" | "openDebugApiHistory" | "openDebugUiHistory" | "downloadErrorDiagnostics" | "requestOpenAiCodexRateLimits" | "refreshCustomTools" | "requestModes" | "switchMode" | "debugSetting" | "listWorktrees" | "createWorktree" | "deleteWorktree" | "switchWorktree" | "getAvailableBranches" | "getWorktreeDefaults" | "getWorktreeIncludeStatus" | "checkBranchWorktreeInclude" | "createWorktreeInclude" | "checkoutBranch" | "browseForWorktreePath" | "requestSkills" | "createSkill" | "deleteSkill" | "openSkillFile";
|
|
45294
|
+
type: "updateTodoList" | "deleteMultipleTasksWithIds" | "currentApiConfigName" | "saveApiConfiguration" | "upsertApiConfiguration" | "deleteApiConfiguration" | "loadApiConfiguration" | "loadApiConfigurationById" | "renameApiConfiguration" | "getListApiConfiguration" | "customInstructions" | "webviewDidLaunch" | "newTask" | "askResponse" | "terminalOperation" | "clearTask" | "didShowAnnouncement" | "selectImages" | "exportCurrentTask" | "shareCurrentTask" | "showTaskWithId" | "deleteTaskWithId" | "exportTaskWithId" | "importSettings" | "exportSettings" | "resetState" | "flushRouterModels" | "requestRouterModels" | "requestOpenAiModels" | "requestOllamaModels" | "requestLmStudioModels" | "requestRooModels" | "requestRooCreditBalance" | "requestVsCodeLmModels" | "requestHuggingFaceModels" | "openImage" | "saveImage" | "openFile" | "openMention" | "cancelTask" | "cancelAutoApproval" | "updateVSCodeSetting" | "getVSCodeSetting" | "vsCodeSetting" | "updateCondensingPrompt" | "playSound" | "playTts" | "stopTts" | "ttsEnabled" | "ttsSpeed" | "openKeyboardShortcuts" | "openMcpSettings" | "openProjectMcpSettings" | "restartMcpServer" | "refreshAllMcpServers" | "toggleToolAlwaysAllow" | "toggleToolEnabledForPrompt" | "toggleMcpServer" | "updateMcpTimeout" | "enhancePrompt" | "enhancedPrompt" | "draggedImages" | "deleteMessage" | "deleteMessageConfirm" | "submitEditedMessage" | "editMessageConfirm" | "remoteControlEnabled" | "taskSyncEnabled" | "searchCommits" | "setApiConfigPassword" | "mode" | "updatePrompt" | "getSystemPrompt" | "copySystemPrompt" | "systemPrompt" | "enhancementApiConfigId" | "autoApprovalEnabled" | "updateCustomMode" | "deleteCustomMode" | "setopenAiCustomModelInfo" | "openCustomModesSettings" | "checkpointDiff" | "checkpointRestore" | "deleteMcpServer" | "codebaseIndexEnabled" | "telemetrySetting" | "testBrowserConnection" | "browserConnectionResult" | "searchFiles" | "toggleApiConfigPin" | "hasOpenedModeSelector" | "clearCloudAuthSkipModel" | "cloudButtonClicked" | "rooCloudSignIn" | "cloudLandingPageSignIn" | "rooCloudSignOut" | "rooCloudManualUrl" | "openAiCodexSignIn" | "openAiCodexSignOut" | "switchOrganization" | "condenseTaskContextRequest" | "requestIndexingStatus" | "startIndexing" | "clearIndexData" | "indexingStatusUpdate" | "indexCleared" | "focusPanelRequest" | "openExternal" | "filterMarketplaceItems" | "marketplaceButtonClicked" | "installMarketplaceItem" | "installMarketplaceItemWithParameters" | "cancelMarketplaceInstall" | "removeInstalledMarketplaceItem" | "marketplaceInstallResult" | "fetchMarketplaceData" | "switchTab" | "shareTaskSuccess" | "exportMode" | "exportModeResult" | "importMode" | "importModeResult" | "checkRulesDirectory" | "checkRulesDirectoryResult" | "saveCodeIndexSettingsAtomic" | "requestCodeIndexSecretStatus" | "requestCommands" | "openCommandFile" | "deleteCommand" | "createCommand" | "insertTextIntoTextarea" | "showMdmAuthRequiredNotification" | "imageGenerationSettings" | "queueMessage" | "removeQueuedMessage" | "editQueuedMessage" | "dismissUpsell" | "getDismissedUpsells" | "openMarkdownPreview" | "updateSettings" | "allowedCommands" | "getTaskWithAggregatedCosts" | "deniedCommands" | "killBrowserSession" | "openBrowserSessionPanel" | "showBrowserSessionPanelAtStep" | "refreshBrowserSessionPanel" | "browserPanelDidLaunch" | "openDebugApiHistory" | "openDebugUiHistory" | "downloadErrorDiagnostics" | "requestOpenAiCodexRateLimits" | "refreshCustomTools" | "requestModes" | "switchMode" | "debugSetting" | "listWorktrees" | "createWorktree" | "deleteWorktree" | "switchWorktree" | "getAvailableBranches" | "getWorktreeDefaults" | "getWorktreeIncludeStatus" | "checkBranchWorktreeInclude" | "createWorktreeInclude" | "checkoutBranch" | "browseForWorktreePath" | "requestSkills" | "createSkill" | "deleteSkill" | "moveSkill" | "updateSkillModes" | "openSkillFile";
|
|
45179
45295
|
text?: string;
|
|
45180
45296
|
editedMessageContent?: string;
|
|
45181
45297
|
tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud";
|
|
@@ -45210,8 +45326,15 @@ interface WebviewMessage {
|
|
|
45210
45326
|
payload?: WebViewMessagePayload;
|
|
45211
45327
|
source?: "global" | "project" | "built-in";
|
|
45212
45328
|
skillName?: string;
|
|
45329
|
+
/** @deprecated Use skillModeSlugs instead */
|
|
45213
45330
|
skillMode?: string;
|
|
45331
|
+
/** @deprecated Use newSkillModeSlugs instead */
|
|
45332
|
+
newSkillMode?: string;
|
|
45214
45333
|
skillDescription?: string;
|
|
45334
|
+
/** Mode slugs for skill operations. undefined/empty = any mode */
|
|
45335
|
+
skillModeSlugs?: string[];
|
|
45336
|
+
/** Target mode slugs for updateSkillModes */
|
|
45337
|
+
newSkillModeSlugs?: string[];
|
|
45215
45338
|
requestId?: string;
|
|
45216
45339
|
ids?: string[];
|
|
45217
45340
|
hasSystemPromptOverride?: boolean;
|
|
@@ -45723,6 +45846,24 @@ declare const anthropicModels: {
|
|
|
45723
45846
|
readonly cacheReadsPrice: 0.6;
|
|
45724
45847
|
}];
|
|
45725
45848
|
};
|
|
45849
|
+
readonly "claude-opus-4-6": {
|
|
45850
|
+
readonly maxTokens: 128000;
|
|
45851
|
+
readonly contextWindow: 200000;
|
|
45852
|
+
readonly supportsImages: true;
|
|
45853
|
+
readonly supportsPromptCache: true;
|
|
45854
|
+
readonly inputPrice: 5;
|
|
45855
|
+
readonly outputPrice: 25;
|
|
45856
|
+
readonly cacheWritesPrice: 6.25;
|
|
45857
|
+
readonly cacheReadsPrice: 0.5;
|
|
45858
|
+
readonly supportsReasoningBudget: true;
|
|
45859
|
+
readonly tiers: [{
|
|
45860
|
+
readonly contextWindow: 1000000;
|
|
45861
|
+
readonly inputPrice: 10;
|
|
45862
|
+
readonly outputPrice: 37.5;
|
|
45863
|
+
readonly cacheWritesPrice: 12.5;
|
|
45864
|
+
readonly cacheReadsPrice: 1;
|
|
45865
|
+
}];
|
|
45866
|
+
};
|
|
45726
45867
|
readonly "claude-opus-4-5-20251101": {
|
|
45727
45868
|
readonly maxTokens: 32000;
|
|
45728
45869
|
readonly contextWindow: 200000;
|
|
@@ -46069,6 +46210,27 @@ declare const bedrockModels: {
|
|
|
46069
46210
|
readonly maxCachePoints: 4;
|
|
46070
46211
|
readonly cachableFields: ["system", "messages", "tools"];
|
|
46071
46212
|
};
|
|
46213
|
+
readonly "anthropic.claude-opus-4-6-v1": {
|
|
46214
|
+
readonly maxTokens: 8192;
|
|
46215
|
+
readonly contextWindow: 200000;
|
|
46216
|
+
readonly supportsImages: true;
|
|
46217
|
+
readonly supportsPromptCache: true;
|
|
46218
|
+
readonly supportsReasoningBudget: true;
|
|
46219
|
+
readonly inputPrice: 5;
|
|
46220
|
+
readonly outputPrice: 25;
|
|
46221
|
+
readonly cacheWritesPrice: 6.25;
|
|
46222
|
+
readonly cacheReadsPrice: 0.5;
|
|
46223
|
+
readonly minTokensPerCachePoint: 1024;
|
|
46224
|
+
readonly maxCachePoints: 4;
|
|
46225
|
+
readonly cachableFields: ["system", "messages", "tools"];
|
|
46226
|
+
readonly tiers: [{
|
|
46227
|
+
readonly contextWindow: 1000000;
|
|
46228
|
+
readonly inputPrice: 10;
|
|
46229
|
+
readonly outputPrice: 37.5;
|
|
46230
|
+
readonly cacheWritesPrice: 12.5;
|
|
46231
|
+
readonly cacheReadsPrice: 1;
|
|
46232
|
+
}];
|
|
46233
|
+
};
|
|
46072
46234
|
readonly "anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
46073
46235
|
readonly maxTokens: 8192;
|
|
46074
46236
|
readonly contextWindow: 200000;
|
|
@@ -46371,8 +46533,8 @@ declare const BEDROCK_REGIONS: {
|
|
|
46371
46533
|
value: string;
|
|
46372
46534
|
label: string;
|
|
46373
46535
|
}[];
|
|
46374
|
-
declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0"];
|
|
46375
|
-
declare const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", "anthropic.claude-opus-4-5-20251101-v1:0"];
|
|
46536
|
+
declare const BEDROCK_1M_CONTEXT_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-opus-4-6-v1"];
|
|
46537
|
+
declare const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS: readonly ["anthropic.claude-sonnet-4-20250514-v1:0", "anthropic.claude-sonnet-4-5-20250929-v1:0", "anthropic.claude-haiku-4-5-20251001-v1:0", "anthropic.claude-opus-4-5-20251101-v1:0", "anthropic.claude-opus-4-6-v1"];
|
|
46376
46538
|
type BedrockServiceTier = "STANDARD" | "FLEX" | "PRIORITY";
|
|
46377
46539
|
declare const BEDROCK_SERVICE_TIER_MODEL_IDS: readonly ["amazon.nova-lite-v1:0", "amazon.nova-2-lite-v1:0", "amazon.nova-pro-v1:0", "amazon.nova-pro-latency-optimized-v1:0", "deepseek.r1-v1:0", "qwen.qwen3-next-80b-a3b", "qwen.qwen3-coder-480b-a35b-v1:0", "openai.gpt-oss-20b-1:0", "openai.gpt-oss-120b-1:0"];
|
|
46378
46540
|
declare const BEDROCK_SERVICE_TIER_PRICING: {
|
|
@@ -46918,7 +47080,7 @@ declare const featherlessModels: {
|
|
|
46918
47080
|
};
|
|
46919
47081
|
declare const featherlessDefaultModelId: FeatherlessModelId;
|
|
46920
47082
|
|
|
46921
|
-
type FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct" | "accounts/fireworks/models/kimi-k2-instruct-0905" | "accounts/fireworks/models/kimi-k2-thinking" | "accounts/fireworks/models/minimax-m2" | "accounts/fireworks/models/minimax-m2p1" | "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507" | "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct" | "accounts/fireworks/models/deepseek-r1-0528" | "accounts/fireworks/models/deepseek-v3" | "accounts/fireworks/models/deepseek-v3p1" | "accounts/fireworks/models/deepseek-v3p2" | "accounts/fireworks/models/glm-4p5" | "accounts/fireworks/models/glm-4p5-air" | "accounts/fireworks/models/glm-4p6" | "accounts/fireworks/models/glm-4p7" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/llama-v3p3-70b-instruct" | "accounts/fireworks/models/llama4-maverick-instruct-basic" | "accounts/fireworks/models/llama4-scout-instruct-basic";
|
|
47083
|
+
type FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct" | "accounts/fireworks/models/kimi-k2-instruct-0905" | "accounts/fireworks/models/kimi-k2-thinking" | "accounts/fireworks/models/kimi-k2p5" | "accounts/fireworks/models/minimax-m2" | "accounts/fireworks/models/minimax-m2p1" | "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507" | "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct" | "accounts/fireworks/models/deepseek-r1-0528" | "accounts/fireworks/models/deepseek-v3" | "accounts/fireworks/models/deepseek-v3p1" | "accounts/fireworks/models/deepseek-v3p2" | "accounts/fireworks/models/glm-4p5" | "accounts/fireworks/models/glm-4p5-air" | "accounts/fireworks/models/glm-4p6" | "accounts/fireworks/models/glm-4p7" | "accounts/fireworks/models/gpt-oss-20b" | "accounts/fireworks/models/gpt-oss-120b" | "accounts/fireworks/models/llama-v3p3-70b-instruct" | "accounts/fireworks/models/llama4-maverick-instruct-basic" | "accounts/fireworks/models/llama4-scout-instruct-basic";
|
|
46922
47084
|
declare const fireworksDefaultModelId: FireworksModelId;
|
|
46923
47085
|
declare const fireworksModels: {
|
|
46924
47086
|
readonly "accounts/fireworks/models/kimi-k2-instruct-0905": {
|
|
@@ -46953,6 +47115,16 @@ declare const fireworksModels: {
|
|
|
46953
47115
|
readonly cacheReadsPrice: 0.15;
|
|
46954
47116
|
readonly description: "The kimi-k2-thinking model is a general-purpose agentic reasoning model developed by Moonshot AI. Thanks to its strength in deep reasoning and multi-turn tool use, it can solve even the hardest problems.";
|
|
46955
47117
|
};
|
|
47118
|
+
readonly "accounts/fireworks/models/kimi-k2p5": {
|
|
47119
|
+
readonly maxTokens: 16384;
|
|
47120
|
+
readonly contextWindow: 262144;
|
|
47121
|
+
readonly supportsImages: true;
|
|
47122
|
+
readonly supportsPromptCache: true;
|
|
47123
|
+
readonly inputPrice: 0.6;
|
|
47124
|
+
readonly outputPrice: 3;
|
|
47125
|
+
readonly cacheReadsPrice: 0.1;
|
|
47126
|
+
readonly description: "Kimi K2.5 is Moonshot AI's flagship agentic model and a new SOTA open model. It unifies vision and text, thinking and non-thinking modes, and single-agent and multi-agent execution into one model. Fireworks enables users to control the reasoning behavior and inspect its reasoning history for greater transparency.";
|
|
47127
|
+
};
|
|
46956
47128
|
readonly "accounts/fireworks/models/minimax-m2": {
|
|
46957
47129
|
readonly maxTokens: 4096;
|
|
46958
47130
|
readonly contextWindow: 204800;
|
|
@@ -48240,6 +48412,20 @@ declare const openAiCodexModels: {
|
|
|
48240
48412
|
readonly supportsTemperature: false;
|
|
48241
48413
|
readonly description: "GPT-5.1 Codex: GPT-5.1 optimized for agentic coding via ChatGPT subscription";
|
|
48242
48414
|
};
|
|
48415
|
+
readonly "gpt-5.3-codex": {
|
|
48416
|
+
readonly maxTokens: 128000;
|
|
48417
|
+
readonly contextWindow: 400000;
|
|
48418
|
+
readonly includedTools: ["apply_patch"];
|
|
48419
|
+
readonly excludedTools: ["apply_diff", "write_to_file"];
|
|
48420
|
+
readonly supportsImages: true;
|
|
48421
|
+
readonly supportsPromptCache: true;
|
|
48422
|
+
readonly supportsReasoningEffort: ["low", "medium", "high", "xhigh"];
|
|
48423
|
+
readonly reasoningEffort: "medium";
|
|
48424
|
+
readonly inputPrice: 0;
|
|
48425
|
+
readonly outputPrice: 0;
|
|
48426
|
+
readonly supportsTemperature: false;
|
|
48427
|
+
readonly description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription";
|
|
48428
|
+
};
|
|
48243
48429
|
readonly "gpt-5.2-codex": {
|
|
48244
48430
|
readonly maxTokens: 128000;
|
|
48245
48431
|
readonly contextWindow: 400000;
|
|
@@ -48932,6 +49118,24 @@ declare const vertexModels: {
|
|
|
48932
49118
|
readonly cacheReadsPrice: 0.1;
|
|
48933
49119
|
readonly supportsReasoningBudget: true;
|
|
48934
49120
|
};
|
|
49121
|
+
readonly "claude-opus-4-6": {
|
|
49122
|
+
readonly maxTokens: 8192;
|
|
49123
|
+
readonly contextWindow: 200000;
|
|
49124
|
+
readonly supportsImages: true;
|
|
49125
|
+
readonly supportsPromptCache: true;
|
|
49126
|
+
readonly inputPrice: 5;
|
|
49127
|
+
readonly outputPrice: 25;
|
|
49128
|
+
readonly cacheWritesPrice: 6.25;
|
|
49129
|
+
readonly cacheReadsPrice: 0.5;
|
|
49130
|
+
readonly supportsReasoningBudget: true;
|
|
49131
|
+
readonly tiers: [{
|
|
49132
|
+
readonly contextWindow: 1000000;
|
|
49133
|
+
readonly inputPrice: 10;
|
|
49134
|
+
readonly outputPrice: 37.5;
|
|
49135
|
+
readonly cacheWritesPrice: 12.5;
|
|
49136
|
+
readonly cacheReadsPrice: 1;
|
|
49137
|
+
}];
|
|
49138
|
+
};
|
|
48935
49139
|
readonly "claude-opus-4-5@20251101": {
|
|
48936
49140
|
readonly maxTokens: 8192;
|
|
48937
49141
|
readonly contextWindow: 200000;
|
|
@@ -49121,7 +49325,7 @@ declare const vertexModels: {
|
|
|
49121
49325
|
readonly description: "Kimi K2 Thinking Model with 256K context window.";
|
|
49122
49326
|
};
|
|
49123
49327
|
};
|
|
49124
|
-
declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929"];
|
|
49328
|
+
declare const VERTEX_1M_CONTEXT_MODEL_IDS: readonly ["claude-sonnet-4@20250514", "claude-sonnet-4-5@20250929", "claude-opus-4-6"];
|
|
49125
49329
|
declare const VERTEX_REGIONS: {
|
|
49126
49330
|
value: string;
|
|
49127
49331
|
label: string;
|
|
@@ -49338,6 +49542,8 @@ declare const xaiModels: {
|
|
|
49338
49542
|
readonly cacheWritesPrice: 0.05;
|
|
49339
49543
|
readonly cacheReadsPrice: 0.05;
|
|
49340
49544
|
readonly description: "xAI's Grok 4.1 Fast model with 2M context window, optimized for high-performance agentic tool calling with reasoning";
|
|
49545
|
+
readonly supportsReasoningEffort: ["low", "high"];
|
|
49546
|
+
readonly reasoningEffort: "low";
|
|
49341
49547
|
readonly includedTools: ["search_replace"];
|
|
49342
49548
|
readonly excludedTools: ["apply_diff"];
|
|
49343
49549
|
};
|
|
@@ -49364,6 +49570,8 @@ declare const xaiModels: {
|
|
|
49364
49570
|
readonly cacheWritesPrice: 0.05;
|
|
49365
49571
|
readonly cacheReadsPrice: 0.05;
|
|
49366
49572
|
readonly description: "xAI's Grok 4 Fast model with 2M context window, optimized for high-performance agentic tool calling with reasoning";
|
|
49573
|
+
readonly supportsReasoningEffort: ["low", "high"];
|
|
49574
|
+
readonly reasoningEffort: "low";
|
|
49367
49575
|
readonly includedTools: ["search_replace"];
|
|
49368
49576
|
readonly excludedTools: ["apply_diff"];
|
|
49369
49577
|
};
|