"use client"; // Diff modal for the mission Refine flow. Shows the original // description (raw) side-by-side with the LLM-refined version // (rendered as Markdown). Accept / Cancel / Restore-original. import { MarkdownBlock } from "./MarkdownBlock"; const mono = "ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, monospace"; export function RefineDiffModal({ original, refined, busy, onAccept, onCancel, onUndoAfterAccept, }: { original: string; refined: string; busy: boolean; onAccept: () => void; onCancel: () => void; onUndoAfterAccept: () => void; }) { return (
{body}
)}