Member Junction
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Create a verdict with standard fields populated. Utility for subclasses to avoid boilerplate.

      Parameters

      • done: boolean
      • confidence: number
      • reason: string
      • Optionalfeedback: string
      • Optionalimpossible: boolean

      Returns JudgeVerdict

    • Evaluate the current state and determine whether the goal is met.

      Parameters

      • context: JudgeContext

        Full context including goal, screenshots, step history

      Returns Promise<JudgeVerdict>

      Verdict with Done, Confidence, Feedback, and Reason

    • Parse the LLM response into a JudgeVerdict. Protected so Layer 2 can override if the prompt format changes.

      Expects JSON with: done (boolean), confidence (number), reason (string), feedback (string). Handles both raw JSON and JSON wrapped in markdown code blocks.

      Parameters

      Returns JudgeVerdict