fix(core): cache external handler metadata per context type
fix(core): cache external handler metadata per context type: a task in Trending-SWE1.0 (Harbor dataset). Title: fix(core): cache external handler metadata per context type
The task
**Title:** fix(core): cache external handler metadata per context type
Part of scalingX/Trending-SWE1.0.