# AI Checkpoint Restore

Checkpoint markers in a coding agent transcript with a files changed summary and a restore button.

- id: `ai-checkpoint-restore`
- Page: https://agentic-ui-kit.com/components/ai-checkpoint-restore
- Live preview: https://agentic-ui-kit.com/live/component/ai-checkpoint-restore?piece=ai-checkpoint-restore

## Install

```bash
agentic-ui add ai-checkpoint-restore
npx shadcn@4.17.0 add @agentic-ui/ai-checkpoint-restore
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** transcript-checkpoints, files-changed-summary, file-list-per-checkpoint, restore-confirmation-dialog, restore-scope-code-conversation, reverted-files-preview, conversation-rewind, restored-marker, dark-mode
- **Intents:** orchestrate-agents, audit-trail, converse
- **Suits domains:** ai-agents, devtools, ai-workspace, saas
- **Interaction:** click, confirm, radio-select, keyboard-focus
- **Screen role:** flow
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** checkpoint markers in a coding agent transcript with a files changed summary and a restore button, confirm dialog to restore code, the conversation or both to an earlier checkpoint, rewind an AI coding session to a previous state and show which files will be reverted, undo points in an agent run with per-checkpoint file changes
- **Avoid when:** version history of a workflow definition (use ai-workflow-versioning), comparing two file versions line by line (use code-diff-viewer), a git commit history browser
- **Preserve when adapting:** confirm-before-restore, scope-choice, reverted-files-preview
- **Replace when adapting:** entries, restore-handler, labels
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** lucide-react
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
