magi-code 0.77.1

Repository-aware CLI coding agent for terminal work
Documentation
use super::*;
use crate::{
    subagents::DEFAULT_SUBAGENT_MAX_DEPTH,
    tools::args::{
        BASH_STDERR_MAX_BYTES, BASH_STDOUT_MAX_BYTES, FILE_READ_DEFAULT_LINES, FILE_READ_MAX_BYTES,
        FILE_READ_MAX_FILES, FILE_READ_MAX_LINES, FILE_WRITE_MAX_BYTES,
    },
};
use serde_json::json;
use std::{
    fs,
    sync::{Arc, Mutex},
};
#[cfg(unix)]
use std::{thread, time::Duration};
use tempfile::TempDir;

fn runtime() -> (TempDir, ToolRuntime) {
    let temp = TempDir::new().unwrap();
    let runtime = ToolRuntime::new(temp.path()).unwrap();
    (temp, runtime)
}

mod bash;
mod edit_write;
mod grep_search;
mod list_files;
mod misc;
mod read;
mod settings;
mod subagents;