@@ -341,8 +341,13 @@ const workEntryKey = (entry: TimelineWorkEntry) => entry.id;
341341
342342export function WorkingTimelineRow ( { row } : { row : Extract < TimelineRow , { kind : "working" } > } ) {
343343 const ctx = use ( TimelineRowCtx ) ;
344- const { isCompacting, isPreparingWorktree, backgroundWorktreeSetup, pendingRequest } =
345- use ( TimelineRowActivityCtx ) ;
344+ const {
345+ isCompacting,
346+ isPreparingWorktree,
347+ backgroundWorktreeSetup,
348+ pendingRequest,
349+ providerStartingLabel,
350+ } = use ( TimelineRowActivityCtx ) ;
346351 const window = row . window ;
347352 const [ fit , onOverflowChange ] = useReducer (
348353 ( current : { overflows : boolean ; fade : boolean } , overflows : boolean ) =>
@@ -378,6 +383,9 @@ export function WorkingTimelineRow({ row }: { row: Extract<TimelineRow, { kind:
378383 "Compacting…"
379384 ) }
380385 </ span >
386+ ) : providerStartingLabel ? (
387+ // Until the provider opens a turn, the run is still launching it.
388+ providerStartingLabel
381389 ) : row . createdAt ? (
382390 < >
383391 Working for < WorkingTimer createdAt = { row . createdAt } />
@@ -920,8 +928,14 @@ function WorkingWindowView({
920928 onOverflowChange : ( overflows : boolean ) => void ;
921929} ) {
922930 const ctx = use ( TimelineRowCtx ) ;
923- const { isCompacting, isPreparingWorktree, turnEnded, pendingRequest, liveAnswerPreview } =
924- use ( TimelineRowActivityCtx ) ;
931+ const {
932+ isCompacting,
933+ isPreparingWorktree,
934+ turnEnded,
935+ pendingRequest,
936+ liveAnswerPreview,
937+ providerStartingLabel,
938+ } = use ( TimelineRowActivityCtx ) ;
925939 const open = window . historyOpen ;
926940 const [ history , setHistory ] = useState < { head : number ; tailStart : number } | null > ( null ) ;
927941 if ( open && history === null ) {
@@ -999,6 +1013,7 @@ function WorkingWindowView({
9991013 const showThinking =
10001014 ! turnEnded &&
10011015 ! pendingRequest &&
1016+ providerStartingLabel === null &&
10021017 ! window . answering &&
10031018 ! workingWindowItemIsLive ( window . items . at ( - 1 ) ) &&
10041019 ! isCompacting &&
0 commit comments