Structs§
- Recent
Session - Minimal data for printing
project_root session_idstyle lists. - Session
Meta - Basic metadata for a Codex session (best-effort parsed from JSONL).
- Session
Summary - Session
Transcript Message - A single transcript message extracted from a Codex session JSONL.
Enums§
- Session
Summary Source - Summary information for a Codex conversation session.
Functions§
- codex_
session_ transcript_ tail_ contains_ query - Best-effort, case-insensitive substring search within the last
tailtranscript messages. - find_
codex_ session_ cwd_ by_ id - Find a Codex session’s cwd by its session id (UUID suffix in rollout filename).
- find_
codex_ session_ file_ by_ id - Best-effort: locate a Codex session JSONL file by session id.
- find_
codex_ session_ files_ by_ ids - find_
codex_ sessions_ for_ current_ dir - Convenience wrapper that uses the current working directory as the root for session matching.
- find_
codex_ sessions_ for_ dir - Find recent Codex sessions for a given directory, preferring sessions whose cwd matches that directory (or one of its ancestors/descendants). Results are ordered newest-first by updated_at.
- find_
recent_ codex_ sessions - List recent Codex sessions across all projects, filtered by session file mtime.
- infer_
project_ root_ from_ cwd - read_
codex_ session_ meta - Read the
session_metarecord from a Codex session JSONL file (best-effort). - read_
codex_ session_ transcript - Read a best-effort transcript from a Codex session JSONL file.
- search_
codex_ sessions_ for_ current_ dir - Convenience wrapper to search sessions under the current working directory.
- search_
codex_ sessions_ for_ dir - Search Codex sessions for user messages containing the given substring. Matching is case-insensitive and only considers the first user message per session.