Skip to content

SessionCommon

Defined in: console-sdk/src/session/types.ts:485

The fields every non-idle session phase shares (SDK_PLAN.md §3.6.5). Spread into each phase variant of WorkoutSessionSnapshot, so a snapshot always carries its id, plan, device list, timing, and capture health.

devices: readonly SessionDeviceState[]

Defined in: console-sdk/src/session/types.ts:491

Per-device session state.


id: SessionId

Defined in: console-sdk/src/session/types.ts:487

The session id, minted at start.


plan: ResolvedPlan

Defined in: console-sdk/src/session/types.ts:489

The normalized plan being executed.


recording: RecordingState

Defined in: console-sdk/src/session/types.ts:497

Capture health as renderable data (PP6).


startedAt: number | null

Defined in: console-sdk/src/session/types.ts:493

Epoch ms the session started running, or null before it starts.


timing: TimingSnapshot

Defined in: console-sdk/src/session/types.ts:495

Start/end and pause spans; elapsedSeconds derived at read.