pub struct ClaudeAdapter { /* private fields */ }Expand description
Claude Code adapter using claude-wrapper.
Implementations§
Source§impl ClaudeAdapter
impl ClaudeAdapter
pub fn new() -> Self
pub fn model(self, model: impl Into<String>) -> Self
pub fn max_turns(self, turns: u32) -> Self
pub fn binary(self, path: impl Into<PathBuf>) -> Self
pub fn skills(self, skills: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn mcp_config(self, path: impl Into<String>) -> Self
pub fn append_system_prompt(self, prompt: impl Into<String>) -> Self
Trait Implementations§
Source§impl AgentAdapter for ClaudeAdapter
impl AgentAdapter for ClaudeAdapter
Source§async fn execute_stage(
&self,
stage: &PlannedStage,
work_dir: &Path,
) -> Result<StageResult>
async fn execute_stage( &self, stage: &PlannedStage, work_dir: &Path, ) -> Result<StageResult>
Execute a stage and return the result.
Auto Trait Implementations§
impl Freeze for ClaudeAdapter
impl RefUnwindSafe for ClaudeAdapter
impl Send for ClaudeAdapter
impl Sync for ClaudeAdapter
impl Unpin for ClaudeAdapter
impl UnsafeUnpin for ClaudeAdapter
impl UnwindSafe for ClaudeAdapter
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> 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