diff --git a/src/codegen/cli/commands/claude/config/claude_session_active_hook.py b/src/codegen/cli/commands/claude/config/claude_session_active_hook.py index 7aea27662..f48767242 100644 --- a/src/codegen/cli/commands/claude/config/claude_session_active_hook.py +++ b/src/codegen/cli/commands/claude/config/claude_session_active_hook.py @@ -13,7 +13,7 @@ # Add the codegen CLI to the path so we can import from it script_dir = Path(__file__).parent -codegen_cli_dir = script_dir.parent.parent.parent +codegen_cli_dir = script_dir.parent.parent.parent.parent sys.path.insert(0, str(codegen_cli_dir)) try: diff --git a/src/codegen/cli/commands/claude/config/claude_session_hook.py b/src/codegen/cli/commands/claude/config/claude_session_hook.py index c5021de9e..e9a1f138d 100755 --- a/src/codegen/cli/commands/claude/config/claude_session_hook.py +++ b/src/codegen/cli/commands/claude/config/claude_session_hook.py @@ -13,7 +13,7 @@ # Add the codegen CLI to the path so we can import from it script_dir = Path(__file__).parent -codegen_cli_dir = script_dir.parent.parent.parent +codegen_cli_dir = script_dir.parent.parent.parent.parent sys.path.insert(0, str(codegen_cli_dir)) try: diff --git a/src/codegen/cli/commands/claude/config/claude_session_stop_hook.py b/src/codegen/cli/commands/claude/config/claude_session_stop_hook.py index 6e954d55c..48ea07ddf 100644 --- a/src/codegen/cli/commands/claude/config/claude_session_stop_hook.py +++ b/src/codegen/cli/commands/claude/config/claude_session_stop_hook.py @@ -13,7 +13,7 @@ # Add the codegen CLI to the path so we can import from it script_dir = Path(__file__).parent -codegen_cli_dir = script_dir.parent.parent.parent +codegen_cli_dir = script_dir.parent.parent.parent.parent sys.path.insert(0, str(codegen_cli_dir)) try: