From 26090a9fabeb70d9c5843d0bdfefb7438915dbf2 Mon Sep 17 00:00:00 2001 From: zhanggttry Date: Mon, 4 May 2026 16:17:21 +0800 Subject: [PATCH] chore: regenerate protocol schema after adding agentId to CronListParams --- 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 af9e7887816..4dd8e28bc5f 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -4172,6 +4172,7 @@ public struct CronListParams: Codable, Sendable { public let enabled: AnyCodable? public let sortby: AnyCodable? public let sortdir: AnyCodable? + public let agentid: String? public init( includedisabled: Bool?, @@ -4180,7 +4181,8 @@ public struct CronListParams: Codable, Sendable { query: String?, enabled: AnyCodable?, sortby: AnyCodable?, - sortdir: AnyCodable?) + sortdir: AnyCodable?, + agentid: String?) { self.includedisabled = includedisabled self.limit = limit @@ -4189,6 +4191,7 @@ public struct CronListParams: Codable, Sendable { self.enabled = enabled self.sortby = sortby self.sortdir = sortdir + self.agentid = agentid } private enum CodingKeys: String, CodingKey { @@ -4199,6 +4202,7 @@ public struct CronListParams: Codable, Sendable { case enabled case sortby = "sortBy" case sortdir = "sortDir" + case agentid = "agentId" } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index af9e7887816..4dd8e28bc5f 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -4172,6 +4172,7 @@ public struct CronListParams: Codable, Sendable { public let enabled: AnyCodable? public let sortby: AnyCodable? public let sortdir: AnyCodable? + public let agentid: String? public init( includedisabled: Bool?, @@ -4180,7 +4181,8 @@ public struct CronListParams: Codable, Sendable { query: String?, enabled: AnyCodable?, sortby: AnyCodable?, - sortdir: AnyCodable?) + sortdir: AnyCodable?, + agentid: String?) { self.includedisabled = includedisabled self.limit = limit @@ -4189,6 +4191,7 @@ public struct CronListParams: Codable, Sendable { self.enabled = enabled self.sortby = sortby self.sortdir = sortdir + self.agentid = agentid } private enum CodingKeys: String, CodingKey { @@ -4199,6 +4202,7 @@ public struct CronListParams: Codable, Sendable { case enabled case sortby = "sortBy" case sortdir = "sortDir" + case agentid = "agentId" } }