kota 0.1.3

A lightweight, highly extensible ai code agent, built in Rust.
Documentation
use thiserror::Error;

#[derive(Debug, Error)]
pub enum FileToolError {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
    #[error("File not found: {0}")]
    FileNotFound(String),
    #[error("Permission denied: {0}")]
    PermissionDenied(String),
    #[error("Path is not a file: {0}")]
    NotAFile(String),
    #[error("Input is invalid: {0}")]
    InvalidInput(String),
}

pub mod create_directory;
pub mod delete_file;
pub mod edit_file;
pub mod execute_bash_command;
pub mod grep_search;
pub mod read_file;
pub mod scan_codebase;
pub mod update_plan;
pub mod write_file;

pub use create_directory::WrappedCreateDirectoryTool;
pub use delete_file::WrappedDeleteFileTool;
pub use edit_file::WrappedEditFileTool;
pub use execute_bash_command::WrappedExecuteBashCommandTool;
pub use grep_search::WrappedGrepSearchTool;
pub use read_file::WrappedReadFileTool;
pub use scan_codebase::WrappedScanCodebaseTool;
pub use update_plan::WrappedUpdatePlanTool;
pub use write_file::WrappedWriteFileTool;