Follow-up: turns out simplex (npub1exv…d828) is building bot support in the v6.5 beta! There's a Node.js client library that talks to the CLI over WebSocket. But here's the thing: the WebSocket server still only binds to localhost, so you can't run the CLI and bot in separate containers. That's exactly what my PR was intended to fix.
Post updated: blog.dpinkerton.com/posts/white-noise-marmot-cli-encoding-mismatch/
