pub struct AcpConfig {Show 13 fields
pub enabled: bool,
pub agent_name: String,
pub agent_version: String,
pub max_sessions: usize,
pub session_idle_timeout_secs: u64,
pub broadcast_capacity: usize,
pub permission_file: Option<PathBuf>,
pub available_models: Vec<String>,
pub transport: AcpTransport,
pub http_bind: String,
pub auth_token: Option<String>,
pub discovery_enabled: bool,
pub lsp: AcpLspConfig,
}Fields§
§enabled: bool§agent_name: String§agent_version: String§max_sessions: usize§session_idle_timeout_secs: u64§broadcast_capacity: usize§permission_file: Option<PathBuf>§available_models: Vec<String>List of {provider}:{model} identifiers advertised to the IDE for model switching.
Example: ["claude:claude-sonnet-4-5", "ollama:llama3"]
transport: AcpTransportTransport mode: “stdio” (default), “http”, or “both”.
http_bind: StringBind address for the HTTP transport.
auth_token: Option<String>Bearer token for HTTP and WebSocket transport authentication.
When set, all /acp and /acp/ws requests must include Authorization: Bearer <token>.
Omit for local unauthenticated access. TLS termination is assumed to be handled by a
reverse proxy.
discovery_enabled: boolWhether to serve the /.well-known/acp.json agent discovery manifest. Only effective when transport is “http” or “both”. Default: true.
lsp: AcpLspConfigLSP extension configuration ([acp.lsp]).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AcpConfig
impl<'de> Deserialize<'de> for AcpConfig
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 AcpConfig
impl RefUnwindSafe for AcpConfig
impl Send for AcpConfig
impl Sync for AcpConfig
impl Unpin for AcpConfig
impl UnsafeUnpin for AcpConfig
impl UnwindSafe for AcpConfig
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request