dsh-auto-compaction

A session auto-compaction plugin built for local models (compaction should also drop to seconds on cloud models): when idle it replaces the oldest history with a summary so the local engine never re-reads the whole history; the trigger point is adjustable, compaction can be rolled back at any time, and mid-task compaction can compress early when the remaining budget is low (off by default).

Overview

A session auto-compaction plugin built for local models (compaction should also drop to seconds on cloud models): when idle it replaces the oldest history with a summary so the local engine never re-reads the whole history; the trigger point is adjustable, compaction can be rolled back at any time, and mid-task compaction can compress early when the remaining budget is low (off by default).

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.