{"version":"1.0.41","anchor":"enhanced-hook-system-with-per-command-timeouts","canonical_anchor":"enhanced-hook-system-with-per-command-timeouts","heading":"Enhanced Hook System with Per-Command Timeouts","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.41\/e\/enhanced-hook-system-with-per-command-timeouts","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.41","markdown":"### Enhanced Hook System with Per-Command Timeouts\n\nThe hook execution system now supports individual timeout configurations for each command within a hook. Previously, all commands shared a single global timeout, but now each command can specify its own timeout value.\n\n**Usage Example:** When configuring hooks, you can now specify a timeout for individual commands:\n\n`{\n  \"hook_event_name\": \"pre-commit\",\n  \"commands\": [\n    {\n      \"command\": \"npm test\",\n      \"timeout\": 30  \/\/ 30 seconds timeout\n    },\n    {\n      \"command\": \"npm run lint\",\n      \"timeout\": 10  \/\/ 10 seconds timeout\n    }\n  ]\n}`"}