pub struct ClaudeCodeLauncher {
pub claude_bin: PathBuf,
pub verbose: bool,
pub transcript_dir: Option<PathBuf>,
}Expand description
Launches real Claude Code processes via claude -p.
Fields§
§claude_bin: PathBuf§verbose: bool§transcript_dir: Option<PathBuf>If set, raw agent stdout is captured to {transcript_dir}/{phase_id}-{session_id_prefix}.jsonl.
Implementations§
Source§impl ClaudeCodeLauncher
impl ClaudeCodeLauncher
pub fn new() -> Self
pub fn with_bin(claude_bin: PathBuf) -> Self
Sourcepub fn with_verbose(self, verbose: bool) -> Self
pub fn with_verbose(self, verbose: bool) -> Self
Enable verbose mode: print live agent activity (tool calls, file writes, etc.)
Sourcepub fn verify_available(&self) -> Result<()>
pub fn verify_available(&self) -> Result<()>
Check that the Claude CLI binary is reachable.
Trait Implementations§
Source§impl AgentLauncher for ClaudeCodeLauncher
impl AgentLauncher for ClaudeCodeLauncher
fn run_phase<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
phase: &'life1 Phase,
prompt: &'life2 str,
plan_context: &'life3 str,
session_id: &'life4 str,
cwd: &'life5 Path,
cancel: CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<PhaseResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
Auto Trait Implementations§
impl Freeze for ClaudeCodeLauncher
impl RefUnwindSafe for ClaudeCodeLauncher
impl Send for ClaudeCodeLauncher
impl Sync for ClaudeCodeLauncher
impl Unpin for ClaudeCodeLauncher
impl UnsafeUnpin for ClaudeCodeLauncher
impl UnwindSafe for ClaudeCodeLauncher
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