Skip to content

Interface: CheckpointData

@providerprotocol/agents


@providerprotocol/agents / index / CheckpointData

Defined in: src/checkpoint/types.ts:247

Complete checkpoint data combining metadata and state.

Represents the full checkpoint as stored, including both the serialized agent state and its associated metadata.

This type is primarily used internally by checkpoint store implementations. Most consumers will use CheckpointStore.load() which returns only the state, and CheckpointStore.loadMetadata() which returns only the metadata.

metadata: CheckpointMetadata

Defined in: src/checkpoint/types.ts:251

Checkpoint metadata containing session info and timestamps.


state: AgentStateJSON

Defined in: src/checkpoint/types.ts:257

The serialized agent state that can be restored via AgentState.fromJSON().