1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Admin-only routes mounted under the gateway's authenticated admin scope. //! //! Composes the CLI gateway (`cli`) and API-key management (`keys`) //! sub-routers. mod cli; mod keys; use axum::Router; use systemprompt_runtime::AppContext; pub fn router() -> Router<AppContext> { Router::new() .nest("/cli", cli::router()) .nest("/api-keys", keys::router()) }