pub struct InteractiveConfig {
pub enabled: bool,
pub output_capture: String,
pub allow_human_input: bool,
pub auto_exit_on: Option<String>,
pub resume_cmd: Option<String>,
}Expand description
Per-agent interactive configuration (loaded from YAML).
Extends the AgentLaunchConfig with interactive session settings.
Fields§
§enabled: boolWhether interactive mode is available for this agent.
output_capture: StringOutput capture mode: “pty”, “pipe”, or “log”.
allow_human_input: boolWhether to allow human input injection during agent execution.
auto_exit_on: Option<String>Auto-exit condition: “idle_timeout: 300s” or “goal_complete”.
resume_cmd: Option<String>Override launch command for resume (e.g., “claude –resume {session_id}”).
Trait Implementations§
Source§impl Clone for InteractiveConfig
impl Clone for InteractiveConfig
Source§fn clone(&self) -> InteractiveConfig
fn clone(&self) -> InteractiveConfig
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 InteractiveConfig
impl Debug for InteractiveConfig
Source§impl Default for InteractiveConfig
impl Default for InteractiveConfig
Source§fn default() -> InteractiveConfig
fn default() -> InteractiveConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractiveConfig
impl<'de> Deserialize<'de> for InteractiveConfig
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 InteractiveConfig
impl RefUnwindSafe for InteractiveConfig
impl Send for InteractiveConfig
impl Sync for InteractiveConfig
impl Unpin for InteractiveConfig
impl UnsafeUnpin for InteractiveConfig
impl UnwindSafe for InteractiveConfig
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