mlx-bun library API
    Preparing search index...
    interface RouteSpec {
        id: string;
        method: HttpMethod;
        mount?: "module" | "root";
        path: string;
        response: "json" | "sse" | "binary";
        summary: string;
    }
    Index
    id: string

    Unique within the module; keys ModuleRuntime.routes.

    method: HttpMethod
    mount?: "module" | "root"

    root is for wire-compatible or previously shipped paths (/v1/audio/transcriptions); the host rejects collisions.

    path: string

    Starts with /; mounted under /api/<module id>, or at the root for mount: "root".

    response: "json" | "sse" | "binary"
    summary: string