Review what an agent changed across several files. Files with changes left to decide stay on top and settle to the bottom as you finish them, each file is a sweep-apply review of its own, and Accept all travels through the files one after another, then offers Undo.
Pro
Review changes
Fix retry on declined cards · 3 files from the checkout agent
Coding agents and any tool that proposes edits across a project.
Reviewing generated changes before they are written.
When not to use
Comparing two versions of one file; use the file diff or version history.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/edit-review
Adds its 15 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
EditReview
5 props
PropTypeDefaultDescription
titlestring"Review changes"
descriptionstring—
files *readonly ReviewFile[]—
onApply((results: ReviewResult[]) => void)—Called with each file's text after your accepted changes.
classNamestring—
Keyboard
No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes img and status semantics, with aria-label, aria-hidden and aria-current kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.