CompactionResult
@forge/monorepo / backend/src / CompactionResult
Type Alias: CompactionResult
CompactionResult =
object
Defined in: backend/src/context/compaction.ts:39
Properties
event
readonlyevent:Omit<ContextCompactedEvent,"runId"|"sequence"|"occurredAt">
Defined in: backend/src/context/compaction.ts:44
The transport event to publish (worker stamps runId/sequence/occurredAt).
kept
readonlykept: readonlyMessage[]
Defined in: backend/src/context/compaction.ts:42
Recent turns kept verbatim — these plus the summary feed the next prompt.
summary
readonlysummary:ThreadSummary
Defined in: backend/src/context/compaction.ts:40