Problem
I'm exploring acpx as a bridge for agent-to-agent communication
(e.g., Codex → acpx claude → claude review agent). Claude Code's claude -p
takes too long to return its first output, causing Codex
to treat the subprocess as unresponsive and repeatedly re-spawn it.
acpx's streaming output avoids this timeout issue, but file READ
operations return full file contents, which floods the calling
agent's context window.
The existing --format options don't cover this:
text / json: include full READ content
quiet: strips tool execution results entirely
Proposal
Add a way to suppress READ file contents while preserving other
tool execution results. Possible approaches:
- A new flag like
--suppress-reads (composable with any format)
- A filter option on
--format json to exclude specific event types
- A new format value like
--format tools
This would make acpx more practical for agent-to-agent pipelines
where tool results matter but raw file contents are noise.
Problem
I'm exploring acpx as a bridge for agent-to-agent communication
(e.g., Codex →
acpx claude→ claude review agent). Claude Code'sclaude -ptakes too long to return its first output, causing Codex
to treat the subprocess as unresponsive and repeatedly re-spawn it.
acpx's streaming output avoids this timeout issue, but file READ
operations return full file contents, which floods the calling
agent's context window.
The existing
--formatoptions don't cover this:text/json: include full READ contentquiet: strips tool execution results entirelyProposal
Add a way to suppress READ file contents while preserving other
tool execution results. Possible approaches:
--suppress-reads(composable with any format)--format jsonto exclude specific event types--format toolsThis would make acpx more practical for agent-to-agent pipelines
where tool results matter but raw file contents are noise.