@genesislcap/ai-assistant 15.90.0 → 15.90.1-FUI-2666.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6086,6 +6086,14 @@ export declare class FoundationAiAssistant extends GenesisElement {
6086
6086
  */
6087
6087
  isEngaged: boolean;
6088
6088
  private _handleGlobalInteraction;
6089
+ /**
6090
+ * The window lost focus: the user moved into an iframe (e.g. an app preview hosting its own
6091
+ * assistant), another tab or another app. None of those reach `_handleGlobalInteraction` —
6092
+ * an iframe's pointer and focus events stay in its own document — so without this the
6093
+ * assistant stays "engaged" and a turn ending here pulls focus back out of the frame.
6094
+ * Returning re-engages through `focusin`, which fires when the window's focus comes back.
6095
+ */
6096
+ private _handleWindowBlur;
6089
6097
  /** True when the user has intentionally scrolled away from the bottom — suppresses auto-scroll. */
6090
6098
  private _userScrolledAway;
6091
6099
  private _scrollListener?;