CoAgent8
    Preparing search index...

    Function generateBugReport

    • Builds a sanitized bug report, the link to the bug report form and the prompt that shows both.

      Collects runtime environment parameters (Node.js, OS architecture, detected CLI versions), strips sensitive code blocks and credentials, and puts the report in a copy block to paste.

      Parameters

      • options: BugReportOptions

        Error message, context, and optional DoctorReport diagnostics.

      Returns BugReportResult

      Object containing title, body, the form URL, and markdown prompt.