Comment by Cidan
1 month ago
You don't really need to tmux at all for Claude Code CLI. Claude Code CLI supports streaming json input, and streaming json output; you can use stdin/out as a pipe to control Claude Code CLI.
I'm doing this today in https://github.com/Cidan/ask -- works great.
This is awesome. Thank you for pointing out streaming JSON input and output, I'll definitely be taking a look at that.
[dead]