Skip to content

fix(builder): resolve .claude-plugin marketplace local sources at the repo root (0.3.11) - #22

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/builder-0.3.11-marketplace-base
Jul 19, 2026
Merged

fix(builder): resolve .claude-plugin marketplace local sources at the repo root (0.3.11)#22
rldyourmnd merged 1 commit into
mainfrom
fix/builder-0.3.11-marketplace-base

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

A final correctness follow-up to 0.3.10, verified against openai/codex rust-v0.144.6 (marketplace_root_from_layout / resolve_local_plugin_source_path).

Fixed

Codex resolves ./-relative local plugin sources against the marketplace root — the directory that contains the recognized manifest layout. The checker did this for .agents/plugins/marketplace.json (root = 3 levels up) but treated a .claude-plugin/marketplace.json root as the .claude-plugin/ directory itself, so a valid local source resolved one level too deep and was reported missing. Now .claude-plugin/ catalogs resolve relative to the directory that contains them, exactly as Codex does. .agents/plugins/ behavior is unchanged.

Builder plugin → 0.3.6, module → 0.3.11. Verified: a .claude-plugin/marketplace.json with a ./plugins/<name> local source now validates; .agents/plugins/ unchanged; 53 builder tests pass in the private harness.

https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo

… repo root (0.3.11)

Codex derives the marketplace root by stripping the recognized manifest layout
(marketplace_root_from_layout) and resolves `./`-relative local plugin sources
against that root. The checker mirrored this for `.agents/plugins/` but treated a
`.claude-plugin/marketplace.json` root as the `.claude-plugin/` directory itself,
so a valid local source resolved one level too deep and was reported missing.
Resolve `.claude-plugin/` catalogs relative to the directory that contains them.

Advance the builder plugin to 0.3.6 and the module to 0.3.11.

Claude-Session: https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo
@rldyourmnd
rldyourmnd merged commit 12581cd into main Jul 19, 2026
8 checks passed
@rldyourmnd
rldyourmnd deleted the fix/builder-0.3.11-marketplace-base branch July 19, 2026 07:43
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