Add Bash tool (#26597)

<img width="636" alt="Screenshot 2025-03-12 at 4 24 18 PM"
src="https://github.com/user-attachments/assets/6f317031-f495-4a5a-8260-79a56b10d628"
/>

<img width="634" alt="Screenshot 2025-03-12 at 4 24 36 PM"
src="https://github.com/user-attachments/assets/27283432-4f94-49f3-9d61-a0a9c737de40"
/>


Release Notes:

- N/A
This commit is contained in:
Richard Feldman 2025-03-12 16:51:29 -04:00 committed by GitHub
parent 009b90291e
commit 9be7934f12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 0 deletions

View file

@ -1,3 +1,4 @@
mod bash_tool;
mod delete_path_tool;
mod edit_files_tool;
mod list_directory_tool;
@ -8,6 +9,7 @@ mod regex_search;
use assistant_tool::ToolRegistry;
use gpui::App;
use crate::bash_tool::BashTool;
use crate::delete_path_tool::DeletePathTool;
use crate::edit_files_tool::EditFilesTool;
use crate::list_directory_tool::ListDirectoryTool;
@ -25,4 +27,5 @@ pub fn init(cx: &mut App) {
registry.register_tool(EditFilesTool);
registry.register_tool(RegexSearchTool);
registry.register_tool(DeletePathTool);
registry.register_tool(BashTool);
}