diff --git a/extensions/mcp-loader.ts b/extensions/mcp-loader.ts index 0475208..6df6ab8 100644 --- a/extensions/mcp-loader.ts +++ b/extensions/mcp-loader.ts @@ -306,6 +306,13 @@ class StdioMcpClient implements IMcpClient { // ── Streamable-HTTP MCP client (remote) ────────────────────────────────────── // +// MCP-STREAMABLE-HTTP-CLIENT-SYNC: v1 +// Canonical copy. This class is VENDORED into +// mempalace-toolkit/extensions/pi/mempalace.ts (adapted: pinned protocolVersion, +// AbortController timeouts, alive/ensureAlive). When you change the +// streamable-HTTP protocol handling here, bump the SYNC token in BOTH files. +// mempalace-toolkit/scripts/check-mcp-client-sync.sh enforces the match. +// // Per MCP spec 2025-03-26: a single endpoint URL accepts POST with a // JSON-RPC body. The server responds either with application/json (a // single response) or text/event-stream (an SSE stream containing the