fix: open the Ask composer immediately and reuse one pane - #32
Merged
Merged
Conversation
CTRL+I was blocking on a full cwd file listing (fd/git plus per-path test -d) before the input split appeared, so the prompt felt stuck and repeat keypresses spawned extra composer panes. Split the composer first, index @/# candidates on a background thread in composer.py, and focus or close leftover composer panes instead of opening a second one. Co-authored-by: Weldon Sams <wsams@users.noreply.github.com>
wsams
marked this pull request as ready for review
August 28, 2026 05:27
github-actions Bot
added a commit
that referenced
this pull request
Aug 28, 2026
## [1.17.1](v1.17.0...v1.17.1) (2026-08-28) ### Bug Fixes * open the Ask composer immediately and reuse one pane ([#32](#32)) ([e1dcedf](e1dcedf))
Contributor
|
馃帀 This PR is included in version 1.17.1 馃帀 The release is available on GitHub release Your semantic-release bot 馃摝馃殌 |
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.
CTRL+I was waiting on a full cwd file listing (
fd/git ls-filesplus atest -dper path) before the composer split appeared. That made the prompt feel stuck, and mashing CTRL+I during the wait spawned extra input panes.Changes
@/#candidates load on a background thread incomposer.py(shallow cwd names first, then the full tree).composer.py/WEZAI_COMPOSER_PANE), focus the existing pane, close extras. User vars from a leftover pane do not cancel the live one.python3via a cheap path probe (cached) so CTRL+I does not wait on a login-shell PATH scan in the common case.Spec / docs
SPECS 搂4.2.1 records the reuse + instant-open rules. GUIDE/README note that indexing continues in the background and a second CTRL+I focuses the same pane.
Tests
WEZAI_COMPOSER_TEST=1 python3 plugin/composer.py --self-test(includes cwd collect + background load)luac5.4 -p plugin/composer.lua