diff --git a/hooks/hooks-cursor.json b/hooks/hooks-cursor.json index 84e6d33874..82e2685fb9 100644 --- a/hooks/hooks-cursor.json +++ b/hooks/hooks-cursor.json @@ -3,8 +3,10 @@ "hooks": { "sessionStart": [ { - "command": "./hooks/run-hook.cmd session-start" + "command": "./hooks/run-hook.cmd session-start", + "timeout": 10 } ] } } + diff --git a/hooks/hooks.json b/hooks/hooks.json index 67975137aa..ba6823edc9 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -8,10 +8,12 @@ "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start", "shell": "bash", - "async": false + "async": false, + "timeout": 10 } ] } ] } } +