fn refresh_running(state: &AppState)
Refreshes the startup file of every running agent pane, once per folder.