A more modern context object that seperates the foregrounded application and the environment in which Highlight is running.

interface HighlightContext {
    application: DesktopApplication;
    attachments?: Attachment[];
    environment: DesktopEnvironment;
    suggestion?: string;
    userIntent?: string;
}

Properties

application: DesktopApplication
attachments?: Attachment[]
environment: DesktopEnvironment
suggestion?: string

The suggestion the user selected from the suggestions list.

userIntent?: string

A string that represents the user's intent with the context of the application.