Davanum Srinivas 4a183651af Agents: preserve plugin tool metadata through wrappers
Keep plugin-origin metadata attached when agent tool definitions are cloned or
wrapped by schema adapters, before-tool hooks, abort handlers, and Gemini tool
sanitization.

Without this, an exact-name external plugin such as `web_search` can lose its
plugin marker during normalization and be mistaken for a trusted built-in when
MEDIA URLs are filtered.

Add regression coverage proving wrapped exact-name plugin tools remain
untrusted for local-path media passthrough.
2026-03-15 10:28:01 -07:00
..
2026-03-14 17:27:54 +02:00
2026-03-14 15:52:11 -05:00