Repository navigation
fix(plugins): install marketplace plugins under ~/.pizzapi, not ~/.claude - #1017
Merged
Merged
Conversation
…aude /plugin and pizza plugins wrote marketplaces, plugin cache, installed_plugins.json and enabledPlugins into Claude Code's ~/.claude. Move all writes to ~/.pizzapi/marketplace/ (same file formats). Discovery reads both PizzaPi's and Claude Code's manifests; PizzaPi settings count as user-level enable state.
Pizzaface
marked this pull request as draft
October 28, 2026 17:56
Pizzaface
marked this pull request as ready for review
October 28, 2026 17:57
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.
Problem
/pluginandpizza plugins(marketplace add, install, uninstall, enable/disable) wrote into Claude Code's~/.claude/(plugins/known_marketplaces.json,plugins/marketplaces/,plugins/cache/,plugins/installed_plugins.json,settings.jsonenabledPlugins).Fix
marketplace.ts: all state now lives under~/.pizzapi/marketplace/, using the same file formats.discover.ts: reads PizzaPi'sinstalled_plugins.jsonfirst, then Claude Code's (read-only).~/.pizzapi/marketplace/settings.jsoncounts as user-level enable state, so project files still can't re-enable a plugin you disabled there.claude-plugins.mdx,architecture.mdx) updated.Notes
~/.claude/pluginsand are still discovered.pizza plugins installed/uninstallnow cover only PizzaPi-managed installs.Tests
marketplace.test.tsasserts install paths under~/.pizzapi/marketplaceand that~/.claudeis never created. A new test checks that an installed plugin is discovered, then hidden once disabled.bun test src/plugins src/plugins.test.ts src/extensions/plugin-command.test.ts src/extensions/mcp-overlay.test.ts: all tests pass.tsc --noEmit: clean.