Files
hermes-agent/tools
kshitijk4poor 684f7e9927 refactor(mcp): declare _resolved_identity in MCPServerTask's slots and init it
The transport publishes _resolved_identity and server_run resets it, but the attribute was
neither in __slots__ nor set in __init__, so a task that never reached the transport raised
AttributeError on read and the attribute silently lived in the mixins' __dict__. Declare it and
start it at None (not shareable until the transport publishes a digest). The getattr in
registration stays for test fakes that are not MCPServerTask instances.
2026-09-26 22:40:54 +05:30
..