Skip to content

ThreadUsage

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:91

One thread’s footprint in the checkpoint tables.

bytes: number

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:98

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


checkpointCount: number

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:96


optional command?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:95


optional conversationId?: number

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:94

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


optional newestTs?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:100

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


threadId: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/checkpointRetention.ts:92