npmrun
|
a7aff45514
|
feat(cache): add degrading cache system with Redis + memory fallback
- Add packages/cache with CacheDriver interface (get/set/del/exists/clear)
- Implement MemoryDriver (Map-based, TTL support)
- Implement RedisDriver (ioredis, lazyConnect, error handling)
- Implement CacheManager with manual fallback (Redis first, memory as backup)
- Add createCache factory function for easy initialization
- All dependency versions pinned per CLAUDE.md
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
1 week ago |