# sites/ai_mouse/main.py
"""ai-mouse web UI entry point.

Usage:
    uv run python sites/ai_mouse/main.py
"""
from __future__ import annotations

import webbrowser

import uvicorn

from tools.server import create_app

app = create_app()

if __name__ == "__main__":
    webbrowser.open("http://127.0.0.1:8765")
    uvicorn.run(app, host="127.0.0.1", port=8765)
