Skip to content

Interface: BrowserRunResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BrowserRunResponse

Defined in: src/types/browser-agent.ts:234

The answer of one run operation: the run, and the one-time grant an observe or an authorize issued.

declare const answer: BrowserRunResponse;
if (answer.authorized !== null) dispatch(answer.authorized);

authorized: string | null

Defined in: src/types/browser-agent.ts:241

The command the browser may now dispatch (UUID), only in the answer to the authorize that won it; null otherwise.


browserSession: string

Defined in: src/types/browser-agent.ts:185

The browser session that started the run (UUID).

BrowserRun.browserSession


id: string

Defined in: src/types/browser-agent.ts:183

The run id (UUID).

BrowserRun.id


pending: BrowserRunPendingAction | null

Defined in: src/types/browser-agent.ts:198

The action the run holds while proposed or in_flight; null otherwise.

BrowserRun.pending


phase: BrowserRunPhase

Defined in: src/types/browser-agent.ts:189

The lifecycle state.

BrowserRun.phase


proposal: BrowserRunProposal | null

Defined in: src/types/browser-agent.ts:236

The proposed action, only in the answer to the observe that proposed it; null otherwise.


result: BrowserRunResult | null

Defined in: src/types/browser-agent.ts:200

How the run ended, once it ended; null otherwise.

BrowserRun.result


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.

BrowserRun.revision


step: number

Defined in: src/types/browser-agent.ts:196

The number of planning steps the run took (at most 500).

BrowserRun.step


task: string

Defined in: src/types/browser-agent.ts:187

The person’s task.

BrowserRun.task