fix: resolve CI asset/protocol drift

This commit is contained in:
Peter Steinberger
2026-01-08 01:25:03 +00:00
parent cad853b547
commit 02ad9eccad
2 changed files with 50 additions and 197 deletions

View File

@@ -795,6 +795,31 @@ public struct ConfigSetParams: Codable, Sendable {
}
}
public struct ConfigApplyParams: Codable, Sendable {
public let raw: String
public let sessionkey: String?
public let note: String?
public let restartdelayms: Int?
public init(
raw: String,
sessionkey: String?,
note: String?,
restartdelayms: Int?
) {
self.raw = raw
self.sessionkey = sessionkey
self.note = note
self.restartdelayms = restartdelayms
}
private enum CodingKeys: String, CodingKey {
case raw
case sessionkey = "sessionKey"
case note
case restartdelayms = "restartDelayMs"
}
}
public struct ConfigSchemaParams: Codable, Sendable {
}
@@ -1504,6 +1529,31 @@ public struct ChatEvent: Codable, Sendable {
}
}
public struct UpdateRunParams: Codable, Sendable {
public let sessionkey: String?
public let note: String?
public let restartdelayms: Int?
public let timeoutms: Int?
public init(
sessionkey: String?,
note: String?,
restartdelayms: Int?,
timeoutms: Int?
) {
self.sessionkey = sessionkey
self.note = note
self.restartdelayms = restartdelayms
self.timeoutms = timeoutms
}
private enum CodingKeys: String, CodingKey {
case sessionkey = "sessionKey"
case note
case restartdelayms = "restartDelayMs"
case timeoutms = "timeoutMs"
}
}
public struct TickEvent: Codable, Sendable {
public let ts: Int