mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
sharp is a native C module (libvips) whose .node binaries can't be embedded in Bun compiled executables. It was imported at the top level in copilot-fetch.ts, crashing the entire server at startup. Replace with jimp (pure JavaScript, zero native deps) which bundles cleanly into compiled binaries. Same resize algorithm preserved. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>