Skip to main content

message_from_entry

Function message_from_entry 

Source
pub(crate) fn message_from_entry(
    entry: &Value,
    timestamp: i64,
) -> Option<HistoryMessage>
Expand description

One conversation message from a Claude record — a transcript line or a line of the stream-json output AgentMux keeps (agent:<id>:current); the two share the message shape. None for anything that isn’t a user or assistant message with something in it (a tool-result frame, thinking only).