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

    Checks the registry for updates to installed skills, MCP servers and Agent Plugins and applies or offers them according to the effective RegistryAutoUpdatePolicy.

    Drifted artifacts are deliberately excluded in every mode: they classify as fix-skill / fix-config / fix-plugin rather than installed-from-registry, so they never reach collectPending and the user resolves them with Fix in the Extensions view.

    Updates go through the install services directly rather than the contributions' action handlers, so a batch reports one summary message instead of one message per artifact.

    Index

    Constructors

    Properties

    commandService: CommandService
    fetchService: RegistryFetchService
    logger: ILogger
    mcpInstallService: MCPInstallService
    messageService: MessageService
    pluginInstaller: PluginInstaller
    pluginInstallService: PluginInstallService
    skillInstallService: SkillInstallService

    Methods

    • Asks once, ever, whether updates should be applied automatically from now on. "Once" is anchored on the preference rather than on separate bookkeeping, so setting it by hand in Settings counts as answering. Dismissing writes nothing and the prompt returns on the next window load.

      Parameters

      • outstanding: PendingUpdate[]

        updates the user has not already applied. Turning auto update on applies them right away, since a user who just asked for automatic updates would otherwise watch the ones that prompted the question sit untouched until the next reload.

      Returns Promise<void>

    • Markdown link opening the default preference. Notification messages are rendered as inline markdown and their links are opened through the OpenerService, where core's CommandOpenHandler picks up the command: scheme.

      Routed through AI_SHOW_SETTINGS_COMMAND rather than preferences:open, because ai-features.* preferences are hidden from the Settings UI once the AI Configuration view covers them; a preferences:open link would open Settings filtered on a preference that has no row there. The command lands on the AI Configuration view where @theia/ai-ide is present and falls back to the Settings UI where it is not.

      Returns string