@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function toShelvedPRRef

    • Project a PR to a lightweight ShelvedPRRef for digest output. Only the fields needed for display are retained, reducing JSON payload size.

      Parameters

      • pr: {
            daysSinceActivity: number;
            number: number;
            repo: string;
            status: "needs_addressing" | "waiting_on_maintainer";
            title: string;
            url: string;
        }

        Any object with at least the ShelvedPRRef fields

      Returns {
          daysSinceActivity: number;
          number: number;
          repo: string;
          status: "needs_addressing" | "waiting_on_maintainer";
          title: string;
          url: string;
      }

      Lightweight reference for display