OrchestrationState
Orchestration state persisted separately from CF messages. This is everything Kuralle needs beyond message history — CF owns messages, Kuralle owns agent state.
Properties
Section titled “Properties”agentStates
Section titled “agentStates”agentStates: Record<string, unknown>;currentAgent
Section titled “currentAgent”currentAgent: string;durableRuns?
Section titled “durableRuns?”optional durableRuns?: SessionDurableRuns;Legacy durable run journal from before SqlRunStore. Read on get() so a pre-existing session can be copied forward; new runs are not written here.
handoffHistory
Section titled “handoffHistory”handoffHistory: object[];| Name | Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
metadata?
Section titled “metadata?”optional metadata?: Omit<SessionMetadata, "audit"> & object;Session metadata that CF’s chat message store does not own.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
|
|
|
state?
Section titled “state?”optional state?: Record<string, unknown>;version?
Section titled “version?”optional version?: number;Optimistic-concurrency version for orchestration row CAS (C2).
workingMemory
Section titled “workingMemory”workingMemory: Record<string, unknown>;