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

    Service to handle OS-level notifications across different platforms Provides fallback mechanisms for environments where notifications are unavailable

    Index

    Constructors

    Properties

    logger: ILogger

    Methods

    • Show a notification for an agent event (task completed or input needed). This is a convenience method with pre-configured options for agent notifications.

      Parameters

      • agentName: string

        The name of the agent

      • kind: AgentNotificationKind

        Whether the agent completed its task or needs user input

      • OptionalsessionTitle: string

        Optional title of the chat session for identification

      • OptionalonClickCallback: () => void

        Optional callback to invoke when the notification is clicked

      Returns Promise<OSNotificationResult>

      Promise resolving to the notification result