| ... | @@ -93,6 +93,7 @@ import { | ... | @@ -93,6 +93,7 @@ import { |
| 93 | InfoIcon, | 93 | InfoIcon, |
| 94 | LockIcon, | 94 | LockIcon, |
| 95 | LockOpenIcon, | 95 | LockOpenIcon, |
| | 96 | Undo2Icon, |
| 96 | XIcon, | 97 | XIcon, |
| 97 | } from "lucide-react"; | 98 | } from "lucide-react"; |
| 98 | import { Button } from "./ui/button"; | 99 | import { Button } from "./ui/button"; |
| ... | @@ -2601,7 +2602,7 @@ const MessagesTimeline = memo(function MessagesTimeline({ | ... | @@ -2601,7 +2602,7 @@ const MessagesTimeline = memo(function MessagesTimeline({ |
| 2601 | disabled={isRevertingCheckpoint || isWorking} | 2602 | disabled={isRevertingCheckpoint || isWorking} |
| 2602 | onClick={() => onRevertUserMessage(timelineEntry.message.id)} | 2603 | onClick={() => onRevertUserMessage(timelineEntry.message.id)} |
| 2603 | > | 2604 | > |
| 2604 | {isRevertingCheckpoint ? "Reverting..." : "Revert agent work"} | 2605 | <Undo2Icon className="size-3" /> |
| 2605 | </Button> | 2606 | </Button> |
| 2606 | )} | 2607 | )} |
| 2607 | <p className="text-right text-[10px] text-muted-foreground/30"> | 2608 | <p className="text-right text-[10px] text-muted-foreground/30"> |