Member Junction
    Preparing search index...

    Item in the mention-autocomplete dropdown, and the payload carried by an inserted mention chip. Fully generic — type is an open string (providers choose their own vocabulary, e.g. 'agent' | 'user' | 'entity' | 'query' | 'skill'); the editor and dropdown only use it for cosmetic styling (chip palette, badge label) and for the plain-text serialization prefix.

    interface MentionSuggestion {
        color?: string;
        data?: Record<string, unknown>;
        description?: string;
        displayName: string;
        icon?: string;
        id: string;
        imageUrl?: string;
        name: string;
        presets?: MentionSuggestionPreset[];
        type: string;
    }
    Index

    Properties

    color?: string

    Accent color for the chip/badge (e.g. a skill's own Color UX metadata).

    data?: Record<string, unknown>

    Provider-defined extra payload; the composer never inspects it.

    description?: string
    displayName: string
    icon?: string

    Font Awesome (or custom) icon class for the dropdown row + chip.

    id: string
    imageUrl?: string

    Image rendered in the dropdown row + chip when present (e.g. an agent LogoURL).

    name: string

    Optional presets — 2+ presets render a preset picker on the inserted chip.

    type: string

    Open string discriminator chosen by the provider (drives chip/badge styling).