Add structured completion menu and responsive fuzzy filtering - #234
Open
raiseCatError wants to merge 1 commit into
Open
raiseCatError wants to merge 1 commit into
raiseCatError wants to merge 1 commit into
Conversation
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completion rows now display descriptions, candidate categories/source-provided groups and Nerd/Safe icons through existing palette/Chroma helpers. Narrow terminals prioritize the candidate. Up/Down navigate, Tab inserts, and Escape dismisses; insertion never executes. ScreenPlan continues to own placement for Bottom, Top and Flow.
Native capture queries a token parent context and caches at most 32 contexts for two seconds. Subsequent typing fuzzy-filters locally. Buffer/cwd changes clear old rows immediately; generation checks prevent stale results, including A→B→A races.
Depends on #233; merge order follows its prerequisite. Do not merge during milestone development.
Validation: build/typecheck, focused model/menu/keyboard/layout/cancellation tests and full suite pass with inherited NO_COLOR removed; diff check and benchmark TypeScript check pass. 500-candidate filtering: p50 0.06ms / p95 0.13ms. Cold native capture measured 227ms (Git) and 84ms (commands), asynchronous with bounded execution; the cold path exceeds the investigation target and is explicitly documented.
Physical QA pending: descriptions/categories, rapid typing, keyboard selection/cancel, narrow widths, Safe glyphs, NO_COLOR, Bottom/Top/Flow and Chat. Existing whitespace-based replacement behavior for complex quoting remains a limitation; no configured-zsh parity or fzf-tab claim.
Refs #141