codexinPATHjqinPATH- A terminal (TTY) for interactive menu features
jefe: open smart resume flowjefe clean [days]: remove old session files (default:180)jefe --help: show usage
jefescans${CODEX_HOME:-$HOME/.codex}/sessionsfor*.jsonl.- It reads
session_metafrom each file. - If sessions match current
cwd, it shows local sessions first. - If no local sessions exist, it shows global sessions.
- You can also choose
New session.
Up/Downork/j: move selectionEnter: confirm selected itemq: exit menu
- Press
/to enter filter mode. - Type any text to filter sessions in real time (case-insensitive substring match).
Backspace: delete one character.Ctrl+U: clear the entire filter.Esc: leave filter mode and clear filter.- If nothing matches, menu shows
No matches.
jefe clean [days]:
- validates numeric input
- previews matched files (up to 12)
- requests explicit confirmation
- removes old
*.jsonlfiles and empty directories
130on signal interrupt (Ctrl+Cpath)- non-zero when menu exits without selection
- process is replaced (
exec) on successful launch/resume