Commit Graph

849 Commits

Author SHA1 Message Date
Nick Sweeting db4c4e9b49 fix duplicate typed keystrokes 2025-08-08 04:13:44 -07:00
Nick Sweeting e7fb8aa376 try js click before quads click 2025-08-08 03:37:04 -07:00
Nick Sweeting 4826041154 new cdp_session singleton for current page 2025-08-07 21:48:57 -07:00
Nick Sweeting e9add2d745 add screenshot watchdog 2025-08-07 17:49:25 -07:00
Nick Sweeting 6eac1f65c9 move script 2025-08-06 19:49:38 -07:00
Nick Sweeting 46dd9bd584 wip 2025-08-05 17:45:48 -07:00
Nick Sweeting a2bc905d85 add default_action_watchdog with cdp-use default actions 2025-08-05 03:25:49 -07:00
Nick Sweeting 328a4b5be4 Merge branch 'feature/new-dom-extraction-layer' into local-remote-split 2025-08-05 03:12:48 -07:00
Nick Sweeting 79fc707750 skip flaky tests for now, cleanup event loop attempt number 52 2025-08-05 03:07:06 -07:00
Nick Sweeting 43bc8b57f5 remove dead code 2025-08-05 02:42:30 -07:00
Nick Sweeting 05cb92b126 fix tests 2025-08-05 02:30:56 -07:00
Nick Sweeting 6ddb62e093 more downloads watchdog and crash watchdog fixes 2025-08-05 00:43:14 -07:00
Nick Sweeting 4d92912cee enforce at least one about:blank page 2025-08-05 00:26:28 -07:00
Nick Sweeting 68496ef802 force-shutdown event_bus 20sec after browser stop 2025-08-05 00:26:05 -07:00
Nick Sweeting cc2d9359d3 fix bubus issue 2025-08-05 00:20:01 -07:00
Nick Sweeting 5a8e9b3bfa fix downloads watchdog and aboutblank watchdog 2025-08-04 23:47:54 -07:00
Nick Sweeting d8ffff6491 add local browser watchdog 2025-08-04 23:47:54 -07:00
Nick Sweeting 60777070d9 Update tests/ci/test_browser_session_storage_state.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-04 23:00:21 -04:00
Nick Sweeting 0a172d182b Update tests/ci/test_navigation_watchdog.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-04 22:58:38 -04:00
Nick Sweeting 57920fe758 Update tests/ci/test_navigation_watchdog.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-04 22:58:16 -04:00
Nick Sweeting 145dbf6e2b fix type hints 2025-08-04 19:57:13 -07:00
Nick Sweeting 032f314a41 Merge branch 'main' into local-remote-split 2025-08-04 19:44:05 -07:00
Mert Unsal 60e5bf0e70 Merge branch 'main' into fix/gemini-dict-type-field-handling 2025-08-03 14:13:33 +01:00
Gregor Žunič 286b5ec801 Merge commit '90fa344b599d55c2984bd926161acfecbb681d8c' into feature/new-dom-extraction-layer 2025-08-02 14:34:20 -07:00
Gregor Žunič 0aa3d54233 Merge commit '9b882faa10c54be5a870cc5d8abd6ddb19d0682f' into feature/new-dom-extraction-layer 2025-08-02 11:41:28 -07:00
mertunsall 9bd0036223 separate agent history and state 2025-08-02 15:48:49 +01:00
mertunsall fcae1702a9 fix tests 2025-08-01 20:56:54 +01:00
Jai 87e856d319 Merge branch 'main' into fix/gemini-dict-type-field-handling 2025-08-01 20:46:32 +05:30
Nick Sweeting a0e2fac3ca more tests passing 2025-08-01 03:14:06 -07:00
Nick Sweeting 659c5145f6 more event-driven refactoring 2025-08-01 02:42:01 -07:00
Nick Sweeting ebc3a3846f wip cleanup flow] 2025-07-31 22:10:25 -07:00
Nick Sweeting ac0d5cf630 wip 2025-07-31 03:38:07 -07:00
Nick Sweeting e1de431cfe Merge branch 'main' into local-remote-split 2025-07-31 03:37:38 -07:00
Nick Sweeting 2b12eb6542 wip 2025-07-31 03:31:32 -07:00
Nick Sweeting 0919ab6d49 fixes 2025-07-31 01:35:25 -07:00
Nick Sweeting 183d6b2829 cleanup dead code 2025-07-31 01:25:11 -07:00
Nick Sweeting e924106246 add new watchdog service 2025-07-31 00:55:13 -07:00
Nick Sweeting ae479d6330 add storage state events and show recent events summary to llm 2025-07-31 00:54:53 -07:00
Nick Sweeting 83c5fa4393 fixes for small differences with old api 2025-07-30 23:34:54 -07:00
Nick Sweeting af92619c7d fix imports and lint 2025-07-30 21:46:34 -07:00
Nick Sweeting 0f87d345a7 add new eventbus layout 2025-07-30 16:57:26 -07:00
claude[bot] 5465163cd9 feat(mcp): add array type inference for MCP tool parameters
- Enhanced _json_schema_to_python_type to recursively handle array item types
- Arrays with ''items'' schema now properly return list[item_type] instead of plain list
- Supports nested types like list[str], list[float], and list[CustomModel]
- Added comprehensive test for array type inference in test_mcp_array_type_inference

This allows MCP tools with array parameters to have proper type hints and validation,
fixing issues where array parameters were losing their item type information.

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-30 18:55:33 +00:00
Nick Sweeting aa5f80f881 Merge branch 'main' into claude/issue-2453-20250715_190029 2025-07-30 11:45:24 -07:00
Nick Sweeting 36cc752659 enable extensions explicitly during tests 2025-07-29 13:14:54 -07:00
Nick Sweeting dc52961003 Merge branch 'main' into claude-issue-2559-20250729-1800 2025-07-29 11:54:26 -07:00
claude[bot] a9685bc102 fix: fix lint errors in test_anthropic_502_error.py
- Add BaseMessage import and type messages lists properly
- Use monkeypatch fixture for proper mocking instead of direct assignment
- Fix formatting issues (quotes, spacing) per ruff/ruff-format rules

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-29 18:50:40 +00:00
Nick Sweeting bb0f2ee560 fix missing self arg 2025-07-29 11:48:15 -07:00
Nick Sweeting 08f30544fd fix screenshot test 2025-07-29 11:28:56 -07:00
Nick Sweeting 3652ad2759 add new test for chrome: urls 2025-07-29 11:17:16 -07:00
claude[bot] cedb0d9cd4 fix: handle unexpected response types in ChatAnthropic
- Add type checking before accessing response.usage attribute
- Raise clear ModelProviderError when response is not a Message object
- Prevents AttributeError when API returns string errors instead of proper response
- Fixes issue #2559 where 502 errors caused ''str'' object has no attribute ''usage''

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-29 18:09:01 +00:00