File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,17 +308,17 @@ function formatTodos(todos: Array<{ id: string; content: string; status: string
308308 const MAX_TODOS = 20 ;
309309
310310 const statusToMarker : Record < string , string > = {
311- completed : "x " ,
312- in_progress : "~ " ,
313- pending : " " ,
311+ completed : "✅ " ,
312+ in_progress : "🔄 " ,
313+ pending : "🔲 " ,
314314 } ;
315315
316316 const formattedTodos : string [ ] = [ ] ;
317317
318318 for ( let i = 0 ; i < Math . min ( todos . length , MAX_TODOS ) ; i ++ ) {
319319 const todo = todos [ i ] ;
320- const marker = statusToMarker [ todo . status ] ?? " " ;
321- formattedTodos . push ( `[ ${ marker } ] ${ todo . content } ` ) ;
320+ const marker = statusToMarker [ todo . status ] ?? "🔲 " ;
321+ formattedTodos . push ( `${ marker } ${ todo . content } ` ) ;
322322 }
323323
324324 let result = formattedTodos . join ( "\n" ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ describe("summary/formatter", () => {
105105 } ,
106106 } ) ;
107107
108- expect ( text ) . toBe ( "📝 todowrite (3)\n[x] Done item\n[~] In progress item\n[ ] Pending item" ) ;
108+ expect ( text ) . toBe ( "📝 todowrite (3)\n✅ Done item\n🔄 In progress item\n🔲 Pending item" ) ;
109109 } ) ;
110110
111111 it ( "formats write/edit tool details with line counters" , ( ) => {
You can’t perform that action at this time.
0 commit comments