Skip to content

Documentation / @agentick/core / SessionSnapshot

Interface: SessionSnapshot

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

Serialized session state for persistence/resumption.

Properties

comState

comState: Record<string, unknown>

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

COM key-value state (useComState)


dataCache

dataCache: Record<string, SerializableCacheEntry>

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

useData cache (entries with persist !== false)


metadata?

optional metadata: Record<string, unknown>

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

Immutable identity labels (persists across hydration)


parentSessionId?

optional parentSessionId: string | null

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

Parent session ID (null if root session)


sessionId

sessionId: string

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

Session ID


tick

tick: number

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

Tick number at snapshot time


timeline

timeline: COMTimelineEntry[] | null

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

Serialized conversation/timeline


timestamp

timestamp: number

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

Timestamp of snapshot


usage?

optional usage: UsageStats

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

Accumulated usage stats across all sends


version

version: string

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

Session version for compatibility

Released under the ISC License.