cherry-studio/packages/shared
MyPrototypeWhat 4f7a14b044 feat(tabs): implement LRU management and tab hibernation features
- Introduced `TabLRUManager` to manage tab hibernation based on usage patterns, enhancing memory efficiency.
- Added `isDormant` and `savedState` properties to the `Tab` interface for tracking tab states during hibernation.
- Updated `useTabs` hook to include methods for hibernating and waking tabs, along with pinning functionality to exempt tabs from LRU management.
- Enhanced `AppShell` to only render non-dormant tabs, improving user experience by focusing on active content.
- Implemented logging for tab state changes to facilitate debugging and monitoring of tab behavior.

These changes significantly improve the application's performance and user experience by optimizing tab management and memory usage.
2025-12-11 17:50:50 +08:00
..
agents/claudecode ⬆️ chore: migrate from Claude Code SDK to Claude Agent SDK v0.1.1 2025-09-30 17:54:02 +08:00
anthropic fix(anthropic): prevent duplicate /v1 in API endpoints (#11467) 2025-11-26 19:26:39 +08:00
config Merge branch 'main' into v2 2025-12-09 10:45:35 +08:00
data feat(tabs): implement LRU management and tab hibernation features 2025-12-11 17:50:50 +08:00
IpcChannel.ts Merge branch 'main' into v2 2025-12-09 10:45:35 +08:00
utils.ts fix(openai): apply verbosity setting with type safety improvements (#10964) 2025-11-22 21:41:12 +08:00