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§
Sourcefn session_name(&self) -> &str
fn session_name(&self) -> &str
Get the session name
Sourcefn working_dir(&self) -> &str
fn working_dir(&self) -> &str
Get the working directory
Sourcefn waves(&self) -> Vec<WaveView>
fn waves(&self) -> Vec<WaveView>
Get computed waves for display (empty for SpawnSession, computed for SwarmSession)
Sourcefn status_counts(&self) -> StatusCounts
fn status_counts(&self) -> StatusCounts
Get status counts for header display