UNPKG

framework

Version:

The (AI) Framework: turnkey, zero-config AI orchestration that wraps a coding-agent CLI (Claude Code) as a black box and takes you from an idea to a running app. Vite for AI.

9 lines 541 B
import type { IncomingMessage, ServerResponse } from 'node:http'; /** * Serve `dir`'s static bundle for this request: the requested file when it exists, * otherwise `index.html` (the SPA fallback, so client routes and unknown paths still * boot the app). Path-traversal is guarded — a request that escapes `dir` falls back to * `index.html` rather than reading outside the bundle. */ export declare function serveClientBundle(req: IncomingMessage, res: ServerResponse, dir: string): Promise<void>; //# sourceMappingURL=static.d.ts.map