Skip to main content

MonitorableSession

Trait MonitorableSession 

Source
pub trait MonitorableSession: Send + Sync {
    // Required methods
    fn session_name(&self) -> &str;
    fn tag(&self) -> &str;
    fn working_dir(&self) -> &str;
    fn agents(&self) -> Vec<AgentView>;
    fn waves(&self) -> Vec<WaveView>;
    fn status_counts(&self) -> StatusCounts;
}
Expand description

Trait for sessions that can be displayed in the TUI monitor

Required Methods§

Source

fn session_name(&self) -> &str

Get the session name

Source

fn tag(&self) -> &str

Get the tag/phase being worked on

Source

fn working_dir(&self) -> &str

Get the working directory

Source

fn agents(&self) -> Vec<AgentView>

Get all agents with their current status

Source

fn waves(&self) -> Vec<WaveView>

Get computed waves for display (empty for SpawnSession, computed for SwarmSession)

Source

fn status_counts(&self) -> StatusCounts

Get status counts for header display

Implementors§