Remember and switch Companion projects - #28
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f84d9c641
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99ad1496e1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Companion can now remember Minecraft instance projects and switch between them without restarting. Switching saves and closes editors, detaches the old game/debugger, and restores the selected instance's state and cached sources. The MCP endpoint stays available. Explicit F6/source-open requests select a project; background handshakes cannot change it.
This implements the project registry and switching backend. Selector UI, project MCP tools and game launching remain separate work. Protocol 15 requires updating the mod and Companion together.
Validated with
:check :localBundle --warning-mode fail, including project isolation, save failures, stale callbacks, authenticated attachment and persistent MCP tests. No live Minecraft validation yet.Based on #27 so this diff contains only project switching. Retarget to
1.21.1after #27 merges.