pub(crate) fn still_allowed(
state: &AppState,
agent_id: &str,
pane: Option<&str>,
block_id: &str,
) -> Result<(), (StatusCode, String)>Expand description
The agent may still act on the pane after the wait: the person had time to pause it or take it over, and nothing is typed then. The call’s auth was checked when it came; the wait can outlast its freshness window.