tui: add branch to 'codex resume', filter by cwd (#6232)

By default, show only sessions that shared a cwd with the current cwd.
`--all` shows all sessions in all cwds. Also, show the branch name from
the rollout metadata.

<img width="1091" height="638" alt="Screenshot 2025-11-04 at 3 30 47 PM"
src="https://github.com/user-attachments/assets/aae90308-6115-455f-aff7-22da5f1d9681"
/>
This commit is contained in:
Jeremy Rose
2025-11-18 16:47:37 -08:00
committed by GitHub
parent b952bd2649
commit 526eb3ff82
6 changed files with 227 additions and 50 deletions

View File

@@ -474,6 +474,7 @@ async fn run_ratatui_app(
&mut tui,
&config.codex_home,
&config.model_provider_id,
cli.resume_show_all,
)
.await?
{