tui: fix autocomplete file loading and update dependencies

This commit is contained in:
Dax Raad
2025-12-26 14:33:55 -06:00
committed by Aiden Cline
parent 12d5a83ba3
commit f386601cbd
6 changed files with 61 additions and 12 deletions
@@ -357,7 +357,7 @@ export function Autocomplete(props: {
const options = createMemo(() => {
const mixed: AutocompleteOption[] = (
store.visible === "@" ? [...agents(), ...(files.loading ? files.latest || [] : files())] : [...commands()]
store.visible === "@" ? [...agents(), ...(files() || [])] : [...commands()]
).filter((x) => x.disabled !== true)
const currentFilter = filter()
if (!currentFilter) return mixed.slice(0, 10)