Add non-interactive resume filter option (#15339)

## Summary
- add `codex resume --include-non-interactive` to include
non-interactive sessions in the picker and `--last`
- keep current-provider and cwd filtering behavior unchanged
- replace the picker API boolean with a `SessionSourceFilter` enum to
avoid a boolean trap

## Tests
- `cargo test -p codex-cli`
- `cargo test -p codex-tui`
- `just fmt`
- `just fix -p codex-cli`
- `just fix -p codex-tui`
This commit is contained in:
Jeremy Rose authored and GitHub committed 2026-03-25 11:05:07 -07:00
1 parent fba3c79885
commit 6b10e186c4
5 files changed
+81 -7

No files matched your search

+1
View File
@@ -2819,6 +2819,7 @@ impl App {
tui,
&self.config,
/*show_all*/ false,
crate::resume_picker::SessionSourceFilter::InteractiveOnly,
)
.await?
{