"""AstrBot WebUI adapter helpers. The actual AstrBot runtime performs route registration. This adapter keeps the ImageStudio mount contract in one place so the runtime layer can wire it without starting a standalone server. """ from __future__ import annotations from backend.services.web_hosting_service import WebHostingService from backend.route_registry import route_manifest def get_web_mount_manifest() -> dict: manifest = WebHostingService().manifest() manifest["api_routes"] = route_manifest() return manifest