kimi-code icon indicating copy to clipboard operation
kimi-code copied to clipboard

希望 Kimi Computer Use 支持 Intel Mac

Open jangjoe opened this issue 3 months ago • 4 comments

版本 / 平台

  • kimi --version:0.34.0
  • 设备:uname -mprs → … x86_64(Intel Mac)

复现

curl -fsSL https://cdn.kimi.com/kimi-computer-use/latest/setup_macos.sh | bash

输出:

==> 下载 KimiCU.app.zip(latest)...
######################################################################## 100.0%
==> 解压并安装到 /Applications ...
==> 停止正在运行的旧进程 ...
==> 注册后台服务 ...
bash: line 40: /Applications/KimiCU.app/Contents/MacOS/kimi-cu: Bad CPU type in executable

Bad CPU type in executable 是 Mach-O 里没有 x86_64 slice —— KimiCU 的 helper 二进制只打了 arm64,Intel Mac 直接被内核拒绝。

Kimi Code 内 /plugins 走的也是同一份 zip,失败被吞掉,只在 detect 里看到 app/service 状态异常。

期望

KimiCU 出 universal2 或单独的 x86_64 build,让 Intel Mac 也能装上。

jangjoe avatar Aug 07 '26 15:08 jangjoe

同样遇到,补充一些诊断信息和建议(kimi-cu 插件 0.5.4):

Kimi Code TUI 侧的表现(与 setup 脚本的 Bad CPU type in executable 是同一根因的不同表象):

Error: Kimi Computer Use installation failed: kimi-cu install failed: spawn Unknown system error -86

errno -86 = EBADARCH,即内核拒绝执行异架构 Mach-O。Node 把 EBADARCH 透传成 "Unknown system error -86",对用户没有指引性。建议在 detect / 安装流程里单独识别 EBADARCH,直接提示"该插件暂不支持 Intel Mac"。

二进制确认:

$ lipo -info /Applications/KimiCU.app/Contents/MacOS/kimi-cu
Non-fat file: /Applications/KimiCU.app/Contents/MacOS/kimi-cu is architecture: arm64

CDN 无替代产物(2026-08-11 逐一探测 https://cdn.kimi.com/kimi-computer-use/latest/ 下候选路径,全部 404):

  • KimiCU-x86_64.app.zip / KimiCU.app-x86_64.zip / KimiCU-universal.app.zip
  • KimiCU.app.x86_64.zip / kimi-cu-x86_64.zip / KimiCU-intel.app.zip
  • manifest.json / latest.json / versions.json

即目前官方渠道只有 arm64 单一份 zip,Intel 用户没有任何可装的产物。

环境:macOS 15.6 (24G84),Intel Core i7-4870HQ(OCLP 机型)。kimi CLI 本体为 x86_64 构建,工作正常。

两点建议:

  1. KimiCU 出 universal2 或单独 x86_64 build —— CLI 本体已有 x86_64 构建链,补一个 target 应该成本不高;
  2. 若短期内只维护 arm64,建议在插件市场页 / README / setup_macos.sh 里加架构检测并明示"仅支持 Apple Silicon",避免 Intel 用户反复踩坑(uname -m 一行判断即可)。

larryluozhang avatar Aug 11 '26 14:08 larryluozhang

补充一个 Intel Mac 复现案例,请求提供 x86_64 / universal2 的 KimiCU 构建。

环境:

  • Kimi Code CLI: 0.37.2
  • kimi-cu plugin: 0.5.4
  • macOS: 12.7.6 (21H1320)
  • 架构: Darwin x86_64 / i386

现象: 插件已安装,但 MCP 不可用。kimi.plugin.json 中的 MCP wrapper 会执行:

/Applications/KimiCU.app/Contents/MacOS/kimi-cu mcp

而本机安装的 helper 是 arm64-only:

$ lipo -info /Applications/KimiCU.app/Contents/MacOS/kimi-cu
Non-fat file: /Applications/KimiCU.app/Contents/MacOS/kimi-cu is architecture: arm64

因此在 Intel Mac 上无法启动服务/MCP,表现为 Bad CPU type in executable。

另外确认过当前 CDN latest 目录只有:

https://cdn.kimi.com/kimi-computer-use/latest/KimiCU.app.zip

以下候选产物均为 404:

  • KimiCU-x86_64.app.zip
  • KimiCU.app-x86_64.zip
  • KimiCU-universal.app.zip
  • KimiCU.app.x86_64.zip
  • kimi-cu-x86_64.zip
  • KimiCU-intel.app.zip
  • manifest.json / latest.json / versions.json

期望:

  1. 发布 KimiCU 的 x86_64 或 universal2 macOS 构建;或
  2. 如果短期仅支持 Apple Silicon,请在插件页、README、setup_macos.sh 和安装失败提示里明确说明,避免 Intel Mac 用户反复安装失败。

weilanxin-cursor avatar Aug 20 '26 10:08 weilanxin-cursor

curl -sI https://cdn.kimi.com/kimi-computer-use/latest/KimiCU-x86_64.app.zip

ericzhoun avatar Sep 22 '26 03:09 ericzhoun

@ericzhoun 实测通过该链接提供的 KimiCU-x86_64.app.zip 在 Intel Mac (x86_64) 环境下已可正常运行,不再报 Bad CPU type in executable 错误,工具确认有效可用,非常感谢!

jangjoe avatar Oct 14 '26 16:10 jangjoe