codexresume-0.1.1 is not a library.
codexresume
Why this exists
Current codex resume can be affected by provider, source, cwd, and other
factors, which can make some sessions disappear from the history
picker.
This tool works around that by reading local session metadata directly, while
trying to keep an experience close to the stock codex resume flow.
You can use it as a drop-in replacement for codex resume.
Features
- Lists sessions across all providers by default (no default-provider filtering)
- Optional
--only-openaiflag for the built-in OpenAI provider - Supports the common
codex resumeflags (--last,--all,--include-non-interactive)
After you pick a session and press Enter, it execs:
Installation
Install from crates.io:
Or clone and install from source:
Usage
If installed, run it directly:
Notes
--only-openaiis acodexresumeflag. It is consumed by the wrapper and is not forwarded tocodex resume.--include-archived,--codex-home, and--sqlite-homearecodexresumeflags. They are consumed by the wrapper and are not forwarded tocodex resume.codexresumetries to stay close to the stockcodex resumeexperience, but it does not directly reuse Codex's internal UI components, so it is not pixel-identical.codexresumedoes not depend on Codex Rust crates. It readsconfig.toml,session_index.jsonl, andstate_*.sqlitedirectly.- If you pass
--remote,codexresumewill pass through to the stockcodex resumeimplementation (remote sessions are not discoverable locally). - If session names are available in the session index,
codexresumewill try to surface them.
To make codex resume use codexresume automatically, add this to ~/.bashrc or ~/.zshrc: