LangGraphLifecycle
When a session first saw each milestone, in epoch milliseconds on this clock. Every value is null until its milestone happens. A session serves one thread, so nothing is ever reset: a later session starts again from null. Nothing here is stored or sent.
import type { LangGraphLifecycle } from '@threadplane/langgraph';Declaration
export interface LangGraphLifecycle {
readonly interruptReceivedAt: number | null;
readonly interruptResolvedAt: number | null;
readonly streamErrorAt: {
readonly at: number;
readonly kind: AgentErrorKind;
} | null;
readonly streamStartedAt: number | null;
readonly threadCreatedAt: number | null;
readonly threadPersistedAt: number | null;
readonly toolCallCompletedAt: number | null;
readonly toolCallStartedAt: number | null;
}Members
interruptReceivedAt
The first time the session held a pending interrupt.
readonly interruptReceivedAt: number | null;interruptResolvedAt
The most recent resume the session accepted.
readonly interruptResolvedAt: number | null;streamErrorAt
The most recent failure the session published, with its error kind.
readonly streamErrorAt: {
readonly at: number;
readonly kind: AgentErrorKind;
} | null;streamStartedAt
The first event to arrive on any run's stream.
readonly streamStartedAt: number | null;threadCreatedAt
When the session created its thread. Stays null for a session given a threadId.
readonly threadCreatedAt: number | null;threadPersistedAt
The first history read that returned saved checkpoints for the thread.
readonly threadPersistedAt: number | null;toolCallCompletedAt
The first time a tool call was complete or failed.
readonly toolCallCompletedAt: number | null;toolCallStartedAt
The first time the session held a tool call, streamed or saved.
readonly toolCallStartedAt: number | null;