Request Canceled Silently When Context Link Points to Deleted Folder

Describe the Bug

When a folder added to the context is subsequently deleted, the request I send will be canceled immediately and no message would show out.

Only when I clear all the prompt, a warning message popped out and says “Connection failed. If the problem persists, please check your internet connection or VPN”, which made me confused for a while and did check my internet or VPN something for several times before I found the real problem.

This behavior is potentially misleading, as the displayed error message prompts users to check unrelated network issues.

Steps to Reproduce

  1. Add a folder to the conversation context using @.
  2. Manually delete that same folder from the filesystem.
  3. Attempt to send a new prompt or message.

(or happened naturally after some “continue without revert” action.)

Expected Behavior

I expected some message will show out and tell me that I’ve added some non-existent folder.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19044

Additional Information

After test, I found out that only deleted folder will cause this, while deleted file will stay in the context and nothing will happened.

I suggest Checking all the context link, and remove all the invalid link automatically.

Does this stop you from using Cursor

No - Cursor works, but with this issue