()
| 218 | } |
| 219 | |
| 220 | pub async fn create_default_registry() -> ToolRegistry { |
| 221 | let registry = ToolRegistry::new(); |
| 222 | |
| 223 | registry.register(crate::read::ReadTool::new()).await; |
| 224 | registry.register(crate::write::WriteTool::new()).await; |
| 225 | registry.register(crate::edit::EditTool::new()).await; |
| 226 | registry.register(crate::bash::BashTool::new()).await; |
| 227 | registry.register(crate::glob_tool::GlobTool::new()).await; |
| 228 | registry.register(crate::grep_tool::GrepTool::new()).await; |
| 229 | registry.register(crate::ls::LsTool::new()).await; |
| 230 | registry.register(crate::task::TaskTool::new()).await; |
| 231 | registry |
| 232 | .register(crate::question::QuestionTool::new()) |
| 233 | .await; |
| 234 | registry |
| 235 | .register(crate::webfetch::WebFetchTool::new()) |
| 236 | .await; |
| 237 | registry |
| 238 | .register(crate::websearch::WebSearchTool::new()) |
| 239 | .await; |
| 240 | registry.register(crate::todo::TodoReadTool).await; |
| 241 | registry.register(crate::todo::TodoWriteTool).await; |
| 242 | registry.register(crate::multiedit::MultiEditTool).await; |
| 243 | registry.register(crate::apply_patch::ApplyPatchTool).await; |
| 244 | registry.register(crate::skill::SkillTool).await; |
| 245 | registry.register(crate::lsp_tool::LspTool).await; |
| 246 | registry.register(crate::batch::BatchTool).await; |
| 247 | registry.register(crate::codesearch::CodeSearchTool).await; |
| 248 | registry.register(crate::plan::PlanEnterTool).await; |
| 249 | registry.register(crate::plan::PlanExitTool).await; |
| 250 | registry.register(crate::invalid::InvalidTool).await; |
| 251 | |
| 252 | registry |
| 253 | } |
no test coverage detected