SIGN IN SIGN UP

fix(vscode): use session directory for @ file search in agent manager worktrees (#469)

requestFileSearch handler called getWorkspaceDirectory() without a
sessionId, so @ file mentions in Agent Manager worktree sessions always
searched the main workspace instead of the worktree directory. This
meant files only in the worktree branch were not found, and shared
files could resolve to the wrong copy.

Pass currentSession.id so the sessionDirectories map is consulted,
matching the pattern every other handler already follows.
M
Marius committed
b4f0ad183a148eab02f16c88da76c350bdec9faa
Parent: 2e9c140
Committed by GitHub <noreply@github.com> on 2/19/2026, 1:52:42 PM