rea-agents
    Preparing search index...
    interface JavaScriptReplayRunner {
        execute: (
            prepared: PreparedReplayPlan,
            policy: JavaScriptReplayPolicy,
            signal?: AbortSignal,
        ) => Promise<
            {
                cleanup: {
                    residual_resources: string[];
                    state: "complete"
                    | "incomplete";
                };
                comparison?: {
                    case_id: string;
                    left_index: number;
                    right_index: number;
                    status: "unknown"
                    | "changed"
                    | "equal";
                }[];
                limitations: string[];
                outcomes: {
                    case_id: string;
                    exception?: { message: string; name: string; stack: string
                    | null };
                    input_sha256: string;
                    outcome:
                        | "timeout"
                        | "cancelled"
                        | "protocol_error"
                        | "return"
                        | "exception"
                        | "serialization_error"
                        | "denied"
                        | "oom"
                        | "crash";
                    output_sha256: string
                    | null;
                    truncated: boolean;
                    value?: JSONType;
                }[];
                plan_digest: string;
                reproducer: | { path: string; sha256: string; state: "written" }
                | { error: string; path: string; state: "failed" }
                | null;
                schema_version: 1;
                stderr: string;
                termination:
                    | "timeout"
                    | "cancelled"
                    | "protocol_error"
                    | "oom"
                    | "crash"
                    | "completed";
            },
        >;
    }
    Index
    execute: (
        prepared: PreparedReplayPlan,
        policy: JavaScriptReplayPolicy,
        signal?: AbortSignal,
    ) => Promise<
        {
            cleanup: {
                residual_resources: string[];
                state: "complete"
                | "incomplete";
            };
            comparison?: {
                case_id: string;
                left_index: number;
                right_index: number;
                status: "unknown"
                | "changed"
                | "equal";
            }[];
            limitations: string[];
            outcomes: {
                case_id: string;
                exception?: { message: string; name: string; stack: string
                | null };
                input_sha256: string;
                outcome:
                    | "timeout"
                    | "cancelled"
                    | "protocol_error"
                    | "return"
                    | "exception"
                    | "serialization_error"
                    | "denied"
                    | "oom"
                    | "crash";
                output_sha256: string
                | null;
                truncated: boolean;
                value?: JSONType;
            }[];
            plan_digest: string;
            reproducer: | { path: string; sha256: string; state: "written" }
            | { error: string; path: string; state: "failed" }
            | null;
            schema_version: 1;
            stderr: string;
            termination:
                | "timeout"
                | "cancelled"
                | "protocol_error"
                | "oom"
                | "crash"
                | "completed";
        },
    >