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:
parent
009b90291e
commit
9be7934f12
3 changed files with 74 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue