pub fn stored_message_content(kind: SessionMessageKind, content: &str) -> StringExpand description
Returns the durable message content for one kind.
User prompts preserve leading horizontal whitespace so pasted indentation survives persistence while outer line breaks and trailing whitespace are normalized. Assistant rows remove outer whitespace, while workflow notices preserve exact content so status blocks keep their spacing.