systemprompt-cli 0.17.0

Unified CLI for systemprompt.io AI governance: agent orchestration, MCP governance, analytics, profiles, cloud deploy, and self-hosted operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::env_overrides::EnvOverrides;

#[derive(Debug, Clone, Copy)]
pub struct ExecutionEnvironment {
    pub is_fly: bool,
    pub is_remote_cli: bool,
}

impl ExecutionEnvironment {
    #[must_use]
    pub const fn from_env(env: &EnvOverrides) -> Self {
        Self {
            is_fly: env.is_fly,
            is_remote_cli: env.is_remote_cli,
        }
    }
}