// Human-readable display names for connector ids (used on the composer's // connector chips). Mirrors the web's `connector.name`. Unknown ids fall back // to a capitalized id so a new connector still reads reasonably. const CONNECTOR_LABELS: Record = { github: 'GitHub', gmail: 'Gmail', googlecalendar: 'Google Calendar', googledocs: 'Google Docs', googledrive: 'Google Drive', googlesheets: 'Google Sheets', linkedin: 'LinkedIn', notion: 'Notion', slack: 'Slack', stripe: 'Stripe', tiktok: 'TikTok', }; export function connectorLabel(connectorId: string): string { const known = CONNECTOR_LABELS[connectorId]; if (known) return known; if (!connectorId) return ''; return connectorId.charAt(0).toUpperCase() + connectorId.slice(1); }