Skip to content

Commit 7d85812

Browse files
committed
chore: regenerate protocol schema after adding agentId to CronListParams
1 parent d50cfbb commit 7d85812

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

apps/macos/Sources/OpenClawProtocol/GatewayModels.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4172,6 +4172,7 @@ public struct CronListParams: Codable, Sendable {
41724172
public let enabled: AnyCodable?
41734173
public let sortby: AnyCodable?
41744174
public let sortdir: AnyCodable?
4175+
public let agentid: String?
41754176

41764177
public init(
41774178
includedisabled: Bool?,
@@ -4180,7 +4181,8 @@ public struct CronListParams: Codable, Sendable {
41804181
query: String?,
41814182
enabled: AnyCodable?,
41824183
sortby: AnyCodable?,
4183-
sortdir: AnyCodable?)
4184+
sortdir: AnyCodable?,
4185+
agentid: String?)
41844186
{
41854187
self.includedisabled = includedisabled
41864188
self.limit = limit
@@ -4189,6 +4191,7 @@ public struct CronListParams: Codable, Sendable {
41894191
self.enabled = enabled
41904192
self.sortby = sortby
41914193
self.sortdir = sortdir
4194+
self.agentid = agentid
41924195
}
41934196

41944197
private enum CodingKeys: String, CodingKey {
@@ -4199,6 +4202,7 @@ public struct CronListParams: Codable, Sendable {
41994202
case enabled
42004203
case sortby = "sortBy"
42014204
case sortdir = "sortDir"
4205+
case agentid = "agentId"
42024206
}
42034207
}
42044208

apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4172,6 +4172,7 @@ public struct CronListParams: Codable, Sendable {
41724172
public let enabled: AnyCodable?
41734173
public let sortby: AnyCodable?
41744174
public let sortdir: AnyCodable?
4175+
public let agentid: String?
41754176

41764177
public init(
41774178
includedisabled: Bool?,
@@ -4180,7 +4181,8 @@ public struct CronListParams: Codable, Sendable {
41804181
query: String?,
41814182
enabled: AnyCodable?,
41824183
sortby: AnyCodable?,
4183-
sortdir: AnyCodable?)
4184+
sortdir: AnyCodable?,
4185+
agentid: String?)
41844186
{
41854187
self.includedisabled = includedisabled
41864188
self.limit = limit
@@ -4189,6 +4191,7 @@ public struct CronListParams: Codable, Sendable {
41894191
self.enabled = enabled
41904192
self.sortby = sortby
41914193
self.sortdir = sortdir
4194+
self.agentid = agentid
41924195
}
41934196

41944197
private enum CodingKeys: String, CodingKey {
@@ -4199,6 +4202,7 @@ public struct CronListParams: Codable, Sendable {
41994202
case enabled
42004203
case sortby = "sortBy"
42014204
case sortdir = "sortDir"
4205+
case agentid = "agentId"
42024206
}
42034207
}
42044208

0 commit comments

Comments
 (0)