systemprompt-cli 0.1.22

systemprompt.io OS - CLI for agent orchestration, AI operations, and system management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, Copy)]
pub struct ExecutionEnvironment {
    pub is_fly: bool,
    pub is_remote_cli: bool,
}

impl ExecutionEnvironment {
    pub fn detect() -> Self {
        Self {
            is_fly: std::env::var("FLY_APP_NAME").is_ok(),
            is_remote_cli: std::env::var("SYSTEMPROMPT_CLI_REMOTE").is_ok(),
        }
    }
}