From 8a0a1a3e6671094a67a695ae7cff4a71196ec48e Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Fri, 13 Feb 2026 22:18:42 -0500 Subject: [PATCH] chore(protocol): regenerate Swift models for authMode --- 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 241dc58fa03..a134b4fd5b4 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -295,6 +295,7 @@ public struct Snapshot: Codable, Sendable { public let configpath: String? public let statedir: String? public let sessiondefaults: [String: AnyCodable]? + public let authmode: AnyCodable? public init( presence: [PresenceEntry], @@ -303,7 +304,8 @@ public struct Snapshot: Codable, Sendable { uptimems: Int, configpath: String?, statedir: String?, - sessiondefaults: [String: AnyCodable]? + sessiondefaults: [String: AnyCodable]?, + authmode: AnyCodable? ) { self.presence = presence self.health = health @@ -312,6 +314,7 @@ public struct Snapshot: Codable, Sendable { self.configpath = configpath self.statedir = statedir self.sessiondefaults = sessiondefaults + self.authmode = authmode } private enum CodingKeys: String, CodingKey { case presence @@ -321,6 +324,7 @@ public struct Snapshot: Codable, Sendable { case configpath = "configPath" case statedir = "stateDir" case sessiondefaults = "sessionDefaults" + case authmode = "authMode" } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index 241dc58fa03..a134b4fd5b4 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -295,6 +295,7 @@ public struct Snapshot: Codable, Sendable { public let configpath: String? public let statedir: String? public let sessiondefaults: [String: AnyCodable]? + public let authmode: AnyCodable? public init( presence: [PresenceEntry], @@ -303,7 +304,8 @@ public struct Snapshot: Codable, Sendable { uptimems: Int, configpath: String?, statedir: String?, - sessiondefaults: [String: AnyCodable]? + sessiondefaults: [String: AnyCodable]?, + authmode: AnyCodable? ) { self.presence = presence self.health = health @@ -312,6 +314,7 @@ public struct Snapshot: Codable, Sendable { self.configpath = configpath self.statedir = statedir self.sessiondefaults = sessiondefaults + self.authmode = authmode } private enum CodingKeys: String, CodingKey { case presence @@ -321,6 +324,7 @@ public struct Snapshot: Codable, Sendable { case configpath = "configPath" case statedir = "stateDir" case sessiondefaults = "sessionDefaults" + case authmode = "authMode" } }