Files
hermes-agent/tools
kshitijk4poor c191c34566 perf(tools): resolve register()'s existing-entry check without a merged copy
register() rebuilt the merged global+overlay dict for scoped registrations to
find the existing entry; route it through the same two-lookup helper as
get_entry (`_lookup`), keeping the scope-None path global-only as before.
`_toolset_entries` still walks the merged view because it needs every entry
of a toolset, not one name.

Adds the equivalence pin from #106092 (liuhao1024): get_entry must return
exactly what the merged view returns for every name/scope combination.

Co-authored-by: liuhao1024 <sunsky.lau@gmail.com>
2026-09-23 21:28:38 +05:30
..