Description
On native Windows, the New Chat workspace picker cannot open a folder that lives directly under the user profile. Clicking a home-directory child (for example Documents or work) is treated as an invalid path, and the picker jumps to the drive root (C:\). Sessions started from that state use C:\ as the workspace.
Expected: choosing C:\Users\alice\work lists that directory and can be selected as the session workspace.
Actual: every home-child path is rejected. The picker's current directory becomes /, which on Windows is the drive root.
This is not harness- or auth-specific. Session create already accepts Windows drive-letter paths; the picker and host filesystem browse API never deliver one.
Likely cause (0.10.0 and current main):
host.list_dir returns native paths such as C:\Users\alice\work.
- The picker finds parents with
lastIndexOf("/") only, so a backslash path has parent /.
GET /v1/hosts/{id}/filesystem/{path:path} always prefixes / after FastAPI strips the URL slash, so C:/Users/alice/work becomes /C:/Users/alice/work and 404s.
- Create-directory rejects
C:\... because it only allows paths starting with / or ~.
Steps to reproduce
- On native Windows, run Omnigent 0.10.0 (or current
main) with a connected host.
- Open New Chat and open the workspace folder picker (it starts at home /
~).
- Click any folder listed under the home directory.
- The listing jumps to
C:\ instead of entering the folder.
- Starting a session from that state uses workspace
C:\.
Version
0.10.0 (also reproduced on current main)
OS
Windows 11 (10.0.26200)
Harness
Not applicable
Harness mode
Not applicable
Platform or device
Windows
Observed impact
All users or sessions — anyone using the workspace picker on native Windows
Authentication type
Not authentication-related
Description
On native Windows, the New Chat workspace picker cannot open a folder that lives directly under the user profile. Clicking a home-directory child (for example
Documentsorwork) is treated as an invalid path, and the picker jumps to the drive root (C:\). Sessions started from that state useC:\as the workspace.Expected: choosing
C:\Users\alice\worklists that directory and can be selected as the session workspace.Actual: every home-child path is rejected. The picker's current directory becomes
/, which on Windows is the drive root.This is not harness- or auth-specific. Session create already accepts Windows drive-letter paths; the picker and host filesystem browse API never deliver one.
Likely cause (0.10.0 and current
main):host.list_dirreturns native paths such asC:\Users\alice\work.lastIndexOf("/")only, so a backslash path has parent/.GET /v1/hosts/{id}/filesystem/{path:path}always prefixes/after FastAPI strips the URL slash, soC:/Users/alice/workbecomes/C:/Users/alice/workand 404s.C:\...because it only allows paths starting with/or~.Steps to reproduce
main) with a connected host.~).C:\instead of entering the folder.C:\.Version
0.10.0 (also reproduced on current
main)OS
Windows 11 (10.0.26200)
Harness
Not applicable
Harness mode
Not applicable
Platform or device
Windows
Observed impact
All users or sessions — anyone using the workspace picker on native Windows
Authentication type
Not authentication-related