Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion apps/cli/src/ui/components/tools/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ export type ToolCategory =
| "other"

export function getToolCategory(toolName: string): ToolCategory {
const fileReadTools = ["readFile", "read_file", "skill", "listFilesTopLevel", "listFilesRecursive", "list_files"]
const fileReadTools = [
"readFile",
"read_file",
"fetchInstructions",
"fetch_instructions",
"listFilesTopLevel",
"listFilesRecursive",
"list_files",
]

const fileWriteTools = [
"editedExistingFile",
Expand Down
6 changes: 4 additions & 2 deletions apps/cli/src/ui/components/tools/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export function getToolDisplayName(toolName: string): string {
// File read operations
readFile: "Read",
read_file: "Read",
skill: "Load Skill",
fetchInstructions: "Fetch Instructions",
fetch_instructions: "Fetch Instructions",
listFilesTopLevel: "List Files",
listFilesRecursive: "List Files (Recursive)",
list_files: "List Files",
Expand Down Expand Up @@ -106,7 +107,8 @@ export function getToolIconName(toolName: string): IconName {
// File read operations
readFile: "file",
read_file: "file",
skill: "file",
fetchInstructions: "file",
fetch_instructions: "file",
listFilesTopLevel: "folder",
listFilesRecursive: "folder",
list_files: "folder",
Expand Down
Loading
Loading