Commit Graph

7 Commits

Author SHA1 Message Date
8b9b059783 fix: close_browser kills orphaned CDP processes after agent restart
When the agent restarts, _browser_process is lost but the CDP Edge
instance keeps running. Now close_browser also searches for processes
with 'easybot_cdp_profile' in their command line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 04:09:23 -03:00
64f79d4fa8 fix: use separate user-data-dir for CDP browser to avoid conflicts with existing instances
When Edge/Chrome is already running, a new instance with --remote-debugging-port
joins the existing process instead of starting CDP. Using a dedicated profile dir
forces a separate process. Also retry CDP port check up to 6 seconds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 03:59:49 -03:00
f7acffd159 feat: indexed UI tree with SoM annotations + improved element resolution
- Flat indexed UI element list with numeric IDs and center coordinates
- Screenshot annotations: numbered colored boxes (Set of Marks)
- click_element resolves by index from cached element list
- Cursor crosshair + focused element highlight in screenshots

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 03:03:08 -03:00
3b4058afb9 feat: CDP tunnel + open_browser/close_browser + UI feedback on actions 2026-05-17 02:17:39 -03:00
c9f9fdb6b0 feat: UI feedback on actions + annotated screenshots 2026-05-17 02:02:07 -03:00
3de8339cc0 fix: use extra_headers for websockets legacy API compatibility 2026-05-16 16:29:43 -03:00
87d5db0c25 v2.0.0: tool-based architecture (no LLM on client) 2026-05-16 16:22:11 -03:00