export type TrayActionId
  = | 'open-app'
    | 'open-chat'
    | 'chat-session-updated'
    | 'new-chat'
    | 'global-search'
    | 'open-awaits'
    | 'open-automation'
    | 'open-workspaces'
    | 'open-workspace'
    | 'open-agents'
    | 'open-providers'
    | 'open-chronicle'
    | 'open-usage'
    | 'open-plugins'
    | 'open-desktop-settings'
    | 'quit'

export interface DesktopAwaitItem {
  id: string
  sessionId: string
  title: string
  workspaceId: string | null
  workspaceName: string
  source: string
  reason: string | null
  createdAt: number
}

export interface TrayActionRequest {
  actionId: TrayActionId
  payload?: unknown
}
