pub(crate) async fn park_window_agents(
state: &AppState,
workspace_id: &str,
block_ids: &[String],
) -> Vec<String>Expand description
A window that closes and is kept (a closed window of the workspace): park the agent blocks of its tabs
(block_ids) so the close stops only what isn’t an agent. A parked block keeps its layout leaf: parking
leaves the tab’s tree alone, and the tree prunes only blocks that are gone, so the window reopens with
its agents where they were (reattach_window_agents). Returns the ids parked.