MoonshotAI / MoonshotAI/kimi-cli
Slash command completion menu should appear for exact match (e.g. /editor)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
Description
When typing a slash command that exactly matches a registered command name (e.g. /editor), the completion menu does not appear. Pressing the ↓ arrow key has no effect.
However, when typing a partial match (e.g. /edit), the completion menu correctly appears with /editor as a candidate, and pressing ↓ selects and fills it into the input.
Steps to Reproduce
- Start kimi:
uv run kimi - Type
/editor(exact match) → no completion menu appears - Press ↓ → nothing happens
- Clear input, type
/edit(partial match) → completion menu appears showing/editor - Press ↓ → input is filled with
/editor, menu item shows›selection indicator
Expected Behavior
The completion menu should also appear when the input exactly matches a command name. The user may want to:
- Confirm the command exists by seeing it in the menu
- Read the description before pressing Enter
- Navigate to other similar commands
Actual Behavior
Exact match suppresses the completion menu entirely. Only partial/fuzzy matches trigger it.
Environment
- kimi-cli version: 1.30.0
- OS: macOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with uv run kimi, comparing /editor with /edit and the ↓ key behavior. Trace the slash-command completion handling; done means the menu appears for an exact command match, shows its description, and supports navigation and selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 64/100