Add diff expansion controls with ContentDiffViewer and CodePreview components

This commit is contained in:
Chris Scott committed 2025-12-26 18:07:33 -05:00
1 parent 55b6ab3c87
commit 4fd658fc7d
11 files changed
+549 -53

No files matched your search

@@ -114,7 +114,7 @@ export const MessagePart = memo(function MessagePart({ part, role, allParts, par
}
return <TextPart part={part} />
case 'patch':
return <PatchPart part={part} />
return <PatchPart part={part} onFileClick={onFileClick} />
case 'tool':
return <ToolCallPart part={part} onFileClick={onFileClick} onChildSessionClick={onChildSessionClick} />
case 'reasoning':