pub(super) async fn take_over(
state: &AppState,
caller: Option<&Caller>,
req: TakeoverRequest,
) -> ResponseExpand description
Take a pane’s agent over. Reached from the window’s own socket (agent.takeover, caller None)
and, for an agent’s own pane, from pane_binding::handle_takeover.