"""Public app metadata (display name + version) for the frontend brand layer.""" from __future__ import annotations from fastapi import APIRouter, Depends from app.config import Settings, get_settings router = APIRouter(tags=["config"]) @router.get("/config") def app_config(settings: Settings = Depends(get_settings)) -> dict[str, str]: # noqa: B008 """Public app metadata for the frontend brand layer (phase 39).""" return {"app_name": settings.app_name, "version": settings.app_version}