MoonshotAI / MoonshotAI/kimi-code
[Bug] macOS 终端渲染的 Remote Control 二维码无法扫描
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
你运行的 Kimi Code 版本是?
0.40.1
你使用的是哪个开放平台/订阅?
kimi
你使用的是哪个模型?
k3
你的电脑平台是?
Darwin 25.5.0 arm64 arm
你遇到了什么问题?
在 macOS 上使用 Kimi Code Remote Control 时,终端内直接渲染的二维码无法被手机扫描识别。
同一次启动生成的二维码图片,在 Finder 中打开后,手机可以正常扫描。因此问题似乎只发生在终端二维码的渲染或显示质量上,而不是二维码内容、链接或 Remote Control 服务本身。
复现步骤?
-
在 macOS 上启动 Kimi Code Remote Control:
export KIMI_CODE_EXPERIMENTAL_REMOTE_CONTROL=1 kimi rc -
等待终端输出 Remote Control 链接和二维码。
-
直接用手机扫描终端中渲染的二维码,无法识别。
-
在 Finder 中打开同一次启动生成的二维码图片,再用手机扫描,可以正常识别。
期望的行为是什么?
终端内渲染的二维码应当能够被手机正常扫描,且与 Finder 中打开的同一二维码图片具有一致的可识别性。
补充信息
- 终端渲染二维码无法扫描是稳定复现的。
- Finder 打开对应二维码图片后可以正常扫描,说明二维码内容本身有效。
- 使用的终端模拟器未记录。
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 reproducing the issue with KIMI_CODE_EXPERIMENTAL_REMOTE_CONTROL=1 and kimi rc on macOS, comparing the terminal-rendered QR code with the same image opened in Finder. Locate the Remote Control QR rendering entry point and check how terminal output affects scanability. Done means the terminal QR code is reliably scannable and existing Remote Control behavior remains intact.
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
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100