import { atom } from 'jotai';

/**
 * P5-56 — Windows Focus Assist ↔ Do-Not-Disturb sync (live OS state).
 *
 * Standalone, non-persisted boolean atom reflecting whether the shell is
 * currently suppressing notifications (Focus Assist / Quiet Hours, presentation
 * mode, full-screen D3D, or "busy"). It is driven at runtime by
 * `useTauriFocusAssist` from the native `focus-assist-changed` event and read by
 * the notification gate. Because it mirrors transient OS state — not a user
 * preference — it is a plain in-memory atom that defaults to `false` and is
 * intentionally NOT written to `localStorage`.
 */
export const focusAssistActiveAtom = atom(false);
