[Kimi CU][macOS] 重启后 WebBridge 未自动启动,已启用的 Chrome 扩展显示为未安装

未关闭
#5,453 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
43/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
google-cloud, macos, typescript
领域
desktop

调研方向

Start by locating the macOS Kimi CU startup and browser connection code, then trace how it checks WebBridge status and reports the extension as uninstalled. Reproduce the reported state after restart, using the bundled kimi-webbridge start --addr 127.0.0.1:10086 command as a comparison. Done means WebBridge starts on login or first browser use, and the panel distinguishes an installed extension from a stopped local service and offers reconnection.

由索引模型根据 Issue 内容生成。

描述

你运行的 Kimi Code 版本是?

问题出在 Kimi Computer Use 桌面端,未使用 Kimi Code CLI。Kimi CU 版本为 0.7.6,随附 WebBridge 为 v2.0.26,Chrome Kimi 扩展为 2.0.37。

你使用的是哪个开放平台/订阅?

不适用:故障发生在本地浏览器连接阶段。

你的电脑平台是?

macOS 27.2.1(Apple Silicon),Google Chrome 158.0.8127.89。

你遇到了什么问题?

Mac 重启后,Chrome 扩展管理页仍显示 Kimi 扩展已安装、已启用,但 Kimi CU 的「浏览器」一栏显示「安装」。本地 WebBridge 的 status 返回 running: false,Kimi CU 的 cua.listBrowserTabs() 报错:the Kimi browser extension is not running; open KimiCU > Browser Use, complete the connection steps, then retry。

旧日志显示 WebBridge 在系统重启前收到终止信号。重启后 Kimi CU 本体服务已运行,但发现问题时 WebBridge 未运行。

复现步骤?
  1. 在 macOS 上安装 Kimi CU,启用 Chrome 的 Kimi 扩展,并连通浏览器功能。
  2. 重启 Mac,登录后打开 Chrome,再查看 Kimi CU 的「浏览器」一栏。
  3. 在 chrome://extensions 确认 Kimi 扩展仍启用,再检查 WebBridge 状态或尝试列出标签页。
期望的行为是什么?

用户之前已启用浏览器功能,重启后 Kimi CU 应在登录时或首次使用浏览器时自动启动 WebBridge。如果连接失败,面板应区分「扩展未安装」和「扩展已安装,但本地服务未运行」,并提供重连入口。

补充信息

手动运行 Kimi CU 随附的 WebBridge 后,原扩展自动连上;不需要重装。随后实测可以列出 Chrome 标签页、读取网页,面板也恢复正常。

/Applications/KimiCU.app/Contents/Resources/webbridge/kimi-webbridge start --addr 127.0.0.1:10086

以上是在 Kimi CU 0.7.6 上观察到的,尚未在 0.7.7 上验证。

主要语言
TypeScript
星标
8.3k
派生
1.4k
平均合并
12 小时 6 分钟
30 天内合并 PR
596

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

MoonshotAI/kimi-code 的其他 Issue

查看 MoonshotAI/kimi-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。