Commit bcd29e3
committed
feat: implement environment details caching to reduce duplicate processing
- Add EnvironmentDetailsCache class with section-based hashing
- Implement change detection for VSCode files, tabs, terminals, cost, mode
- Add configurable TTL for different section types
- Modify getEnvironmentDetails to use caching for performance optimization
- Add comprehensive test suite for caching mechanism
- Maintain backward compatibility with existing API
Fixes #58441 parent a7771a3 commit bcd29e3
File tree
3 files changed
+1114
-205
lines changed- src/core/environment
- __tests__
3 files changed
+1114
-205
lines changed
0 commit comments