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
This commit is contained in:
8bit64K 2026-04-23 14:26:59 -04:00 committed by daimon-nous[bot]
parent 8191f663dd
commit 064ac28cbd

View file

@ -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) => {