pub struct LaunchConfig {Show 13 fields
pub query: String,
pub session_id: Option<String>,
pub fork_session: bool,
pub model: Model,
pub working_dir: String,
pub system_prompt: Option<String>,
pub mcp_config: Option<Value>,
pub permission_prompt_tool: Option<String>,
pub allowed_tools: Vec<String>,
pub disallowed_tools: Vec<String>,
pub max_turns: Option<i32>,
pub loopback_enabled: bool,
pub loopback_session_id: Option<String>,
}Expand description
Configuration for a Claude Code session launch
Fields§
§query: StringThe query/prompt to send
session_id: Option<String>Resume an existing Claude session
fork_session: boolFork the session instead of resuming
model: ModelModel to use
working_dir: StringWorking directory
system_prompt: Option<String>System prompt
mcp_config: Option<Value>MCP configuration (written to temp file)
permission_prompt_tool: Option<String>Permission prompt tool name
allowed_tools: Vec<String>Allowed tools
disallowed_tools: Vec<String>Disallowed tools
max_turns: Option<i32>Max turns
loopback_enabled: boolEnable loopback mode - routes tool permissions through Plexus for parent approval
loopback_session_id: Option<String>Session ID for loopback correlation
Trait Implementations§
Source§impl Clone for LaunchConfig
impl Clone for LaunchConfig
Source§fn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
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 LaunchConfig
impl Debug for LaunchConfig
Auto Trait Implementations§
impl Freeze for LaunchConfig
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnsafeUnpin for LaunchConfig
impl UnwindSafe for LaunchConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more