⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
Fix hardcoded path in session-start-hook.ts
Daniel Miessler152d0477368b
diff --git a/PAI_DIRECTORY/hooks/session-start-hook.ts b/PAI_DIRECTORY/hooks/session-start-hook.tsindex 6da946b9..ae431cb5 100755--- a/PAI_DIRECTORY/hooks/session-start-hook.ts+++ b/PAI_DIRECTORY/hooks/session-start-hook.ts@@ -27,7 +27,8 @@ async function sendNotification(title: string, message: string, priority: string}async function testStopHook() {- const stopHookPath = '/Users/daniel/.claude/hooks/stop-hook.ts';+ const paiDir = process.env.PAI_DIR || `${process.env.HOME}/PAI/PAI_DIRECTORY`;+ const stopHookPath = `${paiDir}/hooks/stop-hook.ts`;console.error('\n🔍 Testing stop-hook configuration...');