mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
71b2c3961b
- resolveTabId: validate URL even for explicit tabId, fall through to auto-resolve when tab is not debuggable or has been closed - handleNavigate: wait for URL change before checking 'complete' status to avoid race condition with stale about:blank - ensureAttached: pre-check tab URL, verify cached attach with probe, invalidate cache on URL change via onUpdated listener - daemon-client: recognize transient extension errors (disconnected, attach failed) as retryable with 1500ms delay; fresh command ID per attempt - pipeline executor: add per-step retry for browser steps (up to 2 retries on transient errors); cleanup automation window on pipeline failure - page.ts: selectTab/newTab/closeTab properly update/invalidate _tabId - daemon.ts: add WebSocket ping/pong heartbeat (15s interval, 2-miss disconnect) - Increase automation window idle timeout from 30s to 120s - Fix timeout param edge cases in BrowserBridge._ensureDaemon - Remove unused chalk import; fix trailing import placement Closes #249