Skip to content

I built a Codex ACP Adapter, but Diff review isn't working right. #39812

@am-will

Description

@am-will

Summary

Greetings, I have partially created a Codex ACP adapter, which is working in all areas (including slash commands) except one: the diffs arent working. Any and all changes show the entire file in green, and do not highlight the changes in the editor. It does wait for you to approve the changes before enacting them, but rejection doesn't work, and it still highlights the ENTIRE file in green instead of just the lines being modified.

I am wondering, is this a limitation of the Codex SDK in the way it handles diffs? It works fine for Gemini ACP and Claude ACP, and I tried to mimick their implementation, but nothing works. It's almost as though it deletes the original file, and creates an entirely new file: hence the green.

Any ideas? Thanks

Image

Zed Version and System Specs

Zed: v0.207.3 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 31.2 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3090 || NVIDIA || 580.65.06

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI features

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions