Skip to main content

Module record

Module record 

Source
Expand description

Normalized record shapes.

Fields an adapter cannot populate are Option and serialize as absent, so a reader can tell “not supported” from “genuinely zero”.

Structs§

Event
One normalized event. Unknown fields are tolerated on read so newer stores can be consumed by older binaries.
IngestCursor
Per-source ingest cursor. Append-only, last record for a path wins.
PromptRecord
Prompt text, kept out of events/ so it can be disabled independently. text_hash is always written so dedup works with text off.
ToolCall

Constants§

RECORD_VERSION
Current record schema version, written on every event line.