Skip to content

fix: correct dev install/uninstall scripts for plugin marketplace#3

Open
riicodespretty wants to merge 1 commit into
mainfrom
riicodespretty/update-dev-scripts
Open

fix: correct dev install/uninstall scripts for plugin marketplace#3
riicodespretty wants to merge 1 commit into
mainfrom
riicodespretty/update-dev-scripts

Conversation

@riicodespretty

Copy link
Copy Markdown
Owner

Fix dev-install.sh and dev-uninstall.sh to correctly register the headroom plugin with Claude Code's plugin system.

The scripts previously used an invented local marketplace name and only wrote to enabledPlugins, causing "Plugin headroom not found in marketplace local" on startup. They now use riicodespretty (the name from marketplace.json), register in known_marketplaces.json with a directory source, and symlink both the cache and marketplace directories. Uninstall also reverts the mcpServers.headroom patch in ~/.claude.json written by _patch_claude_json_headroom_command. Minor fixes included: Stop hook replaced by SessionEnd (already present), health-check timeout raised from 2s to 10s in manager.py.

Use riicodespretty (from marketplace.json name field) instead of invented
'local' as marketplace name. Register in known_marketplaces.json with
directory source so Claude Code can resolve headroom@riicodespretty.
Also revert mcpServers.headroom from ~/.claude.json on uninstall.
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