()
| 21 | import { McpSessionDOSqlite } from "./session-durable-object"; |
| 22 | |
| 23 | const corsPreflightResponse = (): Response => |
| 24 | new Response(null, { |
| 25 | status: 204, |
| 26 | headers: { |
| 27 | "access-control-allow-origin": "*", |
| 28 | "access-control-allow-methods": "GET, POST, DELETE, OPTIONS", |
| 29 | "access-control-allow-headers": |
| 30 | "content-type, authorization, mcp-session-id, accept, mcp-protocol-version", |
| 31 | "access-control-expose-headers": "mcp-session-id, WWW-Authenticate", |
| 32 | }, |
| 33 | }); |
| 34 | |
| 35 | const jsonRpcResponse = ( |
| 36 | status: number, |
no outgoing calls
no test coverage detected