agent-zero/plugins/_browser/helpers
Alessandro 4f06aa0a8e Fix MCP multimodal content handling
Preserve MCP image, audio, and resource tool results instead of collapsing non-text responses into an empty textual result. Images and image resources now flow into raw history as data URL attachments, while audio and non-image binary resources are saved as artifacts with normalized paths.

Extract shared media artifact helpers for base64 validation, image data URLs, decoded-size checks, artifact saving, MIME normalization, and safe filenames. Reuse the shared helpers from MCP, browser connector, and computer-use artifact paths, and add focused regression coverage.
2026-05-26 15:31:33 +02:00
..
__init__.py browser: replace browser-use agent with native browser 2026-04-24 15:43:52 +02:00
config.py Preserve model preset inherited settings 2026-05-18 02:45:08 +02:00
connector_runtime.py Fix MCP multimodal content handling 2026-05-26 15:31:33 +02:00
extension_manager.py refactor: align skills and tool guidance 2026-05-10 07:13:14 +02:00
playwright.py Move Browser Playwright cache to tmp 2026-05-07 18:43:24 +02:00
runtime.py Make browser screenshots ephemeral and context scoped 2026-05-22 09:50:47 +02:00
selector.py Improve Browser Docker runtime recovery 2026-05-18 02:00:31 +02:00
url.py Centralize Browser helper contracts 2026-05-08 16:39:04 +02:00