ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::sync::atomic::{AtomicBool, Ordering};

static COMPACT_WARNING_STORE: AtomicBool = AtomicBool::new(false);

pub fn suppress_compact_warning() {
    COMPACT_WARNING_STORE.store(true, Ordering::SeqCst);
}

pub fn clear_compact_warning_suppression() {
    COMPACT_WARNING_STORE.store(false, Ordering::SeqCst);
}