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.
- Automatically expand the agent node detail panel when a task starts running with toolkits.
- Ensure expansion only happens if the panel is currently collapsed, respecting user manual collapse.
- Select the running task upon auto-expansion to show execution details.
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.
- Automatically expand the agent node detail panel when a task starts running with toolkits.
- Ensure expansion only happens if the panel is currently collapsed, respecting user manual collapse.
- Select the running task upon auto-expansion to show execution details.
- Automatically expand the agent node detail panel when a task starts running with toolkits.
- Ensure expansion only happens if the panel is currently collapsed, respecting user manual collapse.
- Select the running task upon auto-expansion to show execution details.
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.