OpenCode plugin for Morph - FastApply, WarpGrep codebase search, FlashCompact
fix: reuse compaction prefixes per session (#3)
Cache compacted conversation prefixes per session so repeated compactions reuse old results instead of reprocessing the whole history. Use content-based SHA-256 keys instead of raw string concatenation. Only compact the new uncached portion; skip if the delta is too small. Add a success toast after compaction. Lower default threshold from 140k to 100k chars.
C
Caner committed
736ebc08e364ee93601d9e48883ac1ab0664c49e
Parent: 443f49c
Committed by GitHub <noreply@github.com>
on 3/13/2026, 7:59:36 PM