Fixes
- Fixed SessionStart hook context injection by silencing npm install output (
plugin/hooks/hooks.json:25) - Changed npm loglevel from
--loglevel=errorto--loglevel=silentto ensure clean JSON output - Consolidated hooks architecture by removing bin/hooks wrapper layer (
src/hooks/*-hook.ts) - Fixed double shebang issues in hook executables (esbuild now adds shebang during build)
Technical Details
- Modified:
plugin/hooks/hooks.json(npm install verbosity) - Removed:
src/bin/hooks/*(wrapper layer no longer needed) - Consolidated: Hook logic moved directly into
src/hooks/*-hook.tsfiles - Root cause: npm install stderr/stdout was polluting hook JSON output, preventing context injection
Breaking Changes
None (patch version)
Full Changelog: v4.3.0...v4.3.1