Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
/**
* True when running inside the Electron preload bridge, false in a regular browser.
* The preload script sets window.desktopBridge via contextBridge before any web-app
* code executes, so this is reliable at module load time.
*/
export const isElectron = typeof window !== "undefined" && window.desktopBridge !== undefined;