pub struct AssistantEndpoints {
pub base: String,
pub aion_mcp_enabled: bool,
}Expand description
Where a spawned agent dials this server back.
TWO routes, one address. The general /mcp catalogue is the workflow tool
surface and is dark unless [mcp] enabled; /assistant/mcp is the
assistant’s OWN catalogue and is served whenever this server can state an
address at all, because it is how a session’s agent learns what is on the
operator’s screen — the answer to “never ask which directory the repo is in”.
None for the whole struct means this server cannot state a dialable address
(a configured port of zero, whose real port is only known after bind), and
then no MCP server of ours is handed over at all.
Fields§
§base: StringThe dialable origin, http://host:port, with no trailing slash.
aion_mcp_enabled: boolWhether the general /mcp route is mounted on it.
Implementations§
Source§impl AssistantEndpoints
impl AssistantEndpoints
Sourcepub fn aion_mcp_url(&self) -> Option<String>
pub fn aion_mcp_url(&self) -> Option<String>
This server’s general MCP route, when it is mounted.
Sourcepub fn assistant_mcp_url(&self) -> String
pub fn assistant_mcp_url(&self) -> String
This server’s ASSISTANT-ONLY MCP route.
Always present: its catalogue is one tool about this session, and it is
authorized by the session’s own bearer rather than by anything the
general surface’s [mcp] enabled switch governs.
Trait Implementations§
Source§impl Clone for AssistantEndpoints
impl Clone for AssistantEndpoints
Source§fn clone(&self) -> AssistantEndpoints
fn clone(&self) -> AssistantEndpoints
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AssistantEndpoints
impl RefUnwindSafe for AssistantEndpoints
impl Send for AssistantEndpoints
impl Sync for AssistantEndpoints
impl Unpin for AssistantEndpoints
impl UnsafeUnpin for AssistantEndpoints
impl UnwindSafe for AssistantEndpoints
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Source§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>
T in a tonic::Request