waygraph / BrowserStartInit
Interface: BrowserStartInit
Defined in: src/live/auto-session/start.ts:13
What AutoSession.start needs: project, selection, headless mode and the session id.
Extends
Properties
baseURL?
optionalbaseURL?:string
Defined in: src/live/auto-session/helpers.ts:218
Inherited from
blocksSelect?
optionalblocksSelect?:BlocksSelect
Defined in: src/live/auto-session/helpers.ts:220
Inherited from
headless?
optionalheadless?:boolean
Defined in: src/live/auto-session/helpers.ts:226
Default true. false launches a real visible browser window.
Inherited from
inject?
optionalinject?:string[]
Defined in: src/live/auto-session/helpers.ts:222
Absolute paths — merged Block libraries (see waygraph browser --inject).
Inherited from
injectTokens?
optionalinjectTokens?:string[]
Defined in: src/live/auto-session/start.ts:15
Preset names or paths; resolved before spawn.
projectDir
projectDir:
string
Defined in: src/live/auto-session/helpers.ts:217
Inherited from
sessionId?
optionalsessionId?:string
Defined in: src/live/auto-session/helpers.ts:234
Shown on the on-page Pilot overlay badge, when known - purely cosmetic, this class has no other use for it. auto --cli --detach's spawned child (runAutoServeCommand) always knows and passes its own generated id; a directly-constructed AutoSession (e.g. in a test) simply omits it, and the badge shows "no session id" instead.
Inherited from
skipInitialNavigation?
optionalskipInitialNavigation?:boolean
Defined in: src/live/auto-session/helpers.ts:224
When true, open about:blank instead of baseURL/startUrl (browser default).
Inherited from
AutoSessionInit.skipInitialNavigation
startUrl?
optionalstartUrl?:string
Defined in: src/live/auto-session/helpers.ts:219