From 55c738ad4bedaa471ef0e253d7823338e05693f0 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 3 May 2026 04:37:08 +0100 Subject: [PATCH] build(protocol): refresh Swift gateway models --- apps/macos/Sources/OpenClawProtocol/GatewayModels.swift | 6 +++++- .../Sources/OpenClawProtocol/GatewayModels.swift | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index 927e34af90c..d889427392e 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -2804,6 +2804,7 @@ public struct ChannelsStatusResult: Codable, Sendable { public let channels: [String: AnyCodable] public let channelaccounts: [String: AnyCodable] public let channeldefaultaccountid: [String: AnyCodable] + public let eventloop: [String: AnyCodable]? public init( ts: Int, @@ -2814,7 +2815,8 @@ public struct ChannelsStatusResult: Codable, Sendable { channelmeta: [[String: AnyCodable]]?, channels: [String: AnyCodable], channelaccounts: [String: AnyCodable], - channeldefaultaccountid: [String: AnyCodable]) + channeldefaultaccountid: [String: AnyCodable], + eventloop: [String: AnyCodable]?) { self.ts = ts self.channelorder = channelorder @@ -2825,6 +2827,7 @@ public struct ChannelsStatusResult: Codable, Sendable { self.channels = channels self.channelaccounts = channelaccounts self.channeldefaultaccountid = channeldefaultaccountid + self.eventloop = eventloop } private enum CodingKeys: String, CodingKey { @@ -2837,6 +2840,7 @@ public struct ChannelsStatusResult: Codable, Sendable { case channels case channelaccounts = "channelAccounts" case channeldefaultaccountid = "channelDefaultAccountId" + case eventloop = "eventLoop" } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index 927e34af90c..d889427392e 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -2804,6 +2804,7 @@ public struct ChannelsStatusResult: Codable, Sendable { public let channels: [String: AnyCodable] public let channelaccounts: [String: AnyCodable] public let channeldefaultaccountid: [String: AnyCodable] + public let eventloop: [String: AnyCodable]? public init( ts: Int, @@ -2814,7 +2815,8 @@ public struct ChannelsStatusResult: Codable, Sendable { channelmeta: [[String: AnyCodable]]?, channels: [String: AnyCodable], channelaccounts: [String: AnyCodable], - channeldefaultaccountid: [String: AnyCodable]) + channeldefaultaccountid: [String: AnyCodable], + eventloop: [String: AnyCodable]?) { self.ts = ts self.channelorder = channelorder @@ -2825,6 +2827,7 @@ public struct ChannelsStatusResult: Codable, Sendable { self.channels = channels self.channelaccounts = channelaccounts self.channeldefaultaccountid = channeldefaultaccountid + self.eventloop = eventloop } private enum CodingKeys: String, CodingKey { @@ -2837,6 +2840,7 @@ public struct ChannelsStatusResult: Codable, Sendable { case channels case channelaccounts = "channelAccounts" case channeldefaultaccountid = "channelDefaultAccountId" + case eventloop = "eventLoop" } }