From 64ff1f0d1c4ed99035466a8de6f56b716895eda6 Mon Sep 17 00:00:00 2001 From: Kyotani-Hub Date: Sat, 25 Apr 2026 14:53:41 +0900 Subject: [PATCH] fix(stt): add missing `|| true` to SessionStart hook The TTS plugin's SessionStart hook ends with `2>/dev/null || true` to ensure exit code 0 when the daemon isn't set up. The STT hook was missing this, causing Claude Code to display a startup hook error. Fixes #2 --- stt/hooks/hooks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stt/hooks/hooks.json b/stt/hooks/hooks.json index 3721696..ae94e78 100644 --- a/stt/hooks/hooks.json +++ b/stt/hooks/hooks.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/exec.py -m elevenlabs_stt.daemon start --background 2>/dev/null || python ${CLAUDE_PLUGIN_ROOT}/scripts/exec.py -m elevenlabs_stt.daemon start --background", + "command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/exec.py -m elevenlabs_stt.daemon start --background 2>/dev/null || python ${CLAUDE_PLUGIN_ROOT}/scripts/exec.py -m elevenlabs_stt.daemon start --background 2>/dev/null || true", "timeout": 5000 } ]