MoonshotAI / MoonshotAI/kimi-code
The priority of the exit command is not entirely reasonable.
Open
Beginner friendly
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What feature would you like to see?
Additional information
The exit command is frequently used yet has a very low priority, requiring the full command to be typed out every time; in contrast, in other CLI agents, the exit command almost always appears as the first option once the prefix is matched.
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 locating the CLI command registration and completion logic for the exit command, then inspect how prefix matches are prioritized. Update its priority so exit appears first after the prefix is matched, and verify the completion behavior manually or with the relevant CLI tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100