mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
2a2774a6d0
* chore: Update modelcontextprotocol * fix: Restore native Web API classes after jest-fetch-mock setup jest-fetch-mock replaces globalThis.Response with a cross-fetch polyfill that doesn't support Web Streams (ReadableStream bodies become Buffers). The MCP SDK's @hono/node-server adapter calls response.body.getReader() which fails with the polyfilled Response. Since dontMock() is already called, preserving the native classes is the correct behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>