Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

595 B
Raw Blame
//! Desktop automation confirmation policy.

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize, JsonSchema)]
#[serde(default)]
pub struct DesktopConfig {
    /// When false, tinycomputer's one-use confirmation stop is continued by
    /// the core after the module reobserves and validates the target. This is
    /// the current product default. True enables the trusted Connections
    /// approval card and explicit continuation RPC.
    pub approvals_enabled: bool,
}

#[cfg(test)]
#[path = "desktop_tests.rs"]
mod tests;