feat: add @-triggered file path autocomplete to TUI input panel - #793
Merged
Conversation
Add proposal, design, specs, and tasks for @-triggered file path autocomplete in the TUI input panel. Includes file-autocomplete spec, delta specs for tui-interface and tui-event-routing, and a complete task breakdown for implementation.
Implement @-triggered file path autocomplete overlay in the TUI input panel. Features include: - FileScanner: recursive filesystem scanning with .gitignore parsing, extension whitelist, symlink exclusion, and 5000-entry cap - FileCache: TTL-based caching via tiny-lru with configurable TTL - FileFilter: case-insensitive fuzzy matching with prefix scoring - AutocompletePanel: scrollable overlay with arrow key navigation, selection highlighting, and keyboard shortcuts - InputPanel: @ character detection and cursor position tracking - App integration: autocomplete state management, fuzzy filtering, keyboard navigation (up/down/enter/escape), and path insertion Config options added to tui schema: fileCacheTtl, maxAutocompleteEntries, autocompleteMaxViewport, autocompleteBlacklist. Closes #792
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.
Description
Add @-triggered file path autocomplete to the TUI input panel, allowing users to type @ followed by a filename fragment and select from a ranked list of matching files via recursive directory scan, with keyboard navigation and path insertion.
Type of Change
Testing
Coverage
Checklist
Files Changed