Skip to main content

Interface: HistoryEntry

Defined in: types.ts:129

Public, read-only view of a single history entry.

Closures are not exposed. Tools can read label, coalesceKey, and meta to render history UIs without being tempted to invoke entries directly.

Properties​

coalesceKey?​

readonly optional coalesceKey?: string

Defined in: types.ts:135

Coalesce key copied from the source command.


id​

readonly id: number

Defined in: types.ts:131

Stable id assigned at push time, monotonically increasing within a store.


label?​

readonly optional label?: string

Defined in: types.ts:133

Optional label copied from the source command.


meta?​

readonly optional meta?: Record<string, unknown>

Defined in: types.ts:137

Metadata copied from the source command.


pushedAt​

readonly pushedAt: number

Defined in: types.ts:139

Wall-clock timestamp (ms since epoch) when the entry was pushed.