Member Junction
    Preparing search index...

    Pluggable mode for the Explorer command palette (the Ctrl+K omnibar).

    Registers under its OWN ClassFactory base — @RegisterClass(OmnibarProvider, '<key>') — deliberately separate from the composer's ComposerTriggerProvider discovery, so palette semantics (e.g. '#' = jump to a specific record) never leak into text editors' mention discovery (where '#' means something else). The shape is shared with the composer contract for consistency; the palette is the only consumer of this base.

    TriggerChar conventions: '' (empty string) = the DEFAULT mode consulted when the input has no trigger prefix (global search); any single char ('#', '/', '@', …) claims that prefix. OpenApps extend the palette by registering additional subclasses — no core changes required.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    context: OmnibarContext = {}
    Key: string

    Stable identifier for this provider (e.g. 'agent-mentions'). Used as the ClassFactory registration key and by ExcludedTriggerKeys filtering.

    ModeLabel: string

    Human label for the palette's mode badge while this provider is active.

    Placeholder: string = 'Type to search…'

    Placeholder shown in the input while this provider's trigger is active.

    Priority: number

    Ordering weight — higher runs first. When multiple providers share a TriggerChar, results are concatenated in priority order (then Key order).

    TriggerChar: string

    The single character that opens this provider's autocomplete (e.g. '@').

    Methods

    • Optional warm-up hook, invoked once by the editor when it initializes with this provider active. Default is a no-op; override to pre-load caches so the first keystroke is fast. Must be safe to call repeatedly and concurrently.

      Parameters

      Returns Promise<void>