# Schemas: t3/checkpointing

> T3 Code · channel `nightly` · v0.1.15-nightly.20261205.5786 @ [`be521199aace`](https://github.com/pingdotgg/t3code/tree/be521199aace1a0b446f4db4a1181ef994aaa1e2) · 2026-12-05 · generated by Everdoc from source (no LLM).

6 entries.

<a id="schema-checkpointdiffoperation"></a>

## `CheckpointDiffOperation`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:6](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L6-L9)
- Shape: `"CheckpointDiffQuery.getTurnDiff" | "CheckpointDiffQuery.getFullThreadDiff"`

<a id="schema-checkpointdiffresultinvaliderror"></a>

## `CheckpointDiffResultInvalidError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:12](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L12-L24)
- Shape: `{ _tag: "CheckpointDiffResultInvalidError"; operation: CheckpointDiffOperation; threadId: makeEntityId }`

<a id="schema-checkpointrefunavailableerror"></a>

## `CheckpointRefUnavailableError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:66](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L66-L78)
- Shape: `{ _tag: "CheckpointRefUnavailableError"; operation: CheckpointDiffOperation; threadId: makeEntityId; turnCount: NonNegativeInt; checkpoint: "from" | "to" }`

<a id="schema-checkpointthreadnotfounderror"></a>

## `CheckpointThreadNotFoundError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:26](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L26-L36)
- Shape: `{ _tag: "CheckpointThreadNotFoundError"; operation: CheckpointDiffOperation; threadId: makeEntityId }`

<a id="schema-checkpointturnrangeunavailableerror"></a>

## `CheckpointTurnRangeUnavailableError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:52](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L52-L64)
- Shape: `{ _tag: "CheckpointTurnRangeUnavailableError"; operation: CheckpointDiffOperation; threadId: makeEntityId; requestedTurnCount: NonNegativeInt; availableTurnCount: NonNegativeInt }`

<a id="schema-checkpointworkspacepathmissingerror"></a>

## `CheckpointWorkspacePathMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/checkpointing/Errors.ts:38](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/checkpointing/Errors.ts#L38-L50)
- Shape: `{ _tag: "CheckpointWorkspacePathMissingError"; operation: CheckpointDiffOperation; threadId: makeEntityId }`
