GenericAgent
GenericAgent copied to clipboard
4项功能更新: Session修复 • Firefox CDP兼容 • /todo命令 • ga sync
变更概览
1. 🐛 Session.is_active() 递归修复
- 修复
is_active()→mark_disconnected()→is_active()无限递归 TMWebDriver.py
2. 🦊 Firefox CDP Bridge 兼容
chrome.debuggerAPI 不存在时优雅降级(Firefox 兼容)- 拆分 Chrome/Firefox 独立 manifest(manifest.chrome.json / manifest.firefox.json)
- 修复 Firefox 扩展 CSP、service_worker → scripts、gecko id
3. 📋 /todo 命令 (TUI v2 & v3)
- 共享
frontends/todo_cmd.py模块 todo add | ls | run | del完整工作流- 数据持久化到
temp/user_todo.json
4. 🔄 ga sync 安全更新 + 剪贴板复制
ga sync: stash → pull → pip install → stash pop 自动化- 冲突自动合并(保留双方代码)
Ctrl+Shift+C复制选中文本ga tui默认启动 tuiapp_v2.py
提交记录
ea62e79 feat: ga sync command with auto-merge + clipboard copy
429fca4 feat: /todo command for TUI v2 & v3 with persistent storage
4635997 feat: Firefox CDP Bridge compatibility + split browser manifests
eba8f11 fix: prevent infinite recursion in Session.is_active() / mark_disconnected()