bug: 自动操作电脑首次启用时 cua-driver 自动安装一直转圈,需手动安装兜底
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
## 问题描述 / What happened
**实际行为:** 在 Cindy「自动操作电脑」中首次启用"电脑使用"功能时,系统自动安装 cua-driver 一直转圈,无进度提示,长时间无法完成安装。
**期望行为:** 自动安装应正常完成,或至少提供清晰的进度/失败提示,而不是无限转圈。
## 环境 / Environment
- Cindy 版本:CN·0.1.44
- 平台:macOS 26.6.1 (Apple Silicon / arm64)
- 安装方式:官方客户端
## 复现步骤 / Steps to reproduce
1. 打开 Cindy → 设置 → 自动操作电脑
2. 首次启用"电脑使用"功能
3. 系统开始自动安装 cua-driver,一直转圈
4. 等待数分钟无进展,无报错、无进度提示
5. (兜底)手动运行安装脚本 `/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"` 后成功,再手动授权「辅助功能」「屏幕录制」才可用
## 日志与截图 / Logs & screenshots
- 转圈期间无可见日志
- 手动安装时发现存在安装锁文件 `~/.cua-driver/packages/.install.lock.d`,疑似自动安装与手动安装存在锁竞争
- (截图/详细日志可在需要时补充)
Contributor guide
Research direction
Reproduce the first-enable flow on macOS and compare it with the documented fallback command, /bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)". Inspect how the cua-driver installation handles ~/.cua-driver/packages/.install.lock.d and how failures or progress are surfaced. Done means automatic installation completes or reports clear progress/failure without requiring manual installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100