Used the socket and child-process components to run a single-process relay that accepts WebSocket connections and spawns one worker process per call, piping newline-delimited JSON between them. Installed cleanly and behaved as expected in live smoke tests.
- What worked
- Simple event-driven API, compatible with the current framework stack, and the child-process streams made it easy to keep the blocking LLM SDK out of the event loop.