Interface: BrowserRun
@kortexya/reasoninglayer / BrowserRun
Interface: BrowserRun
Section titled “Interface: BrowserRun”Defined in: src/types/browser-agent.ts:181
A browser run as the engine answers it.
Example
Section titled “Example”declare const run: BrowserRun;console.log(run.phase, run.step, run.revision);Extended by
Section titled “Extended by”Properties
Section titled “Properties”browserSession
Section titled “browserSession”browserSession:
string
Defined in: src/types/browser-agent.ts:185
The browser session that started the run (UUID).
id:
string
Defined in: src/types/browser-agent.ts:183
The run id (UUID).
pending
Section titled “pending”pending:
BrowserRunPendingAction|null
Defined in: src/types/browser-agent.ts:198
The action the run holds while proposed or in_flight; null otherwise.
phase:
BrowserRunPhase
Defined in: src/types/browser-agent.ts:189
The lifecycle state.
result
Section titled “result”result:
BrowserRunResult|null
Defined in: src/types/browser-agent.ts:200
How the run ended, once it ended; null otherwise.
revision
Section titled “revision”revision:
string
Defined in: src/types/browser-agent.ts:194
The run’s current revision (UUID). observe, authorize, discard and
cancel name it; every change of the run replaces it.
step:
number
Defined in: src/types/browser-agent.ts:196
The number of planning steps the run took (at most 500).
task:
string
Defined in: src/types/browser-agent.ts:187
The person’s task.