Add analyze_project tool

This commit is contained in:
Saoud Rizwan
2024-07-26 23:56:10 -04:00
parent 1ff481468c
commit 303da320aa
21 changed files with 1012 additions and 67 deletions

View File

@@ -44,7 +44,7 @@ export type ClaudeSay =
| "api_req_retried"
export interface ClaudeSayTool {
tool: "editedExistingFile" | "newFileCreated" | "readFile" | "listFiles"
tool: "editedExistingFile" | "newFileCreated" | "readFile" | "listFiles" | "analyzeProject"
path?: string
diff?: string
content?: string

View File

@@ -3,6 +3,7 @@ import { Anthropic } from "@anthropic-ai/sdk"
export type ToolName =
| "write_to_file"
| "read_file"
| "analyze_project"
| "list_files"
| "execute_command"
| "ask_followup_question"
@@ -10,4 +11,4 @@ export type ToolName =
export type Tool = Omit<Anthropic.Tool, "name"> & {
name: ToolName
}
}