Add unified memory tools: search_memories, trace_concept_evolution, check_consistency, update_thought_evolution_stage

- Create memory/mcp/unified_tools.py with 4 new handlers:
  - search_memories: unified search across Thoughts and Conversations
  - trace_concept_evolution: track concept development over time
  - check_consistency: verify statement alignment with past content
  - update_thought_evolution_stage: update thought maturity stage
- Export new tools from memory/mcp/__init__.py
- Register new tools in mcp_server.py with full docstrings

These tools complete the Ikario memory toolset to match memoryTools.js expectations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-30 17:24:30 +01:00
parent 376d77ddfa
commit 9e657cbf29
3 changed files with 721 additions and 0 deletions

View File

@@ -30,6 +30,17 @@ from memory.mcp.conversation_tools import (
list_conversations_handler,
)
from memory.mcp.unified_tools import (
SearchMemoriesInput,
TraceConceptEvolutionInput,
CheckConsistencyInput,
UpdateThoughtEvolutionStageInput,
search_memories_handler,
trace_concept_evolution_handler,
check_consistency_handler,
update_thought_evolution_stage_handler,
)
__all__ = [
# Thought tools
"AddThoughtInput",
@@ -53,4 +64,14 @@ __all__ = [
"get_conversation_handler",
"search_conversations_handler",
"list_conversations_handler",
# Unified tools (cross-collection)
"SearchMemoriesInput",
"TraceConceptEvolutionInput",
"CheckConsistencyInput",
"UpdateThoughtEvolutionStageInput",
"search_memories_handler",
"trace_concept_evolution_handler",
"check_consistency_handler",
"update_thought_evolution_stage_handler",
]