""" Message Router — FastAPI application. The router is an internal service. In the current architecture (Phase 1), routing logic is embedded directly in the channel gateway handlers rather than as a separate HTTP call. This FastAPI app provides a health endpoint and is a placeholder for future standalone router deployments. """ from __future__ import annotations from fastapi import FastAPI app = FastAPI( title="Konstruct Message Router", description="Tenant resolution, rate limiting, context loading", version="0.1.0", ) @app.get("/health") async def health() -> dict[str, str]: """Health check endpoint.""" return {"status": "ok", "service": "router"}