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:
Saoud Rizwan
2024-07-31 09:50:07 -04:00
parent 3fc300273d
commit 71a9ed1d1e
5 changed files with 171 additions and 111 deletions

View File

@@ -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