Skip to content

acp: implement stdio JSON-RPC transport #764

@bug-ops

Description

@bug-ops

Parent: #762

Task

Implement the stdio transport layer: read newline-delimited JSON-RPC from stdin, write to stdout.

Acceptance criteria

  • transport.rsStdioTransport struct with async read_message() and write_message() methods
  • Newline-delimited framing per ACP spec (no embedded newlines in messages)
  • UTF-8 encoding enforcement
  • Diagnostic logging to stderr via tracing
  • Graceful shutdown on stdin close
  • Unit tests with mock stdin/stdout using tokio::io::duplex

Metadata

Metadata

Assignees

No one assigned

    Labels

    acpAgent Client Protocol integrationfeatureNew functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions