{location.path}
{location.line != null ? `:${location.line}` : ""}
{content.path}
{content.oldText != null && (
{prefixLines(content.oldText, "- ")}
)}
{prefixLines(content.newText ?? "", "+ ")}
terminal: {content.terminalId}
; default: return null; } } /** * TextToolContent renders a tool call's textual output. System-command * output (kind "execute") is verbatim text: it goes into a monospace block, * never through the markdown pipeline. */ function TextToolContent({ text, toolKind, }: { text: string | undefined; toolKind: string }) { if (!text) { return null; } if (toolKind === "execute") { return{text};
}
return