NARU API
    Preparing search index...

    Interface WorkspaceObservation

    What the host managed to see. A browser can always verify the package it just loaded; it can verify a source only when the embedder grants a source-inspection capability, which is why the two halves are separate.

    interface WorkspaceObservation {
        occurrenceIds?: ReadonlySet<string>;
        packageDigest?: string;
        packagePresent: boolean;
        resources?: readonly ObservedResource[];
        resourcesComplete?: boolean;
        sourceInspection: "available" | "unavailable";
        sources?: readonly ObservedSource[];
    }
    Index
    occurrenceIds?: ReadonlySet<string>

    Occurrence ids the reopened hierarchy actually carries, when known.

    packageDigest?: string
    packagePresent: boolean

    False when the package could not be opened at all.

    resources?: readonly ObservedResource[]
    resourcesComplete?: boolean

    True when resources is the reopened package's complete resource list.

    sourceInspection: "available" | "unavailable"

    unavailable means the host cannot inspect sources, not that none moved.

    sources?: readonly ObservedSource[]