codex-delete
v0.1.1
Published
Standalone terminal UI command for previewing and deleting Codex sessions
Maintainers
Readme
codex-delete
Standalone terminal command for previewing and deleting Codex sessions in the current working directory.
Features
- Shows only sessions whose
cwdexactly matches the current working directory - Full-screen terminal list with search and multi-select support
- Press
Fto preview parsed user/assistant dialogue from the last 50 lines - Press
Deleteto enter delete confirmation - Removes session files and matching entries from
session_index.jsonlandhistory.jsonl
Requirements
- PowerShell 7 (
pwsh) fzf
Install
npm install -g codex-deleteUsage
codex-delete
codex-delete keywordNotes
- The command reads session data from the current user's
~/.codexdirectory. - The command logic is fully shipped inside the package and does not depend on
~/.codex/scripts. - Chinese documentation is available in
README_CN.md.
