ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
#![allow(dead_code)]

pub fn register_cleanup<F: Fn() + Send + 'static>(_cleanup_fn: F) -> impl Fn() {
    || {}
}

pub fn run_cleanup_functions() {}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_register_cleanup() {
        let cleanup = register_cleanup(|| {
            println!("cleanup called");
        });
        cleanup();
    }
}