Commit Graph

5 Commits

Author SHA1 Message Date
02b450865b Refactor cache API and expand installation docs
- Remove CacheCheckResult and simplify Cache::check_cache to return
  Option<OrganizationPlan>
- Replace cache_response_with_metadata with cache_response that takes a
  base path; update Gemini client and tests to use new API
- Improve load_or_create error handling and early-return when cache file
  missing
- Expand README/docs/INSTALLATION.md with detailed per-OS install and
  PATH instructions
2026-01-10 22:24:05 +05:30
eeb07983cb refactor: modularize CLI and optimize cache metadata lookups
- Extract error handling, path validation, and handlers into separate modules
- Add CacheCheckResult to pre-fetch metadata and avoid double lookups
- Deprecate legacy cache methods in favor of optimized alternatives
- Enable tokio fs feature for async file operations
- Remove debug profile from release build
2026-01-08 23:18:39 +05:30
32d08a888f perf: replace SHA256+hex with Blake3 for cache key generation
- Switch from sha2 crate to blake3 for faster hashing (4-7x speedup)
- Use Blake3's built-in to_hex() instead of separate hex crate
- Remove hex and sha2 dependencies
- Eliminates 40% CPU bottleneck in generate_cache_key()
2026-01-08 20:33:44 +05:30
2211057e4f fixed formatting 2025-12-30 02:10:00 +05:30
33784d8f1d refactored every component thoroughly. 2025-12-30 02:08:26 +05:30