Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

724 B
Raw Blame
import { execFileSync } from 'node:child_process'
import { resolve } from 'node:path'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'electron-vite'

// Fresh macOS checkouts must include SF Symbols without a separate manual icons step.
if (process.platform === 'darwin') {
  execFileSync('swift', [resolve('tools/export-symbols.swift')], { stdio: 'inherit' })
}

export default defineConfig({
  main: {},
  preload: {},
  renderer: {
    resolve: { alias: { '@shared': resolve('src/shared') } },
    server: { fs: { allow: [resolve('..')] } },
    plugins: [react()],
    // Readable function names in error reports; the files are local, so size doesn't matter.
    build: { minify: false },
  },
})