mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 10:58:10 +00:00
- Signed out, Set up and start opens one tab. The authorize page shows the setup account step (A2). Once the code is exchanged, the loopback holds the tab, creates the billing setup session and 302s the same tab into the setup pages. - Signed in, the session is created and its start URL is opened. - IPC: orcaProfiles.cloudSetupStart / cloudSetupGet / cloudSetupLink (Copy setup link mints a fresh one-time link). - Renderer: cloud-setup-session.ts polls the session (2 s for 3 min, then 10 s), keeps a snapshot for the composer and tracker, and switches the profile to the team setup chose. - Plans dialog: Checkout joins the open setup session. A personal account (409 team_required) goes through setup instead, which makes or picks a team first. - Billing: POST /v1/cloud-setup/sessions/:id/link.