Add codex app-server transport with compatibility fallback#4
Add codex app-server transport with compatibility fallback#4axeldelafosse merged 1 commit intomainfrom
Conversation
Summary of ChangesHello @axeldelafosse, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly upgrades the interaction with Codex by introducing a persistent app-server transport, moving away from a per-turn execution model. This change aims to enhance performance and stability. A critical aspect of this update is the built-in fallback to the older execution method, ensuring that the system remains functional even if the new app-server encounters compatibility problems. Additionally, the PR refines process management, improves the detection of Codex instances, and makes history parsing more robust, all contributing to a more reliable and user-friendly experience. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new codex app-server transport for improved performance and session reuse, with a robust fallback to the legacy codex exec transport. However, a security audit identified critical vulnerabilities: the automatic approval of commands generated by the LLM poses a Remote Code Execution risk, compounded by a high-severity prompt injection vulnerability that could allow malicious command generation. While the implementation includes comprehensive unit tests and clear documentation, and there is one minor suggestion for improving code clarity, addressing these security concerns is paramount.
Summary
codex app-serverprocess for turns.codex exec --jsonwhen the app-server transport reports compatibility issues.CODEX_TRANSPORT=app-server|execsupport and document the default in help/README.Files Changed