Skip to content

Commit a4d6378

Browse files
committed
fix: refresh plugin approval protocol models
1 parent fcfdf02 commit a4d6378

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

apps/macos/Sources/OpenClawProtocol/GatewayModels.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5227,6 +5227,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52275227
public let severity: String?
52285228
public let toolname: String?
52295229
public let toolcallid: String?
5230+
public let alloweddecisions: [String]?
52305231
public let agentid: String?
52315232
public let sessionkey: String?
52325233
public let turnsourcechannel: String?
@@ -5243,6 +5244,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52435244
severity: String?,
52445245
toolname: String?,
52455246
toolcallid: String?,
5247+
alloweddecisions: [String]?,
52465248
agentid: String?,
52475249
sessionkey: String?,
52485250
turnsourcechannel: String?,
@@ -5258,6 +5260,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52585260
self.severity = severity
52595261
self.toolname = toolname
52605262
self.toolcallid = toolcallid
5263+
self.alloweddecisions = alloweddecisions
52615264
self.agentid = agentid
52625265
self.sessionkey = sessionkey
52635266
self.turnsourcechannel = turnsourcechannel
@@ -5275,6 +5278,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52755278
case severity
52765279
case toolname = "toolName"
52775280
case toolcallid = "toolCallId"
5281+
case alloweddecisions = "allowedDecisions"
52785282
case agentid = "agentId"
52795283
case sessionkey = "sessionKey"
52805284
case turnsourcechannel = "turnSourceChannel"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5227,6 +5227,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52275227
public let severity: String?
52285228
public let toolname: String?
52295229
public let toolcallid: String?
5230+
public let alloweddecisions: [String]?
52305231
public let agentid: String?
52315232
public let sessionkey: String?
52325233
public let turnsourcechannel: String?
@@ -5243,6 +5244,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52435244
severity: String?,
52445245
toolname: String?,
52455246
toolcallid: String?,
5247+
alloweddecisions: [String]?,
52465248
agentid: String?,
52475249
sessionkey: String?,
52485250
turnsourcechannel: String?,
@@ -5258,6 +5260,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52585260
self.severity = severity
52595261
self.toolname = toolname
52605262
self.toolcallid = toolcallid
5263+
self.alloweddecisions = alloweddecisions
52615264
self.agentid = agentid
52625265
self.sessionkey = sessionkey
52635266
self.turnsourcechannel = turnsourcechannel
@@ -5275,6 +5278,7 @@ public struct PluginApprovalRequestParams: Codable, Sendable {
52755278
case severity
52765279
case toolname = "toolName"
52775280
case toolcallid = "toolCallId"
5281+
case alloweddecisions = "allowedDecisions"
52785282
case agentid = "agentId"
52795283
case sessionkey = "sessionKey"
52805284
case turnsourcechannel = "turnSourceChannel"

0 commit comments

Comments
 (0)