Skip to main content

forge_sdk/
transport.rs

1//! Subprocess transport for the `claude` binary.
2//!
3//! Two layers:
4//!
5//! - [`codec`] - pure JSON-line encode/decode. Testable without a subprocess.
6//! - [`process`] - tokio subprocess lifecycle wrapping the codec.
7//!
8//! [`process::Subprocess`] is the only transport. Wire-recording for
9//! conformance baselines lives at the [`Options`](crate::Options)
10//! level via the `tee_inbound` / `tee_outbound` callbacks - there is
11//! no public `Transport` trait or `spawn_with_transport` injection
12//! seam.
13
14pub mod codec;
15pub mod process;