pub struct ClientSpec {
pub id: &'static str,
pub title: &'static str,
pub format: Format,
pub mcp_user: &'static [&'static str],
pub mcp_project: &'static [&'static str],
pub skill_user: &'static [&'static str],
pub skill_project: &'static [&'static str],
pub markers: &'static [&'static [&'static str]],
pub note: Option<&'static str>,
}Expand description
One agent: what to call it, where its files live, and what shape they are in.
Fields§
§id: &'static str§title: &'static strThe name a person would recognise.
format: Format§mcp_user: &'static [&'static str]The config file the MCP entry goes in, under the home directory.
mcp_project: &'static [&'static str]The same, under the project root.
skill_user: &'static [&'static str]The directory skills live in, which the skill’s own folder goes inside.
skill_project: &'static [&'static str]§markers: &'static [&'static [&'static str]]Paths under the home directory that mean this agent is installed.
note: Option<&'static str>Anything a person needs to know after the file is written.
Auto Trait Implementations§
impl Freeze for ClientSpec
impl RefUnwindSafe for ClientSpec
impl Send for ClientSpec
impl Sync for ClientSpec
impl Unpin for ClientSpec
impl UnsafeUnpin for ClientSpec
impl UnwindSafe for ClientSpec
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