OptionalconversationID of the ConversationDetail row this message came from
OptionalisTrue only on the synthetic first message carrying the persisted conversation summary
OptionalsequenceConversationDetail.Sequence of the row this message came from
OptionalsummaryOn the summary message: the boundary row's Sequence. The summary covers every row
with Sequence below this value; the boundary row itself and everything after are
included raw in the window.
Metadata stamped on messages returned by ConversationEngine.GetAgentContextWindow.
Type-locality tradeoff: the agent framework's
AgentChatMessageMetadata(in@memberjunction/ai-core-plus) carries these same optional fields, but this package cannot import from ai-core-plus — ai-core-plus depends on core-entities, so importing it here would create a package cycle. This structural type is therefore defined locally and kept assignment-compatible withAgentChatMessageMetadata; if you add a field here, mirror it there.