feat(layer4): add Memory wrapper with summarize_truncation
Introduce SessionMemory as a clean Memory API wrapping SessionStore, providing message add/get with summarization when conversation exceeds max_rounds. Integrate into AgentHub.process_message to replace direct SessionService calls for message read/write. Add ensure_active_session to SessionService for session lifecycle management. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
4 changed files
with
179 additions
and
15 deletions
-
Please register or sign in to post a comment