rulvar API reference / @rulvar/rulvar / CheckpointState
Interface: CheckpointState
Defined in: packages/core/dist/index.d.ts
The canonical-history snapshot at a turn boundary.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
compaction | number[] | Compaction points; producers arrive with M4-T03. | packages/core/dist/index.d.ts |
messages | Msg[] | Canonical history up to and including the boundary. | packages/core/dist/index.d.ts |
pending? | PendingToolTurn | Present while an ask suspension holds the turn open (M3-T03). | packages/core/dist/index.d.ts |
schemaAttempts | number | - | packages/core/dist/index.d.ts |
toolCallsUsed | number | - | packages/core/dist/index.d.ts |
turns | number | Model turns already paid. | packages/core/dist/index.d.ts |
usage | Usage | Usage accumulated so far (not yet journaled: terminals carry totals). | packages/core/dist/index.d.ts |
v | 1 | - | packages/core/dist/index.d.ts |