Skip to main content

is_agent_block

Function is_agent_block 

Source
pub(crate) fn is_agent_block(state: &AppState, block_id: &str) -> bool
Expand description

Whether block_id is an agent’s block, from its stored meta. Which panes Stop pane refuses and which blocks Stop agents accepts (docs/specs/SPEC_STOP_AN_AGENT_ONE_WAY_AND_SHUTDOWN_TOAST_2026_10_23.md §3.2).