From c4798a340542901fe72ec80c445c2b700fd40784 Mon Sep 17 00:00:00 2001 From: PathGao <42336971+PathGao@users.noreply.github.com> Date: Fri, 6 Nov 2026 16:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=8E=89=20MCP=20=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=87=8C=E8=BF=87=E6=97=B6=E7=9A=84=E7=AD=89=E5=BE=85=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcp/server.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/mcp/server.js b/mcp/server.js index 57877303..8fc44df3 100755 --- a/mcp/server.js +++ b/mcp/server.js @@ -10,8 +10,6 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprot const CALL_TIMEOUT_MS = 60_000; const PING_MS = 20_000; -// The extension reconnects within 60 s at most, so right after this server starts -// listening a call waits this long for it before reporting NOT_CONNECTED. class CodedError extends Error { constructor(code, message) { super(message); this.code = code; }