The @mosaicstack/cli package was consolidated into @mosaicstack/mosaic in
a prior refactor, and was already excluded from pnpm-workspace.yaml. This
commit deletes the now-dead packages/cli directory and updates the last
remaining docs references that still pointed at it.
- Delete packages/cli/ (48 files, ~6.6K lines of dead code)
- pnpm-workspace.yaml: drop the !packages/cli exclusion
- tools/install.sh: update install step label
- AGENTS.md, CLAUDE.md: update package map
- README.md, docs/guides/user-guide.md, packages/mosaic/framework/defaults/README.md: update install docs
Verified clean: typecheck, lint, format:check, test (38/38 tasks).
Co-Authored-By: Claude Opus 4.6 (1M context) <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.
The @mosaic scope registry is configured in ~/.npmrc. Passing --registry
on the install command overrides the default registry for ALL packages,
causing non-@mosaic deps like @clack/prompts to 404 against Gitea.