Summary
Running the documented shorthand command mmx search "MiniMax AI latest news" now fails with an unknown command error.
Reproduction
mmx --version
# mmx 1.0.13
mmx search "MiniMax AI latest news" --output json
Actual behavior
Unknown command: mmx search MiniMax AI latest news
Available commands:
search query Search the web via MiniMax
search web Search the web via MiniMax
Expected behavior
The command should resolve to the web search command, equivalent to:
mmx search query "MiniMax AI latest news" --output json
Notes
This appears to be caused by the command registry auto-forwarding only when a resource group has exactly one child command. The search web alias points to the same implementation as search query, but it makes the search group have two children, so the shorthand no longer forwards.
Summary
Running the documented shorthand command
mmx search "MiniMax AI latest news"now fails with an unknown command error.Reproduction
Actual behavior
Expected behavior
The command should resolve to the web search command, equivalent to:
mmx search query "MiniMax AI latest news" --output jsonNotes
This appears to be caused by the command registry auto-forwarding only when a resource group has exactly one child command. The
search webalias points to the same implementation assearch query, but it makes thesearchgroup have two children, so the shorthand no longer forwards.