pub enum SessionMessageKind {
ActivitySummary,
UserPrompt,
AgentPrompt,
AgentAnswer,
AgentGraph,
AssistantAnswer,
WorkflowNotice,
}Expand description
Durable category for one saved session transcript message.
Variants§
ActivitySummary
Observed tool and skill usage, displayed but excluded from provider replay.
UserPrompt
Raw user prompt text without TUI prompt markers or transcript padding.
AgentPrompt
Generated agent-facing prompt retained for replay but hidden from chat.
AgentAnswer
Task-chain role answer encoded by AgentAnswerContent. Displayed in
chat but excluded from ordinary provider replay because the role keeps
its own isolated conversation.
AgentGraph
Live execution-graph marker whose content is only the owning task-chain identity. Renderers project current chain state, so stored content never goes stale; excluded from provider replay.
AssistantAnswer
Raw assistant answer text without transcript padding.
WorkflowNotice
Generic workflow notice emitted by Agentty session workflows.
Implementations§
Source§impl SessionMessageKind
impl SessionMessageKind
Sourcepub fn is_conversation_message(self) -> bool
pub fn is_conversation_message(self) -> bool
Returns whether this kind represents a raw conversation message that
belongs in the normal session_message store.
Task-chain kinds are excluded: role answers belong to their own task conversations, and graph markers carry no conversation text.