From 24f385e61256b24d9c3e3444d2aa0df63f21bfec Mon Sep 17 00:00:00 2001 From: Ed_ Date: Wed, 4 Mar 2026 10:07:41 -0500 Subject: [PATCH] checkpoint(src): Codebase restructuring and import resolution complete --- project_history.toml | 2 +- scripts/claude_tool_bridge.py | 5 ++++- scripts/cli_tool_bridge.py | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/project_history.toml b/project_history.toml index 47b7062..57bc0d9 100644 --- a/project_history.toml +++ b/project_history.toml @@ -8,5 +8,5 @@ active = "main" [discussions.main] git_commit = "" -last_updated = "2026-03-04T09:44:10" +last_updated = "2026-03-04T10:04:31" history = [] diff --git a/scripts/claude_tool_bridge.py b/scripts/claude_tool_bridge.py index ae70b89..05359a8 100644 --- a/scripts/claude_tool_bridge.py +++ b/scripts/claude_tool_bridge.py @@ -3,10 +3,13 @@ import json import logging import os -# Add project root to sys.path so we can import api_hook_client +# Add project root and src/ to sys.path so we can import api_hook_client project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) if project_root not in sys.path: sys.path.append(project_root) +src_path = os.path.join(project_root, "src") +if src_path not in sys.path: + sys.path.append(src_path) try: from api_hook_client import ApiHookClient diff --git a/scripts/cli_tool_bridge.py b/scripts/cli_tool_bridge.py index dff7a1c..606dc5e 100644 --- a/scripts/cli_tool_bridge.py +++ b/scripts/cli_tool_bridge.py @@ -3,11 +3,14 @@ import json import logging import os -# Add project root to sys.path so we can import api_hook_client +# Add project root and src/ to sys.path so we can import api_hook_client # This helps in cases where the script is run from different directories project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) if project_root not in sys.path: sys.path.append(project_root) +src_path = os.path.join(project_root, "src") +if src_path not in sys.path: + sys.path.append(src_path) try: from api_hook_client import ApiHookClient