From eec05bd6abe4229823099de85055420f3a09c6a6 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 18 Nov 2025 22:20:20 +0000 Subject: [PATCH] Update frontend/local-client-cli/src/healthcheck.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- frontend/local-client-cli/src/healthcheck.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/local-client-cli/src/healthcheck.ts b/frontend/local-client-cli/src/healthcheck.ts index a16292d1..75c1906f 100644 --- a/frontend/local-client-cli/src/healthcheck.ts +++ b/frontend/local-client-cli/src/healthcheck.ts @@ -13,7 +13,12 @@ function isHealthStatus(value: unknown): value is NetworkConnectionStatus { return false; } - return true; + const obj = value as Record; + return ( + typeof obj.isSuccessful === "boolean" && + typeof obj.isWebSocketConnected === "boolean" && + typeof obj.serverMessage === "string" + ); } function main(): void {