Compact

@Serializable
data class Compact(val id: UUID, val timestamp: Instant, val content: String, val snapshots: Map<@Serializable(with = UuidSerializer::class) UUID, UsageSnapshot>? = null) : AgentMessage(source)

Constructors

Link copied to clipboard
constructor(id: UUID, timestamp: Instant, content: String, snapshots: Map<@Serializable(with = UuidSerializer::class) UUID, UsageSnapshot>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@Serializable(with = UuidSerializer::class)
open override val id: UUID
Link copied to clipboard
val snapshots: Map<@Serializable(with = UuidSerializer::class) UUID, UsageSnapshot>?
Link copied to clipboard
@Serializable(with = InstantLongSerializer::class)
open override val timestamp: Instant