"""
AutoPOE2 Universal Auto-Hover Item Inspector Launcher
Khởi chạy HUD soi vật phẩm tự động hoàn toàn cho Path of Exile 2 (v0.5.5, 2026).
Hoạt động 100% thụ động (Zero-Ban Risk, không can thiệp RAM hay file game).
"""

import sys
import os

# Đảm bảo UTF-8 cho console Windows
if hasattr(sys.stdout, "reconfigure"):
    sys.stdout.reconfigure(encoding="utf-8", errors="replace")
if hasattr(sys.stderr, "reconfigure"):
    sys.stderr.reconfigure(encoding="utf-8", errors="replace")

# Thêm thư mục gốc dự án vào PYTHONPATH
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from src.assistant_tool.item_tooltip_overlay import run_standalone

if __name__ == "__main__":
    run_standalone()
