mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-22 13:21:07 -05:00
Replace list_files/analyze_project with more explicit list_files_top_level, list_files_recursive, and extract_source_code_definitions_top_level
This commit is contained in:
@@ -45,7 +45,13 @@ export type ClaudeSay =
|
||||
| "command_output"
|
||||
|
||||
export interface ClaudeSayTool {
|
||||
tool: "editedExistingFile" | "newFileCreated" | "readFile" | "listFiles" | "analyzeProject"
|
||||
tool:
|
||||
| "editedExistingFile"
|
||||
| "newFileCreated"
|
||||
| "readFile"
|
||||
| "listFilesTopLevel"
|
||||
| "listFilesRecursive"
|
||||
| "extractSourceCodeDefinitionsTopLevel"
|
||||
path?: string
|
||||
diff?: string
|
||||
content?: string
|
||||
|
||||
@@ -3,8 +3,9 @@ import { Anthropic } from "@anthropic-ai/sdk"
|
||||
export type ToolName =
|
||||
| "write_to_file"
|
||||
| "read_file"
|
||||
| "analyze_project"
|
||||
| "list_files"
|
||||
| "list_files_top_level"
|
||||
| "list_files_recursive"
|
||||
| "extract_source_code_definitions_top_level"
|
||||
| "execute_command"
|
||||
| "ask_followup_question"
|
||||
| "attempt_completion"
|
||||
|
||||
Reference in New Issue
Block a user