feat: update support for codex cli#51
Merged
hugodutka merged 3 commits intocoder:mainfrom Aug 11, 2025
Merged
Conversation
Collaborator
35C4n0r
commented
Aug 11, 2025
- support codex cli v0.20.0
- support codex xli v0.20.0
Collaborator
Author
|
@hugodutka @matifali PR ready for review |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the msgfmt library to support Codex CLI v0.20.0 by updating test data and message formatting logic to match the new interface format.
- Updates test data files to reflect new Codex CLI output format with simplified welcome message and different status indicators
- Simplifies the Codex message formatting function by removing legacy message box handling and implementing new input box removal logic
- Removes a specific term height limitation for Codex that is no longer needed
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| lib/msgfmt/testdata/format/codex/*/user.txt | Updates user input test cases with new question formats |
| lib/msgfmt/testdata/format/codex/*/msg.txt | Updates raw message format to match new Codex CLI v0.20.0 output |
| lib/msgfmt/testdata/format/codex/*/expected.txt | Updates expected formatting results for new Codex interface |
| lib/msgfmt/msgfmt.go | Simplifies formatCodexMessage function by removing legacy message box handling |
| lib/msgfmt/message_box.go | Refactors removeCodexMessageBox to removeCodexInputBox with updated logic for new format |
| cmd/server/server.go | Removes Codex-specific terminal height limitation workaround |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
hugodutka
requested changes
Aug 11, 2025
Collaborator
Author
|
@hugodutka resolved all. |
hugodutka
approved these changes
Aug 11, 2025
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.