Skip to main content

agent_runtime_event

Function agent_runtime_event 

Source
pub fn agent_runtime_event(
    block_id: &str,
    running: Option<&SpawnRuntime>,
    restart_pending: bool,
    effective: Option<&EffectiveRuntime>,
) -> AgentRuntimeEvent
Expand description

The agentruntime event for one pane (persisted, so a menu that mounts late still gets the latest). running is None when no process is alive — then there is nothing for the menu to compare against. effective is what the CLI reported using, when it has (see EffectiveRuntime).