Add tests for CLI output sanitization and execution mode flags#3
Merged
Add tests for CLI output sanitization and execution mode flags#3
Conversation
Contributor
igorcosta
commented
Oct 3, 2025
- Implement tests for in to filter out specific Node.js warnings for the \codex\ agent while preserving legitimate error messages.
- Update tests to improve readability by formatting expected flag vectors.
- Remove unnecessary whitespace in test file.
- Enhance tests with better formatting and error handling.
- Update module imports in to include the new tests.
- Refactor tests for consistency and clarity, ensuring all assertions are properly formatted.
- Simplify recent projects test cases in for better readability.
- Modify to default to the \chat\ tab when opening projects or returning to the welcome screen.
- Enhance to display agent version information and upgrade prompts.
- Add tests for to verify version information display.
- Create tests for project selection in to ensure the chat tab is activated by default.
- Update to handle approval modes for the \gemini\ agent.
- Add tests for agent-specific modes in to ensure correct behavior.
- Implement tests for in to filter out specific Node.js warnings for the \codex\ agent while preserving legitimate error messages. - Update tests to improve readability by formatting expected flag vectors. - Remove unnecessary whitespace in test file. - Enhance tests with better formatting and error handling. - Update module imports in to include the new tests. - Refactor tests for consistency and clarity, ensuring all assertions are properly formatted. - Simplify recent projects test cases in for better readability. - Modify to default to the \chat\ tab when opening projects or returning to the welcome screen. - Enhance to display agent version information and upgrade prompts. - Add tests for to verify version information display. - Create tests for project selection in to ensure the chat tab is activated by default. - Update to handle approval modes for the \gemini\ agent. - Add tests for agent-specific modes in to ensure correct behavior.
- Added a new script `codex-sdk-runner.mjs` to handle Codex SDK execution with streaming support. - Created a command-line argument builder in `cli_command_builder.rs` for invoking the Codex CLI with various options. - Developed a service in `codex_sdk_service.rs` to manage Codex thread preferences based on execution modes. - Implemented unit tests for command argument building and Codex SDK service preferences. - Enhanced the chat interface to support Codex streaming responses and rendering of various message types. - Introduced a `CodexStreamParser` to handle and parse streaming events from Codex. - Added comprehensive tests for the Codex stream parser and the SDK runner.
…nd new ThinkingDots indicator
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.