Skip to content

Add output format option to suppress file READ operations while showing tool executions #134

@hayatosc

Description

@hayatosc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions