fix: export sessions preview payload init

This commit is contained in:
Peter Steinberger
2026-01-22 12:23:59 +00:00
parent cd6bacae23
commit 1d55dc0fe3

View File

@@ -249,6 +249,11 @@ public struct ClawdbotSessionPreviewEntry: Codable, Sendable {
public struct ClawdbotSessionsPreviewPayload: Codable, Sendable { public struct ClawdbotSessionsPreviewPayload: Codable, Sendable {
public let ts: Int public let ts: Int
public let previews: [ClawdbotSessionPreviewEntry] public let previews: [ClawdbotSessionPreviewEntry]
public init(ts: Int, previews: [ClawdbotSessionPreviewEntry]) {
self.ts = ts
self.previews = previews
}
} }
public struct ClawdbotChatSendResponse: Codable, Sendable { public struct ClawdbotChatSendResponse: Codable, Sendable {