From 0f53a3b9f30b84dfa6356b1da7ea72c6ef1763c2 Mon Sep 17 00:00:00 2001 From: Vignesh Natarajan Date: Sat, 14 Feb 2026 17:26:53 -0800 Subject: [PATCH] Protocol: regenerate 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 0cf9d0c47..80293f0d1 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -1099,14 +1099,18 @@ public struct SessionsPatchParams: Codable, Sendable { public struct SessionsResetParams: Codable, Sendable { public let key: String + public let reason: AnyCodable? public init( - key: String + key: String, + reason: AnyCodable? ) { self.key = key + self.reason = reason } private enum CodingKeys: String, CodingKey { case key + case reason } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index 0cf9d0c47..80293f0d1 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -1099,14 +1099,18 @@ public struct SessionsPatchParams: Codable, Sendable { public struct SessionsResetParams: Codable, Sendable { public let key: String + public let reason: AnyCodable? public init( - key: String + key: String, + reason: AnyCodable? ) { self.key = key + self.reason = reason } private enum CodingKeys: String, CodingKey { case key + case reason } }