@echo off
title VINC MCP Agent - AutoCAD 2D Automation
echo ========================================================
echo        VINC MCP Multi-Device Agent for AutoCAD
echo ========================================================
echo Checking Node.js environment...
node -v >nul 2>&1
if %errorlevel% neq 0 (
    echo [ERROR] Node.js is not installed or not in PATH!
    echo Please install Node.js (v20+) from https://nodejs.org
    pause
    exit /b 1
)

echo Checking Python environment for AutoCAD Automation...
python --version >nul 2>&1
if %errorlevel% neq 0 (
    echo [WARN] Python is not found. Live AutoCAD COM will be limited.
    echo Recommendation: Install Python 3.10+ and run: pip install pywin32 ezdxf
)

echo Starting VINC MCP Agent...
node agent.js %*
pause
