4项功能更新: Session修复 • Firefox CDP兼容 • /todo命令 • ga sync#532
Open
GiftedScout wants to merge 4 commits into
Open
Conversation
added 4 commits
May 29, 2026 17:57
…ected() - is_active(): directly set disconnect_at instead of calling mark_disconnected() which would call is_active() again → infinite recursion - mark_disconnected(): check self.disconnect_at directly instead of is_active() - connected(): fix dead string literal (no-op) to actual print
- background.js: guard chrome.debugger API (not available in Firefox) with graceful fallback instead of crash - manifest.json: adapted for Firefox (no debugger permission, scripts instead of service_worker, explicit CSP for ws://, added gecko id) - manifest.chrome.json: standalone Chrome manifest with full permissions - manifest.firefox.json: standalone Firefox manifest (gecko-specific)
New /todo command (frontends/todo_cmd.py) shared by both TUI versions: /todo add <text> → 添加 /todo ls → 列表 /todo run → 选择执行(执行后自动消除) /todo del → 选择删除 - Data persisted to temp/user_todo.json - v2: tuiapp_v2.py with _cmd_todo, _do_todo_*, and COMMANDS entry - v3: tui_v3.py with /todo dispatch and full i18n support
ga sync: safe update workflow - git stash local changes → git pull → pip install -e . → stash pop - Auto-resolve merge conflicts using keep-both strategy - Graceful rollback on unresolvable conflicts - 'ga tui' now defaults to tuiapp_v2.py tuiapp_v2.py UX improvements: - Ctrl+Shift+C copies selected text to clipboard - Middle-click (button=2) also triggers paste (like right-click) - Explicit ctrl+enter/shift+enter newline handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更概览
1. 🐛 Session.is_active() 递归修复
is_active()→mark_disconnected()→is_active()无限递归TMWebDriver.py2. 🦊 Firefox CDP Bridge 兼容
chrome.debuggerAPI 不存在时优雅降级(Firefox 兼容)3. 📋 /todo 命令 (TUI v2 & v3)
frontends/todo_cmd.py模块todo add | ls | run | del完整工作流temp/user_todo.json4. 🔄 ga sync 安全更新 + 剪贴板复制
ga sync: stash → pull → pip install → stash pop 自动化Ctrl+Shift+C复制选中文本ga tui默认启动 tuiapp_v2.py提交记录