From b02ff4c0a55885ed68ff9d72c13bc6da84e4b136 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Fri, 26 Dec 2025 19:01:09 -0500 Subject: [PATCH] refactor: update hooks.json to use worker-service.cjs CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update all hook commands to use the new self-spawn CLI in worker-service.cjs instead of the deleted worker-cli.js: - SessionStart restart command - UserPromptSubmit start command - PostToolUse start command - Stop start command 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- plugin/hooks/hooks.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index b08dc470..f9e02ed8 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -7,7 +7,7 @@ "hooks": [ { "type": "command", - "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-cli.js\" restart", + "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-service.cjs\" restart", "timeout": 180 }, { @@ -28,7 +28,7 @@ "hooks": [ { "type": "command", - "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-cli.js\" start", + "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-service.cjs\" start", "timeout": 180 }, { @@ -45,7 +45,7 @@ "hooks": [ { "type": "command", - "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-cli.js\" start", + "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-service.cjs\" start", "timeout": 180 }, { @@ -61,7 +61,7 @@ "hooks": [ { "type": "command", - "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-cli.js\" start", + "command": "bun \"${CLAUDE_PLUGIN_ROOT}/scripts/worker-service.cjs\" start", "timeout": 180 }, {