🎉 Clawd on Mobile v0.9.0
📱 Android
新功能
- 🌐 应用内中英文语言切换
- 😴 宠物睡眠超时可配置
- 👆 宠物点击穿透开关
- 📐 宠物大小调节提示
- 🎨 全角色 SVG/APNG 素材(3 个角色)
安全加固 (P0)
- WakeLock 超时保护 + goAsync 安全处理
- 线程安全加固 + allowBackup 禁用
- WebView 安全标志 + EncryptedPrefs + SSE TLS 分级
质量提升 (P1/P2)
- 单例化、去重、验证、清理
- 统一 HTTP 层 + Auth Header + 证书固定
- 事件驱动架构 + 模板抽取 + 缓存上限
- SessionsScreen 902 行拆分为 6 个文件
- PermissionDialog + FloatingPetService 拆分
- SafeExecutor 分级异常处理
- oneshot 动画精确检测 + PrefsStore 统一
修复
- oneshot 恢复不应在任务完成后恢复 Working 状态
- 审批面板 UI 改进 — Allow/Deny 始终可见
测试
- ✅ 197 项测试全量覆盖
🖥️ Desktop (PC)
修复
- WebSocket 升级冲突 — HTTP handler 拦截 WS upgrades
- WebSocket ProtocolException — 移除协议级 ping(OkHttp 兼容)
- QR 码显示问题 — 多项修复
- F12 开发者工具可在设置窗口中启用
重构
- 项目重命名:Clawd on Desk → Clawd on Mobile
- SubagentStop bug 修复
测试
- ✅ 508 项新增测试,共 3637 项
📱 Android
✨ New Features
- 🌐 In-app Chinese/English language switcher
- 😴 Configurable sleep timeout in pet settings
- 👆 Click-through toggle in pet settings
- 📐 Pet size hint in settings UI
- 🎨 SVG/APNG assets for all 3 characters
🔒 Security Hardening (P0)
- WakeLock timeout + goAsync safety
- Thread safety +
allowBackupdisabled - WebView security flags + EncryptedPrefs + SSE TLS tiering
🛠️ Quality Improvements (P1/P2)
- Singleton pattern, dedup, validation, cleanup
- Unified HTTP layer + Auth Header + certificate pinning
- Event-driven architecture + template extraction + cache limits
SessionsScreen902 lines → 6 filesPermissionDialog+FloatingPetServicedecompositionSafeExecutortiered exception handling- oneshot animation precise detection +
PrefsStoreunification
🐛 Fixes
- oneshot restore should not bring back Working when task is done
- Approval panel UI — Allow/Deny always visible
✅ Tests
- 197 tests, full coverage
🖥️ Desktop (PC)
🐛 Fixes
- WebSocket upgrade conflict — HTTP handler intercepting WS upgrades
- WebSocket
ProtocolException— remove protocol-level ping (OkHttp compat) - QR code display — multiple fixes
- F12 dev tools enabled in settings window
♻️ Refactor
- Project renamed: Clawd on Desk → Clawd on Mobile
- SubagentStop bug fix
✅ Tests
- 508 new tests, 3637 total