Skip to content

waygraph / TraceStep

Interface: TraceStep ​

Defined in: src/live/auto-session/helpers.ts:255

One Checkpoint/Block-level step in a session's history - not a raw action recording (no clicks/fills). Kept lean by design: an agent that wants DOM evidence at a specific step already has inspectDom to call itself.

Properties ​

block ​

block: string

Defined in: src/live/auto-session/helpers.ts:256


error? ​

optional error?: string

Defined in: src/live/auto-session/helpers.ts:259


from ​

from: string | null

Defined in: src/live/auto-session/helpers.ts:257


stubAfter? ​

optional stubAfter?: StubPhaseResult

Defined in: src/live/auto-session/helpers.ts:269


stubBefore? ​

optional stubBefore?: StubPhaseResult

Defined in: src/live/auto-session/helpers.ts:268

Resolved demo-narration fixtures (highlights/todos/device), when the Block actually authors stubBefore/stubAfter/stubOnError - the same data waygraph demo's lifecycle logging already computes (runStubPhase in demo/narration/index.ts), reused here for extra context on what a step meant to convey. Omitted when the Block has none, or the result carries nothing.


stubOnError? ​

optional stubOnError?: StubPhaseResult

Defined in: src/live/auto-session/helpers.ts:270


timestamp ​

timestamp: string

Defined in: src/live/auto-session/helpers.ts:260


to? ​

optional to?: string

Defined in: src/live/auto-session/helpers.ts:258

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed