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

    Variable webPageInspectionSchemaConst

    webPageInspectionSchema: ZodObject<
        {
            accessibility: ZodObject<
                {
                    nodes: ZodArray<
                        ZodObject<
                            {
                                description: ZodNullable<ZodString>;
                                ignored: ZodBoolean;
                                name: ZodNullable<ZodString>;
                                node_id: ZodString;
                                parent_id: ZodNullable<ZodString>;
                                role: ZodNullable<ZodString>;
                            },
                            $strip,
                        >,
                    >;
                    text_capture: ZodObject<
                        {
                            excluded_fields: ZodNumber;
                            retained_bytes: ZodNumber;
                            status: ZodEnum<
                                {
                                    included: "included";
                                    not_approved: "not_approved";
                                    truncated: "truncated";
                                    unavailable: "unavailable";
                                },
                            >;
                            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: "accessibility";
                                console_events: "console_events";
                                console_text: "console_text";
                                dom: "dom";
                                frames: "frames";
                                json_body_shapes: "json_body_shapes";
                                metadata: "metadata";
                                network_initiators: "network_initiators";
                                network_requests: "network_requests";
                                resources: "resources";
                                screenshot: "screenshot";
                                script_sources: "script_sources";
                                scripts: "scripts";
                                source_maps: "source_maps";
                                storage: "storage";
                                storage_keys: "storage_keys";
                                timeline: "timeline";
                                webmcp_tools: "webmcp_tools";
                                websocket_connections: "websocket_connections";
                                websocket_frames: "websocket_frames";
                                websocket_shapes: "websocket_shapes";
                                workers: "workers";
                            },
                        >,
                    >;
                    conditions: ZodArray<
                        ZodEnum<
                            {
                                attach_limited: "attach_limited";
                                complete_within_window: "complete_within_window";
                                policy_filtered: "policy_filtered";
                                truncated: "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: ZodNullable<ZodNumber>;
                                reason: ZodEnum<
                                    {
                                        disallowed_origin: "disallowed_origin";
                                        invalid_protocol_value: "invalid_protocol_value";
                                        not_approved: "not_approved";
                                        out_of_target_scope: "out_of_target_scope";
                                        provider_unavailable: "provider_unavailable";
                                        unattributed_origin: "unattributed_origin";
                                        unsupported_url: "unsupported_url";
                                    },
                                >;
                                section: ZodEnum<
                                    {
                                        accessibility: "accessibility";
                                        console_events: "console_events";
                                        console_text: "console_text";
                                        dom: "dom";
                                        frames: "frames";
                                        json_body_shapes: "json_body_shapes";
                                        metadata: "metadata";
                                        network_initiators: "network_initiators";
                                        network_requests: "network_requests";
                                        resources: "resources";
                                        screenshot: "screenshot";
                                        script_sources: "script_sources";
                                        scripts: "scripts";
                                        source_maps: "source_maps";
                                        storage: "storage";
                                        storage_keys: "storage_keys";
                                        timeline: "timeline";
                                        webmcp_tools: "webmcp_tools";
                                        websocket_connections: "websocket_connections";
                                        websocket_frames: "websocket_frames";
                                        websocket_shapes: "websocket_shapes";
                                        workers: "workers";
                                    },
                                >;
                            },
                            $strip,
                        >,
                    >;
                    policy_filtered_sections: ZodArray<
                        ZodEnum<
                            {
                                accessibility: "accessibility";
                                console_events: "console_events";
                                console_text: "console_text";
                                dom: "dom";
                                frames: "frames";
                                json_body_shapes: "json_body_shapes";
                                metadata: "metadata";
                                network_initiators: "network_initiators";
                                network_requests: "network_requests";
                                resources: "resources";
                                screenshot: "screenshot";
                                script_sources: "script_sources";
                                scripts: "scripts";
                                source_maps: "source_maps";
                                storage: "storage";
                                storage_keys: "storage_keys";
                                timeline: "timeline";
                                webmcp_tools: "webmcp_tools";
                                websocket_connections: "websocket_connections";
                                websocket_frames: "websocket_frames";
                                websocket_shapes: "websocket_shapes";
                                workers: "workers";
                            },
                        >,
                    >;
                    status: ZodEnum<
                        {
                            attach_limited: "attach_limited";
                            complete_within_window: "complete_within_window";
                            policy_filtered: "policy_filtered";
                            truncated: "truncated";
                        },
                    >;
                    truncated_sections: ZodArray<
                        ZodEnum<
                            {
                                accessibility: "accessibility";
                                console_events: "console_events";
                                console_text: "console_text";
                                dom: "dom";
                                frames: "frames";
                                json_body_shapes: "json_body_shapes";
                                metadata: "metadata";
                                network_initiators: "network_initiators";
                                network_requests: "network_requests";
                                resources: "resources";
                                screenshot: "screenshot";
                                script_sources: "script_sources";
                                scripts: "scripts";
                                source_maps: "source_maps";
                                storage: "storage";
                                storage_keys: "storage_keys";
                                timeline: "timeline";
                                webmcp_tools: "webmcp_tools";
                                websocket_connections: "websocket_connections";
                                websocket_frames: "websocket_frames";
                                websocket_shapes: "websocket_shapes";
                                workers: "workers";
                            },
                        >,
                    >;
                    unavailable_sections: ZodArray<
                        ZodEnum<
                            {
                                accessibility: "accessibility";
                                console_events: "console_events";
                                console_text: "console_text";
                                dom: "dom";
                                frames: "frames";
                                json_body_shapes: "json_body_shapes";
                                metadata: "metadata";
                                network_initiators: "network_initiators";
                                network_requests: "network_requests";
                                resources: "resources";
                                screenshot: "screenshot";
                                script_sources: "script_sources";
                                scripts: "scripts";
                                source_maps: "source_maps";
                                storage: "storage";
                                storage_keys: "storage_keys";
                                timeline: "timeline";
                                webmcp_tools: "webmcp_tools";
                                websocket_connections: "websocket_connections";
                                websocket_frames: "websocket_frames";
                                websocket_shapes: "websocket_shapes";
                                workers: "workers";
                            },
                        >,
                    >;
                },
                $strip,
            >;
            console: ZodObject<
                {
                    coverage_started_at: ZodISODateTime;
                    events: ZodArray<
                        ZodObject<
                            {
                                argument_types: ZodArray<ZodString>;
                                column: ZodNullable<ZodNumber>;
                                line: ZodNullable<ZodNumber>;
                                text_capture: ZodObject<
                                    {
                                        retained_bytes: ZodNumber;
                                        status: ZodEnum<
                                            { included: ...; not_approved: ...; truncated: ... },
                                        >;
                                        truncated_values: ZodNumber;
                                        values: ZodArray<ZodObject<(...), (...)>>;
                                    },
                                    $strip,
                                >;
                                timestamp: ZodNumber;
                                type: ZodString;
                                url: ZodNullable<ZodString>;
                            },
                            $strip,
                        >,
                    >;
                    prior_activity_available: ZodLiteral<false>;
                },
                $strip,
            >;
            dom: ZodObject<
                {
                    nodes: ZodArray<
                        ZodObject<
                            {
                                attribute_names: ZodArray<ZodString>;
                                index: ZodNumber;
                                node_name: ZodString;
                                node_type: ZodNumber;
                                node_value_length: ZodNumber;
                                parent_index: ZodNumber;
                            },
                            $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: ZodString;
                                mechanism: ZodEnum<
                                    {
                                        dom_link_rel: "dom_link_rel";
                                        link_rel: "link_rel";
                                        response_header: "response_header";
                                        well_known_resource: "well_known_resource";
                                    },
                                >;
                                trust: ZodLiteral<"page-declared-untrusted">;
                                url: ZodNullable<ZodString>;
                            },
                            $strip,
                        >,
                    >;
                    dom_urls: ZodArray<
                        ZodObject<
                            {
                                attribute: ZodEnum<
                                    {
                                        action: "action";
                                        formaction: "formaction";
                                        href: "href";
                                        poster: "poster";
                                        src: "src";
                                    },
                                >;
                                destination_scope: ZodEnum<
                                    {
                                        approved: "approved";
                                        outside_policy: "outside_policy";
                                        unsupported: "unsupported";
                                    },
                                >;
                                node_index: ZodNumber;
                                url: ZodNullable<ZodString>;
                            },
                            $strip,
                        >,
                    >;
                    excluded_dom_urls: ZodNumber;
                    headers_allowlisted: ZodLiteral<true>;
                    responses: ZodArray<
                        ZodObject<
                            {
                                content_encoding: ZodNullable<ZodString>;
                                content_length: ZodNullable<ZodNumber>;
                                csp: ZodObject<
                                    {
                                        directives: ZodArray<ZodObject<(...), (...)>>;
                                        hash_count: ZodNumber;
                                        nonce_count: ZodNumber;
                                    },
                                    $strip,
                                >;
                                links: ZodArray<
                                    ZodObject<
                                        {
                                            as: ZodNullable<(...)>;
                                            crossorigin: ZodNullable<(...)>;
                                            destination_scope: ZodEnum<(...)>;
                                            href: ZodNullable<(...)>;
                                            rel: ZodArray<(...)>;
                                            type: ZodNullable<(...)>;
                                        },
                                        $strip,
                                    >,
                                >;
                                mime_type: ZodNullable<ZodString>;
                                policies: ZodObject<
                                    {
                                        coep: ZodNullable<ZodString>;
                                        coop: ZodNullable<ZodString>;
                                        corp: ZodNullable<ZodString>;
                                        permissions_policy_features: ZodArray<ZodString>;
                                        referrer_policy: ZodNullable<ZodString>;
                                        x_content_type_options: ZodNullable<ZodString>;
                                    },
                                    $strip,
                                >;
                                request_id: ZodString;
                                url: ZodString;
                            },
                            $strip,
                        >,
                    >;
                },
                $strip,
            >;
            network: ZodObject<
                {
                    coverage_started_at: ZodISODateTime;
                    prior_activity_available: ZodLiteral<false>;
                    requests: ZodArray<
                        ZodObject<
                            {
                                body_shapes: ZodObject<
                                    {
                                        request: ZodNullable<ZodObject<(...), (...)>>;
                                        response: ZodNullable<ZodObject<(...), (...)>>;
                                        status: ZodEnum<
                                            {
                                                included: ...;
                                                not_approved: ...;
                                                partial: ...;
                                                truncated: ...;
                                                unavailable: ...;
                                            },
                                        >;
                                    },
                                    $strip,
                                >;
                                encoded_data_length: ZodNullable<ZodNumber>;
                                initiator: ZodObject<
                                    {
                                        column: ZodNullable<ZodNumber>;
                                        line: ZodNullable<ZodNumber>;
                                        type: ZodString;
                                        url: ZodNullable<ZodString>;
                                    },
                                    $strip,
                                >;
                                method: ZodString;
                                mime_type: ZodNullable<ZodString>;
                                origin: ZodNullable<ZodString>;
                                request_id: ZodString;
                                resource_type: ZodNullable<ZodString>;
                                status: ZodNullable<ZodNumber>;
                                url: ZodString;
                            },
                            $strip,
                        >,
                    >;
                    websocket_events: ZodArray<
                        ZodObject<
                            {
                                direction: ZodEnum<{ received: "received"; sent: "sent" }>;
                                opcode: ZodNumber;
                                payload_bytes: ZodNumber;
                                payload_shape: ZodNullable<
                                    ZodObject<
                                        {
                                            format: ZodEnum<(...)>;
                                            json_shape: ZodNullable<(...)>;
                                            truncated: ZodBoolean;
                                        },
                                        $strip,
                                    >,
                                >;
                                request_id: ZodString;
                            },
                            $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: ZodString;
                                frame_id: ZodDefault<ZodNullable<ZodString>>;
                                is_module: ZodBoolean;
                                language: ZodNullable<ZodString>;
                                length: ZodNumber;
                                origin: ZodNullable<ZodString>;
                                resource_reconciliation: ZodDiscriminatedUnion<
                                    [
                                        ZodObject<{ resource_key: ...; status: ... }, $strip>,
                                        ZodObject<{ candidate_resource_keys: ...; status: ... }, $strip>,
                                        ZodObject<{ reason: ...; status: ... }, $strip>,
                                    ],
                                    "status",
                                >;
                                script_key: ZodString;
                                source: ZodDiscriminatedUnion<
                                    [
                                        ZodObject<{ included: ...; reason: ... }, $strip>,
                                        ZodObject<{ artifact: ...; included: ... }, $strip>,
                                    ],
                                    "included",
                                >;
                                source_map_url: ZodNullable<ZodString>;
                                url: ZodString;
                            },
                            $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<ZodString>>;
                        origin: ZodNullable<ZodString>;
                        parent_frame_id: ZodDefault<ZodNullable<ZodString>>;
                        target_id: ZodString;
                        type: ZodString;
                        url: ZodString;
                    },
                    $strip,
                >,
            >;
        },
        $strip,
    > = ...

    Provider-neutral normalized result for one passive web-page observation.