From afde0a17b7ba37b5ab76b6931c8bf09d255fed30 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 13 Jan 2026 10:06:07 +0000 Subject: [PATCH] fix: macOS app release 2026.1.12-2 --- appcast.xml | 32 +++++++++---------- .../CanvasA2UIActionMessageHandler.swift | 2 +- .../Clawdbot/GatewayAgentChannel.swift | 28 +++++++--------- .../Sources/Clawdbot/GatewayConnection.swift | 21 ------------ 4 files changed, 29 insertions(+), 54 deletions(-) diff --git a/appcast.xml b/appcast.xml index fe06885ff..9cada6d60 100644 --- a/appcast.xml +++ b/appcast.xml @@ -2,6 +2,22 @@ Clawdbot + + 2026.1.12-2 + Tue, 13 Jan 2026 10:05:25 +0000 + https://raw.githubusercontent.com/clawdbot/clawdbot/main/appcast.xml + 5534 + 2026.1.12-2 + 15.0 + Clawdbot 2026.1.12-2 +

Fixes

+
    +
  • Packaging: include dist/memory/** in the npm tarball (fixes ERR_MODULE_NOT_FOUND for dist/memory/index.js).
  • +
+

View full changelog

+]]>
+ +
2026.1.11-3 Mon, 12 Jan 2026 10:40:23 +0000 @@ -36,21 +52,5 @@ ]]> - - 2026.1.11-1 - Mon, 12 Jan 2026 09:53:46 +0000 - https://raw.githubusercontent.com/clawdbot/clawdbot/main/appcast.xml - 5207 - 2026.1.11-1 - 15.0 - Clawdbot 2026.1.11-1 -

Fixes

-
    -
  • Installer: include patches/ in the npm package so postinstall patching works for npm/bun installs.
  • -
-

View full changelog

-]]>
- -
\ No newline at end of file diff --git a/apps/macos/Sources/Clawdbot/CanvasA2UIActionMessageHandler.swift b/apps/macos/Sources/Clawdbot/CanvasA2UIActionMessageHandler.swift index 6a02cfd8c..eb681e1f2 100644 --- a/apps/macos/Sources/Clawdbot/CanvasA2UIActionMessageHandler.swift +++ b/apps/macos/Sources/Clawdbot/CanvasA2UIActionMessageHandler.swift @@ -86,7 +86,7 @@ final class CanvasA2UIActionMessageHandler: NSObject, WKScriptMessageHandler { thinking: "low", deliver: false, to: nil, - provider: .last, + channel: .last, idempotencyKey: actionId)) await MainActor.run { diff --git a/apps/macos/Sources/Clawdbot/GatewayAgentChannel.swift b/apps/macos/Sources/Clawdbot/GatewayAgentChannel.swift index 69e70b2b6..cab513446 100644 --- a/apps/macos/Sources/Clawdbot/GatewayAgentChannel.swift +++ b/apps/macos/Sources/Clawdbot/GatewayAgentChannel.swift @@ -1,26 +1,22 @@ import Foundation -enum GatewayAgentChannel: String, CaseIterable, Sendable { +enum GatewayAgentChannel: String, Codable, CaseIterable, Sendable { case last - case webchat case whatsapp case telegram + case discord + case slack + case signal + case imessage + case msteams + case webchat init(raw: String?) { - let trimmed = raw? - .trimmingCharacters(in: .whitespacesAndNewlines) - .lowercased() ?? "" - self = GatewayAgentChannel(rawValue: trimmed) ?? .last + let normalized = (raw ?? "").trimmingCharacters(in: .whitespacesAndNewlines).lowercased() + self = GatewayAgentChannel(rawValue: normalized) ?? .last } - func shouldDeliver(_ isLast: Bool) -> Bool { - switch self { - case .webchat: - false - case .last: - isLast - case .whatsapp, .telegram: - true - } - } + var isDeliverable: Bool { self != .webchat } + + func shouldDeliver(_ deliver: Bool) -> Bool { deliver && self.isDeliverable } } diff --git a/apps/macos/Sources/Clawdbot/GatewayConnection.swift b/apps/macos/Sources/Clawdbot/GatewayConnection.swift index 29ee39fed..c73353a63 100644 --- a/apps/macos/Sources/Clawdbot/GatewayConnection.swift +++ b/apps/macos/Sources/Clawdbot/GatewayConnection.swift @@ -5,27 +5,6 @@ import OSLog private let gatewayConnectionLogger = Logger(subsystem: "com.clawdbot", category: "gateway.connection") -enum GatewayAgentChannel: String, Codable, CaseIterable, Sendable { - case last - case whatsapp - case telegram - case discord - case slack - case signal - case imessage - case msteams - case webchat - - init(raw: String?) { - let normalized = (raw ?? "").trimmingCharacters(in: .whitespacesAndNewlines).lowercased() - self = GatewayAgentChannel(rawValue: normalized) ?? .last - } - - var isDeliverable: Bool { self != .webchat } - - func shouldDeliver(_ deliver: Bool) -> Bool { deliver && self.isDeliverable } -} - struct GatewayAgentInvocation: Sendable { var message: String var sessionKey: String = "main"