Theia API Documentation v1.74.0
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    cachedEntries: undefined | ResolvedRegistryEntry[]
    cachedResponse: undefined | RegistryResponse
    cachedSkills: undefined | ResolvedSkillEntry[]
    onDidChange: Event<void> = ...

    Fires whenever the cached set of resolved entries changes (initial load, manual refresh).

    onDidChangeEmitter: Emitter<void> = ...
    requestService: RequestService

    Use the backend request service rather than the generic (XHR-first) browser RequestService: the AI registry host does not send CORS headers, so a direct browser XHR is always blocked and logs an unsuppressable console error before falling back to the backend. Routing straight through the backend avoids that noise, matching how VSXRegistryService fetches.

    Methods

    • Fetches and caches the raw registry response. One HTTP request backs both the MCP and skill slices; the resolved slices are memoized separately and invalidated whenever the raw response is (re-)fetched.

      Parameters

      • forceRefresh: boolean

      Returns Promise<RegistryResponse>