Skip to content

fix(tui): avoid compact catalog alias collision - #861

Open
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-57073
Open

fix(tui): avoid compact catalog alias collision#861
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-57073

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Summary

  • Keep commands.catalog internally consistent when a TUI-only extra command name collides with a registry alias.
  • Preserve /compact as the registry alias for /compress in canon while omitting the conflicting TUI extra from catalog pairs/categories.
  • Add a regression test for the /compact collision.

Root Cause

Tests

  • python -m pytest tests/test_tui_gateway_server.py -q -k "commands_catalog or complete_slash"
  • python -m py_compile tui_gateway/server.py tests/test_tui_gateway_server.py
  • git diff --check

Fixes NousResearch#57070


Mirror-of: NousResearch#57073
NousResearch#57073

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.

New /compact alias for /compress (#57029) collides with legacy /compact TUI entry in commands.catalog

1 participant