pub fn attach_recording(
builder: OptionsBuilder,
) -> (OptionsBuilder, Arc<Mutex<TraceLog>>)Expand description
Install inbound + outbound wire-tee callbacks on a builder so the
resulting forge_sdk::Options captures every stream-json line
the SDK exchanges with the claude subprocess. Returns the
configured builder + a shared handle to the trace log. Wire
capture is a spawn-time configuration concern, not a
transport-injection one.