warmplane 0.18.0

Local control plane that keeps MCP sessions warm with compact capability/resource/prompt facades.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Rust guideline compliant 2026-08-15

//! Web dashboard user interface static asset delivery handlers.

use axum::{
    http::header,
    response::{IntoResponse, Response},
};

/// Serves the Warmplane Control Deck single-page web UI dashboard.
pub async fn handle_ui_dashboard() -> Response {
    let html = include_str!("../../ui/dist/index.html");
    ([(header::CONTENT_TYPE, "text/html; charset=utf-8")], html).into_response()
}