Member Junction
    Preparing search index...

    Complete record of a single step in the engine's main loop. Captures everything that happened: screenshot, controller decision, actions executed, tool calls, judge verdict, and timing.

    This is the primary data structure that flows through:

    • Judge evaluation (via JudgeContext.StepHistory)
    • OnStepComplete hook (for Layer 2 persistence)
    • ComputerUseResult.Steps (final output)
    Index

    Constructors

    Properties

    ActionResults: ActionExecutionResult[] = []

    Results of executing each browser action

    ActionsRequested: BrowserAction[] = []

    Browser actions the controller requested

    ControllerReasoning: string = ''

    The controller's reasoning for this step

    DurationMs: number = 0

    Total duration of this step in milliseconds

    Error that occurred during this step (if applicable)

    JudgeVerdict?: JudgeVerdict

    Judge verdict (if the judge was consulted this step)

    Screenshot: string = ''

    Screenshot captured at the start of this step (base64 PNG)

    StepNumber: number = 0

    Step number (1-indexed)

    ToolCalls: ToolCallRecord[] = []

    Tool calls executed during this step

    Url: string = ''

    URL of the page at the start of this step