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?
optionalbannerUi?:BannerUiOpts
Defined in: src/demo/overlay/pilot/fixtures.ts:93
Banner UX: collision / hidden (same as ctx.bannerUi).
clear?
optionalclear?:boolean
Defined in: src/demo/overlay/pilot/fixtures.ts:87
Drop every agent fixture ring/todo/focus/zoom immediately.
device?
optionaldevice?: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?
optionalholdMs?: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?
optionalrings?: readonlyPilotFixtureRing[]
Defined in: src/demo/overlay/pilot/fixtures.ts:47
Replace current fixture rings with these (empty + no todos = clear).
title?
optionaltitle?:string
Defined in: src/demo/overlay/pilot/fixtures.ts:89
Top banner title card (same as ctx.title).
titlePos?
optionaltitlePos?:BannerPos
Defined in: src/demo/overlay/pilot/fixtures.ts:91
Banner position (same as ctx.titlePos).
todoGroups?
optionaltodoGroups?: readonlyWaygraphTodoGroupInput[]
Defined in: src/demo/overlay/pilot/fixtures.ts:59
Multiple titled lists (FR/Scenarios/ACs, same as ctx.todoGroups) - replaces todos when set.
todoIndex?
optionaltodoIndex?:number
Defined in: src/demo/overlay/pilot/fixtures.ts:51
0-based index of the "current" todo row (others before it = done).
todoPos?
optionaltodoPos?:"left"|"right"
Defined in: src/demo/overlay/pilot/fixtures.ts:55
Todo dock side. Default right.
todos?
optionaltodos?: readonlystring[]
Defined in: src/demo/overlay/pilot/fixtures.ts:49
Optional floating todo list (demo-dock language, simplified).
todoStyle?
optionaltodoStyle?: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?
optionaltodoTitle?:string
Defined in: src/demo/overlay/pilot/fixtures.ts:53
Optional title above the todo list.
todoUi?
optionaltodoUi?: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?
optionalzoom?: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?
optionalzoomOut?:boolean
Defined in: src/demo/overlay/pilot/fixtures.ts:80
When false, keep zoom after fixtures clear/expire. Default true.
zoomSelector?
optionalzoomSelector?:string
Defined in: src/demo/overlay/pilot/fixtures.ts:78
Element to zoom toward when zoom is set (defaults to last ring).