Expand description
Streaming JSONL writer for .agentlog files.
Records are serialized with serde_json (struct-field order, not
canonical — SPEC §5 canonical form applies to the payload hash, not
to wire representation). One \n is emitted after each record,
including the last, so the file always ends with a newline.
Functions§
- write_
all - Write an iterator of records, one per line.
- write_
record - Write a single record followed by a newline.