From 842a6eadc5b4a01d1b75fecfc6878252270e2eba Mon Sep 17 00:00:00 2001 From: Shoubhit Dash Date: Wed, 25 Mar 2026 06:37:02 +0530 Subject: [PATCH] core: keep exact @mention file suggestions visible --- packages/app/src/components/prompt-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index ee98e68cd5..3117723d31 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -573,7 +573,7 @@ export const PromptInput: Component = (props) => { const seen = new Set(open) const pinned: AtOption[] = open.map((path) => ({ type: "file", path, display: path, recent: true })) if (!query.trim()) return [...agents, ...pinned] - const paths = await files.searchFilesAndDirectories(query) + const paths = await files.searchFiles(query) const fileOptions: AtOption[] = paths .filter((path) => !seen.has(path)) .map((path) => ({ type: "file", path, display: path }))