From 0163f53f5dedbc00744556bed5ef7908dae8c297 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 25 Jan 2026 00:57:42 +0000 Subject: [PATCH] fix: regenerate protocol models --- .../Sources/ClawdbotProtocol/GatewayModels.swift | 14 +++++++++++++- .../Sources/ClawdbotProtocol/GatewayModels.swift | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift b/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift index aef9a5e0e..9d2ca5ed4 100644 --- a/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift +++ b/apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift @@ -1167,17 +1167,29 @@ public struct ConfigApplyParams: Codable, Sendable { public struct ConfigPatchParams: Codable, Sendable { public let raw: String public let basehash: String? + public let sessionkey: String? + public let note: String? + public let restartdelayms: Int? public init( raw: String, - basehash: String? + basehash: String?, + sessionkey: String?, + note: String?, + restartdelayms: Int? ) { self.raw = raw self.basehash = basehash + self.sessionkey = sessionkey + self.note = note + self.restartdelayms = restartdelayms } private enum CodingKeys: String, CodingKey { case raw case basehash = "baseHash" + case sessionkey = "sessionKey" + case note + case restartdelayms = "restartDelayMs" } } diff --git a/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift b/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift index aef9a5e0e..9d2ca5ed4 100644 --- a/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift +++ b/apps/shared/ClawdbotKit/Sources/ClawdbotProtocol/GatewayModels.swift @@ -1167,17 +1167,29 @@ public struct ConfigApplyParams: Codable, Sendable { public struct ConfigPatchParams: Codable, Sendable { public let raw: String public let basehash: String? + public let sessionkey: String? + public let note: String? + public let restartdelayms: Int? public init( raw: String, - basehash: String? + basehash: String?, + sessionkey: String?, + note: String?, + restartdelayms: Int? ) { self.raw = raw self.basehash = basehash + self.sessionkey = sessionkey + self.note = note + self.restartdelayms = restartdelayms } private enum CodingKeys: String, CodingKey { case raw case basehash = "baseHash" + case sessionkey = "sessionKey" + case note + case restartdelayms = "restartDelayMs" } }