SerializedAgentProcessSnapshot

data class SerializedAgentProcessSnapshot(val processId: String, val parentId: String?, val agentName: String, val status: AgentProcessStatusCode, val version: Long, val contentType: <Error class: unknown class>, val payload: ByteArray, val createdAt: Instant, val updatedAt: Instant, val metadata: Map<String, String> = emptyMap())

Backend-neutral envelope for a serialized agent process checkpoint.

Stores lookup and concurrency metadata beside an opaque payload. Storage backends should not inspect payload; serialization and restore are owned by higher framework layers.

Parameters

processId

stable id of the agent process represented by this snapshot

parentId

parent process id for sub-agent processes, if any

agentName

name of the agent definition needed to restore the process

status

process status at the checkpoint boundary

version

optimistic concurrency version for this process snapshot

contentType

media type of payload, for example MediaType.APPLICATION_JSON

payload

serialized process snapshot bytes

Constructors

Link copied to clipboard
constructor(processId: String, parentId: String?, agentName: String, status: AgentProcessStatusCode, version: Long, contentType: <Error class: unknown class>, payload: ByteArray, createdAt: Instant, updatedAt: Instant, metadata: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val contentType: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int