File tree Expand file tree Collapse file tree
apps/array/src/renderer/features/sessions/stores Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -460,7 +460,10 @@ const useStore = create<SessionStore>()(
460460
461461 if ( result ) {
462462 // Set isPromptPending true - the resumed agent may still be generating
463- updateSession ( taskRunId , { status : "connected" , isPromptPending : true } ) ;
463+ updateSession ( taskRunId , {
464+ status : "connected" ,
465+ isPromptPending : true ,
466+ } ) ;
464467 } else {
465468 unsubscribeFromChannel ( taskRunId ) ;
466469 removeSession ( taskRunId ) ;
@@ -885,7 +888,10 @@ trpcVanilla.connectivity.onStatusChange.subscribe(undefined, {
885888 // This preserves events and allows auto-reconnect when connectivity returns
886889 useStore . setState ( ( state ) => {
887890 for ( const session of Object . values ( state . sessions ) ) {
888- if ( session . status === "connected" || session . status === "connecting" ) {
891+ if (
892+ session . status === "connected" ||
893+ session . status === "connecting"
894+ ) {
889895 session . status = "disconnected" ;
890896 session . isPromptPending = false ;
891897 }
You can’t perform that action at this time.
0 commit comments