Skip to content

CheckpointStoreStats

Defined in: packages/core/src/history/checkpointRetention.ts:145

What the store’s checkpoint state holds, for the readout.

checkpointBytes: number

Defined in: packages/core/src/history/checkpointRetention.ts:155

Bytes of checkpoint, metadata and pending-write blobs — the checkpoint state’s own share.


checkpointCount: number

Defined in: packages/core/src/history/checkpointRetention.ts:156


dbPath: string

Defined in: packages/core/src/history/checkpointRetention.ts:147

The store directory.


fileBytes: number

Defined in: packages/core/src/history/checkpointRetention.ts:153

Bytes the whole store occupies on disk — the index (transcripts and the search index) and every thread file — so it is reported beside checkpointBytes rather than instead of it. Zero when nothing is there.


largestThreads: ThreadUsage[]

Defined in: packages/core/src/history/checkpointRetention.ts:160

The biggest threads by stored bytes, largest first.


threadCount: number

Defined in: packages/core/src/history/checkpointRetention.ts:158


unresumableBytes: number

Defined in: packages/core/src/history/checkpointRetention.ts:163


unresumableThreadCount: number

Defined in: packages/core/src/history/checkpointRetention.ts:162

Threads no conversation row names, and what they cost — what reclamation will take.


writeCount: number

Defined in: packages/core/src/history/checkpointRetention.ts:157


writeOnlyBytes: number

Defined in: packages/core/src/history/checkpointRetention.ts:169


writeOnlyThreadCount: number

Defined in: packages/core/src/history/checkpointRetention.ts:168

Threads holding pending writes and no checkpoint, and what they cost. Counted inside checkpointBytes; reported apart because only gth history prune removes them.