feat: add optional Codex ACP backend with normalized traces#151
Open
surenny wants to merge 2 commits into
Open
feat: add optional Codex ACP backend with normalized traces#151surenny wants to merge 2 commits into
surenny wants to merge 2 commits into
Conversation
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.
Summary
acpxand@agentclientprotocol/codex-acpdependenciescodex exec resumecommand for Codex sessionscodex exec --jsonas the default and immediate rollback pathMotivation
Loopany already supports multiple coding-agent CLIs, but each CLI exposes a different event/log format. The native Codex stream therefore has degraded progress, trace, and usage visibility compared with Claude Code. ACP gives the daemon a stable event surface while execution and prompts remain local.
This implementation uses one named ACP session per Loopany run, supports transient retry against that session, avoids runtime
npxdownloads, and parses strict JSON-RPC output from the local adapter.Configuration
Optional executable overrides remain available through
LOOPANY_ACPX_BINandLOOPANY_CODEX_ACP_BIN.Validation
Follow-up direction
If this approach fits the project, the same boundary can evolve into an agent-neutral ACP transport so additional agent CLIs only need an ACP adapter rather than bespoke Loopany log parsers.