2026-07-05 09:24:00 +08:00
|
|
|
"""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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_web_mount_manifest() -> dict:
|
|
|
|
|
return WebHostingService().manifest()
|