fix(coding-agent): forward RpcClient subprocess stderr to parent in real-time
fixes #2805
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- RpcClient now forwards subprocess stderr to parent process in real-time ([#2805](https://github.com/badlogic/pi-mono/issues/2805))
|
||||||
|
|
||||||
## [0.65.0] - 2026-04-03
|
## [0.65.0] - 2026-04-03
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ export class RpcClient {
|
|||||||
// Collect stderr for debugging
|
// Collect stderr for debugging
|
||||||
this.process.stderr?.on("data", (data) => {
|
this.process.stderr?.on("data", (data) => {
|
||||||
this.stderr += data.toString();
|
this.stderr += data.toString();
|
||||||
|
process.stderr.write(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set up strict JSONL reader for stdout.
|
// Set up strict JSONL reader for stdout.
|
||||||
|
|||||||
Reference in New Issue
Block a user