/**
 * Cross-component event names for the FlowPilot session UI.
 *
 * Lives in /lib (not /components) so importing the event name does NOT
 * pull in any React component module. AssistantChatPage and CommandPalette
 * both reference it without forming an import cycle, and Vite's
 * react-fast-refresh "consistent components exports" check stays happy.
 */

// Phase 5: dispatched by the global Cmd+K palette when the engineer picks
// "Open inline Script Generator" while on a /pilot/:id route. The chat
// page subscribes via `window.addEventListener` and toggles its inline
// Script Generator panel if there's an active suggested fix.
export const PILOT_INLINE_SCRIPT_EVENT = 'flowpilot:open-inline-script'
