reclaimUnresumableThreads
reclaimUnresumableThreads(
storePath,options?):ReclaimSummary
Defined in: packages/core/src/history/checkpointRetention.ts:537
The automatic half of the policy: remove the state of every thread no conversation row names and whose newest checkpoint is past the grace window. Never throws, and never touches a thread a resume could reach.
Parameters
Section titled “Parameters”storePath
Section titled “storePath”string
options?
Section titled “options?”beforeRemove?
Section titled “beforeRemove?”(threadId) => void
excludeThreadIds?
Section titled “excludeThreadIds?”readonly string[]
graceMs?
Section titled “graceMs?”number
number