pub struct FleetRunConfig {
pub agents: Vec<String>,
pub fleets: Vec<String>,
}Expand description
Authorization gate for the runtime’s built-in fleet_run tool. Stored under
fleet_run: in ~/.mur/config.yaml. Deny-by-default on BOTH axes: an agent
not named in agents never even sees the tool, and a fleet not named in
fleets cannot be run. Lives in the global config (not the agent profile)
because the profile is writable by the concierge itself — this gate must be
out of reach of a prompt-injected agent (same rationale as
ParallelJobsConfig).
Fields§
§agents: Vec<String>Canonical agent names allowed to call fleet_run. Empty = deny all.
fleets: Vec<String>Fleet names those agents may run. Empty = deny all.
Trait Implementations§
Source§impl Clone for FleetRunConfig
impl Clone for FleetRunConfig
Source§fn clone(&self) -> FleetRunConfig
fn clone(&self) -> FleetRunConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FleetRunConfig
impl Debug for FleetRunConfig
Source§impl Default for FleetRunConfig
impl Default for FleetRunConfig
Source§fn default() -> FleetRunConfig
fn default() -> FleetRunConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetRunConfig
impl<'de> Deserialize<'de> for FleetRunConfig
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
Source§impl PartialEq for FleetRunConfig
impl PartialEq for FleetRunConfig
Source§impl Serialize for FleetRunConfig
impl Serialize for FleetRunConfig
impl StructuralPartialEq for FleetRunConfig
Auto Trait Implementations§
impl Freeze for FleetRunConfig
impl RefUnwindSafe for FleetRunConfig
impl Send for FleetRunConfig
impl Sync for FleetRunConfig
impl Unpin for FleetRunConfig
impl UnsafeUnpin for FleetRunConfig
impl UnwindSafe for FleetRunConfig
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