/** * Serverless entry for the hosted MCP. * * This is the single module that gets pre-bundled (raw esbuild, see * `scripts/bundle-serverless.js`) into one self-contained file at * `dist/serverless/mcp.mjs`. The Netlify Function is a thin wrapper that just * re-exports from that flat bundle. * * Why pre-bundle instead of letting Netlify bundle the function directly: * Netlify's function bundler (zip-it-and-ship-it) follows the eddie-brain * source-module chain and wanders into the workspace's built `.d.ts` / * `*.scss?inline` files (design-tokens, web-components), which it then fails to * parse. Raw esbuild does not do this. Pre-bundling to a flat file removes * every source-module edge, so nothing is left for Netlify's bundler to * traverse — it ships one clean file. * * The web-standard Fetch handler runs stateless (see `http.ts`). */ export default function handler(request: Request): Promise; //# sourceMappingURL=serverless.d.ts.map