Skip to content

fix: remove 'q' alias from /quit so /queue's 'q' alias works#10538

Merged
teknium1 merged 1 commit into
mainfrom
fix/queue-alias-shadowed
Apr 15, 2026
Merged

fix: remove 'q' alias from /quit so /queue's 'q' alias works#10538
teknium1 merged 1 commit into
mainfrom
fix/queue-alias-shadowed

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Fixes #10467 — Both /queue and /quit registered "q" as an alias. Since /quit appeared later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote /queue's claim. The documented /q shorthand for queueing prompts was unusable — it always quit instead.

Fix

Removed "q" from /quit's aliases tuple. /quit still has "exit" as an alias plus the full /quit command. /queue has no other short alias so it needs "q".

2 files, 2 lines changed. 108 command tests pass.

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes #10467
@teknium1 teknium1 merged commit 3b4ecf8 into main Apr 15, 2026
6 of 7 checks passed
@teknium1 teknium1 deleted the fix/queue-alias-shadowed branch April 15, 2026 22:04
kagura-agent pushed a commit to kagura-agent/hermes-agent that referenced this pull request Apr 16, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
ulasbilgen pushed a commit to ulasbilgen/hermes-adhd-agent that referenced this pull request May 1, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
aj-nt pushed a commit to aj-nt/hermes-agent that referenced this pull request May 1, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
daimon-nous Bot pushed a commit that referenced this pull request May 25, 2026
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
daletkc pushed a commit to daletkc/hermes-agent that referenced this pull request May 25, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467
bridge25 pushed a commit to bridge25/hermes-agent that referenced this pull request May 27, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467
mathias3 pushed a commit to mathias3/hermes-agent that referenced this pull request May 28, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467
Bryce-huang pushed a commit to wbkunlun/hermes-agent that referenced this pull request May 29, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467

#AI commit#
mosaiq-systems pushed a commit to mosaiq-systems/hermes-agent that referenced this pull request May 29, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
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 NousResearch#10538 (hermes_cli/commands.py)
but applies the same correction to the TUI TypeScript registry.

Fixes NousResearch#10467
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…earch#10467) (NousResearch#10538)

Both /queue and /quit registered 'q' as an alias. Since /quit appeared
later in COMMAND_REGISTRY, _build_command_lookup() silently overwrote
/queue's claim, making the documented /queue shorthand unusable.

Fix: remove 'q' from /quit's aliases. /quit already has 'exit' as an
alias plus the full '/quit' command. /queue has no other short alias.

Closes NousResearch#10467
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.

Bug: /queue alias q is shadowed by /quit in command registry

1 participant