1
0

[loop-cycle-63] feat: session_history tool — Timmy searches past conversations (#251) (#258)

This commit is contained in:
2026-03-15 15:11:43 -04:00
parent dd34dc064f
commit 80aba0bf6d
3 changed files with 531 additions and 0 deletions

View File

@@ -586,6 +586,14 @@ def _register_introspection_tools(toolkit: Toolkit) -> None:
logger.warning("Tool execution failed (Introspection tools registration): %s", exc)
logger.debug("Introspection tools not available")
try:
from timmy.session_logger import session_history
toolkit.register(session_history, name="session_history")
except (ImportError, AttributeError) as exc:
logger.warning("Tool execution failed (session_history registration): %s", exc)
logger.debug("session_history tool not available")
def _register_delegation_tools(toolkit: Toolkit) -> None:
"""Register inter-agent delegation tools."""
@@ -824,6 +832,11 @@ def _introspection_tool_catalog() -> dict:
"description": "Check status of memory tiers (hot memory, vault)",
"available_in": ["orchestrator"],
},
"session_history": {
"name": "Session History",
"description": "Search past conversation logs for messages, tool calls, errors, and decisions",
"available_in": ["orchestrator"],
},
}