pub async fn serve( store: Arc<TaskStore>, events: Sender<TaskEvent>, ) -> Result<u16>
Serve the UI on 127.0.0.1 and record the port, a fresh token and the pid for orch ui
orch ui