Skip to content

fix(claude): restore single-plugin marketplace layout#52

Merged
cofin merged 1 commit intomainfrom
fix/seriously
Apr 25, 2026
Merged

fix(claude): restore single-plugin marketplace layout#52
cofin merged 1 commit intomainfrom
fix/seriously

Conversation

@cofin
Copy link
Copy Markdown
Owner

@cofin cofin commented Apr 25, 2026

Summary

  • Move .claude-plugin/plugins/flow/plugin.json back to .claude-plugin/plugin.json (the location pyproject.toml's bumpversion.files already pointed at).
  • Change marketplace source from ./plugins/flow to ./ so the entire repo is the plugin, matching the litestar-marketplace layout.

Why

#51 moved the Claude manifest into .claude-plugin/plugins/flow/ to mirror the codex layout, but Claude Code resolves marketplace source paths from the marketplace root, not from the manifest's directory. Install failed with:

Failed to install: Source path does not exist:
/home/cody/.claude/plugins/marketplaces/flow-marketplace/plugins/flow

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.

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.
@cofin cofin merged commit 6b07cc9 into main Apr 25, 2026
4 checks passed
@cofin cofin deleted the fix/seriously branch April 25, 2026 19:25
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