providerplaneai
    Preparing search index...

    Function stripBinaryPayloadFields

    • Recursively removes binary-heavy payload fields from objects.

      Current behavior:

      • Removes base64 fields
      • Removes url fields only when they are data: URLs

      This is intentionally generic so snapshots/timelines can sanitize artifacts without provider-specific branching.

      Type Parameters

      • T

        Artifact value shape being sanitized.

      Parameters

      • value: T

        Value to sanitize.

      Returns T

      Sanitized value with binary-heavy fields removed recursively.