File tree in Agent Window does not refresh

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

When a file or folder is created by the agent, the file tree of Agent Window does not always refresh.

Steps to Reproduce

Ask agent to create a file in a new folder.

Expected Behavior

file tree should must reflect current state of file system

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.5.17
VSCode Version: 1.105.1
Commit: d5b2fc092e16007956c9e5047f76097b9e626ca0
Date: 2026-05-20T02:43:31.559Z
Layout: glass
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: Darwin arm64 25.4.0

For AI issues: which model did you use?

Composer 2.5

Additional Information

you see on the screenshot that the “prompts” directory is not visible; it is only visible when you click on the breadcrumb element.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the feedback @rognierbenoit! We have an open bug for this stale state in the Agent Window file explorer, and I’ve added your report.