Skip to content

Refactor Playground command routing out of index#320

Merged
chubes4 merged 1 commit into
mainfrom
refactor/playground-index-router
May 30, 2026
Merged

Refactor Playground command routing out of index#320
chubes4 merged 1 commit into
mainfrom
refactor/playground-index-router

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented May 30, 2026

Summary

  • Move the WordPress Playground command handler table into a dedicated command-router module.
  • Keep index.ts as the runtime/public API surface while delegating command dispatch to the router.
  • Preserve the existing playgroundRuntimeCommandIds() export for package consumers.

Testing

  • npm run build
  • npm run command-registry-smoke
  • npm run package-distribution-smoke

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Refactored the command routing boundary, ran targeted verification, and drafted this PR summary. Chris remains responsible for review and merge.

@chubes4 chubes4 force-pushed the refactor/playground-index-router branch from 68f02a3 to ec51c10 Compare May 30, 2026 22:00
@chubes4 chubes4 merged commit 5fdfaf2 into main May 30, 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