fn refresh_panes(state: &AppState, panes: &[String]) -> usizeExpand description
Refreshes the startup file of each pane in turn, once per folder, and returns how many it wrote. A folder counts as done only after a Claude pane has been looked at in it: a pane of another provider that comes first must not use it up and leave a Claude pane in the same folder with a stale file.