MoonshotAI / MoonshotAI/kimi-code

The priority of the exit command is not entirely reasonable.

Open Beginner friendly
#2,007 1 comment 0 reactions 0 assignees View on GitHub

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?
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.