@echo off
setlocal
cd /d "%~dp0"
set "PY=C:\Users\13636\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe"

echo Starting Feishu daily report server...
echo Project: %CD%
echo.

if not exist "%PY%" (
  echo Python not found: %PY%
  echo Send Codex a screenshot.
  pause
  exit /b 1
)

"%PY%" -m daily_report.web
echo.
echo Server stopped.
pause
