diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index 36d5587b468..ca3709c02a5 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -590,6 +590,7 @@ public struct AgentParams: Codable, Sendable { public let timeout: Int? public let besteffortdeliver: Bool? public let lane: String? + public let cleanupbundlemcponrunend: Bool? public let extrasystemprompt: String? public let bootstrapcontextmode: AnyCodable? public let bootstrapcontextrunkind: AnyCodable? @@ -621,6 +622,7 @@ public struct AgentParams: Codable, Sendable { timeout: Int?, besteffortdeliver: Bool?, lane: String?, + cleanupbundlemcponrunend: Bool?, extrasystemprompt: String?, bootstrapcontextmode: AnyCodable?, bootstrapcontextrunkind: AnyCodable?, @@ -651,6 +653,7 @@ public struct AgentParams: Codable, Sendable { self.timeout = timeout self.besteffortdeliver = besteffortdeliver self.lane = lane + self.cleanupbundlemcponrunend = cleanupbundlemcponrunend self.extrasystemprompt = extrasystemprompt self.bootstrapcontextmode = bootstrapcontextmode self.bootstrapcontextrunkind = bootstrapcontextrunkind @@ -683,6 +686,7 @@ public struct AgentParams: Codable, Sendable { case timeout case besteffortdeliver = "bestEffortDeliver" case lane + case cleanupbundlemcponrunend = "cleanupBundleMcpOnRunEnd" 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 36d5587b468..ca3709c02a5 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -590,6 +590,7 @@ public struct AgentParams: Codable, Sendable { public let timeout: Int? public let besteffortdeliver: Bool? public let lane: String? + public let cleanupbundlemcponrunend: Bool? public let extrasystemprompt: String? public let bootstrapcontextmode: AnyCodable? public let bootstrapcontextrunkind: AnyCodable? @@ -621,6 +622,7 @@ public struct AgentParams: Codable, Sendable { timeout: Int?, besteffortdeliver: Bool?, lane: String?, + cleanupbundlemcponrunend: Bool?, extrasystemprompt: String?, bootstrapcontextmode: AnyCodable?, bootstrapcontextrunkind: AnyCodable?, @@ -651,6 +653,7 @@ public struct AgentParams: Codable, Sendable { self.timeout = timeout self.besteffortdeliver = besteffortdeliver self.lane = lane + self.cleanupbundlemcponrunend = cleanupbundlemcponrunend self.extrasystemprompt = extrasystemprompt self.bootstrapcontextmode = bootstrapcontextmode self.bootstrapcontextrunkind = bootstrapcontextrunkind @@ -683,6 +686,7 @@ public struct AgentParams: Codable, Sendable { case timeout case besteffortdeliver = "bestEffortDeliver" case lane + case cleanupbundlemcponrunend = "cleanupBundleMcpOnRunEnd" case extrasystemprompt = "extraSystemPrompt" case bootstrapcontextmode = "bootstrapContextMode" case bootstrapcontextrunkind = "bootstrapContextRunKind"