MoonshotAI / MoonshotAI/kimi-code

Mention file always searching and list directory

Open
#2,688 0 comments 0 reactions 0 assignees View on GitHub

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

Image
What is the expected behavior?

No response

Additional information

No response

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.