ThreadContent
What a session saves of its thread, as plain JSON data.
import type { ThreadContent } from '@threadplane/ag-ui';Declaration
export interface ThreadContent {
readonly messages: Transcript;
readonly pause?: SavedPause;
readonly state?: PlainValue;
readonly subagents?: Subagents;
}Members
messages
The transcript, child-attributed records included.
readonly messages: Transcript;pause
The pause that is waiting, if any.
readonly pause?: SavedPause;state
The state document. Absent for a session that has none yet.
readonly state?: PlainValue;subagents
Evidence of the child agents that have ended.
readonly subagents?: Subagents;