qwen-code/packages
AlexHuang d59a0227fe
fix(cli): prefer command name over alias in slash completion ranking (#5577)
When slash completion fuzzy-matches both a command's primary name and
another command's alias (altName) at the same match strength, the
shorter string wins on fzf score — e.g. typing /re ranks 'clear'
(via its 'reset' alias) above 'resume', because 'reset' is shorter.

Add a name-vs-alias dimension to the sort chain so that a command's
own name always ranks above an alias match, regardless of fzf score.
This resolves 5 known prefix collision cases (/re, /co, /su, /ex, /ta)
where an alias from one command would appear before the intended name
match of another command.

Signed-off-by: Alex <alex.tech.lab@outlook.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
2026-06-22 13:42:40 +08:00
..
acp-bridge feat(extensions): support archive install sources (#4909) 2026-06-22 13:36:13 +08:00
channels chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
cli fix(cli): prefer command name over alias in slash completion ranking (#5577) 2026-06-22 13:42:40 +08:00
core feat(extensions): support archive install sources (#4909) 2026-06-22 13:36:13 +08:00
desktop fix(desktop): reject fractional transfer sizes (#5527) 2026-06-21 13:05:52 +08:00
sdk-java feat(core): add NotebookEdit tool for Jupyter notebooks 2026-05-21 00:06:15 +08:00
sdk-python doc[sdk-python] Expand Python SDK usage documentation (#3995) 2026-05-12 15:27:00 +08:00
sdk-typescript feat(web-shell): add extension management (#5398) 2026-06-20 08:37:22 +08:00
vscode-ide-companion refactor(cli): rename serve files to kebab-case (#5592) 2026-06-22 13:13:07 +08:00
web-shell chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
web-templates chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
webui chore(release): v0.18.5 [skip ci] 2026-06-21 21:13:19 +08:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00