mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-19 15:33:54 +00:00
Add evaluate_timeout_seconds to Browser settings, defaulting to 30 seconds with strict finite bounds of 0.1 through 60 seconds. Bound user evaluation and result-state collection while preserving existing results and non-breaking tool errors. Propagate caller cancellation to the Browser worker and interrupt Chromium execution in place. Preserve the document when the original request settles; reserve reload and targeted closure for unresolved execution and report disruptive recovery explicitly without stopping shared workers. Require evaluate_timeout_v1 for host evaluation, forward the settings deadline, and await host cancellation acknowledgement. Reuse per-browser multi dispatch and clean up pending connector operations. Update the settings UI, tool guidance, ownership contracts and regression coverage. Validation: 173 Core Browser tests and 29 connector bridge tests passed. Framework compilation and isolated Chromium checks verified preserved form drafts and page state, async fallback, recovery and protocol cleanup. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| connector_runtime.py | ||
| extension_manager.py | ||
| interactive_view.py | ||
| playwright.py | ||
| runtime.py | ||
| selector.py | ||
| url.py | ||