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.
Trait Implementations§
Source§impl Clone for SessionMessageKind
impl Clone for SessionMessageKind
impl Copy for SessionMessageKind
Source§impl Debug for SessionMessageKind
impl Debug for SessionMessageKind
Source§impl Display for SessionMessageKind
impl Display for SessionMessageKind
impl Eq for SessionMessageKind
Source§impl FromStr for SessionMessageKind
impl FromStr for SessionMessageKind
Source§impl PartialEq for SessionMessageKind
impl PartialEq for SessionMessageKind
impl StructuralPartialEq for SessionMessageKind
Auto Trait Implementations§
impl Forget for SessionMessageKind
impl Freeze for SessionMessageKind
impl RefUnwindSafe for SessionMessageKind
impl Send for SessionMessageKind
impl Sync for SessionMessageKind
impl Unpin for SessionMessageKind
impl UnsafeUnpin for SessionMessageKind
impl UnwindSafe for SessionMessageKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.