You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hooks in hooks.json fail to trigger when bundled within an Agent Plugin #302350
Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): gpt-5-mini
Logs:
Description
Hooks defined in hooks.json work as expected when placed in the project root or configured via chat.hookFilesLocations. However, when the same hook logic is integrated into an Agent Plugin and loaded via chat.pluginLocations, the hooks fail to trigger during the session.
Steps to Reproduce:
Verify standard Hook functionality:
Place hooks.json in .github/hooks/hooks.json or specify the path in chat.hookFilesLocations.
Activity
connor4312 commentedon Mar 23, 2026
Please update your version of VS Code, the issue should be fixed there. Thanks.
gn00678465 commentedon Mar 25, 2026
Ok! I will test it again in 1.112.0.