mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-10 16:22:26 +02:00
* fix(cli): auto-create workspace for new users during setup When a new user runs `multica setup` and has no workspaces, the onboarding flow now auto-creates a default workspace (named "<name>'s Workspace") instead of failing when the daemon tries to start with zero watched workspaces. As a safety net, setup commands also skip daemon start gracefully if no workspaces are configured, instead of erroring out. * fix(cli): redirect to web onboarding instead of auto-creating workspace When no workspaces exist, the CLI now opens the web onboarding wizard in the browser and polls until the user completes workspace creation. This reuses the existing 4-step onboarding flow (workspace → runtime → agent → done) instead of duplicating creation logic in the CLI. * fix(cli): address code review — token login crash and misleading success msg 1. Token login (`multica login --token`) on a fresh account no longer crashes: waitForOnboarding uses tryResolveAppURL (returns "" instead of os.Exit(1)) and falls back to printing manual instructions. 2. Setup commands no longer print "✓ Setup complete!" when onboarding was not finished. Shows "⚠ Setup incomplete" with next steps instead.