Skip to content

refactor(console): improve command completion#1967

Open
xHeaven wants to merge 18 commits into3.xfrom
completion
Open

refactor(console): improve command completion#1967
xHeaven wants to merge 18 commits into3.xfrom
completion

Conversation

@xHeaven
Copy link
Member

@xHeaven xHeaven commented Feb 13, 2026

This PR replaces the PHP-based _complete completion handler with a native Rust binary (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 binary instead of booting the PHP runtime on every TAB press.

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

Currently, the supported platforms are macOS (Apple Silicon) and Linux (x86_64, arm64). Windows users should use WSL.

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.

1 participant