Skip to content

Refactor playground CLI runner helpers#331

Merged
chubes4 merged 1 commit into
mainfrom
refactor/playground-cli-runner
May 31, 2026
Merged

Refactor playground CLI runner helpers#331
chubes4 merged 1 commit into
mainfrom
refactor/playground-cli-runner

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented May 31, 2026

Summary

  • Extract WordPress Playground CLI startup mechanics into playground-cli-runner.ts.
  • Keep runtime lazy boot/caching in index.ts while moving the process.exit guard, dynamic CLI typing, blueprint wiring, preview-port check, and preview proxy setup behind one helper.

Testing

  • npm install (fresh worktree dependency install; prepare build passed)
  • npm run build
  • npm run command-registry-smoke
  • npm run package-distribution-smoke
  • npm run preview-port-smoke
  • npm run runtime-episode-smoke
  • npm run boot-preview-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the focused extraction and ran verification; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit 5744130 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.

1 participant