pub enum SlashCommand {
Show 19 variants
New,
Resume(Option<SessionId>),
Session,
Name(Option<String>),
Model(Option<ModelId>),
Reasoning(Option<ReasoningEffort>),
Compact,
Tree,
Fork(MessageId),
Copy,
Image(String),
ImageRemove(usize),
ImageClear,
Mcp,
McpReconnect(McpServerId),
Help,
Quit,
Template {
name: String,
arguments: Vec<String>,
},
Skill(String),
}Expand description
Parsed interactive slash command.
Variants§
New
Create and switch to a new session.
Resume(Option<SessionId>)
Resume an explicit session or open the session selector.
Session
Open the session selector.
Name(Option<String>)
Set or clear a session display name.
Model(Option<ModelId>)
Set a model or open the model selector.
Reasoning(Option<ReasoningEffort>)
Set reasoning effort or open the reasoning selector.
Compact
Compact the active session.
Tree
Open the branch tree selector.
Fork(MessageId)
Fork from one durable message.
Copy
Copy the last assistant response.
Image(String)
Load one explicit local image path.
ImageRemove(usize)
Remove one image by its one-based composer index.
ImageClear
Remove every image from the active session composer.
Mcp
Display safe MCP server health and frozen aliases.
McpReconnect(McpServerId)
Reconnect one MCP server only against its frozen discovery snapshot.
Help
Show command help.
Quit
Exit the application.
Template
Expand one trusted declarative prompt template.
Skill(String)
Load one explicit trusted skill invocation.
Trait Implementations§
Source§impl Clone for SlashCommand
impl Clone for SlashCommand
Source§impl Debug for SlashCommand
impl Debug for SlashCommand
impl Eq for SlashCommand
Source§impl PartialEq for SlashCommand
impl PartialEq for SlashCommand
impl StructuralPartialEq for SlashCommand
Auto Trait Implementations§
impl Freeze for SlashCommand
impl RefUnwindSafe for SlashCommand
impl Send for SlashCommand
impl Sync for SlashCommand
impl Unpin for SlashCommand
impl UnsafeUnpin for SlashCommand
impl UnwindSafe for SlashCommand
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more