Expand description
Session v1 JSONL storage (S9.3).
Append-only, versioned JSONL format for session persistence. The first line is a header; subsequent lines are tree entries forming a conversation tree.
Structs§
- Compaction
Entry - A compaction tree entry (S9.3
compactiontype). - Leaf
Entry - A leaf pointer entry (S9.3
leaftype). - Message
Entry - A message tree entry (S9.3
messagetype). - Session
Header - Session header — the first line of a JSONL file (S9.3).
- Session
Reader - JSONL reader with crash recovery.
- Session
Writer - Append-only JSONL writer with crash-safe flush.
Enums§
- Crash
Recovery - Crash recovery status returned by
SessionReader. - Session
Entry - All tree entry types (S9.3).