singularity-forge/packages
Flux Labs 8b7b8bc651 fix: debounce @ file autocomplete to prevent TUI freeze on large codebases (#448)
The synchronous fuzzyFind() native call blocks the event loop during
@ file autocomplete. On large codebases (e.g. Java projects with deep
directory trees), each call can take seconds. Since updateAutocomplete()
was called on every keystroke while autocomplete was active, rapid typing
would cascade into dozens of blocking searches — freezing the TUI for
minutes. This made it appear that arrow keys caused the freeze, when
the actual cause was accumulated backlog from processing buffered input.

Debounce all @ file reference autocomplete paths (character input,
backspace, forward delete, and re-trigger after cancellation) with a
150ms delay so only the final keystroke triggers the expensive search.
Slash command autocomplete remains synchronous since it's cheap.
2026-03-14 23:56:22 -05:00
..
native perf: optimize discovery and interactive hot paths 2026-03-14 16:03:44 -05:00
pi-agent-core fix(agent-core): await event queue in tool hooks for safe parallel execution (#439) 2026-03-14 21:16:17 -06:00
pi-ai feat: add Ollama Cloud as model and web tool provider (#430) (#434) 2026-03-14 21:03:31 -06:00
pi-coding-agent fix: prevent web_search tool injection for non-Anthropic providers serving Claude models (#444) (#446) 2026-03-14 22:15:00 -06:00
pi-tui fix: debounce @ file autocomplete to prevent TUI freeze on large codebases (#448) 2026-03-14 23:56:22 -05:00