rea-agents - v2.1.0
    Preparing search index...

    Variable compareWebCapturesInputSchemaConst

    compareWebCapturesInputSchema: ZodObject<
        {
            after: ZodObject<
                {
                    inspection: ZodObject<
                        {
                            accessibility: ZodObject<
                                {
                                    nodes: ZodArray<
                                        ZodObject<
                                            {
                                                description: ...;
                                                ignored: ...;
                                                name: ...;
                                                node_id: ...;
                                                parent_id: ...;
                                                role: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    text_capture: ZodObject<
                                        {
                                            excluded_fields: ZodNumber;
                                            retained_bytes: ZodNumber;
                                            status: ZodEnum<(...)>;
                                            truncated_fields: ZodNumber;
                                        },
                                        $strip,
                                    >;
                                    total_nodes: ZodNumber;
                                },
                                $strip,
                            >;
                            browser: ZodObject<
                                {
                                    js_version: ZodString;
                                    product: ZodString;
                                    protocol_version: ZodString;
                                    revision: ZodString;
                                    user_agent: ZodString;
                                },
                                $strip,
                            >;
                            capture_window: ZodObject<
                                {
                                    ended_at: ZodISODateTime;
                                    observation_ms: ZodNumber;
                                    started_at: ZodISODateTime;
                                },
                                $strip,
                            >;
                            completeness: ZodObject<
                                {
                                    attach_limited_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    conditions: ZodArray<
                                        ZodEnum<
                                            {
                                                attach_limited: ...;
                                                complete_within_window: ...;
                                                policy_filtered: ...;
                                                truncated: ...;
                                            },
                                        >,
                                    >;
                                    dropped_events: ZodObject<
                                        {
                                            console_events: ZodNumber;
                                            network_requests: ZodNumber;
                                            scripts: ZodNumber;
                                            timeline_events: ZodNumber;
                                            total: ZodNumber;
                                            webmcp_tools: ZodNumber;
                                            websocket_connections: ZodNumber;
                                            websocket_frames: ZodNumber;
                                        },
                                        $strip,
                                    >;
                                    excluded: ZodArray<
                                        ZodObject<{ count: ...; reason: ...; section: ... }, $strip>,
                                    >;
                                    policy_filtered_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    status: ZodEnum<
                                        {
                                            attach_limited: "attach_limited";
                                            complete_within_window: "complete_within_window";
                                            policy_filtered: "policy_filtered";
                                            truncated: "truncated";
                                        },
                                    >;
                                    truncated_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    unavailable_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            console: ZodObject<
                                {
                                    coverage_started_at: ZodISODateTime;
                                    events: ZodArray<
                                        ZodObject<
                                            {
                                                argument_types: ...;
                                                column: ...;
                                                line: ...;
                                                text_capture: ...;
                                                timestamp: ...;
                                                type: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    prior_activity_available: ZodLiteral<false>;
                                },
                                $strip,
                            >;
                            dom: ZodObject<
                                {
                                    nodes: ZodArray<
                                        ZodObject<
                                            {
                                                attribute_names: ...;
                                                index: ...;
                                                node_name: ...;
                                                node_type: ...;
                                                node_value_length: ...;
                                                parent_index: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    total_nodes: ZodNumber;
                                },
                                $strip,
                            >;
                            frames: ZodArray<
                                ZodObject<
                                    {
                                        frame_id: ZodString;
                                        origin: ZodNullable<ZodString>;
                                        parent_frame_id: ZodNullable<ZodString>;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            limitations: ZodArray<ZodString>;
                            metadata: ZodObject<
                                {
                                    agent_hints: ZodArray<
                                        ZodObject<
                                            { declaration: ...; mechanism: ...; trust: ...; url: ... },
                                            $strip,
                                        >,
                                    >;
                                    dom_urls: ZodArray<
                                        ZodObject<
                                            {
                                                attribute: ...;
                                                destination_scope: ...;
                                                node_index: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    excluded_dom_urls: ZodNumber;
                                    headers_allowlisted: ZodLiteral<true>;
                                    responses: ZodArray<
                                        ZodObject<
                                            {
                                                content_encoding: ...;
                                                content_length: ...;
                                                csp: ...;
                                                links: ...;
                                                mime_type: ...;
                                                policies: ...;
                                                request_id: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            network: ZodObject<
                                {
                                    coverage_started_at: ZodISODateTime;
                                    prior_activity_available: ZodLiteral<false>;
                                    requests: ZodArray<
                                        ZodObject<
                                            {
                                                body_shapes: ...;
                                                encoded_data_length: ...;
                                                initiator: ...;
                                                method: ...;
                                                mime_type: ...;
                                                origin: ...;
                                                request_id: ...;
                                                resource_type: ...;
                                                status: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    websocket_events: ZodArray<
                                        ZodObject<
                                            {
                                                direction: ...;
                                                opcode: ...;
                                                payload_bytes: ...;
                                                payload_shape: ...;
                                                request_id: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            resources: ZodArray<
                                ZodObject<
                                    {
                                        content_size: ZodNullable<ZodNumber>;
                                        mime_type: ZodString;
                                        origin: ZodNullable<ZodString>;
                                        resource_key: ZodString;
                                        type: ZodString;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            schema_version: ZodLiteral<2>;
                            scripts: ZodObject<
                                {
                                    items: ZodArray<
                                        ZodObject<
                                            {
                                                cdp_hash: ...;
                                                frame_id: ...;
                                                is_module: ...;
                                                language: ...;
                                                length: ...;
                                                origin: ...;
                                                resource_reconciliation: ...;
                                                script_key: ...;
                                                source: ...;
                                                source_map_url: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    total: ZodNumber;
                                },
                                $strip,
                            >;
                            storage: ZodObject<
                                {
                                    cache_names: ZodArray<ZodString>;
                                    indexed_db_names: ZodArray<ZodString>;
                                    local_storage_keys: ZodArray<ZodString>;
                                    origin: ZodString;
                                    quota_bytes: ZodNullable<ZodNumber>;
                                    session_storage_keys: ZodArray<ZodString>;
                                    usage_bytes: ZodNullable<ZodNumber>;
                                    values_redacted: ZodLiteral<true>;
                                },
                                $strip,
                            >;
                            target: ZodObject<
                                {
                                    attached: ZodBoolean;
                                    origin: ZodString;
                                    target_id: ZodString;
                                    title: ZodString;
                                    type: ZodString;
                                    url: ZodString;
                                },
                                $strip,
                            >;
                            workers: ZodArray<
                                ZodObject<
                                    {
                                        attached: ZodBoolean;
                                        opener_target_id: ZodDefault<ZodNullable<(...)>>;
                                        origin: ZodNullable<ZodString>;
                                        parent_frame_id: ZodDefault<ZodNullable<(...)>>;
                                        target_id: ZodString;
                                        type: ZodString;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                        },
                        $strip,
                    >;
                    webmcp: ZodDefault<
                        ZodNullable<
                            ZodObject<
                                {
                                    browser: ZodObject<
                                        {
                                            js_version: ZodString;
                                            product: ZodString;
                                            protocol_version: ZodString;
                                            revision: ZodString;
                                            user_agent: ZodString;
                                        },
                                        $strip,
                                    >;
                                    completeness: ZodObject<
                                        {
                                            attach_limited_sections: ZodArray<(...)>;
                                            conditions: ZodArray<(...)>;
                                            dropped_events: ZodObject<(...), (...)>;
                                            excluded: ZodArray<(...)>;
                                            policy_filtered_sections: ZodArray<(...)>;
                                            status: ZodEnum<(...)>;
                                            truncated_sections: ZodArray<(...)>;
                                            unavailable_sections: ZodArray<(...)>;
                                        },
                                        $strip,
                                    >;
                                    limitations: ZodArray<ZodString>;
                                    schema_version: ZodLiteral<1>;
                                    status: ZodEnum<
                                        { available: "available"; unavailable: "unavailable" },
                                    >;
                                    target: ZodObject<
                                        { origin: ZodString; target_id: ZodString; url: ZodString },
                                        $strip,
                                    >;
                                    tools: ZodObject<
                                        { items: ZodArray<(...)>; total: ZodNumber },
                                        $strip,
                                    >;
                                },
                                $strip,
                            >,
                        >,
                    >;
                },
                $strip,
            >;
            before: ZodObject<
                {
                    inspection: ZodObject<
                        {
                            accessibility: ZodObject<
                                {
                                    nodes: ZodArray<
                                        ZodObject<
                                            {
                                                description: ...;
                                                ignored: ...;
                                                name: ...;
                                                node_id: ...;
                                                parent_id: ...;
                                                role: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    text_capture: ZodObject<
                                        {
                                            excluded_fields: ZodNumber;
                                            retained_bytes: ZodNumber;
                                            status: ZodEnum<(...)>;
                                            truncated_fields: ZodNumber;
                                        },
                                        $strip,
                                    >;
                                    total_nodes: ZodNumber;
                                },
                                $strip,
                            >;
                            browser: ZodObject<
                                {
                                    js_version: ZodString;
                                    product: ZodString;
                                    protocol_version: ZodString;
                                    revision: ZodString;
                                    user_agent: ZodString;
                                },
                                $strip,
                            >;
                            capture_window: ZodObject<
                                {
                                    ended_at: ZodISODateTime;
                                    observation_ms: ZodNumber;
                                    started_at: ZodISODateTime;
                                },
                                $strip,
                            >;
                            completeness: ZodObject<
                                {
                                    attach_limited_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    conditions: ZodArray<
                                        ZodEnum<
                                            {
                                                attach_limited: ...;
                                                complete_within_window: ...;
                                                policy_filtered: ...;
                                                truncated: ...;
                                            },
                                        >,
                                    >;
                                    dropped_events: ZodObject<
                                        {
                                            console_events: ZodNumber;
                                            network_requests: ZodNumber;
                                            scripts: ZodNumber;
                                            timeline_events: ZodNumber;
                                            total: ZodNumber;
                                            webmcp_tools: ZodNumber;
                                            websocket_connections: ZodNumber;
                                            websocket_frames: ZodNumber;
                                        },
                                        $strip,
                                    >;
                                    excluded: ZodArray<
                                        ZodObject<{ count: ...; reason: ...; section: ... }, $strip>,
                                    >;
                                    policy_filtered_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    status: ZodEnum<
                                        {
                                            attach_limited: "attach_limited";
                                            complete_within_window: "complete_within_window";
                                            policy_filtered: "policy_filtered";
                                            truncated: "truncated";
                                        },
                                    >;
                                    truncated_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                    unavailable_sections: ZodArray<
                                        ZodEnum<
                                            {
                                                accessibility: ...;
                                                console_events: ...;
                                                console_text: ...;
                                                dom: ...;
                                                frames: ...;
                                                json_body_shapes: ...;
                                                metadata: ...;
                                                network_initiators: ...;
                                                network_requests: ...;
                                                resources: ...;
                                                screenshot: ...;
                                                script_sources: ...;
                                                scripts: ...;
                                                source_maps: ...;
                                                storage: ...;
                                                storage_keys: ...;
                                                timeline: ...;
                                                webmcp_tools: ...;
                                                websocket_connections: ...;
                                                websocket_frames: ...;
                                                websocket_shapes: ...;
                                                workers: ...;
                                            },
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            console: ZodObject<
                                {
                                    coverage_started_at: ZodISODateTime;
                                    events: ZodArray<
                                        ZodObject<
                                            {
                                                argument_types: ...;
                                                column: ...;
                                                line: ...;
                                                text_capture: ...;
                                                timestamp: ...;
                                                type: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    prior_activity_available: ZodLiteral<false>;
                                },
                                $strip,
                            >;
                            dom: ZodObject<
                                {
                                    nodes: ZodArray<
                                        ZodObject<
                                            {
                                                attribute_names: ...;
                                                index: ...;
                                                node_name: ...;
                                                node_type: ...;
                                                node_value_length: ...;
                                                parent_index: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    total_nodes: ZodNumber;
                                },
                                $strip,
                            >;
                            frames: ZodArray<
                                ZodObject<
                                    {
                                        frame_id: ZodString;
                                        origin: ZodNullable<ZodString>;
                                        parent_frame_id: ZodNullable<ZodString>;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            limitations: ZodArray<ZodString>;
                            metadata: ZodObject<
                                {
                                    agent_hints: ZodArray<
                                        ZodObject<
                                            { declaration: ...; mechanism: ...; trust: ...; url: ... },
                                            $strip,
                                        >,
                                    >;
                                    dom_urls: ZodArray<
                                        ZodObject<
                                            {
                                                attribute: ...;
                                                destination_scope: ...;
                                                node_index: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    excluded_dom_urls: ZodNumber;
                                    headers_allowlisted: ZodLiteral<true>;
                                    responses: ZodArray<
                                        ZodObject<
                                            {
                                                content_encoding: ...;
                                                content_length: ...;
                                                csp: ...;
                                                links: ...;
                                                mime_type: ...;
                                                policies: ...;
                                                request_id: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            network: ZodObject<
                                {
                                    coverage_started_at: ZodISODateTime;
                                    prior_activity_available: ZodLiteral<false>;
                                    requests: ZodArray<
                                        ZodObject<
                                            {
                                                body_shapes: ...;
                                                encoded_data_length: ...;
                                                initiator: ...;
                                                method: ...;
                                                mime_type: ...;
                                                origin: ...;
                                                request_id: ...;
                                                resource_type: ...;
                                                status: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    websocket_events: ZodArray<
                                        ZodObject<
                                            {
                                                direction: ...;
                                                opcode: ...;
                                                payload_bytes: ...;
                                                payload_shape: ...;
                                                request_id: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                },
                                $strip,
                            >;
                            resources: ZodArray<
                                ZodObject<
                                    {
                                        content_size: ZodNullable<ZodNumber>;
                                        mime_type: ZodString;
                                        origin: ZodNullable<ZodString>;
                                        resource_key: ZodString;
                                        type: ZodString;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                            schema_version: ZodLiteral<2>;
                            scripts: ZodObject<
                                {
                                    items: ZodArray<
                                        ZodObject<
                                            {
                                                cdp_hash: ...;
                                                frame_id: ...;
                                                is_module: ...;
                                                language: ...;
                                                length: ...;
                                                origin: ...;
                                                resource_reconciliation: ...;
                                                script_key: ...;
                                                source: ...;
                                                source_map_url: ...;
                                                url: ...;
                                            },
                                            $strip,
                                        >,
                                    >;
                                    total: ZodNumber;
                                },
                                $strip,
                            >;
                            storage: ZodObject<
                                {
                                    cache_names: ZodArray<ZodString>;
                                    indexed_db_names: ZodArray<ZodString>;
                                    local_storage_keys: ZodArray<ZodString>;
                                    origin: ZodString;
                                    quota_bytes: ZodNullable<ZodNumber>;
                                    session_storage_keys: ZodArray<ZodString>;
                                    usage_bytes: ZodNullable<ZodNumber>;
                                    values_redacted: ZodLiteral<true>;
                                },
                                $strip,
                            >;
                            target: ZodObject<
                                {
                                    attached: ZodBoolean;
                                    origin: ZodString;
                                    target_id: ZodString;
                                    title: ZodString;
                                    type: ZodString;
                                    url: ZodString;
                                },
                                $strip,
                            >;
                            workers: ZodArray<
                                ZodObject<
                                    {
                                        attached: ZodBoolean;
                                        opener_target_id: ZodDefault<ZodNullable<(...)>>;
                                        origin: ZodNullable<ZodString>;
                                        parent_frame_id: ZodDefault<ZodNullable<(...)>>;
                                        target_id: ZodString;
                                        type: ZodString;
                                        url: ZodString;
                                    },
                                    $strip,
                                >,
                            >;
                        },
                        $strip,
                    >;
                    webmcp: ZodDefault<
                        ZodNullable<
                            ZodObject<
                                {
                                    browser: ZodObject<
                                        {
                                            js_version: ZodString;
                                            product: ZodString;
                                            protocol_version: ZodString;
                                            revision: ZodString;
                                            user_agent: ZodString;
                                        },
                                        $strip,
                                    >;
                                    completeness: ZodObject<
                                        {
                                            attach_limited_sections: ZodArray<(...)>;
                                            conditions: ZodArray<(...)>;
                                            dropped_events: ZodObject<(...), (...)>;
                                            excluded: ZodArray<(...)>;
                                            policy_filtered_sections: ZodArray<(...)>;
                                            status: ZodEnum<(...)>;
                                            truncated_sections: ZodArray<(...)>;
                                            unavailable_sections: ZodArray<(...)>;
                                        },
                                        $strip,
                                    >;
                                    limitations: ZodArray<ZodString>;
                                    schema_version: ZodLiteral<1>;
                                    status: ZodEnum<
                                        { available: "available"; unavailable: "unavailable" },
                                    >;
                                    target: ZodObject<
                                        { origin: ZodString; target_id: ZodString; url: ZodString },
                                        $strip,
                                    >;
                                    tools: ZodObject<
                                        { items: ZodArray<(...)>; total: ZodNumber },
                                        $strip,
                                    >;
                                },
                                $strip,
                            >,
                        >,
                    >;
                },
                $strip,
            >;
            max_changes: ZodDefault<ZodNumber>;
        },
        $strip,
    > = ...

    Input for deterministic comparison of two normalized web captures.