Skip to content

fix: populate marketplaces/ dir and pin production branch (v2.0.1)#23

Merged
ppgranger merged 1 commit intomainfrom
fix/marketplace-dir-and-production-branch
Mar 9, 2026
Merged

fix: populate marketplaces/ dir and pin production branch (v2.0.1)#23
ppgranger merged 1 commit intomainfrom
fix/marketplace-dir-and-production-branch

Conversation

@ppgranger
Copy link
Copy Markdown
Owner

@ppgranger ppgranger commented Mar 9, 2026

The manual installer now mirrors Claude Code's native layout:

  • marketplace files go to ~/.claude/plugins/marketplaces// so Claude Code can discover .claude-plugin/marketplace.json
  • plugin runtime files remain in ~/.claude/plugins/cache////
  • known_marketplaces.json installLocation points to the marketplace dir
  • installed_plugins.json installPath points to the cache dir
  • marketplace source pinned to the "production" branch via ref field
  • uninstall cleans up both directories

Fixes "Plugin not found in marketplace" on fresh manual installs.

What

Why

How

Checklist

  • ruff check . passes
  • ruff format --check . passes
  • python3 -m pytest tests/ -v passes (all 207+ tests)
  • New code has tests (if applicable)
  • No secrets or credentials in the diff

The manual installer now mirrors Claude Code's native layout:
- marketplace files go to ~/.claude/plugins/marketplaces/<name>/
  so Claude Code can discover .claude-plugin/marketplace.json
- plugin runtime files remain in ~/.claude/plugins/cache/<name>/<plugin>/<version>/
- known_marketplaces.json installLocation points to the marketplace dir
- installed_plugins.json installPath points to the cache dir
- marketplace source pinned to the "production" branch via ref field
- uninstall cleans up both directories

Fixes "Plugin not found in marketplace" on fresh manual installs.
@ppgranger ppgranger merged commit 2951c09 into main Mar 9, 2026
4 checks passed
@ppgranger ppgranger deleted the fix/marketplace-dir-and-production-branch branch March 9, 2026 09:36
ppgranger added a commit that referenced this pull request Mar 10, 2026
…ion-branch

fix: populate marketplaces/ dir and pin production branch (v2.0.1)
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