agents: leak an overlay's display name once, not per metadata() call

OverlayAdapter::metadata() leaked a new copy of the manifest display_name on
every call, and the hook router calls it on every hook event, so a manifest
with display_name grew memory for the life of the server. Leak it once when
the overlay is built, as the helper's comment already promised.
a31056d094Lucenx9 committed on 10/9/2026, 12:44:26 PMparent519e236

Checks

All checks passed
1 file changedLine totals unavailable