defect_tools/lib.rs
1//! Built-in tool set.
2//!
3//! Implements the `Tool` trait from [`defect_agent`], providing basic capabilities such
4//! as file I/O, bash execution, and text search. Each tool resides in its own submodule
5//! and can be enabled as needed.
6
7#![cfg_attr(not(test), warn(clippy::indexing_slicing, clippy::unwrap_used))]
8
9pub mod bash;
10pub mod fetch;
11pub mod fs;
12pub mod search;
13pub mod shell;
14
15pub use bash::BashTool;
16pub use fetch::FetchTool;
17pub use fs::{EditFileTool, LocalFsBackend, ReadFileTool, WriteFileTool};
18pub use search::SearchTool;
19pub use shell::{DEFAULT_MAX_OUTPUT_BYTES, LocalShellBackend};