@@ -30,14 +30,25 @@ import {
3030 Clock ,
3131 AlertCircle ,
3232 FileCode ,
33+ ThumbsUp ,
34+ ThumbsDown ,
35+ Target ,
36+ GitCompare ,
37+ HelpCircle ,
38+ Cpu ,
39+ Timer ,
40+ Sparkles ,
41+ Layers ,
42+ CheckCheck ,
43+ ArrowRight ,
3344} from 'lucide-react' ;
3445import { useLiteTasks } from '@/hooks/useLiteTasks' ;
3546import { Button } from '@/components/ui/Button' ;
3647import { Badge } from '@/components/ui/Badge' ;
3748import { Card , CardContent } from '@/components/ui/Card' ;
3849import { TabsNavigation } from '@/components/ui/TabsNavigation' ;
3950import { TaskDrawer } from '@/components/shared/TaskDrawer' ;
40- import { fetchLiteSessionContext , type LiteTask , type LiteTaskSession , type LiteSessionContext } from '@/lib/api' ;
51+ import { fetchLiteSessionContext , type LiteTask , type LiteTaskSession , type LiteSessionContext , type RoundSynthesis } from '@/lib/api' ;
4152import { LiteContextContent } from '@/components/lite-tasks/LiteContextContent' ;
4253import { useNavigate } from 'react-router-dom' ;
4354
@@ -532,25 +543,36 @@ function ExpandedMultiCliPanel({
532543 { /* Discussion Tab */ }
533544 { activeTab === 'discussion' && (
534545 < div className = "space-y-3" >
535- < Card className = "border-border" >
536- < CardContent className = "p-4" >
537- < div className = "flex items-center gap-2 mb-3" >
538- < MessagesSquare className = "h-5 w-5 text-primary" />
539- < h4 className = "font-medium text-foreground" >
540- { formatMessage ( { id : 'liteTasks.multiCli.discussionRounds' } ) }
541- </ h4 >
542- < Badge variant = "secondary" className = "text-xs" > { roundCount } { formatMessage ( { id : 'liteTasks.rounds' } ) } </ Badge >
543- </ div >
544- < p className = "text-sm text-muted-foreground" >
545- { formatMessage ( { id : 'liteTasks.multiCli.discussionDescription' } ) }
546- </ p >
547- { goal && (
548- < div className = "mt-3 p-3 bg-muted/50 rounded-lg" >
549- < p className = "text-sm text-foreground" > { goal } </ p >
546+ { /* Rounds Detail */ }
547+ { session . rounds && session . rounds . length > 0 ? (
548+ session . rounds . map ( ( round , idx ) => (
549+ < RoundDetailCard
550+ key = { round . round || idx }
551+ round = { round }
552+ isLast = { idx === session . rounds ! . length - 1 }
553+ />
554+ ) )
555+ ) : (
556+ < Card className = "border-border" >
557+ < CardContent className = "p-4" >
558+ < div className = "flex items-center gap-2 mb-3" >
559+ < MessagesSquare className = "h-5 w-5 text-primary" />
560+ < h4 className = "font-medium text-foreground" >
561+ { formatMessage ( { id : 'liteTasks.multiCli.discussionRounds' } ) }
562+ </ h4 >
563+ < Badge variant = "secondary" className = "text-xs" > { roundCount } { formatMessage ( { id : 'liteTasks.rounds' } ) } </ Badge >
550564 </ div >
551- ) }
552- </ CardContent >
553- </ Card >
565+ < p className = "text-sm text-muted-foreground" >
566+ { formatMessage ( { id : 'liteTasks.multiCli.discussionDescription' } ) }
567+ </ p >
568+ { goal && (
569+ < div className = "mt-3 p-3 bg-muted/50 rounded-lg" >
570+ < p className = "text-sm text-foreground" > { goal } </ p >
571+ </ div >
572+ ) }
573+ </ CardContent >
574+ </ Card >
575+ ) }
554576 </ div >
555577 ) }
556578
0 commit comments