Repository navigation
v3.1.1 — 手机回显修复 + 静默失败三件套 + 终身显示
🐛 修复
- 手机消息的回显回来了 — 手机发消息到 Mac 终端后,Claude 的回复此前可能永远不再同步回手机(会话经历 /clear、上下文压缩或历史重建后,消息同步游标越界,新消息被静默丢弃)。同步机制重写为按消息身份增量,从结构上免疫这类状态漂移。配合服务端本周的权益同步修复,「手机买终身 → 控电脑」全链路恢复可靠。
- 终身购买正确显示 — 已购终身的用户,Mac 端配对面板现在显示「已激活(终身)」;通过已配对 iPhone 解锁的显示「已随 iPhone 解锁(终身)」,不再停在"未激活/过期试用"。
✨ 静默失败三件套(这次事故的真正病根)
- 失败会说话了:手机消息未能注入终端时,Mac 弹系统通知告知原因——不再"手机显示已送达、电脑无声无息"。
- 失败必留痕:所有发送/注入失败(含测试发送、断线丢弃、服务器应答超时)都会写入
~/.claude/.codeisland.log,自助排查有据可查。 - 权限面板不再误导:cmux 未安装或没有活动会话时,自动化权限行会明确提示"与当前问题无关",不再让你白跑一趟系统设置。
In English
- Phone replies sync again: after /clear, context compaction or a history rebuild, the message-sync cursor could drift past the end and silently drop every new message — the phone never saw Claude's replies. Sync is now identity-based and structurally immune to this. Together with this week's server-side entitlement fix, phone-controls-Mac is reliable end to end.
- Lifetime purchase displays correctly: "Activated (Lifetime)" / "Unlocked via iPhone (Lifetime)" instead of a stale trial banner.
- Silent failures now speak: failed injections post a macOS notification, every send/inject failure is logged to
~/.claude/.codeisland.log(including server ack timeouts), and the Automation permission row stops pointing at TCC when the real blocker is upstream.
Upgrade via Sparkle in-app update, brew upgrade --cask codeisland, or the DMG below.