From 064ac28cbd006b60faf47175dd7ad4ea2077c5fc Mon Sep 17 00:00:00 2001 From: 8bit64K <8bit64k@pm.me> Date: Thu, 23 Apr 2026 14:26:59 -0400 Subject: [PATCH] fix(tui): remove 'q' alias from /quit, add to /queue 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 --- ui-tui/src/app/slash/commands/core.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-tui/src/app/slash/commands/core.ts b/ui-tui/src/app/slash/commands/core.ts index 58b84f27b49..d3880c25c64 100644 --- a/ui-tui/src/app/slash/commands/core.ts +++ b/ui-tui/src/app/slash/commands/core.ts @@ -110,7 +110,7 @@ export const coreCommands: SlashCommand[] = [ }, { - aliases: ['exit', 'q'], + aliases: ['exit'], help: 'exit hermes', name: 'quit', run: (_arg, ctx) => ctx.session.die() @@ -547,6 +547,7 @@ export const coreCommands: SlashCommand[] = [ }, { + aliases: ['q'], help: 'inspect or enqueue a message', name: 'queue', run: (arg, ctx) => {