Add top-level `mosaic uninstall` with --framework, --cli, --gateway, --all,
--keep-data, --yes, and --dry-run flags. Implements runtime asset reversal
(backup restore or managed-copy removal), npmrc scope line removal, and
gateway delegation. Adds install manifest (write on install, read on uninstall)
for precise reversal; falls back to heuristic mode when manifest is absent.
Shell fallback via `tools/install.sh --uninstall`. Closes#425.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mosaic/mosaic is now the single package providing both:
- 'mosaic' binary (CLI: yolo, coord, prdy, tui, gateway, etc.)
- 'mosaic-wizard' binary (installation wizard)
Changes:
- Move packages/cli/src/* into packages/mosaic/src/
- Convert dynamic @mosaic/mosaic imports to static relative imports
- Add CLI deps (ink, react, socket.io-client, @mosaic/config) to mosaic
- Add jsx: react-jsx to mosaic's tsconfig
- Exclude packages/cli from workspace (pnpm-workspace.yaml)
- Update install.sh to install @mosaic/mosaic instead of @mosaic/cli
- Bump version to 0.0.17
This eliminates the circular dependency between @mosaic/cli and
@mosaic/mosaic that was blocking the build graph.