diff --git a/apps/macos/Sources/Clawdbot/GatewayLaunchAgentManager.swift b/apps/macos/Sources/Clawdbot/GatewayLaunchAgentManager.swift index c4166c0d9..6f484cc80 100644 --- a/apps/macos/Sources/Clawdbot/GatewayLaunchAgentManager.swift +++ b/apps/macos/Sources/Clawdbot/GatewayLaunchAgentManager.swift @@ -69,7 +69,10 @@ extension GatewayLaunchAgentManager { } private static func readDaemonLoaded() async -> Bool? { - let result = await self.runDaemonCommand(["status", "--json", "--no-probe"], timeout: 15, quiet: true) + let result = await self.runDaemonCommandResult( + ["status", "--json", "--no-probe"], + timeout: 15, + quiet: true) guard result.success, let payload = result.payload else { return nil } guard let json = try? JSONSerialization.jsonObject(with: payload) as? [String: Any], diff --git a/apps/macos/Sources/Clawdbot/NodeMode/MacNodeBridgeSession.swift b/apps/macos/Sources/Clawdbot/NodeMode/MacNodeBridgeSession.swift index f0aad68fa..c739cd389 100644 --- a/apps/macos/Sources/Clawdbot/NodeMode/MacNodeBridgeSession.swift +++ b/apps/macos/Sources/Clawdbot/NodeMode/MacNodeBridgeSession.swift @@ -460,7 +460,7 @@ actor MacNodeBridgeSession { do { try await self.send(response) } catch { - await self.logInvokeSendFailure(error) + self.logInvokeSendFailure(error) } }