mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-02 03:09:42 +08:00
* feat(computer-use): complete macOS permission guide with native coach UI Implement the full Computer Use permission onboarding flow for macOS: - Add native AppKit helper (NSPanel + NSDraggingSession) that overlays System Settings without activating the Electron app - Add Electron BrowserWindow fallback with backdrop, drag-to-grant, and animated cursor guidance - Add switch-target locator using CuaDriver accessibility inspection to detect permission toggle coordinates and state changes - Add permission probe with fresh-restart and cache-bypass support to work around CGPreflightScreenCaptureAccess process-level caching - Add placement logic to center guide on System Settings window - Refactor ComputerUseSection settings UI with distinct permission states (missing/checking/granted) and recheck button - Add i18n strings for all four supported languages - Update forge config and CI signing for bundled native helper - Add comprehensive test coverage for guide window, switch target, native host, and permission flow state machine Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(computer-use): 优化 macOS 权限引导面板层级与授权回调 - 将 NSPanel 从 floating 降为 normal 级别,使用 order(.above, relativeTo:) 跟随 System Settings 窗口,避免遮挡系统授权弹窗 - 检测 System Settings 模态对话框(指纹/密码授权),自动隐藏引导面板 - 授权完成后发送 auth-sheet-dismissed 事件,立即重新检查权限状态 - 移除引导卡片上无法点击的关闭按钮 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(computer-use): 修复权限引导 review 问题 * fix(computer-use): 保留 CLI-only 授权回退 * fix(computer-use): 修复权限引导异常生命周期 * fix(computer-use): 补齐原生引导主题与多语言 * fix(computer-use): 兜底引导加载与状态持久化 * fix(computer-use): 兜底授权弹窗检测与签名路径 * fix(computer-use): 仅在明确缺权时启动引导 * fix(computer-use): 收紧弹窗回退识别 * fix(computer-use): 对齐原生拖拽行无障碍标签 * fix(computer-use): address follow-up review feedback * fix(computer-use): preserve permission state on transient probes * fix(desktop): harden permission guide windows * fix(computer-use): target stable switch label * fix(computer-use): preserve guide preflight status * fix(computer-use): clean up fallback close lifecycle * fix(computer-use): preserve paused guide status * fix(desktop): address permission guide review feedback * fix(desktop): harden computer permission onboarding * fix(desktop): secure permission guide lifecycle * fix(desktop): close permission guide state gaps --------- Co-authored-by: XW <xw@XWdeMacBook-Air.local> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: nana <823073145@qq.com>