Bug Report
Description: The htmlgraph plugin gets registered under two marketplace keys (htmlgraph@local-marketplace and htmlgraph@htmlgraph), causing stop hooks to fail with "Plugin directory does not exist" when the stale htmlgraph@htmlgraph entry resolves to a cache path that doesn't exist.
Environment
- HtmlGraph version: 0.34.21 (project) / 0.34.23 (installed)
- Python version: 3.10.7
- OS: Darwin 25.3.0
Error Message
Stop hook error: Failed to run: Plugin directory does not exist:
/Users/shakes/.claude/plugins/cache/htmlgraph/htmlgraph/0.34.22 (htmlgraph@htmlgraph — run /plugin to reinstall)
Root Cause
installed_plugins.json contains two entries for the same plugin:
htmlgraph@local-marketplace → cache/local-marketplace/htmlgraph/0.34.23 (correct)
htmlgraph@htmlgraph → cache/htmlgraph/htmlgraph/0.34.23 (stale duplicate)
Both are enabled in settings.json → enabledPlugins. The htmlgraph@htmlgraph entry was created when the GitHub repo was added as a separate marketplace. Version 0.34.22 was never cached under that path, so sessions that reference it fail.
Fix (Manual Workaround)
- In
~/.claude/settings.json: set "htmlgraph@htmlgraph": false or remove from enabledPlugins
- In
~/.claude/plugins/installed_plugins.json: remove the "htmlgraph@htmlgraph" entry
Suggested Prevention
- Plugin installation should detect when the same plugin name is already registered under a different marketplace and warn/deduplicate
- Or: marketplace registration should prevent adding a repo that resolves to the same plugin name as an existing installation
Reported via HtmlGraph issue reporter
Bug Report
Description: The htmlgraph plugin gets registered under two marketplace keys (
htmlgraph@local-marketplaceandhtmlgraph@htmlgraph), causing stop hooks to fail with "Plugin directory does not exist" when the stalehtmlgraph@htmlgraphentry resolves to a cache path that doesn't exist.Environment
Error Message
Root Cause
installed_plugins.jsoncontains two entries for the same plugin:htmlgraph@local-marketplace→cache/local-marketplace/htmlgraph/0.34.23(correct)htmlgraph@htmlgraph→cache/htmlgraph/htmlgraph/0.34.23(stale duplicate)Both are enabled in
settings.json→enabledPlugins. Thehtmlgraph@htmlgraphentry was created when the GitHub repo was added as a separate marketplace. Version0.34.22was never cached under that path, so sessions that reference it fail.Fix (Manual Workaround)
~/.claude/settings.json: set"htmlgraph@htmlgraph": falseor remove fromenabledPlugins~/.claude/plugins/installed_plugins.json: remove the"htmlgraph@htmlgraph"entrySuggested Prevention
Reported via HtmlGraph issue reporter