ai-agent 0.88.0

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
use crate::constants::env::system;

pub fn is_running_with_bun() -> bool {
    std::env::var(system::BUN_VERSION).is_ok()
}

pub fn is_in_bundled_mode() -> bool {
    std::env::var(system::BUN_EMBEDDED).is_ok()
}