Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

238 B
Raw Blame
/** True when the SidebarLayout mobile nav dialog is mounted. */
export function isMobileNavDrawerOpen(): boolean {
  return typeof document !== 'undefined' && document.querySelector('[role="dialog"][aria-label="Navigation"]') != null;
}