Skip to content

2.1.1

Latest

Choose a tag to compare

@kherembourg kherembourg released this 02 Sep 13:46
0b021a8

Patch release. A marketplace install of the Claude Code plugin reported failed to load since 2.0.0.

Fixed

  • purchasely/.claude-plugin/plugin.json no longer declares "hooks": "./hooks/hooks.json". Claude Code loads hooks/hooks.json by convention, so the manifest entry was a duplicate and the plugin failed to load:

    Status: ✘ failed to load
    Error: Hook load failed: Duplicate hooks file detected: ./hooks/hooks.json
    resolves to already-loaded file .../purchasely/2.0.0/hooks/hooks.json.
    

    The skills, the commands and the agent still loaded; the SessionStart hook did not, so the routing text in hooks/intro.md never reached the session.

    2.0.0-rc.6 removed the same key from the root .claude-plugin/plugin.json, but .claude-plugin/marketplace.json installs "source": "./purchasely", so the nested manifest is the one that reaches the harness and it kept the key through 2.0.0, 2.0.1 and 2.1.0.

Verified with a real install: claude plugin list reports ✔ enabled, and claude plugin details reports Hooks (1) SessionStart.

Full changelog: https://github.com/Purchasely/Purchasely-AI-Plugin/blob/main/CHANGELOG.md