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

    Function captureStorage

    • Capture redacted, bounded storage metadata for one authorized origin.

      Parameters

      • context: {
            connection: CdpConnection;
            input: {
                allowed_origins: string[];
                approved: true;
                cdp_endpoint: string;
                console_text_approved: boolean;
                include_accessibility_text: boolean;
                include_console_text: boolean;
                include_json_body_shapes: boolean;
                include_script_sources: boolean;
                include_storage_keys: boolean;
                include_websocket_shapes: boolean;
                json_body_schema_approved: boolean;
                limits: {
                    max_ax_nodes: number;
                    max_ax_text_field_bytes: number;
                    max_console_events: number;
                    max_console_text_field_bytes: number;
                    max_dom_nodes: number;
                    max_frames: number;
                    max_json_body_bytes: number;
                    max_json_shape_depth: number;
                    max_json_shape_nodes: number;
                    max_network_events: number;
                    max_resources: number;
                    max_script_source_bytes: number;
                    max_scripts: number;
                    max_storage_keys: number;
                    max_total_ax_text_bytes: number;
                    max_total_console_text_bytes: number;
                    max_total_json_body_bytes: number;
                    max_total_script_source_bytes: number;
                    max_total_websocket_shape_bytes: number;
                    max_websocket_events: number;
                    max_websocket_shape_bytes: number;
                    max_workers: number;
                };
                observation_ms: number;
                target_id: string;
                websocket_shape_approved: boolean;
            };
            sessionId: string
            | undefined;
            signal?: AbortSignal;
        }
      • origin: string
      • limitations: string[]

      Returns Promise<
          {
              truncated: boolean;
              value: {
                  cache_names: string[];
                  indexed_db_names: string[];
                  local_storage_keys: string[];
                  origin: string;
                  quota_bytes: number
                  | null;
                  session_storage_keys: string[];
                  usage_bytes: number | null;
                  values_redacted: true;
              };
          },
      >