pub enum ForgePrompt {
NewSession,
ResumeSession {
session_id: String,
},
Handoff,
SetMode {
mode: String,
},
ShowMode,
ShowEffort,
SetModel {
model: String,
},
SetEffort {
level: String,
},
}Expand description
A forge command a composer can invoke, whatever view it was typed at.
Variants§
NewSession
/new: replace the seat’s occupant with a fresh session.
ResumeSession
/resume <session_id>: move the seat onto a session that already
exists.
Handoff
/handoff: hand the seat over to a fresh session that continues from
a brief. One of the two entries, beside the automatic trigger (fill or
compaction); the agents__handoff call is the exit inside the handoff
turn, never a way in.
SetMode
/mode <id>: switch the session’s permission mode.
ShowMode
/mode: what permission mode the session is on, as the core observed
it.
ShowEffort
/effort: what thinking effort the session is running at, as the core
observed it.
SetModel
/model <id>: switch the model the session runs on.
SetEffort
/effort <level>: set the thinking effort the next launch carries.
Implementations§
Source§impl ForgePrompt
impl ForgePrompt
Sourcepub const fn respawns(&self) -> bool
pub const fn respawns(&self) -> bool
Whether running this replaces the seat’s occupant.
The slow ones, and the only ones a view blocks its input for: what clears that block is the replacement arriving. Every other command answers where it was asked, so a view that blocked on one would leave the input disabled with nothing coming to release it.
Trait Implementations§
Source§impl Clone for ForgePrompt
impl Clone for ForgePrompt
Source§impl Debug for ForgePrompt
impl Debug for ForgePrompt
impl Eq for ForgePrompt
Source§impl PartialEq for ForgePrompt
impl PartialEq for ForgePrompt
impl StructuralPartialEq for ForgePrompt
Auto Trait Implementations§
impl Freeze for ForgePrompt
impl RefUnwindSafe for ForgePrompt
impl Send for ForgePrompt
impl Sync for ForgePrompt
impl Unpin for ForgePrompt
impl UnsafeUnpin for ForgePrompt
impl UnwindSafe for ForgePrompt
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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