Skip to content

refactor: extract CLI recipe source helpers#352

Merged
chubes4 merged 1 commit into
mainfrom
refactor/cli-recipe-sources
May 31, 2026
Merged

refactor: extract CLI recipe source helpers#352
chubes4 merged 1 commit into
mainfrom
refactor/cli-recipe-sources

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented May 31, 2026

Summary

  • Extract recipe source/preparation responsibilities from packages/cli/src/index.ts into packages/cli/src/recipe-sources.ts.
  • Keep CLI behavior unchanged while leaving validation, dry-run planning, routing, and runtime execution in index.ts.
  • Preserve recipe source provenance, workspace prep/cleanup, extra plugin prep, staged file prep, download guards, scaffolds, and plugin activation helpers behind focused exports.

Verification

  • npm run build
  • npm run recipe-staged-files-smoke
  • npm run recipe-workspace-seed-excludes-smoke
  • npm run recipe-heavyweight-plugin-runtime-smoke (first attempt hit local timeout with no failure output; retry passed)
  • npm run recipe-dry-run-smoke

Tracker

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the focused helper extraction, ran verification, and prepared this PR for Chris to review.

@chubes4 chubes4 merged commit 0d2fe85 into main May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Architecture cleanup: split CLI entrypoint into command and recipe subsystems

1 participant