Open
Conversation
- Implemented format detection to distinguish between Claude Code and Codex CLI JSONL files - Created parser to convert Codex CLI format (session_meta, response_item, function_call) to Claude Code format - Added tool name mapping (shell_command -> Bash, read_file -> Read, etc.) - Added comprehensive test suite with 7 tests covering format detection, message parsing, and HTML generation - Updated documentation to mention Codex CLI support - All 118 tests passing (111 existing + 7 new) The tool now automatically detects and handles both formats seamlessly, making it easy to generate HTML transcripts from either Claude Code or Codex CLI session files.
- Implemented find_combined_sessions() to search both ~/.claude/projects and ~/.codex/sessions - Updated get_session_summary() to extract summaries from Codex CLI format (response_item payloads) - Modified local command to show sessions from both sources with clear [Claude] and [Codex] labels - Sessions are sorted together by modification time across both sources - Added 5 comprehensive tests for combined session finder - Updated documentation to reflect unified picker functionality Users can now run `claude-code-transcripts` and see an interactive picker showing: 2025-01-02 10:00 245 KB [Claude] Fix authentication bug 2025-01-01 14:30 189 KB [Codex ] Add dark mode feature 2025-01-01 09:15 312 KB [Claude] Refactor API endpoints All 123 tests passing (111 original + 7 Codex format + 5 Codex finder).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Simon,
I'm a recent follower of your blog. Having recently joined a cloud security company, I needed to up my game on all things software development. Your blog has been a great source of information for me so thank you.
I don't have a developer background (I come from Cybercecurity/Network Engineering), but thanks to vibe coding I did most of this from my phone as I had a need to look at Codex CLI history for a blog post I am writing. What a time to be alive.
Feel free to reject, this is my first PR, but I've learned a lot about Git in the process. Thanks again.
Summary