Skip to content

waygraph / PilotHighlightFixtures

Type Alias: PilotHighlightFixtures ​

PilotHighlightFixtures = object

Defined in: src/demo/overlay/pilot/fixtures.ts:45

Agent-sent highlight fixtures for a live Pilot / auto session. Painted by showPilotFixtures; driven via IPC op: "highlight". Mirrors demo stub surface: rings, todos, zoom, focus, device.

Properties ​

bannerUi? ​

optional bannerUi?: BannerUiOpts

Defined in: src/demo/overlay/pilot/fixtures.ts:93

Banner UX: collision / hidden (same as ctx.bannerUi).


clear? ​

optional clear?: boolean

Defined in: src/demo/overlay/pilot/fixtures.ts:87

Drop every agent fixture ring/todo/focus/zoom immediately.


device? ​

optional device?: DevicePreset | DeviceState

Defined in: src/demo/overlay/pilot/fixtures.ts:85

Viewport / device fixture (mobile | tablet | desktop, or a full DeviceState). Applied via Playwright setViewportSize.


holdMs? ​

optional holdMs?: number

Defined in: src/demo/overlay/pilot/fixtures.ts:69

How long fixtures stay visible (ms). 0 = until the next highlight / clear. Default 30000 (30s) unless specified.


rings? ​

optional rings?: readonly PilotFixtureRing[]

Defined in: src/demo/overlay/pilot/fixtures.ts:47

Replace current fixture rings with these (empty + no todos = clear).


title? ​

optional title?: string

Defined in: src/demo/overlay/pilot/fixtures.ts:89

Top banner title card (same as ctx.title).


titlePos? ​

optional titlePos?: BannerPos

Defined in: src/demo/overlay/pilot/fixtures.ts:91

Banner position (same as ctx.titlePos).


todoGroups? ​

optional todoGroups?: readonly WaygraphTodoGroupInput[]

Defined in: src/demo/overlay/pilot/fixtures.ts:59

Multiple titled lists (FR/Scenarios/ACs, same as ctx.todoGroups) - replaces todos when set.


todoIndex? ​

optional todoIndex?: number

Defined in: src/demo/overlay/pilot/fixtures.ts:51

0-based index of the "current" todo row (others before it = done).


todoPos? ​

optional todoPos?: "left" | "right"

Defined in: src/demo/overlay/pilot/fixtures.ts:55

Todo dock side. Default right.


todos? ​

optional todos?: readonly string[]

Defined in: src/demo/overlay/pilot/fixtures.ts:49

Optional floating todo list (demo-dock language, simplified).


todoStyle? ​

optional todoStyle?: TodoListStyle

Defined in: src/demo/overlay/pilot/fixtures.ts:57

Presentation: sequential (default, arrow walkthrough) | checklist | bullets. Same as ctx.todos(id, items, { style }).


todoTitle? ​

optional todoTitle?: string

Defined in: src/demo/overlay/pilot/fixtures.ts:53

Optional title above the todo list.


todoUi? ​

optional todoUi?: TodoDockUiOpts

Defined in: src/demo/overlay/pilot/fixtures.ts:64

Todo-dock UX (compact / collision / behind-ring). Defaults smart-on; pass false fields to opt out. See TodoDockUiOpts.


zoom? ​

optional zoom?: number

Defined in: src/demo/overlay/pilot/fixtures.ts:76

Camera zoom toward a selector (demo parity: scrollIntoView + zoom badge). Defaults the zoom target to zoomSelector, else the last ring's selector (or a ring that sets its own zoom). Cleared on clear: true or when holdMs expires (if zoomOut).


zoomOut? ​

optional zoomOut?: boolean

Defined in: src/demo/overlay/pilot/fixtures.ts:80

When false, keep zoom after fixtures clear/expire. Default true.


zoomSelector? ​

optional zoomSelector?: string

Defined in: src/demo/overlay/pilot/fixtures.ts:78

Element to zoom toward when zoom is set (defaults to last ring).

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