feat: add persistent memory system (Phase 2)

Implement file-based persistent memory with read/write/search tools:
- MemoryStore with namespace-scoped JSON storage
- memory-read, memory-write, memory-search builtin tools
- Auto-extraction of facts during context compaction
- Configurable via memory.enabled, memory.dir, memory.max_context_tokens
This commit is contained in:
William Valentin
2026-02-06 14:23:59 -08:00
parent 0180d4fb8f
commit 2e1071230a
6 changed files with 580 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
export { MemoryStore } from './store.js';
export type { MemoryStoreConfig, SearchResult } from './store.js';