An immutable snapshot of identified transcript entries.
Branch creation and switching are aggregate transcript transitions owned by
MingaAgent.Session.Transcript. This value stores only the frozen snapshot
and its presentation metadata.
Summary
Functions
Returns the stable entry IDs in branch order.
Lists branches with their names and message counts.
Returns the branch messages in transcript order.
Creates a branch snapshot from identified entries.
Types
@type t() :: %MingaAgent.Branch{ created_at: DateTime.t(), entries: [MingaAgent.TranscriptEntry.t()], name: String.t() }
A named conversation branch snapshot.
Functions
@spec entry_ids(t()) :: [pos_integer()]
Returns the stable entry IDs in branch order.
Lists branches with their names and message counts.
@spec messages(t()) :: [MingaAgent.Message.t()]
Returns the branch messages in transcript order.
@spec new(String.t(), [MingaAgent.TranscriptEntry.t()], DateTime.t()) :: t()
Creates a branch snapshot from identified entries.