From 555013a87563aa8a1657151d53aa45592d3fd2f1 Mon Sep 17 00:00:00 2001 From: Antonio Date: Tue, 17 Mar 2026 18:37:33 -0300 Subject: [PATCH] chore: regenerate Swift protocol models for callerSessionKey Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/macos/Sources/OpenClawProtocol/GatewayModels.swift | 7 ++++++- .../Sources/OpenClawProtocol/GatewayModels.swift | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index 0b1d7b13e01..7cf10cf3942 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -10,6 +10,7 @@ public enum ErrorCode: String, Codable, Sendable { case agentTimeout = "AGENT_TIMEOUT" case invalidRequest = "INVALID_REQUEST" case unavailable = "UNAVAILABLE" + case permissionDenied = "PERMISSION_DENIED" } public struct ConnectParams: Codable, Sendable { @@ -2910,6 +2911,7 @@ public struct CronListParams: Codable, Sendable { public let enabled: AnyCodable? public let sortby: AnyCodable? public let sortdir: AnyCodable? + public let callersessionkey: String? public init( includedisabled: Bool?, @@ -2918,7 +2920,8 @@ public struct CronListParams: Codable, Sendable { query: String?, enabled: AnyCodable?, sortby: AnyCodable?, - sortdir: AnyCodable?) + sortdir: AnyCodable?, + callersessionkey: String?) { self.includedisabled = includedisabled self.limit = limit @@ -2927,6 +2930,7 @@ public struct CronListParams: Codable, Sendable { self.enabled = enabled self.sortby = sortby self.sortdir = sortdir + self.callersessionkey = callersessionkey } private enum CodingKeys: String, CodingKey { @@ -2937,6 +2941,7 @@ public struct CronListParams: Codable, Sendable { case enabled case sortby = "sortBy" case sortdir = "sortDir" + case callersessionkey = "callerSessionKey" } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index 0b1d7b13e01..7cf10cf3942 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -10,6 +10,7 @@ public enum ErrorCode: String, Codable, Sendable { case agentTimeout = "AGENT_TIMEOUT" case invalidRequest = "INVALID_REQUEST" case unavailable = "UNAVAILABLE" + case permissionDenied = "PERMISSION_DENIED" } public struct ConnectParams: Codable, Sendable { @@ -2910,6 +2911,7 @@ public struct CronListParams: Codable, Sendable { public let enabled: AnyCodable? public let sortby: AnyCodable? public let sortdir: AnyCodable? + public let callersessionkey: String? public init( includedisabled: Bool?, @@ -2918,7 +2920,8 @@ public struct CronListParams: Codable, Sendable { query: String?, enabled: AnyCodable?, sortby: AnyCodable?, - sortdir: AnyCodable?) + sortdir: AnyCodable?, + callersessionkey: String?) { self.includedisabled = includedisabled self.limit = limit @@ -2927,6 +2930,7 @@ public struct CronListParams: Codable, Sendable { self.enabled = enabled self.sortby = sortby self.sortdir = sortdir + self.callersessionkey = callersessionkey } private enum CodingKeys: String, CodingKey { @@ -2937,6 +2941,7 @@ public struct CronListParams: Codable, Sendable { case enabled case sortby = "sortBy" case sortdir = "sortDir" + case callersessionkey = "callerSessionKey" } }