AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Undo and redo
Client-side undo and redo with full transaction history.
Every mutation records a history entry. Undo reverses it; redo replays it.
Basic usage
Call undo() and redo() after any mutation to walk the history stack.
await client.create("Task", { title: "Task 1", status: "todo" });
await client.update("Task", "task-123", { title: "Updated" });
if (client.canUndo()) {
await client.undo