style(swift): run swiftformat + swiftlint autocorrect

This commit is contained in:
Peter Steinberger
2026-02-15 05:38:07 +01:00
parent 511ba938fb
commit 8725c2b19f
101 changed files with 771 additions and 482 deletions
@@ -1,7 +1,7 @@
import Foundation
import OpenClawChatUI
import OpenClawKit
import OpenClawProtocol
import Foundation
import OSLog
private let gatewayConnectionLogger = Logger(subsystem: "ai.openclaw", category: "gateway.connection")
@@ -24,9 +24,13 @@ enum GatewayAgentChannel: String, Codable, CaseIterable, Sendable {
self = GatewayAgentChannel(rawValue: normalized) ?? .last
}
var isDeliverable: Bool { self != .webchat }
var isDeliverable: Bool {
self != .webchat
}
func shouldDeliver(_ deliver: Bool) -> Bool { deliver && self.isDeliverable }
func shouldDeliver(_ deliver: Bool) -> Bool {
deliver && self.isDeliverable
}
}
struct GatewayAgentInvocation: Sendable {