File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const SIGNAL_ONLY_EXIT_KEEPALIVE_MS = 60_000
3838const STREAM_RESUME_WAIT_TIMEOUT_MS = 2_000
3939
4040async function bootstrapResumeForStdinStream ( host : ExtensionHost , sessionId : string ) : Promise < void > {
41- host . sendToExtension ( { type : "showTaskWithId" , text : sessionId } )
41+ await host . sendToExtension ( { type : "showTaskWithId" , text : sessionId } )
4242
4343 // Best-effort wait so early stdin "message" commands can target the resumed task.
4444 await pWaitFor ( ( ) => host . client . hasActiveTask ( ) || host . isWaitingForInput ( ) , {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export function useExtensionHost({
186186 setIsResumingTask ( true )
187187 setHasStartedTask ( true )
188188 setLoading ( true )
189- host . sendToExtension ( { type : "showTaskWithId" , text : resolvedSessionId } )
189+ await host . sendToExtension ( { type : "showTaskWithId" , text : resolvedSessionId } )
190190 return
191191 }
192192 }
You can’t perform that action at this time.
0 commit comments