Skip to main content

Module transport

Module transport 

Source
Expand description

Generic JSON-RPC-over-stdio transport for subprocess agents.

StdioTransport handles the low-level framing of newline-delimited JSON over a child process’s stdin/stdout pair. It is intentionally protocol-agnostic: it knows nothing about Copilot, ACP sessions, or any other higher-level concept.

§Message routing

The internal reader task inspects each incoming line and dispatches it as follows:

Stderr lines are forwarded to tracing::debug! under the vtcode.stdio_transport.stderr target.

Structs§

StdioTransport
Generic JSON-RPC-over-stdio transport for local subprocess agents.