@@ -868,7 +868,7 @@ describe("buildThreadFeed", () => {
868868 title : "Call MCP tool" ,
869869 item : { server : "t3-code" , tool : "preview_click" } ,
870870 status : undefined ,
871- displayName : "Click in the preview browser" ,
871+ displayName : "Clicking in the preview browser" ,
872872 liveDisplayName : "Clicking in the preview browser" ,
873873 settledDisplayName : "Clicked in the preview browser" ,
874874 icon : "browser" ,
@@ -879,7 +879,7 @@ describe("buildThreadFeed", () => {
879879 title : "Call MCP tool" ,
880880 item : { server : "t3-code" , tool : "task_status" } ,
881881 status : undefined ,
882- displayName : "Get delegated task status" ,
882+ displayName : "Getting delegated task status" ,
883883 liveDisplayName : "Getting delegated task status" ,
884884 settledDisplayName : "Got delegated task status" ,
885885 icon : "t3-code" ,
@@ -1039,7 +1039,7 @@ describe("buildThreadFeed", () => {
10391039 ) . toMatchObject ( [
10401040 {
10411041 type : "work-toggle" ,
1042- summary : "Clicked in the preview browser" ,
1042+ summary : "Clicking in the preview browser" ,
10431043 summaryToolIcon : "browser" ,
10441044 live : true ,
10451045 } ,
@@ -1050,18 +1050,20 @@ describe("buildThreadFeed", () => {
10501050 {
10511051 status : "completed" ,
10521052 displayName : "Clicked in the preview browser" ,
1053+ liveDisplayName : "Clicking in the preview browser" ,
10531054 detail : "Clicked Continue" ,
10541055 hasFailure : false ,
10551056 } ,
10561057 {
10571058 status : "failed" ,
10581059 displayName : "Failed to click in the preview browser" ,
1060+ liveDisplayName : "Failed to click in the preview browser" ,
10591061 detail : "Timed out waiting for Continue" ,
10601062 hasFailure : true ,
10611063 } ,
10621064 ] ) (
10631065 "uses the browser call label once its action settles as $status" ,
1064- ( { status, displayName, detail, hasFailure } ) => {
1066+ ( { status, displayName, liveDisplayName , detail, hasFailure } ) => {
10651067 const turnId = TurnId . make ( "turn-preview-lifecycle" ) ;
10661068 const toolCallId = "preview-click" ;
10671069 const groupId = `work-group:tool:${ turnId } :${ toolCallId } ` ;
@@ -1156,7 +1158,7 @@ describe("buildThreadFeed", () => {
11561158 groupId,
11571159 hiddenCount : 1 ,
11581160 expanded : true ,
1159- summary : displayName ,
1161+ summary : liveDisplayName ,
11601162 summaryToolIcon : "browser" ,
11611163 hasFailure,
11621164 live : true ,
@@ -1677,7 +1679,7 @@ describe("buildThreadFeed", () => {
16771679 (
16781680 [
16791681 { lifecycleStatus : "inProgress" , summary : "Running pnpm" , shimmer : true } ,
1680- { lifecycleStatus : "completed" , summary : "Ran pnpm" , shimmer : false } ,
1682+ { lifecycleStatus : "completed" , summary : "Running pnpm" , shimmer : false } ,
16811683 { lifecycleStatus : "failed" , summary : "Failed pnpm" , shimmer : false } ,
16821684 { lifecycleStatus : "declined" , summary : "Declined pnpm" , shimmer : false } ,
16831685 { lifecycleStatus : "stopped" , summary : "Stopped pnpm" , shimmer : false } ,
0 commit comments