@gmb/bitmark-parser - v7.2.0
    Preparing search index...

    Interface Diagnostic

    One issue, as LSP defines a diagnostic. code is the stable contract (the same codes as the JSON envelope's parser.errors / warnings / infos); message is human prose and may change. data.bit is the index of the bit the issue belongs to, the same index the JSON array uses.

    interface Diagnostic {
        code: string;
        data: { bit: number };
        message: string;
        range: Range;
        severity: DiagnosticSeverity;
        source: "bitmark";
    }
    Index
    code: string
    data: { bit: number }
    message: string
    range: Range
    source: "bitmark"