From: Jérôme Benoit Date: Wed, 1 Apr 2026 00:11:15 +0000 (+0200) Subject: chore: fix formatting whitespace and update MCP SDK version pin comment X-Git-Tag: ocpp-server@v4.2.0~24 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=38dcde7515ca8e136124e06344e808a0a1f61aa9;p=e-mobility-charging-stations-simulator.git chore: fix formatting whitespace and update MCP SDK version pin comment --- diff --git a/src/charging-station/ocpp/2.0/OCPP20Constants.ts b/src/charging-station/ocpp/2.0/OCPP20Constants.ts index e94f61ce..b3219af5 100644 --- a/src/charging-station/ocpp/2.0/OCPP20Constants.ts +++ b/src/charging-station/ocpp/2.0/OCPP20Constants.ts @@ -141,7 +141,6 @@ export class OCPP20Constants extends OCPPConstants { static readonly DEFAULT_CONNECTION_URL = 'ws://localhost' static readonly FIRMWARE_INSTALL_DELAY_MS = 5000 - static readonly FIRMWARE_STATUS_DELAY_MS = 2000 static readonly FIRMWARE_VERIFY_DELAY_MS = 500 /** diff --git a/src/charging-station/ui-server/UIMCPServer.ts b/src/charging-station/ui-server/UIMCPServer.ts index 695bb3c3..a7b384bd 100644 --- a/src/charging-station/ui-server/UIMCPServer.ts +++ b/src/charging-station/ui-server/UIMCPServer.ts @@ -288,7 +288,7 @@ export class UIMCPServer extends AbstractUIServer { if (this.ocppSchemaCache.size === 0) { return } - // Access MCP SDK internal handler map — pinned to @modelcontextprotocol/sdk@~1.27.x + // Access MCP SDK internal handler map — pinned to @modelcontextprotocol/sdk@~1.29.x // The SDK does not provide a public API for wrapping existing handlers. // setRequestHandler() replaces handlers entirely, losing Zod→JSON Schema conversion. const handlers = Reflect.get(mcpServer.server, '_requestHandlers') as