Skip to main content

Module sidecar

Module sidecar 

Source
Expand description

Compatibility path for native interchange sidecars.

Structs§

NativeTurn
One appended-after-import conversation turn, as written to a native-v2 sidecar file (one JSON object per line, following the imported body).
SidecarWriter
Append-only writer for a native-v2 sidecar file (A2 store layout; A3 live persistence): the durable, full-fidelity home for a live agent conversation. Every append is line-atomic — full line + \n, then flushed — so a crash mid-write can only ever leave the next unwritten record torn, never corrupt one already on disk; Session::from_native_str tolerates a torn trailing line exactly as the per-source loaders already tolerate corrupt lines.