mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
664a971ed5
* feat: add structured diagnostic output for AI-driven adapter repair When OPENCLI_DIAGNOSTIC=1 is set, failed commands emit a RepairContext JSON to stderr containing the error, adapter source, and browser state (DOM snapshot, network requests, console errors). AI Agents consume this to diagnose and fix adapters when websites change. Also adds the opencli-repair skill guide for AI Agents. * fix: correct e2e test binary path to dist/src/main.js The e2e helpers pointed to dist/main.js but the actual build output is at dist/src/main.js (matching package.json "main" field). This caused all e2e-headed tests to fail with "Cannot find module". * fix: correct dist/main.js path in autoresearch scripts * fix: emit diagnostic for pre-session browser failures When browser connection fails before the session callback runs (e.g., BrowserConnectError), the inner diagnostic catch never fires. Use a flag to ensure the outer catch emits diagnostic as a fallback. * test: tolerate unavailable Bloomberg RSS feeds in e2e * test: skip flaky bloomberg businessweek e2e test The Bloomberg Businessweek RSS feed is intermittently unavailable, causing CI failures unrelated to code changes. * revert: restore bloomberg businessweek e2e coverage