Revert "fix(app): startup efficiency"

This commit is contained in:
Adam
2026-03-25 06:25:05 -05:00
parent 53d0b58ebf
commit 898456a25c
40 changed files with 695 additions and 1121 deletions
@@ -572,7 +572,6 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
const open = recent()
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 fileOptions: AtOption[] = paths
.filter((path) => !seen.has(path))