- Refactored Vite configuration to load environment variables explicitly based on the current mode - Added support for additional environment variables: VITE_DAEMON_SOCKET, VITE_API_BASE_URL, VITE_CHAT_WS_URL, and VITE_SOCKET_IO_URL - Improved clarity and maintainability of the configuration structure