For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/interfaces/index.RunClaudeTrialOptions.md.
  • 简体中文
  • Interface: RunClaudeTrialOptions

    Extends

    • ClaudeProcessOptions

    Properties

    artifact

    readonly artifact: PreparedEvalArtifact


    configuredSemanticGrader?

    readonly optional configuredSemanticGrader?: NormalizedEvalSemanticGrader

    Server-normalized configuration; callers cannot provide an id, command, environment, or cwd.


    environment?

    readonly optional environment?: Readonly<ProcessEnv>


    evalCase

    readonly evalCase: EvalCase


    fixturePlan

    readonly fixturePlan: EvalFixturePlan


    gracePeriodMs?

    readonly optional gracePeriodMs?: number

    Inherited from

    ClaudeProcessOptions.gracePeriodMs


    graders?

    readonly optional graders?: readonly EvalGraderSpec[]


    host?

    readonly optional host?: string


    maxOutputBytes?

    readonly optional maxOutputBytes?: number

    Inherited from

    ClaudeProcessOptions.maxOutputBytes


    now?

    readonly optional now?: () => Date

    Returns

    Date


    onCompleted?

    readonly optional onCompleted?: (result) => void | Promise<void>

    Narrow server-owned native Playground seam; no raw process output crosses it.

    Parameters

    result

    Readonly<{ hookEvents?: readonly string[]; response?: string; workspacePath?: string; }>

    Returns

    void | Promise<void>


    onProgress?

    readonly optional onProgress?: (phase) => void | Promise<void>

    Parameters

    phase

    "preflight" | "fixture.materialized" | "host.started"

    Returns

    void | Promise<void>


    run?

    readonly optional run?: NativeClaudeProcessRunner

    Injected for tests; production always spawns the installed CLI.

    Inherited from

    ClaudeProcessOptions.run


    semanticGrader?

    readonly optional semanticGrader?: EvalSemanticGraderSpec


    signal?

    readonly optional signal?: AbortSignal

    Inherited from

    ClaudeProcessOptions.signal


    suiteDir

    readonly suiteDir: string


    target?

    readonly optional target?: string


    timeoutMs?

    readonly optional timeoutMs?: number

    Inherited from

    ClaudeProcessOptions.timeoutMs


    trialIndex

    readonly trialIndex: number


    workspaceRoot

    readonly workspaceRoot: string


    writer

    readonly writer: EvalTrialWriter