1. Explicitly pass process.env to the Claude Agent SDK's env option, ensuring user shell env vars (ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL, etc.) reach the claude subprocess in packaged builds. 2. Spawn the standalone server via /bin/sh with exec to prevent the Electron binary from appearing as a separate Dock icon on macOS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>