Bug Report: Cannot add files to chat when workspace name contains special characters
Environment
-
Cursor IDE version: 1.01
-
Operating System: Windows 11
-
Project type: Fortnite/UEFN Verse project
Issue Description
Unable to add files to the AI chat when the workspace name contains special characters (specifically the @
symbol).
Steps to Reproduce
-
Open a project/workspace with a name containing
@
symbol (e.g.,/[email protected]/RapTycoon/...
) -
Try to add files to the chat using the file picker or drag & drop
-
Error occurs: “path should be a ‘path.relative()’ string, but got [absolute path]”
Expected Behavior
Files should be added to the chat regardless of workspace name characters.
Actual Behavior
Cursor fails to add files to chat and shows a path-related error message.
Error Message
path should be a 'path.relative()' string, but got '/[email protected]/RapTycoon/2_Verse/2_tycoon/Core/element_kindverse'
Additional Context
-
This occurs specifically with Epic Games/Fortnite projects where workspace names are auto-generated with email format (containing
@
) -
The workspace name cannot be changed as it’s required by the Fortnite/UEFN development environment