Three issues prevented standalone (non-Electron) mode from working: 1. sentry.ts used a top-level `import * from '@sentry/electron/main'` which crashes in plain Node.js. Changed to a try/catch require() so the module is safe to import in both environments. 2. vite.standalone.config.ts resolved all paths relative to __dirname (docker/) but is invoked from the repo root. Fixed to resolve relative to the repo root via a ROOT constant. 3. The electron stub was missing `safeStorage` and `screen` exports that newer code imports. Added them, and externalized agent-teams-controller (plain CJS with relative requires that break when bundled by Vite). |
||
|---|---|---|
| .. | ||
| .dockerignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| vite.standalone.config.ts | ||