Interface: BrowserRunResponse
@kortexya/reasoninglayer / BrowserRunResponse
Interface: BrowserRunResponse
Section titled “Interface: 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.
Example
Section titled “Example”declare const answer: BrowserRunResponse;if (answer.authorized !== null) dispatch(answer.authorized);Extends
Section titled “Extends”Properties
Section titled “Properties”authorized
Section titled “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
Section titled “browserSession”browserSession:
string
Defined in: src/types/browser-agent.ts:185
The browser session that started the run (UUID).
Inherited from
Section titled “Inherited from”id:
string
Defined in: src/types/browser-agent.ts:183
The run id (UUID).
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”phase:
BrowserRunPhase
Defined in: src/types/browser-agent.ts:189
The lifecycle state.
Inherited from
Section titled “Inherited from”proposal
Section titled “proposal”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
Section titled “result”result:
BrowserRunResult|null
Defined in: src/types/browser-agent.ts:200
How the run ended, once it ended; null otherwise.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”step:
number
Defined in: src/types/browser-agent.ts:196
The number of planning steps the run took (at most 500).
Inherited from
Section titled “Inherited from”task:
string
Defined in: src/types/browser-agent.ts:187
The person’s task.