Skip to content

GH-2031: Add cross-host Spring Tools plugin support - #2069

Open
patbaumgartner wants to merge 14 commits into
spring-projects:mainfrom
patbaumgartner:pr/c3-cross-host-support
Open

patbaumgartner wants to merge 14 commits into
spring-projects:mainfrom
patbaumgartner:pr/c3-cross-host-support

Conversation

@patbaumgartner

@patbaumgartner patbaumgartner commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes gh-2031

Summary

  • Add the portable plugin manifest, MCP configuration and reviewer adapters so the plugin runs on Claude Code, GitHub Copilot, Codex and OpenCode.
  • Publish the Codex catalog from release tags and document the tagged GitHub install plus explicit MCP workspace configuration.
  • Add sync-agent-adapters.mjs and offline checks that keep host adapters, the Codex catalog and the behavioral evals aligned with the language server.

Stack

Depends on #2066–#2068. Review the current PR head. Merge order: #2066 → #2067 → #2068 → #2069 → #2070.

Validation

  • node claude-plugins/tools/check-explanations.mjs --require-all --todo (76/76)
  • node claude-plugins/tools/check-plugin-config.mjs --cross-host
  • node claude-plugins/tools/sync-agent-adapters.mjs --check
  • npm --prefix claude-plugins/tools test (57 tests passed)

@patbaumgartner
patbaumgartner force-pushed the pr/c3-cross-host-support branch from 981f2db to e9064cc Compare November 23, 2026 06:10
@patbaumgartner

Copy link
Copy Markdown
Contributor Author

The branch is updated in the current stack, and the description now points to the current review commits. @BoykoAlex, could you please review when convenient? The latest Claude Plugin Check run is action_required with no jobs started. Could a maintainer approve it so the checks can run?

@BoykoAlex BoykoAlex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Question: how is the Codex catalog meant to be published?
.agents/plugins/marketplace.json isn't touched by release-standalone-ls.yml, which still only updates the Claude marketplace.json on the CDN. Is the intent that Codex users register this repo at a release tag (codex plugin marketplace add spring-projects/spring-tools --ref vX.Y.Z)? If so, could the README say that, rather than the /path/to/spring-tools checkout flow? Also, the bundled MCP server fails to start in Codex without a manual .codex/config.toml (workspace not detected). Should the launcher fall back to the working directory, or is the explicit config the intended install step? Is codex plugin installed directlyu via the github repo + tag for the version?

@patbaumgartner

Copy link
Copy Markdown
Contributor Author

Good catch. The Codex catalog is not meant to be published to the CDN. Codex supports Git-backed marketplaces, including owner/repo --ref ... sources (Codex plugin docs), so the checked-in .agents/plugins/marketplace.json is meant to be consumed from the release tag. release-standalone-ls.yml already creates the vX.Y.Z tag when publishing a release (workflow lines 61–69); its CDN update is only for the Claude marketplace (workflow lines 70–102). Normal Codex installs should therefore be:

codex plugin marketplace add spring-projects/spring-tools --ref vX.Y.Z
codex plugin add spring-tools@spring-tools-local

You’re right that the README is misleading: it currently shows the /path/to/spring-tools checkout flow as the main install path (README lines 103–112). I’ll document the tag-pinned GitHub install as the normal path and keep the checkout flow for local development/testing.

On the MCP server: the launcher already falls back through SPRING_TOOLS_PROJECT_DIR, CLAUDE_PROJECT_DIR, Copilot session state, PWD, and then cwd (launcher lines 179–199), while rejecting the plugin root as a workspace (launcher lines 150–153). With the portable Agent Plugins manifest used here, Codex starts the MCP server in the plugin cache and provides no workspace signal, as tracked in openai/codex#37903. Silently accepting that working directory would make the language server index the plugin cache, so the fail-fast behavior is intentional (launcher lines 244–250). I’ll move the existing .codex/config.toml guidance (README lines 120–151) out of the “local development” section and present it as the current Codex setup step until Codex exposes a reliable workspace signal.

…pport-review-fix

Signed-off-by: Patrick Baumgartner <[email protected]>

# Conflicts:
#	.github/workflows/claude-plugin-check.yml
#	claude-plugins/tools/check-plugin-config.mjs
#	claude-plugins/tools/test/plugin-config.test.mjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add cross-host Spring Tools plugin support

3 participants