/** * `/api/dashboard/logs` — read-only log view tuned for the Dashboard * Logs page. Wraps the same ring-buffer + on-disk source the MCP * `recent_logs` tool reads, but with the surface a browser polls every * few seconds: * * - Server-side `since` filter so the client only ships the new tail * between polls (no client-side dedupe needed). * - Server-side `level` + `adapter` filters so the wire payload * stays small even when the runtime log is noisy. * - Default limit 200, hard cap 2000. * * Auth: scoped to `read`. Bearer or `cortex_dash_sid` cookie both work * via the standard `requireDashboardAuth` gate. */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=dashboard-logs.d.ts.map