You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Under WSL, pasting a Windows folder path is rejected as being on a different machine #30010
When the backend runs in WSL, I can't paste or reference a path to a folder on the Windows side (e.g. C:\Users\me\Documents\project or /mnt/c/Users/me/Documents/project) in the composer. The UI shows a message saying that links and paths can only be referenced on the same machine. That is wrong here: Windows and WSL are the same machine, and the agent can read those files (via /mnt/c/...).
Steps to reproduce
Run the desktop app on Windows with a WSL backend and open a thread in a WSL workspace.
Copy the path of a folder that lives on the Windows filesystem.
Paste it into the composer / try to reference it.
Expected
The path is accepted. A Windows path should be translated to its WSL form (wslpath), and a /mnt/<drive>/... path should be treated as local. Both are on the same machine as the backend.
Actual
The path is rejected with a message along the lines of "links and paths can only be referenced on the same machine" (paraphrased from memory). The agent can still read the folder when asked directly, so this is a client-side restriction that misfires.
Likely cause
The "same machine" check seems to compare the environment (WSL vs. Windows host) rather than the real host, so WSL and Windows are treated as different machines.
Activity