@vivantel/virage-core
    Preparing search index...

    Interface SourceItem

    A single addressable item produced by a SourceProvider. Represents one file (or row, or blob) that will be sent to the chunking pipeline.

    interface SourceItem {
        id: string;
        labels: string[];
        meta?: Record<string, unknown>;
        path: string;
        providerName: string;
    }
    Index
    id: string

    Stable unique ID within this provider (e.g. git blob SHA, S3 ETag, DB row PK).

    labels: string[]

    Labels attached to this item at discovery time, before chunk-level label rules run. Examples: S3 object tags, CODEOWNERS team, space:confluence-space-key.

    meta?: Record<string, unknown>

    Provider-specific metadata (e.g. S3 ETag, DB row metadata, git commit hash).

    path: string

    Relative path from the source root — used by chunkers and for glob filtering.

    providerName: string

    Canonical name of the provider that produced this item (e.g. "git", "s3", "jdbc").