File size: 729 Bytes
05faf4e
 
 
 
 
 
e74ef2e
e56588b
e74ef2e
 
 
 
f7ea576
e74ef2e
 
 
05faf4e
3653fbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# OpenClaw package initialization
# Exposes the internal .openclaw package as the top-level openclaw package
import sys
from pathlib import Path

# Get the openclaw package directory
_package_dir = Path(__file__).parent  # /app/openclaw (Docker) or workspace/openclaw (local)

# The .openclaw directory is always inside the openclaw package directory
# Docker: /app/openclaw/.openclaw
# Local: workspace/openclaw/.openclaw
_openclaw_internal = _package_dir / ".openclaw"

# Add to sys.path for "from agents import brain_minimal" to work
if str(_openclaw_internal) not in sys.path:
    sys.path.insert(0, str(_openclaw_internal))

__version__ = "0.1.2"  # Fix brain_minimal get_info error field + format_status parameter mismatch