Skip to main content

Module transcript

Module transcript 

Source

Structs§

TranscriptEntry
A single entry in a JSONL transcript file.
TranscriptMeta
Sidecar metadata for a transcript, written as <agent_id>.meta.json.
TranscriptReader
Reads and reconstructs message history from JSONL transcript files.
TranscriptWriter
Appends TranscriptEntry lines to a JSONL file.

Functions§

sweep_old_transcripts
Delete the oldest .jsonl files in dir when the count exceeds max_files.
utc_now_pub
Returns the current UTC time as an ISO 8601 string.