mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-16 06:43:07 -07:00
1f567965d2
- Re-wrote the monolithic string-based context manipulation logic into an elegant, immutable Episodic IR pipeline. - Implemented four non-destructive degradation processors: `HistorySquashingProcessor`, `ToolMaskingProcessor`, `BlobDegradationProcessor`, and `SemanticCompressionProcessor`. - Added dynamic configuration knobs (`budget` and `strategies`) to precisely tune the retention algorithms. - Implemented a power-user `incrementalGc` flag for maximum context preservation beneath the ceiling. - Enforced strict typing across the new pipeline, replacing unsafe casts with robust mapping interfaces. - Added `powerUserProfile` to support features for those wanting a bit more quality at the cost of tokens.