Unable to open file linked in chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The agent produced a chat response with a link to a file it had just created. I clicked on the link and got the error title=“Unable to open ‘’” message="Unable to resolve resource “”.

Steps to Reproduce

Have agent create a local file and provide a link to that file in the chat (I didn’t prompt it to do that, it just did). Click on link to view file. Error.

Expected Behavior

No error, file opens to be viewed.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.2.16 (user setup)
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the report @rory77235! There’s a known issue where windows drive-letter paths in chat markdown links are misidentified as URI schemes. I’ve added your report to the bug ticket where we’r tracking this!

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Describe the Bug
On Windows, clicking a local file link generated in the Chat/Agent panel fails to open the file. Cursor shows an “Unable to open …” dialog with the message “Unable to resolve resource”, and the path in the error is displayed percent-encoded — the backslashes appear as %5C instead of being decoded back to .
It looks like the resource resolver does not decode the %5C sequences. Instead of resolving the path, it appears to look for a literal path that contains %5C, which of course does not exist — hence the “resolve” failure.
Example error detail:
C:%5CUsers%5C%5CDesktop%5Cexample.docx
(the actual path is C:\Users<user>\Desktop\example.docx)
This started after a recent update, so it looks like a regression. It affects both clickable file links and “Open file” actions, regardless of file type (reproduced with .docx, but the encoded path is the root issue).
Steps to Reproduce

On Windows, have the Agent create or reference a local file and produce a clickable link to it in chat (e.g. C:\Users<user>\Desktop\example.docx).
Click the link / “Open” button.
Observe the “Unable to open … / Unable to resolve resource” dialog showing the %5C-encoded path.

Expected Behavior
The link resolves and opens the file — or, for non-text files such as .docx, hands it to the OS default application.
Actual Behavior
“Unable to resolve resource” with a percent-encoded (%5C) Windows path; the file never opens.
Workarounds found

Opening the same file via Ctrl+P (Go to File) works.
Writing the path with forward slashes (C:/Users//Desktop/example.docx) or as a file:/// URI avoids the problem, since no %5C is produced.
“Developer: Reload Window” sometimes helps temporarily.

Steps to Reproduce

Let Agent create a link.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.6.21 (user setup)
VS Code Extension API: 1.105.1
Commit: e7a7e93f4d75f8272503ecf33cedbaae10114a10
Date: 2026-05-28T21:45:36.072Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.220
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

Follow-up: works fine in a competing VSCode-based IDE — this is a Cursor regression, not a platform limitation
To add a data point that I think strengthens the hotfix case: I tested the same workflow in TRAE, which is also a VSCode fork (see attached About screenshot). There, every Agent-generated file link resolves correctly on Windows — clickable links with Windows paths just work, no workarounds needed.
Worth noting the version, too: TRAE is still based on VSCode 1.107.1, i.e. an older upstream than current Cursor builds. So this clearly isn’t an upstream VSCode/Electron limitation that everyone inherits — an older VSCode base handles the path-to-URI normalization just fine. That points squarely at a regression in Cursor’s own link-generation code, which is consistent with my earlier observation that this broke after a recent update.
In short: a competitor on an older VSCode base ships working agent links on Windows, while Cursor’s are dead on click. I hope this helps prioritize it as a hotfix rather than a normal-cycle fix. Screenshot attached for reference; happy to provide anything else that helps.

up! @Colin any news on this?

No ETA to share right now, but I’ve bumped the priority of the ticket up given the number of reporters.

Thanks!

I always regret updating cursor.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m having this exact issue. Cursor Cache Issues, Context issue

When I don’t like an agents work, I try it again with a different model. Suddenly that’s broken. New agent chats suddenly started using files created by previous agent chats, with a completely clean working directory. I asked the agent and it said it was initialized with a stale git snapshot. The two possibilities suggested in reply to the linked issue seem to be both mistaken ignore what that previous issue said.

  1. I’m using a different model, so its not model determinism.
  2. working directory is definitely clean, no untracked files, nothing in git clean -nd

I keep opening new agent tabs, in the sidebar with the + sign. and it keeps having a stale git snapshot, even though I cleaned my git before opening the tab. Retrying agent builds is part of my basic workflow, so really need a way to get clean agents.

Thanks for your help

Steps to Reproduce

  1. Open agent and ask to write code files
  2. Undo all changes, and delete all newly created files
  3. Ask agent about old files, it will mention specific details, and say it can see them in git snapshot

Expected Behavior

Clean context when starting new agent.

Operating System

MacOS

Version Information

Version: 3.15.6
VS Code Extension API: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
Date: 2026-08-06T01:41:03.876Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor