fix: quote uv executable path to support spaces in username on Windows

The `uv` executable path was not quoted, causing failures on Windows when the user profile path contained spaces (e.g. "C:\Users\John Doe\.eigent\bin\uv.exe"). This occurs because `spawn` with `shell: true` parses the space as an argument separator.

This change wraps the `uv_path` in double quotes when constructing `npmCommand` and `npxCommand`, ensuring the shell treats the full path as the executable.

Also fixed a missing mock for `getUvEnv` in `test/mocks/environmentMocks.ts` which was causing unit tests to fail.
This commit is contained in:
google-labs-jules[bot] 2026-01-18 08:37:45 +00:00
parent 30fa9cd876
commit ba1024cfad

Diff content is not available