Repository navigation
🐛 问题修复
- macOS 回车两阶段确定性回焦自动粘贴(#11):将面板回车确认拆分为 UI 主线程确定性阶段(收起/隐藏面板并立即无条件回焦原前台应用)与后台粘贴校验阶段;改为在回焦后执行
Secure Event Input检测并加入60ms / 10ms瞬态安全输入宽限轮询、最长220ms修饰键松开等待及发键前前景目标复核,同时为跨线程待展示 Toast 增加2sTTL 防止延迟幽灵提示,彻底修复 macOS 下按回车既不回焦又不自动粘贴的问题(感谢@Korov反馈与真机分析)。 - macOS / Linux 悬停预览弹窗 1:1 原生圆角阴影卡片(#13):引入能力驱动的
HoverPopupSurfaceStrategy,Windows 保持固定无撕裂画布,macOS/Linux 自动切换为 1:1 贴合卡片表面;macOS 侧配置透明宿主底色、CALayer精确圆角裁剪与 WindowServer 原生阴影,并修正orderFrontRegardless零参消息派发与invalidateShadow同步,彻底消除非矩形弹窗周围多余阴影壳与裁剪瑕疵。 - 全新安装 / 无系统 Keyring 环境本地主密钥冷启动修复:允许在缺少系统 Keyring(如无头/精简桌面或全新独立数据目录)环境下平稳生成并加载本地
0o600主密钥,避免首次启动阻塞。
🧪 质量与发布门禁加固
- 三端发布前强门禁:新增
--smoke-test原生进程启动冒烟校验与基于gpui-kit的无头 UI 回归测试,并在 release.yml 中将三端完整 CI 设为发版前置门禁。
🐛 Bug Fixes (English)
- macOS Two-Stage Deterministic Refocus & Auto-Paste (#11): Split
Enterconfirmation into a synchronous UI-thread stage (dismiss/hide the panel and unconditionally restore the previous foreground app) and a background verification/paste stage. MovedSecure Event Inputchecks after focus restoration with a60ms / 10mstransient grace poll, up to220msmodifier-release settle wait, pre-keystroke foreground/secure-input re-verification, and a2sTTL on pending cross-thread toasts—resolving failures where pressingEnteron macOS neither refocused nor pasted (thanks to@Korov). - macOS / Linux 1:1 Native Rounded Hover Preview Card (#13): Introduced capability-driven
HoverPopupSurfaceStrategyso Windows keeps its tear-free fixed canvas while macOS and Linux render 1:1 fitted popup cards. Configured transparentNSWindowbacking,CALayercorner clipping, native WindowServer shadows,invalidateShadow, and zero-argorderFrontRegardlesson macOS to eliminate oversized shadow artifacts. - Fresh-Install Local Master Key Bootstrap: Enabled safe local
0o600master key initialization on fresh installs or environments without an OS keyring.
🧪 CI & Verification Hardening
- Pre-Release 3-OS Gate: Added native
--smoke-teststartup checks and headless GPUI UI tests, and wired full 3-OS CI as a required prerequisite before building release artifacts.
Full Changelog: v0.7.1...v0.7.2