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

    The command contribution should be implemented to register custom commands and handler.

    Implements

    Index

    Constructors

    Properties

    customAgentFactory: CustomAgentFactory
    logger: ILogger
    messageService?: MessageService
    migrationCheckInFlight: boolean = false

    Guards against concurrent pending-migration checks from re-entrant refreshes.

    migrationPromptShown: boolean = false

    Ensures the migration consent prompt is shown at most once per session.

    storageService: LocalStorageService

    Methods

    • Prompts the user once per session before migrating legacy customAgents.yml files (and before correcting agents migrated with merged headings by an earlier Theia version). Nothing is written until the user confirms. Declining is safe: legacy customAgents.yml files keep being loaded, so agents continue to work unmigrated, and the prompt reappears next session until they migrate or pick "Don't Show Again".

      This is intentionally not backed by a preference: the whole migration path is transitional and will be removed once the legacy format is no longer supported. The "don't show again" choice is persisted in local storage (like the dev-container suggestion), so there is no setting to retire.

      Returns Promise<void>

    • Parameters

      • reports: {
            alreadyPresent: number;
            corrected: number;
            failed: number;
            migrated: number;
            promptOverridesMigrated: number;
            scope: URI;
            yamlBackedUp: boolean;
            yamlURI: URI;
        }[]

      Returns void