pub enum ShellMode {
Normal,
ModelList,
Settings,
StartMenu {
selected: usize,
},
Console,
Fullscreen,
ConversationPicker {
model_ref: String,
list: SelectList<ConversationPickerEntry>,
},
ServiceManager {
selected: usize,
},
WorkerManager {
sandbox_sel: usize,
container_sel: usize,
show_containers: bool,
tab: WorkerTab,
image_sel: usize,
input_mode: Option<InputDialog>,
},
PreChatSettings(Box<PreChatSettingsState>),
CloneFlow(CloneScreen),
GitOpInProgress {
op_name: String,
model_ref: String,
progress_msg: String,
},
}Variants§
Normal
Keys forwarded to the active shell via SendInput RPC.
ModelList
Model-list modal is open.
Settings
Settings modal is open.
StartMenu
Start-menu popup (Ctrl+Space).
Console
Console log overlay (F9).
Fullscreen
Fullscreen — all chrome hidden, pane fills terminal.
ConversationPicker
Conversation picker for a specific model.
ServiceManager
Service Manager modal (F5).
WorkerManager
Worker / Sandbox Manager modal (F6).
Fields
§
input_mode: Option<InputDialog>PreChatSettings(Box<PreChatSettingsState>)
Pre-chat generation settings before starting a new conversation.
CloneFlow(CloneScreen)
Clone flow: multi-step clone wizard.
GitOpInProgress
Git operation in progress (pull/push).
Auto Trait Implementations§
impl Freeze for ShellMode
impl RefUnwindSafe for ShellMode
impl Send for ShellMode
impl Sync for ShellMode
impl Unpin for ShellMode
impl UnsafeUnpin for ShellMode
impl UnwindSafe for ShellMode
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> 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