pub struct OpenCodeAdapterConfig {
pub auth_token: Option<String>,
pub sqlite_path: Option<String>,
pub replay_max_events: usize,
pub replay_max_chars: usize,
pub native_proxy_base_url: Option<String>,
pub native_proxy_manager: Option<Arc<OpenCodeServerManager>>,
pub acp_dispatch: Option<Arc<dyn AcpDispatch>>,
pub provider_payload: Option<Value>,
}Fields§
§auth_token: Option<String>§sqlite_path: Option<String>§replay_max_events: usize§replay_max_chars: usize§native_proxy_base_url: Option<String>§native_proxy_manager: Option<Arc<OpenCodeServerManager>>§acp_dispatch: Option<Arc<dyn AcpDispatch>>Optional ACP dispatch backend. When Some, prompts for non-mock agents
are routed through real ACP agent processes instead of the mock handler.
provider_payload: Option<Value>Optional pre-built provider payload for /provider and /config/providers.
When None, falls back to the hardcoded mock/amp/claude/codex list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenCodeAdapterConfig
impl !RefUnwindSafe for OpenCodeAdapterConfig
impl Send for OpenCodeAdapterConfig
impl Sync for OpenCodeAdapterConfig
impl Unpin for OpenCodeAdapterConfig
impl UnsafeUnpin for OpenCodeAdapterConfig
impl !UnwindSafe for OpenCodeAdapterConfig
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