fix(client): avoid quadratic buffering in stdio_client stdout reader
Closed
MA
1mo ago+38+38+01234567890123456789-3-3-0123456789
stdout_reader was doing (buffer + chunk).split on every chunk, so one big single-line response got copied over and over (O(N²)).
Now partial pieces sit in a list and only get joined when a newline shows up. Line splitting is the same as before.
Added a regression test: an 8 MiB JSON line fed in 1 KiB chunks parses as one message, and the next message still frames fine.
Fixes #3699