async fn restart_in_place(state: &AppState, agent_id: &str) -> Restart
Start the agent again, in the block (pane) it has, with its session resumed: its spawn environment is built afresh and carries the replaced token.