Skip to content

Commit d9d9abe

Browse files
committed
chore(protocol): refresh Swift sessions create params
1 parent 9d196f5 commit d9d9abe

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
@@ -1812,6 +1812,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18121812
public let label: String?
18131813
public let model: String?
18141814
public let parentsessionkey: String?
1815+
public let emitcommandhooks: Bool?
18151816
public let task: String?
18161817
public let message: String?
18171818

@@ -1821,6 +1822,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18211822
label: String?,
18221823
model: String?,
18231824
parentsessionkey: String?,
1825+
emitcommandhooks: Bool?,
18241826
task: String?,
18251827
message: String?)
18261828
{
@@ -1829,6 +1831,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18291831
self.label = label
18301832
self.model = model
18311833
self.parentsessionkey = parentsessionkey
1834+
self.emitcommandhooks = emitcommandhooks
18321835
self.task = task
18331836
self.message = message
18341837
}
@@ -1839,6 +1842,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18391842
case label
18401843
case model
18411844
case parentsessionkey = "parentSessionKey"
1845+
case emitcommandhooks = "emitCommandHooks"
18421846
case task
18431847
case message
18441848
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,6 +1812,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18121812
public let label: String?
18131813
public let model: String?
18141814
public let parentsessionkey: String?
1815+
public let emitcommandhooks: Bool?
18151816
public let task: String?
18161817
public let message: String?
18171818

@@ -1821,6 +1822,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18211822
label: String?,
18221823
model: String?,
18231824
parentsessionkey: String?,
1825+
emitcommandhooks: Bool?,
18241826
task: String?,
18251827
message: String?)
18261828
{
@@ -1829,6 +1831,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18291831
self.label = label
18301832
self.model = model
18311833
self.parentsessionkey = parentsessionkey
1834+
self.emitcommandhooks = emitcommandhooks
18321835
self.task = task
18331836
self.message = message
18341837
}
@@ -1839,6 +1842,7 @@ public struct SessionsCreateParams: Codable, Sendable {
18391842
case label
18401843
case model
18411844
case parentsessionkey = "parentSessionKey"
1845+
case emitcommandhooks = "emitCommandHooks"
18421846
case task
18431847
case message
18441848
}

0 commit comments

Comments
 (0)