@@ -10,22 +10,20 @@ import { getToolRenderer } from "./tools/index.js"
1010/**
1111 * Tool categories for styling
1212 */
13- type ToolCategory = "file" | "directory" | "search" | "command" | "browser" | " mode" | "completion" | "other"
13+ type ToolCategory = "file" | "directory" | "search" | "command" | "mode" | "completion" | "other"
1414
1515function getToolCategory ( toolName : string ) : ToolCategory {
1616 const fileTools = [ "readFile" , "read_file" , "writeToFile" , "write_to_file" , "applyDiff" , "apply_diff" ]
1717 const dirTools = [ "listFiles" , "list_files" , "listFilesRecursive" , "listFilesTopLevel" ]
1818 const searchTools = [ "searchFiles" , "search_files" ]
1919 const commandTools = [ "executeCommand" , "execute_command" ]
20- const browserTools = [ "browserAction" , "browser_action" ]
2120 const modeTools = [ "switchMode" , "switch_mode" , "newTask" , "new_task" ]
2221 const completionTools = [ "attemptCompletion" , "attempt_completion" , "askFollowupQuestion" , "ask_followup_question" ]
2322
2423 if ( fileTools . includes ( toolName ) ) return "file"
2524 if ( dirTools . includes ( toolName ) ) return "directory"
2625 if ( searchTools . includes ( toolName ) ) return "search"
2726 if ( commandTools . includes ( toolName ) ) return "command"
28- if ( browserTools . includes ( toolName ) ) return "browser"
2927 if ( modeTools . includes ( toolName ) ) return "mode"
3028 if ( completionTools . includes ( toolName ) ) return "completion"
3129 return "other"
@@ -39,7 +37,6 @@ const CATEGORY_COLORS: Record<ToolCategory, string> = {
3937 directory : theme . toolHeader ,
4038 search : theme . warningColor ,
4139 command : theme . successColor ,
42- browser : theme . focusColor ,
4340 mode : theme . userHeader ,
4441 completion : theme . successColor ,
4542 other : theme . toolHeader ,
0 commit comments