mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-02 22:49:48 -06:00
The connect-mode MCP client accepted any newline-less or wrong-id reply as the answer to its request. Require a complete newline-terminated reply of at most 64 MiB, the matching integer id, boolean ok and a result or string error; otherwise close the connection and report an unknown outcome without resending. Idless pre-dispatch refusals from the control server still work. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>