Make the range card row-select, drop the composer 先这样 control and adopt status bar, keep delivery copy to three sentences with a folded verification report, and skip a second no-message agent run after a terminal delivery turn. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
632 B
TypeScript
20 lines
632 B
TypeScript
"use client";
|
|
|
|
import { renderChatMarkdown } from "@/components/chat-markdown-view";
|
|
import { RECTIFICATION_USER_COPY } from "@/lib/rectification-agentic/user-copy";
|
|
|
|
export function RectificationVerificationReport({
|
|
markdown,
|
|
}: Readonly<{ markdown: string | null | undefined }>) {
|
|
const body = markdown?.trim() ?? "";
|
|
if (!body) return null;
|
|
return (
|
|
<details className="rectification-verification-report">
|
|
<summary>{RECTIFICATION_USER_COPY.verificationReportSummary}</summary>
|
|
<div className="rectification-verification-report__body">
|
|
{renderChatMarkdown(body)}
|
|
</div>
|
|
</details>
|
|
);
|
|
}
|