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

    The two ways to undo a customized prompt fragment, shared by every page that offers them (the agent detail's prompt variant sets and the Prompt Snippets list).

    Which one applies depends on whether a built-in exists: resetToBuiltIn deliberately does nothing for a fragment that has none — a user-authored file such as a custom prompt variant — so those must be deleted instead. Offering reset there is a dead button, which is exactly what this namespace exists to prevent.

    Interfaces

    RemoveOptions

    Functions

    confirmAndRemove
    confirmAndReset
    hasBuiltIn