Skip to content

fix: remove redundant hooks declaration from plugin manifest#6

Open
tautologicc wants to merge 1 commit intohumanplane:mainfrom
tautologicc:patch-1
Open

fix: remove redundant hooks declaration from plugin manifest#6
tautologicc wants to merge 1 commit intohumanplane:mainfrom
tautologicc:patch-1

Conversation

@tautologicc
Copy link

Hey! I ran into this error when loading the plugin:

Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file...

Turns out Claude Code auto-loads hooks/hooks.json by convention, so declaring it explicitly in plugin.json causes it to load twice.

The fix is just removing the "hooks" line from the plugin manifest. The hooks still work fine after this; they're just picked up automatically now.

Claude Code auto-loads hooks/hooks.json by convention, so declaring it explicitly causes a duplicate file error
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