kota 0.1.3

A lightweight, highly extensible ai code agent, built in Rust.
Documentation
// Common test utilities
use std::fs;
use std::path::Path;
use tempfile::TempDir;

/// Create a temporary directory for testing
pub fn create_temp_dir() -> TempDir {
    tempfile::tempdir().expect("Failed to create temp directory")
}

/// Create a test file with content in the given directory
pub fn create_test_file(dir: &Path, filename: &str, content: &str) -> String {
    let file_path = dir.join(filename);
    fs::write(&file_path, content).expect("Failed to write test file");
    file_path.to_string_lossy().to_string()
}

// Test modules for all tools
#[path = "tools/test_edit_file.rs"]
mod test_edit_file;
#[path = "tools/test_read_file.rs"]
mod test_read_file;
#[path = "tools/test_write_file.rs"]
mod test_write_file;