From 0cb8152ee6fa537169ab92def5da76c96fa26700 Mon Sep 17 00:00:00 2001 From: Dean Rie Date: Thu, 8 Oct 2026 18:25:46 +0300 Subject: [PATCH] fix(ralph-loop): address hook scripts via CURSOR_PLUGIN_ROOT; quote continual-learning hook path --- continual-learning/hooks/hooks.json | 2 +- ralph-loop/hooks/hooks.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 } ]