From 577b0dfe1d71819a37c246d49ecc06c2c39262b9 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 9 Dec 2025 18:46:31 +0000 Subject: [PATCH] mac: show local gateway path when overridden --- apps/macos/Sources/Clawdis/GatewayEnvironment.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/macos/Sources/Clawdis/GatewayEnvironment.swift b/apps/macos/Sources/Clawdis/GatewayEnvironment.swift index f69da7943..326d4110d 100644 --- a/apps/macos/Sources/Clawdis/GatewayEnvironment.swift +++ b/apps/macos/Sources/Clawdis/GatewayEnvironment.swift @@ -110,12 +110,15 @@ enum GatewayEnvironment { let gatewayLabel = gatewayBin != nil ? "global" : "local" let gatewayVersionText = installed?.description ?? "unknown" + let localPathHint = gatewayBin == nil && projectEntrypoint != nil + ? " (local: \(projectEntrypoint))" + : "" return GatewayEnvironmentStatus( kind: .ok, nodeVersion: runtime.version.description, gatewayVersion: gatewayVersionText, requiredGateway: expected?.description, - message: "Node \(runtime.version.description); gateway \(gatewayVersionText) (\(gatewayLabel))") + message: "Node \(runtime.version.description); gateway \(gatewayVersionText) (\(gatewayLabel))\(localPathHint)") } }