From 2af497495f102bccbc25958f48e44aaeb14fc425 Mon Sep 17 00:00:00 2001 From: Dave Lauer Date: Tue, 20 Jan 2026 16:14:29 -0500 Subject: [PATCH] chore: regenerate protocol files --- .../ClawdbotProtocol/GatewayModels.swift | 18 ++++++++++- .../ClawdbotProtocol/GatewayModels.swift | 30 ++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift b/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift index 85696eb6a..04c3bab09 100644 --- a/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift +++ b/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift @@ -473,6 +473,7 @@ public struct AgentParams: Codable, Sendable { public let replychannel: String? public let accountid: String? public let replyaccountid: String? + public let threadid: String? public let timeout: Int? public let lane: String? public let extrasystemprompt: String? @@ -494,6 +495,7 @@ public struct AgentParams: Codable, Sendable { replychannel: String?, accountid: String?, replyaccountid: String?, + threadid: String?, timeout: Int?, lane: String?, extrasystemprompt: String?, @@ -514,6 +516,7 @@ public struct AgentParams: Codable, Sendable { self.replychannel = replychannel self.accountid = accountid self.replyaccountid = replyaccountid + self.threadid = threadid self.timeout = timeout self.lane = lane self.extrasystemprompt = extrasystemprompt @@ -535,6 +538,7 @@ public struct AgentParams: Codable, Sendable { case replychannel = "replyChannel" case accountid = "accountId" case replyaccountid = "replyAccountId" + case threadid = "threadId" case timeout case lane case extrasystemprompt = "extraSystemPrompt" @@ -835,35 +839,47 @@ public struct SessionsListParams: Codable, Sendable { public let activeminutes: Int? public let includeglobal: Bool? public let includeunknown: Bool? + public let includederivedtitles: Bool? + public let includelastmessage: Bool? public let label: String? public let spawnedby: String? public let agentid: String? + public let search: String? public init( limit: Int?, activeminutes: Int?, includeglobal: Bool?, includeunknown: Bool?, + includederivedtitles: Bool?, + includelastmessage: Bool?, label: String?, spawnedby: String?, - agentid: String? + agentid: String?, + search: String? ) { self.limit = limit self.activeminutes = activeminutes self.includeglobal = includeglobal self.includeunknown = includeunknown + self.includederivedtitles = includederivedtitles + self.includelastmessage = includelastmessage self.label = label self.spawnedby = spawnedby self.agentid = agentid + self.search = search } private enum CodingKeys: String, CodingKey { case limit case activeminutes = "activeMinutes" case includeglobal = "includeGlobal" case includeunknown = "includeUnknown" + case includederivedtitles = "includeDerivedTitles" + case includelastmessage = "includeLastMessage" case label case spawnedby = "spawnedBy" case agentid = "agentId" + case search } } diff --git a/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift b/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift index dd01ffe70..04c3bab09 100644 --- a/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift +++ b/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift @@ -473,6 +473,7 @@ public struct AgentParams: Codable, Sendable { public let replychannel: String? public let accountid: String? public let replyaccountid: String? + public let threadid: String? public let timeout: Int? public let lane: String? public let extrasystemprompt: String? @@ -494,6 +495,7 @@ public struct AgentParams: Codable, Sendable { replychannel: String?, accountid: String?, replyaccountid: String?, + threadid: String?, timeout: Int?, lane: String?, extrasystemprompt: String?, @@ -514,6 +516,7 @@ public struct AgentParams: Codable, Sendable { self.replychannel = replychannel self.accountid = accountid self.replyaccountid = replyaccountid + self.threadid = threadid self.timeout = timeout self.lane = lane self.extrasystemprompt = extrasystemprompt @@ -535,6 +538,7 @@ public struct AgentParams: Codable, Sendable { case replychannel = "replyChannel" case accountid = "accountId" case replyaccountid = "replyAccountId" + case threadid = "threadId" case timeout case lane case extrasystemprompt = "extraSystemPrompt" @@ -835,35 +839,47 @@ public struct SessionsListParams: Codable, Sendable { public let activeminutes: Int? public let includeglobal: Bool? public let includeunknown: Bool? + public let includederivedtitles: Bool? + public let includelastmessage: Bool? public let label: String? public let spawnedby: String? public let agentid: String? + public let search: String? public init( limit: Int?, activeminutes: Int?, includeglobal: Bool?, includeunknown: Bool?, + includederivedtitles: Bool?, + includelastmessage: Bool?, label: String?, spawnedby: String?, - agentid: String? + agentid: String?, + search: String? ) { self.limit = limit self.activeminutes = activeminutes self.includeglobal = includeglobal self.includeunknown = includeunknown + self.includederivedtitles = includederivedtitles + self.includelastmessage = includelastmessage self.label = label self.spawnedby = spawnedby self.agentid = agentid + self.search = search } private enum CodingKeys: String, CodingKey { case limit case activeminutes = "activeMinutes" case includeglobal = "includeGlobal" case includeunknown = "includeUnknown" + case includederivedtitles = "includeDerivedTitles" + case includelastmessage = "includeLastMessage" case label case spawnedby = "spawnedBy" case agentid = "agentId" + case search } } @@ -1324,6 +1340,9 @@ public struct ChannelsStatusResult: Codable, Sendable { public let ts: Int public let channelorder: [String] public let channellabels: [String: AnyCodable] + public let channeldetaillabels: [String: AnyCodable]? + public let channelsystemimages: [String: AnyCodable]? + public let channelmeta: [[String: AnyCodable]]? public let channels: [String: AnyCodable] public let channelaccounts: [String: AnyCodable] public let channeldefaultaccountid: [String: AnyCodable] @@ -1332,6 +1351,9 @@ public struct ChannelsStatusResult: Codable, Sendable { ts: Int, channelorder: [String], channellabels: [String: AnyCodable], + channeldetaillabels: [String: AnyCodable]?, + channelsystemimages: [String: AnyCodable]?, + channelmeta: [[String: AnyCodable]]?, channels: [String: AnyCodable], channelaccounts: [String: AnyCodable], channeldefaultaccountid: [String: AnyCodable] @@ -1339,6 +1361,9 @@ public struct ChannelsStatusResult: Codable, Sendable { self.ts = ts self.channelorder = channelorder self.channellabels = channellabels + self.channeldetaillabels = channeldetaillabels + self.channelsystemimages = channelsystemimages + self.channelmeta = channelmeta self.channels = channels self.channelaccounts = channelaccounts self.channeldefaultaccountid = channeldefaultaccountid @@ -1347,6 +1372,9 @@ public struct ChannelsStatusResult: Codable, Sendable { case ts case channelorder = "channelOrder" case channellabels = "channelLabels" + case channeldetaillabels = "channelDetailLabels" + case channelsystemimages = "channelSystemImages" + case channelmeta = "channelMeta" case channels case channelaccounts = "channelAccounts" case channeldefaultaccountid = "channelDefaultAccountId"