//! Cortiq Server — OpenAI-compatible API + web management dashboard.
use Router;
use ;
use Arc;
use Mutex;
use CorsLayer;
/// Shared application state: runtime (masks, metrics) + the inference
/// pipeline behind a Mutex (single-sequence decode; requests queue).
/// Build the full router with all endpoints.