Protected ReadonlycustomProtected ReadonlycustomizationProtected ReadonlyloggerProtected Optional ReadonlymessageProtectedmigrationGuards against concurrent pending-migration checks from re-entrant refreshes.
ProtectedmigrationEnsures the migration consent prompt is shown at most once per session.
Protected ReadonlystorageProtectedmaybePrompts 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.
Called when the application is started. The application shell is not attached yet when this method runs. Should return a promise if it runs asynchronously.
Called when an application is stopped or unloaded.
Note that this is implemented using window.beforeunload which doesn't allow any asynchronous code anymore.
I.e. this is the last tick.
ProtectedpromptProtectedrefreshProtectedshow
The command contribution should be implemented to register custom commands and handler.