Skip to content

refactor(console): improve command completion#1967

Merged
xHeaven merged 32 commits into3.xfrom
completion
Feb 17, 2026
Merged

refactor(console): improve command completion#1967
xHeaven merged 32 commits into3.xfrom
completion

Conversation

@xHeaven
Copy link
Member

@xHeaven xHeaven commented Feb 13, 2026

This PR replaces the _complete completion handler usage with a PHP helper (tempest-complete) that reads a pre-built JSON metadata file. The shell scripts for Bash and Zsh have been rewritten to delegate completion logic to this helper instead of booting the PHP runtime on every TAB press.

Shell completion previously required a full Tempest boot cycle with discovery for every TAB press, which introduced noticeable latency. By shifting the matching logic to a small binary that reads a static JSON file, completions become near-instant.

Currently, the supported platforms are macOS and Linux. Windows users should use WSL.

@xHeaven xHeaven merged commit 772eb6e into 3.x Feb 17, 2026
81 checks passed
@xHeaven xHeaven deleted the completion branch February 17, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants