Briyah SDK - v2.0.6
    Preparing search index...

    Interface ArtifactMetadata

    interface ArtifactMetadata {
        artifactId: string;
        description?: string;
        fileName: string;
        mimeType?: string;
        name: string;
        pack?: string;
        scope?: PromptScope;
        size: number;
        uploadDate: string;
    }
    Index
    artifactId: string
    description?: string
    fileName: string
    mimeType?: string
    name: string
    pack?: string

    The pack that ships this document, absent for a user's own artifact.

    Set server-side rather than parsed out of the id in the client: the id's shape is pack-artifacts.ts's business, and a second implementation of the split is how the .-versus-/ confusion spreads.

    scope?: PromptScope

    Where the artifact comes from. Absent means 'user' — only documents shipped by a tool pack are 'common', and those are read-only.

    size: number
    uploadDate: string