cf6c312e04
The API client only skipped JSON parsing for 204, so a success with an empty body (e.g. 201 from POST /pools/:id/files) hit res.json() on an empty stream, threw, and surfaced as "Failed to add to pool" even though the add had committed. Read the body as text and parse only when present. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>