mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-22 06:20:10 +00:00
fix: remove duplicate hooks field from plugin.json
Claude Code automatically loads hooks/hooks.json from the plugin directory. Explicitly specifying it in plugin.json causes a duplicate hooks error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file .../hooks/hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files. Fixes #29
This commit is contained in:
@@ -24,6 +24,5 @@
|
|||||||
"best-practices"
|
"best-practices"
|
||||||
],
|
],
|
||||||
"commands": "./commands",
|
"commands": "./commands",
|
||||||
"skills": "./skills",
|
"skills": "./skills"
|
||||||
"hooks": "./hooks/hooks.json"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user