File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed
apps/agent-tars/src/renderer/src Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export class AgentFlow {
180
180
] ) ;
181
181
182
182
if ( ! this . abortController . signal . aborted ) {
183
- this . eventManager . addEndEvent ( '> Omega Agent has finished.' ) ;
183
+ this . eventManager . addEndEvent ( '> Agent TARS has finished.' ) ;
184
184
}
185
185
}
186
186
Original file line number Diff line number Diff line change @@ -1951,7 +1951,7 @@ export const events = [
1951
1951
id : 'f65c6a4d-3bab-4246-a4b1-f45344133518' ,
1952
1952
type : 'end' ,
1953
1953
content : {
1954
- message : '> Omega Agent has finished.' ,
1954
+ message : '> Agent TARS Agent has finished.' ,
1955
1955
} ,
1956
1956
timestamp : 1741906222166 ,
1957
1957
} ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export function MenuHeader() {
36
36
< div className = "w-9 h-9 rounded-xl bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center shadow-sm overflow-hidden" >
37
37
< motion . img
38
38
src = { Logo }
39
- alt = "Omega Logo"
39
+ alt = "Agent TARS Logo"
40
40
className = "w-6 h-6 object-contain"
41
41
whileHover = { { rotate : 10 , scale : 1.1 } }
42
42
transition = { { type : 'spring' , stiffness : 300 } }
@@ -50,7 +50,7 @@ export function MenuHeader() {
50
50
animate = { { opacity : 1 } }
51
51
transition = { { delay : 0.2 } }
52
52
>
53
- Omega
53
+ Agent TARS
54
54
</ motion . span >
55
55
</ motion . div >
56
56
Original file line number Diff line number Diff line change @@ -60,27 +60,31 @@ export function Replay() {
60
60
}
61
61
} ;
62
62
63
+ useEffect ( ( ) => {
64
+ return ( ) => {
65
+ clearPlayTimer ( ) ;
66
+ } ;
67
+ } , [ ] ) ;
68
+
63
69
useEffect ( ( ) => {
64
70
let countDownInterval : NodeJS . Timeout ;
65
- if ( isReportHtmlMode ) {
71
+ if ( isReportHtmlMode && allMessages . length ) {
66
72
countDownInterval = setInterval ( ( ) => {
67
73
setCountdown ( ( prevCountdown ) => {
68
74
if ( prevCountdown > 1 ) {
69
75
return prevCountdown - 1 ;
70
76
} else {
71
77
clearInterval ( countDownInterval ) ;
72
- startPlayback ( ) ;
78
+ handleTogglePlay ( ) ;
73
79
return 0 ;
74
80
}
75
81
} ) ;
76
82
} , 1000 ) ;
77
83
}
78
-
79
84
return ( ) => {
80
- clearPlayTimer ( ) ;
81
85
countDownInterval && clearInterval ( countDownInterval ) ;
82
86
} ;
83
- } , [ ] ) ;
87
+ } , [ allMessages ] ) ;
84
88
85
89
useEffect ( ( ) => {
86
90
if ( allMessages . length === 0 && messages . length !== 0 ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export function TopBar({
19
19
} : TopBarProps ) {
20
20
return (
21
21
< div className = { `${ styles . topbar } ${ isCollapsed ? styles . collapsed : '' } ` } >
22
- { ! isCollapsed && < span className = { styles . title } > Omega </ span > }
22
+ { ! isCollapsed && < span className = { styles . title } > Agent TARS </ span > }
23
23
< div
24
24
className = { `${ styles . controls } ${ isCollapsed ? styles . controlsCollapsed : '' } ` }
25
25
>
You can’t perform that action at this time.
0 commit comments