pub enum AcpCommand {
Serve,
List,
Inspect {
name: String,
},
Smoke {
name: String,
prompt: String,
},
Logout {
name: String,
},
ListSessions {
name: String,
},
LoadSession {
name: String,
session_id: String,
},
ResumeSession {
name: String,
session_id: String,
},
CloseSession {
name: String,
session_id: String,
},
Registry {
file: Option<PathBuf>,
},
Install {
agent_id: String,
name: Option<String>,
file: Option<PathBuf>,
yes: bool,
},
Update {
name: String,
file: Option<PathBuf>,
yes: bool,
},
}Expand description
ACP inspection and smoke-test commands.
Variants§
Serve
Run thndrs as an ACP agent server over stdio.
List
List configured ACP agents.
Inspect
Show one configured ACP agent with redacted values.
Smoke
Initialize an ACP agent, create a temporary session, send one prompt, and print events.
Logout
Log out through the ACP agent when it advertises logout support.
ListSessions
List sessions owned by an ACP agent.
LoadSession
Load an ACP agent-owned session and print replayed updates.
ResumeSession
Resume an ACP agent-owned session without replaying history.
CloseSession
Close an ACP agent-owned session.
Registry
List available agents from the read-only ACP Registry.
Install
Install one registry agent into workspace ACP config metadata.
Fields
Update
Update one registry-managed ACP agent in workspace config metadata.
Trait Implementations§
Source§impl Clone for AcpCommand
impl Clone for AcpCommand
Source§fn clone(&self) -> AcpCommand
fn clone(&self) -> AcpCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AcpCommand
impl Debug for AcpCommand
impl Eq for AcpCommand
Source§impl FromArgMatches for AcpCommand
impl FromArgMatches for AcpCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for AcpCommand
impl PartialEq for AcpCommand
impl StructuralPartialEq for AcpCommand
Source§impl Subcommand for AcpCommand
impl Subcommand for AcpCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for AcpCommand
impl RefUnwindSafe for AcpCommand
impl Send for AcpCommand
impl Sync for AcpCommand
impl Unpin for AcpCommand
impl UnsafeUnpin for AcpCommand
impl UnwindSafe for AcpCommand
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> 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>
Converts this value into a three-state builder argument.
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>
Converts this value into an optional builder argument.