PruneBounds
Defined in: packages/core/src/history/checkpointRetention.ts:205
Bounds for selectPrunableConversations. At least one is required by the command.
Properties
Section titled “Properties”keepLast?
Section titled “keepLast?”
optionalkeepLast?:number
Defined in: packages/core/src/history/checkpointRetention.ts:214
Keep the N most recently active resumable conversations whole and prune the rest.
Deliberately NOT “keep the last N super-steps of each thread”: that is the prefix policy this module forbids, and a flag whose name suggested it would be a documentation hazard.
optionalnow?:number
Defined in: packages/core/src/history/checkpointRetention.ts:216
Injectable clock for the age bound.
olderThanDays?
Section titled “olderThanDays?”
optionalolderThanDays?:number
Defined in: packages/core/src/history/checkpointRetention.ts:207
Prune conversations whose last activity is older than this many days.