From de70d82cea6f152c2100e9d73ef1ae616d569134 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 8 Dec 2025 16:50:20 +0100 Subject: [PATCH] fix(mac): surface health errors instead of pending --- apps/macos/Sources/Clawdis/HealthStore.swift | 3 +++ src/cli/program.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/macos/Sources/Clawdis/HealthStore.swift b/apps/macos/Sources/Clawdis/HealthStore.swift index 8dd7db1f1..baa923028 100644 --- a/apps/macos/Sources/Clawdis/HealthStore.swift +++ b/apps/macos/Sources/Clawdis/HealthStore.swift @@ -136,6 +136,9 @@ final class HealthStore: ObservableObject { } var state: HealthState { + if let error = self.lastError, !error.isEmpty { + return .degraded(error) + } guard let snap = self.snapshot else { return .unknown } if !snap.web.linked { return .linkingNeeded } if let connect = snap.web.connect, !connect.ok { diff --git a/src/cli/program.ts b/src/cli/program.ts index e6aa5cad4..31666e062 100644 --- a/src/cli/program.ts +++ b/src/cli/program.ts @@ -38,7 +38,7 @@ export function buildProgram() { program .name("clawdis") - .description("Messaging relay CLI for WhatsApp Web and Telegram Bot API") + .description("") .version(PROGRAM_VERSION); const formatIntroLine = (version: string, rich = true) => {