Applying File Changes from Worktree switches chat to "Continue Locally"

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After applying file changes from a worktree, the chat switches to “Continue Locally” and you are unable to continue chatting/making file changes in the context of the worktree.

Steps to Reproduce

Start a chat in a worktree.
Click “Apply” to apply file changes to repo.
Worktree chat will change to “Continue Locally”
and further file changes can’t be made in the context of that worktree

Expected Behavior

After applying file changes from a worktree, you should be able to continue making file changes/asking questions in the context of that worktree. (You should not see the chat change to “Continue Locally”)

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.26 (Universal)
VSCode Version: 1.105.1
Commit: f628a4761be40b8869ca61a6189cafd14756dff0
Date: 2025-11-24T05:39:06.655Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This appears related to a known worktree UI regression that affects the apply/reapply buttons starting from v2.0.54.

However, the specific “Continue Locally” behavior is a new variant I haven’t seen reported before. Could you share a screenshot of the chat when the interface switches to “Continue Locally”? This will help the team investigate.

I’ll pass this to the team once we have the screenshot.

Thank you. I have shared a screenshot.

This happens after I apply changes from a worktree. The entire chat context shifts from being pointed at the worktree (I see the subtitle of the chat change from worktree-name-ABCD to just showing additions/deletions as it does in local mode)
and the text in the input box says “Continue locally” as shown in the screenshot.

Screenshot 2025-11-24 at 2.17.31 PM

1 Like

Hi. Was just following up here. It seems like with one of the latest updates, I now have the option to undo applied changes from a worktree and then the chat will go back to worktree context.

Now after applying changes:

  1. Chat applies changes and changes to “Continue locally”
  2. If “Undo Apply” is selected, changes are reverted on main repo and chat goes back to worktree context.

I am satisfied with this behavior. Now i am able to continue chatting in worktree context and making the changes in the worktree if i unapply changes to main repo.

Screenshot 2025-12-04 at 11.14.45 AM