zeroclaw/src/memory
argenis de la rosa 98688c61ff feat(cache): wire two-tier response cache, multi-provider token tracking, and cache analytics
- Two-tier response cache: in-memory LRU (hot) + SQLite (warm) with TTL-aware eviction
- Wire response cache into agent turn loop (temp==0.0, text-only responses only)
- Parse Anthropic cache_creation_input_tokens/cache_read_input_tokens
- Parse OpenAI prompt_tokens_details.cached_tokens
- Add cached_input_tokens to TokenUsage, prompt_caching to ProviderCapabilities
- Add CacheHit/CacheMiss observer events with Prometheus counters
- Add response_cache_hot_entries config field (default: 256)
2026-03-16 12:44:48 -04:00
..
backend.rs fix(channels,memory): Docker workspace path remapping, vision support, and Qdrant backend restore (#1) 2026-02-24 16:03:01 +08:00
chunker.rs perf: eliminate unnecessary heap allocations across agent loop, memory, and channels 2026-02-19 07:06:27 -08:00
cli.rs chore(fmt): apply rustfmt after main rebase 2026-02-21 12:09:06 +08:00
consolidation.rs fix(agent): use char-boundary-safe slicing to prevent CJK text panic 2026-03-15 14:27:09 -04:00
embeddings.rs fix(memory): add openrouter as recognized embedding provider 2026-02-19 15:10:25 -05:00
hygiene.rs Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
lucid.rs fix(tests): increase lucid memory test timeouts to prevent flakiness 2026-02-21 12:01:38 +08:00
markdown.rs chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
mod.rs feat(context): token-based compaction, persistent sessions, and LLM consolidation (#3574) 2026-03-15 09:25:23 -04:00
none.rs feat(memory): add session_id isolation to Memory trait (#530) 2026-02-17 07:44:05 -05:00
postgres.rs fix(memory): avoid tokio runtime panic when initializing postgres backend 2026-02-20 16:21:25 +08:00
qdrant.rs fix(channels,memory): Docker workspace path remapping, vision support, and Qdrant backend restore (#1) 2026-02-24 16:03:01 +08:00
response_cache.rs feat(cache): wire two-tier response cache, multi-provider token tracking, and cache analytics 2026-03-16 12:44:48 -04:00
snapshot.rs fix(build): complete strict lint and test cleanup (replacement for #476) 2026-02-18 00:18:54 +08:00
sqlite.rs fix(security): prevent cleartext logging of sensitive data 2026-02-18 20:12:45 -08:00
traits.rs fix(security): remove sensitive fields from Debug impls 2026-02-20 22:06:21 -08:00
vector.rs fix: resolve all clippy --all-targets warnings across 15 files 2026-02-14 03:52:57 -05:00