From 57c1c7d886248fd0155f20d161f90c6912e7456a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 26 Apr 2026 07:07:27 +0100 Subject: [PATCH] fix(protocol): refresh generated swift models --- apps/macos/Sources/OpenClawProtocol/GatewayModels.swift | 8 ++++++++ .../Sources/OpenClawProtocol/GatewayModels.swift | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index 9bcc9ae6ea3..cf770029afb 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -595,6 +595,8 @@ public struct AgentParams: Codable, Sendable { public let besteffortdeliver: Bool? public let lane: String? public let cleanupbundlemcponrunend: Bool? + public let modelrun: Bool? + public let promptmode: AnyCodable? public let extrasystemprompt: String? public let bootstrapcontextmode: AnyCodable? public let bootstrapcontextrunkind: AnyCodable? @@ -628,6 +630,8 @@ public struct AgentParams: Codable, Sendable { besteffortdeliver: Bool?, lane: String?, cleanupbundlemcponrunend: Bool?, + modelrun: Bool?, + promptmode: AnyCodable?, extrasystemprompt: String?, bootstrapcontextmode: AnyCodable?, bootstrapcontextrunkind: AnyCodable?, @@ -660,6 +664,8 @@ public struct AgentParams: Codable, Sendable { self.besteffortdeliver = besteffortdeliver self.lane = lane self.cleanupbundlemcponrunend = cleanupbundlemcponrunend + self.modelrun = modelrun + self.promptmode = promptmode self.extrasystemprompt = extrasystemprompt self.bootstrapcontextmode = bootstrapcontextmode self.bootstrapcontextrunkind = bootstrapcontextrunkind @@ -694,6 +700,8 @@ public struct AgentParams: Codable, Sendable { case besteffortdeliver = "bestEffortDeliver" case lane case cleanupbundlemcponrunend = "cleanupBundleMcpOnRunEnd" + case modelrun = "modelRun" + case promptmode = "promptMode" case extrasystemprompt = "extraSystemPrompt" case bootstrapcontextmode = "bootstrapContextMode" case bootstrapcontextrunkind = "bootstrapContextRunKind" diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index 9bcc9ae6ea3..cf770029afb 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -595,6 +595,8 @@ public struct AgentParams: Codable, Sendable { public let besteffortdeliver: Bool? public let lane: String? public let cleanupbundlemcponrunend: Bool? + public let modelrun: Bool? + public let promptmode: AnyCodable? public let extrasystemprompt: String? public let bootstrapcontextmode: AnyCodable? public let bootstrapcontextrunkind: AnyCodable? @@ -628,6 +630,8 @@ public struct AgentParams: Codable, Sendable { besteffortdeliver: Bool?, lane: String?, cleanupbundlemcponrunend: Bool?, + modelrun: Bool?, + promptmode: AnyCodable?, extrasystemprompt: String?, bootstrapcontextmode: AnyCodable?, bootstrapcontextrunkind: AnyCodable?, @@ -660,6 +664,8 @@ public struct AgentParams: Codable, Sendable { self.besteffortdeliver = besteffortdeliver self.lane = lane self.cleanupbundlemcponrunend = cleanupbundlemcponrunend + self.modelrun = modelrun + self.promptmode = promptmode self.extrasystemprompt = extrasystemprompt self.bootstrapcontextmode = bootstrapcontextmode self.bootstrapcontextrunkind = bootstrapcontextrunkind @@ -694,6 +700,8 @@ public struct AgentParams: Codable, Sendable { case besteffortdeliver = "bestEffortDeliver" case lane case cleanupbundlemcponrunend = "cleanupBundleMcpOnRunEnd" + case modelrun = "modelRun" + case promptmode = "promptMode" case extrasystemprompt = "extraSystemPrompt" case bootstrapcontextmode = "bootstrapContextMode" case bootstrapcontextrunkind = "bootstrapContextRunKind"