From 38dcde7515ca8e136124e06344e808a0a1f61aa9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 1 Apr 2026 02:11:15 +0200 Subject: [PATCH] chore: fix formatting whitespace and update MCP SDK version pin comment --- src/charging-station/ocpp/2.0/OCPP20Constants.ts | 1 - src/charging-station/ui-server/UIMCPServer.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.53.0