mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 18:55:37 -04:00
3e9fbfa5ef
Consolidate 4-layer memory abstraction into unified Memory class: - MemoryStore, QdrantMemoryStore, QdrantMemoryBridge, ContinuityManager are now consolidated into a single src/memory/unified.ts Single Qdrant collection with type field for discrimination: - type: "memory" - facts, preferences, decisions - type: "state" - personas orchestration state - type: "conversation" - conversation continuity - type: "session_chain" - session chain index Key changes: - New Memory class with save/search/get/delete for memories - State persistence (saveState/loadState) - Conversation continuity (startSession, processMessages, etc.) - Cross-session memory injection for personas bootstrap - Updated tiara.ts to use Memory instead of QdrantMemoryBridge - Added bootstrap/personas.ts for lifecycle hooks Legacy APIs preserved for backwards compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>