feat(src): Resolve imports and create sloppy.py entry point
This commit is contained in:
@@ -13,8 +13,10 @@ import asyncio
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Add project root to sys.path
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
# Add project root and src/ to sys.path
|
||||
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
sys.path.insert(0, project_root)
|
||||
sys.path.insert(0, os.path.join(project_root, "src"))
|
||||
|
||||
import mcp_client
|
||||
import shell_runner
|
||||
|
||||
Reference in New Issue
Block a user