[错误] macOS 2.0.0 粘贴图片偶尔会静默失败(0.43.x 回归)|| 按 Ctrl+V 粘贴图片有时不起作用(回归至 0.43.x)
作者: 931902655创建于 2026年9月18日更新于 2026年9月18日
On macOS, image paste with `Ctrl+V` intermittently no-ops in 2.0.0 (regression from 0.43.x). The keystroke reaches the process (verified at PTY level). The root cause in `readClipboardMedia()`: on darwin, it first resolves clipboard file paths via osascript (JXA, 1 s timeout); when the clipboard has file-like flavors but path resolution yields no media, `lookedFileLike === true` causes an early `return null` — the raw image bytes still on the clipboard are never tried, and the paste fails silently. Suggest falling back to native image read, surfacing an error, and raising the osascript timeout.
内容来源: MoonshotAI/kimi-cli