mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-03 03:55:12 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| connector_runtime.py | ||
| extension_manager.py | ||
| playwright.py | ||
| runtime.py | ||
| selector.py | ||
| url.py | ||