Stream chunks split at arbitrary boundaries, so splitting on "\n" and pushing each piece as a complete line corrupts output when a line spans two chunks. Buffer the trailing partial line and only push complete (newline-terminated) lines. Flush remaining partial on process exit. Addresses bugbot review comment about incorrect output chunk splitting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||