fix(tui): remap /q alias from quit to queue (salvage #14681 + #31985)#32074
Merged
Conversation
The TUI frontend's slash command registry shadowed /queue's 'q' alias with /quit's 'q' alias. Since /quit appeared later in the registry, the flat lookup kept the later entry, making /q always quit instead of queueing a prompt. This mirrors the backend fix in PR #10538 (hermes_cli/commands.py) but applies the same correction to the TUI TypeScript registry. Fixes #10467
Contributor
🔎 Lint report:
|
This was referenced May 25, 2026
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.
Summary
/qin the TUI resolves to/queue, not/quit. Previously the quit command carried aliasqincore.ts, shadowing the Python-side/queuealias — typing/q <msg>exited the TUI instead of queueing a prompt.Salvage of PR #14681 by @8bit64k (code fix) + regression test adapted from PR #31985 by @hclsys.
Changes
ui-tui/src/app/slash/commands/core.ts: removeqfrom quit aliases, addaliases: ["q"]to queueui-tui/src/__tests__/slashParity.test.ts: regression test assertingfindSlashCommand("q")resolves to queuescripts/release.py: AUTHOR_MAP entries for 8bit64k + hclsysValidation
/q helloin TUI/quit//exitFixes #31983. Closes #14681. Credits #31985.