Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/memory / / ExecuteCompactionInput
Interface: ExecuteCompactionInput
Defined in: packages/memory/src/context-engine/compaction/compactor.ts:58
Trim the in-flight buffer using the summarize-old-preserve-recent strategy. Returns the trimmed messages + summary metadata; the caller is responsible for appending the summary to the message buffer (Phase 12 owns the lifecycle; this module exposes the primitive).