type MessageRole = "user" | "assistant";The roles a Message author can hold.
Restricted to user and assistant — system instructions, developer directives, and tool results are handled separately and never appear in the persisted message history.