Skip to main content

Module record

Module record 

Source
Expand description

Record envelope types (SPEC §3 + §4).

The envelope is statically typed; the payload is held as a serde_json::Value at this layer. Typed payload structs (ChatRequest, ChatResponse, etc.) are added alongside the modules that consume them (replay, diff) — they’re convenience wrappers over payload.into_typed() rather than the wire format.

Structs§

Record
One record in an .agentlog file (SPEC §3.1).

Enums§

Kind
Record kind discriminator (SPEC §4).

Constants§

CURRENT_VERSION
The current .agentlog schema version (SPEC §1, §13).