Commit Graph

2 Commits

Author SHA1 Message Date
Eugeniusz Gilewski
27210a50a7 fix(memory): honor global tool disable aliases (#49386)
The shared provider injection gate recognizes literal memory denial but
allows providers to re-add schemas after all or * disables registry tools.

Treat both global aliases as memory-provider denials in the shared gate.
Exercise initial injection and MCP refresh with each alias while retaining
explicit memory denial and enabled-provider behavior.

Rebased onto main: the gate moved to agent/memory_manager_tools.py.

Fixes #46171
Fixes #48181
Fixes #49386
2026-11-13 17:25:07 -08:00
kshitijk4poor
310bcf444a refactor(memory): move tool-schema plumbing into agent/memory_manager_tools.py
The stall/registry work pushed agent/memory_manager.py past 1,000 lines.
The memory-provider tool-schema helpers (normalize_tool_schema,
memory_provider_tools_enabled, memory_provider_tools_exposed,
inject_memory_provider_tools) are a self-contained topic with no
dependency on MemoryManager, so they move verbatim to a
memory_manager_tools sibling and every in-tree caller imports from the
new module. agent.memory_manager is a public plugin module
(hermes_cli/plugin_validate_private_imports.py), so it re-exports the
four names, as it already does for the helpers that moved to
agent.memory_context.
2026-10-19 19:15:44 +05:30