fix(claude): restore single-plugin marketplace layout#52
Merged
Conversation
The recent codex-marketplace path fix moved the Claude plugin manifest into .claude-plugin/plugins/flow/, but Claude Code resolves the marketplace `source` field from the marketplace root and the plugin's own asset paths (./skills/, ./commands/, ./hooks/hooks-claude.json) only exist at the repo root. The result was "Source path does not exist" on install, and a broken manifest even if it had resolved. Move plugin.json back to .claude-plugin/plugin.json (matching what pyproject.toml's bumpversion config already declared) and set source to "./" so the entire repo is the plugin, mirroring the litestar-marketplace layout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.claude-plugin/plugins/flow/plugin.jsonback to.claude-plugin/plugin.json(the locationpyproject.toml'sbumpversion.filesalready pointed at).sourcefrom./plugins/flowto./so the entire repo is the plugin, matching thelitestar-marketplacelayout.Why
#51moved the Claude manifest into.claude-plugin/plugins/flow/to mirror the codex layout, but Claude Code resolves marketplacesourcepaths from the marketplace root, not from the manifest's directory. Install failed with:The plugin's own asset paths (
./skills/,./commands/,./hooks/hooks-claude.json) also only exist at the repo root, so even if install had resolved, the plugin would have been broken.Each host has its own resolver semantics; the codex layout cannot be reused 1:1 for Claude.