mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Investigated server-side streaming for Claude agents to determine if chunks are being lost during transmission. Created a new E2E test that: 1. Creates a Claude agent with bypassPermissions mode 2. Sends 3 back-and-forth messages to simulate long-running agent 3. On the 3rd message, captures all streaming chunks 4. Verifies chunks are complete, coherent, and contain expected content 5. Checks for UTF-8 corruption and abnormal word concatenation RESULT: Test passes. Server correctly forwards all text_delta chunks from Claude SDK. No chunks are dropped or corrupted. CONCLUSION: The original bug report (REPORT-garbled-text-bug.md) observed missing chunks at the client level, but server-side code is NOT the cause. The issue must be elsewhere (possibly React Native WebSocket differences or a transient network issue). Files: - packages/server/src/server/daemon.e2e.test.ts:1883-2028 - New test 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>