mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 21:17:58 +00:00
A malformed first line got a "bad JSON" reply but kept the connection open until the auth deadline, unlike `texturecraft-cli serve` and the documented one-attempt rule. It now closes the connection while unauthenticated; after auth a malformed line still only gets the error reply. Adds a regression test and doc comments on the touched functions. Co-Authored-By: Claude Opus 5.5 <[email protected]>