pub enum Command {
Show 19 variants
Send(ClientMessage),
Unlock {
method: UnlockMethod,
},
AddCredential {
service: String,
credential_type: String,
fields: Vec<String>,
},
RemoveCredential {
service: String,
},
AclAdd {
pubkey: String,
},
Undo,
Redo,
Continue,
Stop,
RefreshModels {
force: bool,
},
Quit,
OpenSessions,
OpenAccounts,
OpenModelSelector,
ReasoningCycle,
ReasoningList,
InvalidCancel(String),
UnknownCommand(String),
Empty,
}Variants§
Send(ClientMessage)
Unlock
Fields
method: UnlockMethodAddCredential
RemoveCredential
AclAdd
/acl add <base64-pubkey> — enroll a new client in the daemon’s
ACL. Rejected by the daemon unless this connection is local (Unix
socket): the approver must be physically at the machine.
Undo
Redo
Continue
Continue a stopped/idle session — sends a “Please continue.” prompt to the currently attached session.
Stop
Stop a running session — cancels whatever request is currently active
on the attached session, equivalent to Cancel with CANCEL_ALL.
RefreshModels
Refresh the models.dev catalog from upstream (conditional GET against
the cached etag). --force bypasses the etag.
Quit
/quit — exit the TUI.
OpenSessions
Bare /session — open the session manager (a local-UI command, not a
message to the daemon).
OpenAccounts
Bare /account — open the accounts page.
OpenModelSelector
Bare /model — open the model picker.
ReasoningCycle
Bare /reasoning — cycle the reasoning effort on the attached session.
ReasoningList
/reasoning list — list the available reasoning levels.
InvalidCancel(String)
UnknownCommand(String)
Empty
Trait Implementations§
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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<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
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> ⓘ
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> ⓘ
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 moreimpl<T> JsonSchemaMaybe for T
impl<T> MaybeDebug for Twhere
T: Debug,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from.