Skip to content

ThreadUsage

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

One thread’s footprint in the store.

bytes: number

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

Bytes of checkpoint / metadata / pending-write blobs stored under the thread.


checkpointCount: number

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


optional command?: string

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


optional conversationId?: number

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

The conversation that names this thread, when one does — absent means unaddressable.


optional newestTs?: string

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

The ts of the newest checkpoint, when it could be read.


threadId: string

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