fn emit_connected(
event_tx: &UnboundedSender<AgentEvent>,
client: &Client,
session_id: &str,
cwd: &str,
launch_settings: &SessionLaunchSettings,
resume_id: Option<&str>,
config_dir: &Path,
)Expand description
Build the typed Connected envelope from the SDK’s cached init data
- the initialize
control_response, and emit it ontoevent_tx.