chore: remove legacy @mosaicstack/cli package #398

Merged
jason.woltje merged 1 commits from chore/remove-cli-package-duplicate into main 2026-04-05 04:39:47 +00:00
Owner

Summary

The @mosaicstack/cli package was consolidated into @mosaicstack/mosaic in an earlier refactor, and has been excluded from pnpm-workspace.yaml since then. The directory was left in place as roughly 6.6K lines of dead code that duplicated every command file (including gateway/install.ts, which was the version the install UX was silently regressing against).

This removes the directory and updates the last remaining doc references.

Changes

  • Delete packages/cli/ (48 files, 6685 lines removed)
  • pnpm-workspace.yaml: drop the packages/cli exclusion line
  • tools/install.sh: update install step label
  • AGENTS.md, CLAUDE.md: update package map row
  • README.md, docs/guides/user-guide.md, packages/mosaic/framework/defaults/README.md: update install docs

Intentionally NOT changed

  • docs/plans, docs/scratchpads, briefs, docs/PRD.md — historical, will be handled in upcoming mission cleanup
  • packages/mosaic/tests/update-checker.test.ts — intentionally keeps guardrail tests preventing legacy package queries

Verification

  • pnpm typecheck: 38/38 tasks green
  • pnpm lint: 21/21 tasks green
  • pnpm format:check: clean
  • pnpm test: 38/38 tasks green

Test plan

  • Typecheck clean
  • Lint clean
  • Format check clean
  • All tests pass
  • CI pipeline green on merge
## Summary The @mosaicstack/cli package was consolidated into @mosaicstack/mosaic in an earlier refactor, and has been excluded from pnpm-workspace.yaml since then. The directory was left in place as roughly 6.6K lines of dead code that duplicated every command file (including gateway/install.ts, which was the version the install UX was silently regressing against). This removes the directory and updates the last remaining doc references. ## Changes - Delete packages/cli/ (48 files, 6685 lines removed) - pnpm-workspace.yaml: drop the packages/cli exclusion line - tools/install.sh: update install step label - AGENTS.md, CLAUDE.md: update package map row - README.md, docs/guides/user-guide.md, packages/mosaic/framework/defaults/README.md: update install docs ## Intentionally NOT changed - docs/plans, docs/scratchpads, briefs, docs/PRD.md — historical, will be handled in upcoming mission cleanup - packages/mosaic/__tests__/update-checker.test.ts — intentionally keeps guardrail tests preventing legacy package queries ## Verification - pnpm typecheck: 38/38 tasks green - pnpm lint: 21/21 tasks green - pnpm format:check: clean - pnpm test: 38/38 tasks green ## Test plan - [x] Typecheck clean - [x] Lint clean - [x] Format check clean - [x] All tests pass - [ ] CI pipeline green on merge
jason.woltje added 1 commit 2026-04-05 04:37:23 +00:00
chore: remove legacy @mosaicstack/cli package
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
7206b9411d
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>
jason.woltje merged commit c39433c361 into main 2026-04-05 04:39:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#398