ahmad@Ahmads-MacBook-Air CraftBot % python3 install.py
============================================================
🚀 CraftBot Installation
============================================================
Mode: Global pip
============================================================
============================================================
📊 Disk Space Check
============================================================
Home directory: /Users/ahmad
Total space: 228.3 GB
Used space: 116.8 GB (51.2%)
Free space: 111.5 GB
============================================================
🔧 Installing core dependencies...
Installing core dependencies [██████████████████████████████] 100%
✓ Core dependencies installed
Installing Playwright Chromium browser...
✓ Playwright Chromium installed
✓ Browser frontend dependencies already installed
============================================================
✅ Installation Complete!
============================================================
🚀 Starting CraftBot Browser Interface...
============================================================
🚀 Launching CraftBot (Browser Interface)...
============================================================
🤖 CraftBot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Mode: Browser
[ 1/8] Starting frontend server... ✓
[ 2/8] Starting agent backend... ✓
Traceback (most recent call last):
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/ahmad/CraftBot/app/main.py", line 62, in <module>
from agent_core import StateRegistry, ConfigRegistry
File "/Users/ahmad/CraftBot/agent_core/__init__.py", line 12, in <module>
from agent_core.core.state import (
File "/Users/ahmad/CraftBot/agent_core/core/__init__.py", line 12, in <module>
from agent_core.core.vlm_interface import VLMInterface
File "/Users/ahmad/CraftBot/agent_core/core/vlm_interface.py", line 14, in <module>
from agent_core.core.impl.vlm import VLMInterface
File "/Users/ahmad/CraftBot/agent_core/core/impl/vlm/__init__.py", line 9, in <module>
from agent_core.core.impl.vlm.interface import VLMInterface
File "/Users/ahmad/CraftBot/agent_core/core/impl/vlm/interface.py", line 24, in <module>
from agent_core.core.impl.llm.cache import get_cache_config, get_cache_metrics
File "/Users/ahmad/CraftBot/agent_core/core/impl/llm/__init__.py", line 12, in <module>
from agent_core.core.impl.llm.interface import LLMInterface
File "/Users/ahmad/CraftBot/agent_core/core/impl/llm/interface.py", line 24, in <module>
from agent_core.decorators import profile, OperationCategory
File "/Users/ahmad/CraftBot/agent_core/decorators/__init__.py", line 4, in <module>
from agent_core.decorators.profiler import (
File "/Users/ahmad/CraftBot/agent_core/decorators/profiler.py", line 191, in <module>
class AgentProfiler:
File "/Users/ahmad/CraftBot/agent_core/decorators/profiler.py", line 224, in AgentProfiler
def __init__(self, log_dir: str | None = None, enabled: bool | None = None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
--- Cleanup Initiated (Exit Status: 1) ---
[*] Skipping Docker cleanup (not started in CLI mode).