pub enum AppMode {
Agent,
Auto,
Yolo,
Plan,
Operate,
}Expand description
Supported application modes for the TUI.
Variants§
Agent
Auto
Yolo
Legacy compatibility alias; resolves to Self::Agent + bypass approvals.
Plan
Operate
Implementations§
Source§impl AppMode
impl AppMode
Sourcepub const CYCLE: [Self; 3]
pub const CYCLE: [Self; 3]
Productive keyboard cycle: Plan -> Act -> Operate -> Plan.
Auto remains an internal variant while the real implementation is
redesigned; do not expose it through user-facing mode selection (#3733).
Yolo is kept for parse/back-compat only and is not in the Tab cycle.
Operate joins the visible cycle because ordinary messages can now
coordinate background workers without requiring a Workflow definition.
pub fn parse(value: &str) -> Option<Self>
pub fn from_setting(value: &str) -> Self
pub fn as_setting(self) -> &'static str
pub fn display_name(self) -> &'static str
pub fn number(self) -> char
pub fn uses_agent_baseline(self) -> bool
Sourcepub fn mode_delegation_launch_floor(self) -> usize
pub fn mode_delegation_launch_floor(self) -> usize
Operate gets a higher parallel launch floor so background fan-out is not throttled to a single slot when config is low.
Sourcepub fn description(self) -> &'static str
pub fn description(self) -> &'static str
Description shown in help or onboarding text.
pub fn next(self) -> Self
pub fn previous(self) -> Self
Trait Implementations§
impl Copy for AppMode
impl Eq for AppMode
impl StructuralPartialEq for AppMode
Auto Trait Implementations§
impl Freeze for AppMode
impl RefUnwindSafe for AppMode
impl Send for AppMode
impl Sync for AppMode
impl Unpin for AppMode
impl UnsafeUnpin for AppMode
impl UnwindSafe for AppMode
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§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.