pub struct AutonomyConfig {Show 16 fields
pub level: String,
pub workspace_only: bool,
pub forbidden_paths: Vec<String>,
pub allowed_roots: Vec<String>,
pub auto_approve: Vec<String>,
pub always_ask: Vec<String>,
pub allow_sensitive_file_reads: bool,
pub allow_sensitive_file_writes: bool,
pub non_cli_excluded_tools: Vec<String>,
pub non_cli_approval_approvers: Vec<String>,
pub non_cli_natural_language_approval_mode: String,
pub non_cli_natural_language_approval_mode_by_channel: HashMap<String, String>,
pub max_actions_per_hour: u32,
pub max_cost_per_day_cents: u32,
pub require_approval_for_medium_risk: bool,
pub block_high_risk_commands: bool,
}Fields§
§level: String§workspace_only: bool§forbidden_paths: Vec<String>§allowed_roots: Vec<String>§auto_approve: Vec<String>§always_ask: Vec<String>§allow_sensitive_file_reads: bool§allow_sensitive_file_writes: bool§non_cli_excluded_tools: Vec<String>§non_cli_approval_approvers: Vec<String>§non_cli_natural_language_approval_mode: String§non_cli_natural_language_approval_mode_by_channel: HashMap<String, String>§max_actions_per_hour: u32§max_cost_per_day_cents: u32§require_approval_for_medium_risk: bool§block_high_risk_commands: boolTrait Implementations§
Source§impl Clone for AutonomyConfig
impl Clone for AutonomyConfig
Source§fn clone(&self) -> AutonomyConfig
fn clone(&self) -> AutonomyConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutonomyConfig
impl Debug for AutonomyConfig
Source§impl Default for AutonomyConfig
impl Default for AutonomyConfig
Source§impl<'de> Deserialize<'de> for AutonomyConfigwhere
AutonomyConfig: Default,
impl<'de> Deserialize<'de> for AutonomyConfigwhere
AutonomyConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AutonomyConfig
impl RefUnwindSafe for AutonomyConfig
impl Send for AutonomyConfig
impl Sync for AutonomyConfig
impl Unpin for AutonomyConfig
impl UnsafeUnpin for AutonomyConfig
impl UnwindSafe for AutonomyConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more