diff --git a/continual-learning/hooks/hooks.json b/continual-learning/hooks/hooks.json index 11a0f739f..d8856f5dc 100644 --- a/continual-learning/hooks/hooks.json +++ b/continual-learning/hooks/hooks.json @@ -3,7 +3,7 @@ "hooks": { "stop": [ { - "command": "bun run ${CURSOR_PLUGIN_ROOT}/hooks/continual-learning-stop.ts" + "command": "bun run \"${CURSOR_PLUGIN_ROOT}/hooks/continual-learning-stop.ts\"" } ] } diff --git a/ralph-loop/hooks/hooks.json b/ralph-loop/hooks/hooks.json index 04a996689..c007279f0 100644 --- a/ralph-loop/hooks/hooks.json +++ b/ralph-loop/hooks/hooks.json @@ -3,12 +3,12 @@ "hooks": { "afterAgentResponse": [ { - "command": "./hooks/capture-response.sh" + "command": "bash \"${CURSOR_PLUGIN_ROOT}/hooks/capture-response.sh\"" } ], "stop": [ { - "command": "./hooks/stop-hook.sh", + "command": "bash \"${CURSOR_PLUGIN_ROOT}/hooks/stop-hook.sh\"", "loop_limit": null } ]