// The automations workspace announces mutations so the sidebar's Automations // dropdown stays live without a refetch on every navigation (the pages // pattern: PAGES_CHANGED / notifyPagesChanged). export const AUTOMATIONS_CHANGED = 'superbrain:automations-changed' export const notifyAutomationsChanged = () => window.dispatchEvent(new Event(AUTOMATIONS_CHANGED))