pub(crate) async fn start_agent(
state: &AppState,
agent_id: &str,
) -> Result<String, String>Expand description
Start the agent with no pane: its block (made and parked if it has none) with its process running
and its session resumed. Returns the block. Admission, the spawn gate and the lease apply as for
agent.open. Needs an active tab to create a first block in.