MoonshotAI / MoonshotAI/kimi-code
Mention file always searching and list directory
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
What version of Kimi Code is running?
v0.31.1
Which open platform/subscription were you using?
subscription
Which model were you using?
K3
What platform is your computer?
Windows
What issue are you seeing?
Mention file with @file is always listing directory, not directly to the file
What steps can reproduce the bug?
just mention some file
What is the expected behavior?
No response
Additional information
No response
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
Reproduce the issue in Kimi Code CLI v0.31.1 on Windows by mentioning a file with @file, then trace the file-mention handling from the CLI entry point. Done means a file mention resolves directly to the selected file instead of always listing its directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100