Skip to content

Remember and switch Companion projects - #28

Merged
Pelotrio merged 2 commits into
codex/server-manifest-comparisonfrom
codex/companion-project-switching
Sep 11, 2026
Merged

Remember and switch Companion projects#28
Pelotrio merged 2 commits into
codex/server-manifest-comparisonfrom
codex/companion-project-switching

Conversation

@Pelotrio

Copy link
Copy Markdown
Member

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.1 after #27 merges.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-11T09:45:27.141859Z 99ad149 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@Pelotrio
Pelotrio added this pull request to stack #30 September 11, 2026 14:05
@Pelotrio
Pelotrio merged commit 49b88b2 into 1.21.1 Sep 11, 2026
2 checks passed
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