MoonshotAI / MoonshotAI/kimi-code
Improve image path handling and prevent auto-scroll while reading previous messages
Nobody has claimed this yet.
- 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?
0.36.0
Which open platform/subscription were you using?
subscription
Which model were you using?
Kimi K3
What platform is your computer?
MacOS(Darwin 25.5.0 arm64 arm)
What issue are you seeing?
Kimi 调用 ReadMediaFile 读取图片时,感觉没有 Claude Code 那么灵敏。
比如把图片拖进 Ghostty 终端后,macOS 截图文件名中 "PM" 前面其实是一个特殊的窄空格字符,直接引用路径会匹配失败,需要改用通配符来复制文件。而且我认为Claude Code中的[Image #1]会是一个观感上更舒服的做法。
其次,当我正在往上翻阅之前的对话时,如果下面有新内容刷新,页面会自动跳回到底部,导致我还得重新滚回刚才阅读的位置。
btw模型很好用👍
What steps can reproduce the bug?
Kimi Code
What is the expected behavior?
Claude Code
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
Start with the ReadMediaFile entry point and reproduce the dragged-image path case on macOS with Ghostty. Then inspect the conversation view's scroll behavior while new content arrives; done means the reported image paths resolve correctly and reading older messages no longer jumps to the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100