Skip to content

Documentation / @agentick/core / SessionSnapshot

Interface: SessionSnapshot ​

Defined in: core/src/app/types.ts:841

Serialized session state for persistence/resumption.

Properties ​

comState ​

comState: Record<string, unknown>

Defined in: core/src/app/types.ts:851

COM key-value state (useComState)


dataCache ​

dataCache: Record<string, SerializableCacheEntry>

Defined in: core/src/app/types.ts:853

useData cache (entries with persist !== false)


metadata? ​

optional metadata: Record<string, unknown>

Defined in: core/src/app/types.ts:861

Immutable identity labels (persists across hydration)


parentSessionId? ​

optional parentSessionId: string | null

Defined in: core/src/app/types.ts:859

Parent session ID (null if root session)


sessionId ​

sessionId: string

Defined in: core/src/app/types.ts:845

Session ID


tick ​

tick: number

Defined in: core/src/app/types.ts:847

Tick number at snapshot time


timeline ​

timeline: COMTimelineEntry[] | null

Defined in: core/src/app/types.ts:849

Serialized conversation/timeline


timestamp ​

timestamp: number

Defined in: core/src/app/types.ts:857

Timestamp of snapshot


usage? ​

optional usage: UsageStats

Defined in: core/src/app/types.ts:855

Accumulated usage stats across all sends


version ​

version: string

Defined in: core/src/app/types.ts:843

Session version for compatibility

Released under the ISC License.