dsh-smart-compaction: Cache-first compression with an optional economic strategy layer

dsh-smart-compaction decouples compression execution from adaptive economic strategies; by default, it prioritizes cache-first execution while economic strategies operate in an "observe-only" mode. The system logs structured data on compression and cache usage and displays decision and execution details within Chat UI cards. This article verifies the README and package.json, providing installation commands for web/desktop, configurations for the cacheFirst and adaptiveMode switches, rules for restart effectiveness, and common misunderstandings regarding log fields. It is applicable to DSH 0.2.1-rc.3/rc.5, is licensed under the MIT license, and requires checking the source code before installation.

Read More